How can I edit boot.wim to run a command when used in WDS?


i'm receiving error "wdsclient: error occured while obtaining ip address dhcp server." when pxe booting wds pc (dell optiplex 755).  i've seen error posted on these forums haven't found solution yet.  testing i've developed conclusion pc isn't receiving ip quick enough dhcp before windows setup executed.

what i'd either delay setup's execution (giving nic time obtain ip) or add ipconfig /renew command in somewhere executed before setup ran.  attempted add command call startnet.cmd file of mounted boot.wim image before commiting didn't solve anything.

does have idea how can go doing this?

hello,

 

i think can try putting following entries in front of "\sources\setup.exe /wds /wdsdiscover /wdsserver:wds-server.ddpo.local" line:

 

ping <ip address>

pause

ping <ip address>

pause

 

you need interactive commands in windows pe in scenario. if want process achieved more automatically, can try command "ping <ip address> -n [count]" in front of setup.exe line. should adjust [count] large number there enough time network initialized. in way, winpeshl.ini file should like:

 

ping <ip address> -n 100

\sources\setup.exe /wds /wdsdiscover /wdsserver:wds-server.ddpo.local

 

i hope helps.

 

best regards,

chang yin



Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2