Re: OSD Image Install CD with Static IP



Yes it is...

You can set ip, sub and default gateway via winbom.ini (but not dns)
dns can be set wih a simple vbscript (requires winpe 2005)

sample winbom.ini

[Factory]
WinBOMType=WinPE
Reseal=No

[WinPE]
Quiet=Yes
Restart=No

[WinPE.Net
StartNet = Yes
IPConfig = 192.168.16.250
Gateway = 192.168.16.2
Subnetmask = 255.255.255.0

[PnPDriverUpdate]

[PnPDrivers]

[NetCards]

[UpdateInis]

[FactoryRunOnce]

[Branding]

[AppPreInstall]


Sample script: setdns.vbs

On Error Resume Next

strComputer = "."
strDNSHostName = "client1"
strDNSDomain = "tslab.net"
arrDNSServerSearchOrder = Array("192.168.16.2", "192.168.16.3")
arrDNSDomainSuffixSearchOrder = Array("tslab.net")

Set objWMIService =
GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer
& "\root\cimv2")
Set objNicConf =
objWMIService.Get("Win32_NetworkAdapterConfiguration")

intEnableDNS = objNicConf.EnableDNS(strDNSHostName, strDNSDomain,
arrDNSServerSearchOrder, arrDNSDomainSuffixSearchOrder)

Note: some lines may have been wrapped by the newsreader


regards

Johan Arwidmark
Microsoft MVP - Setup/Deployment


On 14 Jul 2006 10:47:30 -0700, jcaswell@xxxxxxxxx wrote:

Is there any way that I can boot a client up using the OSD Image CD,
and then assign a static IP address before attempting to connect to the
SMS DP? We have a some systems on a network where there is no DHCP
server and all clients have static IP's.

.



Relevant Pages

  • Re: Settings DNS in WinPe
    ... If using WinPE 2005 you can set DNS using the following script (does ... Sample script: setdns.vbs ... arrDNSServerSearchOrder, arrDNSDomainSuffixSearchOrder) ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Baffling DNS Problem
    ... Narrowed it down to a local DNS problem. ... info Resolving name ok for: ... Gateway Diagnostic ... Could be either gateway or DNS issue action Automated repair: Reset network connection action Disabling the network adapter ...
    (microsoft.public.windowsxp.network_web)
  • Re: newbie lost in trying to setup NAT
    ... Also make sure you have not configured a default gateway on the private ... that sounds correct for the DNS forwarding. ... > be able to resolve both local and Internet names from this server. ...
    (microsoft.public.windows.server.networking)
  • Re: Problem(s) resolving names with natd/ipfw.
    ... Then set all the clients' primary DNS to ... that of the internal IP of your gateway. ... > The problem is that the Windows XP client CANNOT ... > access the Internet with alphabetic names (should be ...
    (freebsd-questions)
  • Re: Domain controller not found
    ... The WAN port on the gateway has an IP of 192.168.0.4. ... All internet traffic ... So the 192.168.0.1 is not longer used on any server or workstation? ... It just seems that the DNS ...
    (microsoft.public.windows.server.setup)

Loading