I am trying to automate the deployment of some Windows 7 VM's. Everything seems to work fine until the customization happens. I am seeing the following message in guestcust.log:
VMX doesn't support NICs connection status query
Anybody have any idea what is causing this? I've googled this error message and cannot find anything.
Are you deploying from a template ?
Is that template hardware version 4 or 7 ?
Does the template have a VMXNET3 NIC ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes I am deploying from a template.
The template is hardware version 7.
The template does not have a VMXNET3 NIC. It has an E1000 NIC.
I changed the NIC to VMXNET3 and made a new template. It still gives the same error.
Strange.
Any other messages/indications in the guestcust.log ?
Does this happen before the sysprep is started ?
Did you also try with a VMXNET3 NIC ? Same error ?
Update: you just answered my last question :smileygrin:
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Here is the guestcust.log file:
Customization in progress set to 1 at 2012-Jan-16 14:27:23
Rpci: Sending request='deployPkg.update.state 4 0 C:\Windows\TEMP\vmware-imc\guestcust.log'
Rpci: Sent request='deployPkg.update.state 4 0 C:\Windows\TEMP\vmware-imc\guestcust.log', reply='', len=0, status=1
Successfully opened key SYSTEM\CurrentControlSet\Control\Session Manager\
Size of reg_multi_sz 21.
Read multi_sz value from registry autocheck autochk *, size 21.
string value from registry autocheck autochk *.
Returning 1 elements
Got BootExecute from session mgr.
Native App sysprepDecrypter.exe, arguments ''
Copied file sysprepDecrypter.exe to C:\Windows\system32\sysprepDecrypter.exe
Updated boot execute value.
Successfully created/opened key SOFTWARE\VMware, Inc.\Guest Customization\
New boot execute:
autocheck autochk *
sysprepDecrypter.exe
System Drive: C:
Moving directory 'sysprep' to 'C:'
select * from win32_networkadapter where Manufacturer != 'Microsoft' and ServiceName != 'VMnetAdapter' and manufacturer is not null and MACAddress is not null
Found 1 objects. Pointer 1d3c850. return code 0(0x0)
Found 0 objects. Pointer 0. return code 1(0x1)
Returning value 00:50:56:B8:06:A1 for system property
Setting dhcp for nic # 0
Returning value \\QA-WIN7-1\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="15" for system property
ASSOCIATORS OF {\\QA-WIN7-1\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="15"} where ResultClass = Win32_NetworkAdapterConfiguration
Found 1 objects. Pointer 1d40a38. return code 0(0x0)
Found 0 objects. Pointer 0. return code 1(0x1)
Clearing gateway ip addresses.
Enabling DHCP on the computer
Returning value \\QA-WIN7-1\ROOT\CIMV2:Win32_NetworkAdapterConfiguration.Index=15 for system property
Setting DNS Server to ip
Executing command C:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:C:\sysprep\sysprep.xml
Successfully executed command C:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:C:\sysprep\sysprep.xml
Trying to connect network interfaces, attempt 1
Rpci: Sending request='deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'
Rpci: Sent request='deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000', reply='', len=0, status=1
Got VMX response ''
VMX doesn't support NICs connection status query.