Minus30 Posted October 21, 2008 Share Posted October 21, 2008 As the title says, how do I fix the IP adress of the computer during the unattended installation. I take it I should add it to the sysprep xml file? Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 21, 2008 Share Posted October 21, 2008 Autounattend.xml, works for me during <settings pass="specialize"> <component name="Microsoft-Windows-DNS-Client" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Interfaces> <Interface wcm:action="add"> <DNSServerSearchOrder> <IpAddress wcm:action="add" wcm:keyValue="1">xxx.xx.xxx.xxx</IpAddress> <IpAddress wcm:action="add" wcm:keyValue="2">xxx.xx.xxx.xxx</IpAddress> </DNSServerSearchOrder> <DNSDomain>192.xxx.xxx.xxx</DNSDomain> <Identifier>Local Area Connection</Identifier> </Interface> </Interfaces> </component> Link to comment Share on other sites More sharing options...
Minus30 Posted October 22, 2008 Author Share Posted October 22, 2008 I'll try that, thanks! Link to comment Share on other sites More sharing options...
Minus30 Posted October 22, 2008 Author Share Posted October 22, 2008 That only worked to setup my DNS servers... I found this on another forum, in progress of testing it nowOk,I got this to work the static IP, subnet mask and default gateway. The<identifier> by default is Local Area Connection but could be somthingelse. The IPaddress value with /24 give a subnet mask of 255.255.255.0/16 would give 255.255.0.0 the nexthopipaddress gives the defaultgateway. The prefix of 0.0.0.0/0 is something that finally got this towork. I was getting setup error before this.<settings pass="specialize"><component name="Microsoft-Windows-TCPIP" language="neutral"processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"versionScope="nonSxS"xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Interfaces><Interface><Identifier>Local Area Connection</Identifier><Ipv4Settings><DhcpEnabled>false</DhcpEnabled></Ipv4Settings><UnicastIpAddresses><IpAddress wcm:keyValue="1">192.168.0.1/24</IpAddress></UnicastIpAddresses><Routes><Route wcm:action="add"><Identifier>0</Identifier><Prefix>0.0.0.0/0</Prefix><NextHopAddress>192.168.0.254</NextHopAddress><Metric>20</Metric></Route></Routes></Interface></Interfaces></component></settings> Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 22, 2008 Share Posted October 22, 2008 I was looking at an old xml I had but will try what you have also. Link to comment Share on other sites More sharing options...
Minus30 Posted October 24, 2008 Author Share Posted October 24, 2008 when it didn't work, I used netsh commands at the first logoncommands pass Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now