VMware Cloud Community
mcrampton
Enthusiast
Enthusiast

Deploying OS from template fails to join domain

Hi, wondering if anyone can suggest a solution. This morning we were able to successfully deploy images (Win 7 Enterprise) from templates. However, this afternoon, the VM's never join the domain after deployment. The guestcust log file in c:\windows\temp\vmware-imc looks like this:

Customization in progress set to

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 49.

Read multi_sz value from registry autocheck autochk *, size 49.

string value from registry autocheck autochk *.

string value from registry SysWOW64\vmware-svi-nga.exe.

Returning 2 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 *

SysWOW64\vmware-svi-nga.exe

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 18e3cd8. return code 0(0x0)

Found 0 objects. Pointer 0. return code 1(0x1)

Returning value 00:50:56:A3:7E:6B for system property

Setting dhcp for nic # 0

Returning value \\SEPT24-ACTIVE\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="13" for system property

ASSOCIATORS OF {\\SEPT24-ACTIVE\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="13"} where ResultClass = Win32_NetworkAdapterConfiguration

Found 1 objects. Pointer 18e3e70. return code 0(0x0)

Found 0 objects. Pointer 0. return code 1(0x1)

Clearing gateway ip addresses.

Enabling DHCP on the computer

Returning value \\SEPT24-ACTIVE\ROOT\CIMV2:Win32_NetworkAdapterConfiguration.Index=13 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='queryNicsSupported', len=18, status=1

Got VMX response 'queryNicsSupported'

Rpci: Sending request='deployPkg.update.state 4 104 C:\WINDOWS\TEMP\vmware-imc\guestcust.log@4000'

Rpci: Sent request='deployPkg.update.state 4 104 C:\WINDOWS\TEMP\vmware-imc\guestcust.log@4000', reply='disconnected', len=12, status=1

Got VMX response 'disconnected'

Rpci: Sending request='deployPkg.update.state 4 104 C:\WINDOWS\TEMP\vmware-imc\guestcust.log@4000'

Rpci: Sent request='deployPkg.update.state 4 104 C:\WINDOWS\TEMP\vmware-imc\guestcust.log@4000', reply='connected', len=9, status=1

Got VMX response 'connected'

The network interfaces are connected on 1 second

And that's it....there's nothing else in the log.

In the logs where it succeeded from earlier, the log carries on and finishes with:

Got VMX response 'connected'

The network interfaces are connected on 1 second

Successfully opened key SOFTWARE\VMware, Inc.\Guest Customization\

Size of reg_multi_sz 49.

Read multi_sz value from registry autocheck autochk *, size 49.

string value from registry autocheck autochk *.

string value from registry SysWOW64\vmware-svi-nga.exe.

Returning 2 elements

Successfully opened key SYSTEM\CurrentControlSet\Control\Session Manager\

Size of reg_multi_sz 22.

Read multi_sz value from registry sysprepDecrypter.exe, size 22.

string value from registry sysprepDecrypter.exe.

Returning 1 elements

Going to delete file C:\WINDOWS\system32\sysprepDecrypter.exe

Deleted file C:\WINDOWS\system32\sysprepDecrypter.exe

Customization in progress set to 0 at 2013-Dec-10 08:57:53

Rpci: Sending request='deployPkg.update.state 5 0 C:\WINDOWS\TEMP\vmware-imc\guestcust.log'

Rpci: Sent request='deployPkg.update.state 5 0 C:\WINDOWS\TEMP\vmware-imc\guestcust.log', reply='', len=0, status=1

SysprepDecrypter has unobfuscated the password successfully

Deleting "C:\sysprep" ...

Deleted folder "C:\sysprep" .

So, can anyone suggest why the process seems to be halting with no error message or anything? I found the kb at VMware KB: The Windows virtual machine deployed from a template fails to join the domain and followed the steps there to increase the delay, however it did not make a difference. Any ideas would be appreciated.

Reply
0 Kudos
0 Replies