As mentioned in the title, I am currently creating an automized deployment of VMs using VMware PowerCLI. Everything works fine so far, until I want to execute some scripts in the GuiRunOnce section after the SysPrep customization. My goal is to copy some files from a network share to the newly created VM, but there I have the problem that the network share is not reachable. When I "leave" the GuiRunOnce part and the OS loads properly, the network share is reachable just fine with the same script which was run during the GuiRunOnce. Therefore I thought that some network related service might not be completely loaded yet and I tried to run "ipconfig /renew" to assure that the system has a valid IP, but this didn't help. I also thought that it could be due to DNS name resolution, so I manually started the dns client, with no success. It also seems that the share is not reachable when using the IP address, so I can't figure out the cause.
The guest system is a Windows XP SP3 with DHCP.
I use the following script to access a share and copy some files:
net use "\\192.168.1.2\Resources" password /user:domain\username,
copy /Y "\\192.168.1.2\Resources\file.ora" "C:\destination\file.ora"
Any ideas? Is there maybe an alternative how I can get this at a later stage? Waiting using a ping to 127.0.0.1 also doesn't help. Is there some other service that might not be loaded yet?
Please let me know of you require some more details.
Thanks in advance
Br vm370