Hello everyone,
I'm testing a customization script for a Windows 10 baseline image. I've modified the baseline image, then ran Sysprep on it with the Generalize + Shut down options. I cloned the image to a template, and created a VM from the template. I'm deploying the VM in an ESXi 6.0 environment, with vCenter 6.5 U2. The baseline image is using build 1803, with a VMXNET 3 network interface.
The customization script is pretty simple; it does the following tasks:
1. Sets the Organization Name and Employee Name
2. Sets the Computer name to FullVDI (and appends an incremental suffix)
3. Sets the administrative password to blank
4. Sets the time zone
5. Creates a new SSID
However, when the script runs, I'm seeing the following event:
User:User
Target: VDI Test 9x
Description:
05/15/2018, 2:03:12 PM
Event Type Description:The customization scripts failed to set the parameters in the corresponding configuration files for Linux or in the Windows registry
Possible Causes:Related events:
There are no related events.
The last few lines of the guestcust.log are as follows:
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] Got BootExecute from session mgr.
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] Native App sysprepDecrypter.exe, arguments ''
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] Copied file sysprepDecrypter.exe to C:\Windows\system32\sysprepDecrypter.exe
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] Updated boot execute value.
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] Successfully opened key SOFTWARE\VMware, Inc.\Guest Customization\
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] New boot execute:
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] autocheck autochk *
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] System32\vmware-svi-nga.exe
[2018-05-15T14:03:11: GuestCustUtilLib: DEBUG] sysprepDecrypter.exe
[2018-05-15T14:03:11: : DEBUG] Temporary sysprep dir path: C:\sysprep
[2018-05-15T14:03:11: : DEBUG] Copying file/directory from 'sysprep' to 'C:\sysprep'
[2018-05-15T14:03:11: : DEBUG] select * from win32_networkadapter where Manufacturer != 'Microsoft' and ServiceName != 'VMnetAdapter' and manufacturer is not null and MACAddress is not null
[2018-05-15T14:03:12: : DEBUG] Found 0 objects. Pointer 0. return code -2147217398(0x8004100a)
[2018-05-15T14:03:12: : DEBUG] Rpci: Sending request='deployPkg.update.state 4 101 C:/Windows/TEMP/vmware-imc/guestcust.log@WinMgmt : '
[2018-05-15T14:03:12: : DEBUG] Rpci: Sent request='deployPkg.update.state 4 101 C:/Windows/TEMP/vmware-imc/guestcust.log@WinMgmt : ', reply='', len=0, status=1
[2018-05-15T14:03:12: GuestCustUtil: DEBUG] Status marker file C:/Windows/.post-gc-status doesn't exist
[2018-05-15T14:03:12: : ERROR] error number 8004100a, WinMgmt :
[2018-05-15T14:03:12: : INFO] GuestCustUtil exiting.
I've attached the full guestcust.log (it isn't very long) for reference.
I'm wondering if anyone has seen this before, and if there is a solution to it. The network adapter exists in the deployed VM, so I'm not at all sure why it isn't being detected. Since the customization script doesn't find the network interface, none of the customizations in the script actually get applied. Any insights on this (and suggestions to resolve it) would be greatly appreciated.
Thanks in advance!