Skip to content

Instantly share code, notes, and snippets.

@sprokopiak
Created May 17, 2016 22:26
Show Gist options
  • Save sprokopiak/9a6b1276f6f48183979c91a48cb4b06b to your computer and use it in GitHub Desktop.
Save sprokopiak/9a6b1276f6f48183979c91a48cb4b06b to your computer and use it in GitHub Desktop.
vSphere Terraform VM Deploy Logfile
[2016-05-17T11:43:56 INFO] GuestCustUtil invoked.
[2016-05-17T11:43:56 INFO] Params: customize -sealparam "/quiet /generalize /oobe /reboot" -nics 4000 -schedulenativeunobfusc
[2016-05-17T11:43:56 DEBUG] Registry value 'CustomRescheduleFlags' is not set. Returning default value: 0
[2016-05-17T11:43:56 INFO] Checking for Windows Sysprep Respecialize operation.
[2016-05-17T11:43:56 DEBUG] Sysprep process is currently running.
[2016-05-17T11:43:56 INFO] Windows Sysprep Respecialize operation was detected.
[2016-05-17T11:43:56 INFO] Copying files from C:\Windows\TEMP\vmw8D1E.tmp to C:\Windows\TEMP\vmwB18D.tmp.
[2016-05-17T11:43:59 INFO] Rescheduling Guest OS Customization.
[2016-05-17T11:43:59 DEBUG] Executing command C:\Windows\system32\schtasks.exe /create /sc ONSTART /rl HIGHEST /np /z /v1 /ru SYSTEM /tr "C:\Windows\TEMP\vmwB18D.tmp\guestcustutil.exe customize -sealparam \"/quiet /generalize /oobe /reboot\" -nics 4000 -schedulenativeunobfusc" /tn "VMware Guest OS Customization Task"
[2016-05-17T11:44:00 INFO] Sysprep is no longer running.
[2016-05-17T11:44:00 DEBUG] Registry value 'CustomRescheduleRebootDelay' is not set. Returning default value: 120
[2016-05-17T11:44:00 INFO] Sleeping for 120 seconds...
[2016-05-17T11:46:00 INFO] Rebooting...
[2016-05-17T11:46:00 DEBUG] Successfully retreived process access token.
[2016-05-17T11:46:00 DEBUG] Got LUID for SHUTDOWN privilege.
[2016-05-17T11:46:00 DEBUG] Successfully added shutdown privilege.
[2016-05-17T11:46:00 INFO] GuestCustUtil exiting.
[2016-05-17T11:46:24 INFO] GuestCustUtil invoked.
[2016-05-17T11:46:24 INFO] Params: customize -sealparam "/quiet /generalize /oobe /reboot" -nics 4000 -schedulenativeunobfusc
[2016-05-17T11:46:24 INFO] Scheduled Guest OS Customization Task invoked.
[2016-05-17T11:46:24 INFO] Removing scheduled Guest OS Customization task.
[2016-05-17T11:46:24 DEBUG] Executing command C:\Windows\system32\schtasks.exe /delete /f /tn "VMware Guest OS Customization Task"
[2016-05-17T11:46:24 DEBUG] Registry value 'CustomRescheduleFlags' is not set. Returning default value: 0
[2016-05-17T11:46:24 INFO] Checking for Windows Sysprep Respecialize operation.
[2016-05-17T11:46:24 DEBUG] Sysprep process is not running.
[2016-05-17T11:46:24 INFO] Windows Sysprep Respecialize operation was not detected.
[2016-05-17T11:46:24 DEBUG] Customization in progress set to 1 at 2016-May-17 11:46:24
[2016-05-17T11:46:24 DEBUG] Rpci: Sending request='deployPkg.update.state 4 0 C:\Windows\TEMP\vmware-imc\guestcust.log'
[2016-05-17T11:46:24 DEBUG] Rpci: Sent request='deployPkg.update.state 4 0 C:\Windows\TEMP\vmware-imc\guestcust.log', reply='', len=0, status=1
[2016-05-17T11:46:24 DEBUG] Successfully opened key SYSTEM\CurrentControlSet\Control\Session Manager\
[2016-05-17T11:46:24 DEBUG] Size of reg_multi_sz 27.
[2016-05-17T11:46:24 DEBUG] Read multi_sz value from registry autocheck autochk /q /v *, size 27.
[2016-05-17T11:46:24 DEBUG] string value from registry autocheck autochk /q /v *.
[2016-05-17T11:46:24 DEBUG] Returning 1 elements
[2016-05-17T11:46:24 DEBUG] Got BootExecute from session mgr.
[2016-05-17T11:46:24 DEBUG] Native App sysprepDecrypter.exe, arguments ''
[2016-05-17T11:46:24 DEBUG] Copied file sysprepDecrypter.exe to C:\Windows\system32\sysprepDecrypter.exe
[2016-05-17T11:46:24 DEBUG] Updated boot execute value.
[2016-05-17T11:46:24 DEBUG] Successfully created/opened key SOFTWARE\VMware, Inc.\Guest Customization\
[2016-05-17T11:46:24 DEBUG] New boot execute:
[2016-05-17T11:46:24 DEBUG] autocheck autochk /q /v *
[2016-05-17T11:46:24 DEBUG] sysprepDecrypter.exe
[2016-05-17T11:46:24 DEBUG] System Drive: C:
[2016-05-17T11:46:24 DEBUG] Moving directory 'sysprep' to 'C:'
[2016-05-17T11:46:26 DEBUG] select * from win32_networkadapter where Manufacturer != 'Microsoft' and ServiceName != 'VMnetAdapter' and manufacturer is not null and MACAddress is not null
[2016-05-17T11:46:27 DEBUG] Found 1 objects. Pointer d8f340. return code 0(0x0)
[2016-05-17T11:46:27 DEBUG] Found 0 objects. Pointer 0. return code 1(0x1)
[2016-05-17T11:46:27 DEBUG] Returning value 00:50:56:A5:30:64 for system property
[2016-05-17T11:46:27 DEBUG] Setting dhcp for nic # 0
[2016-05-17T11:46:27 DEBUG] Returning value \\VAGRANT-2012-R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="13" for system property
[2016-05-17T11:46:27 DEBUG] ASSOCIATORS OF {\\VAGRANT-2012-R2\ROOT\CIMV2:Win32_NetworkAdapter.DeviceID="13"} where ResultClass = Win32_NetworkAdapterConfiguration
[2016-05-17T11:46:27 DEBUG] Found 1 objects. Pointer d8acc8. return code 0(0x0)
[2016-05-17T11:46:27 DEBUG] Found 0 objects. Pointer 0. return code 1(0x1)
[2016-05-17T11:46:27 DEBUG] Clearing gateway ip addresses.
[2016-05-17T11:46:27 DEBUG] Enabling DHCP on the computer
[2016-05-17T11:46:27 DEBUG] Returning value \\VAGRANT-2012-R2\ROOT\CIMV2:Win32_NetworkAdapterConfiguration.Index=13 for system property
[2016-05-17T11:46:27 DEBUG] Setting DNS Server to ip
[2016-05-17T11:46:27 DEBUG] Executing command C:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:C:\sysprep\sysprep.xml
[2016-05-17T11:46:27 DEBUG] Successfully executed command C:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:C:\sysprep\sysprep.xml
[2016-05-17T11:46:27 DEBUG] Trying to connect network interfaces, attempt 1
[2016-05-17T11:46:27 DEBUG] Rpci: Sending request='deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'
[2016-05-17T11:46:27 DEBUG] Rpci: Sent request='deployPkg.update.state 4 103 C:\Windows\TEMP\vmware-imc\guestcust.log@4000', reply='queryNicsSupported', len=18, status=1
[2016-05-17T11:46:27 DEBUG] Got VMX response 'queryNicsSupported'
[2016-05-17T11:46:27 DEBUG] Rpci: Sending request='deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'
[2016-05-17T11:46:27 DEBUG] Rpci: Sent request='deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000', reply='disconnected', len=12, status=1
[2016-05-17T11:46:27 DEBUG] Got VMX response 'disconnected'
[2016-05-17T11:46:28 DEBUG] Rpci: Sending request='deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000'
[2016-05-17T11:46:28 DEBUG] Rpci: Sent request='deployPkg.update.state 4 104 C:\Windows\TEMP\vmware-imc\guestcust.log@4000', reply='connected', len=9, status=1
[2016-05-17T11:46:28 DEBUG] Got VMX response 'connected'
[2016-05-17T11:46:28 INFO] The network interfaces are connected on 1 second
[2016-05-17T11:46:28 INFO] GuestCustUtil exiting.
[2016-05-17T11:49:57 INFO] GuestCustUtil invoked.
[2016-05-17T11:49:57 INFO] Params: cleanBootExecute
[2016-05-17T11:49:57 DEBUG] Registry value 'CustomRescheduleFlags' is not set. Returning default value: 0
[2016-05-17T11:49:57 INFO] Checking for Windows Sysprep Respecialize operation.
[2016-05-17T11:49:57 DEBUG] Sysprep process is not running.
[2016-05-17T11:49:57 INFO] Windows Sysprep Respecialize operation was not detected.
[2016-05-17T11:49:57 DEBUG] Successfully opened key SOFTWARE\VMware, Inc.\Guest Customization\
[2016-05-17T11:49:57 DEBUG] Size of reg_multi_sz 27.
[2016-05-17T11:49:57 DEBUG] Read multi_sz value from registry autocheck autochk /q /v *, size 27.
[2016-05-17T11:49:57 DEBUG] string value from registry autocheck autochk /q /v *.
[2016-05-17T11:49:57 DEBUG] Returning 1 elements
[2016-05-17T11:49:57 DEBUG] Successfully opened key SYSTEM\CurrentControlSet\Control\Session Manager\
[2016-05-17T11:49:57 DEBUG] Size of reg_multi_sz 22.
[2016-05-17T11:49:57 DEBUG] Read multi_sz value from registry sysprepDecrypter.exe, size 22.
[2016-05-17T11:49:57 DEBUG] string value from registry sysprepDecrypter.exe.
[2016-05-17T11:49:57 DEBUG] Returning 1 elements
[2016-05-17T11:49:57 DEBUG] Going to delete file C:\Windows\system32\sysprepDecrypter.exe
[2016-05-17T11:49:57 DEBUG] Deleted file C:\Windows\system32\sysprepDecrypter.exe
[2016-05-17T11:49:57 INFO] GuestCustUtil exiting.
[2016-05-17T11:49:57 INFO] GuestCustUtil invoked.
[2016-05-17T11:49:57 INFO] Params: flagComplete
[2016-05-17T11:49:57 DEBUG] Registry value 'CustomRescheduleFlags' is not set. Returning default value: 0
[2016-05-17T11:49:57 INFO] Checking for Windows Sysprep Respecialize operation.
[2016-05-17T11:49:57 DEBUG] Sysprep process is not running.
[2016-05-17T11:49:57 INFO] Windows Sysprep Respecialize operation was not detected.
[2016-05-17T11:49:57 DEBUG] Customization in progress set to 0 at 2016-May-17 11:49:57
[2016-05-17T11:49:57 DEBUG] Rpci: Sending request='deployPkg.update.state 5 0 C:\Windows\TEMP\vmware-imc\guestcust.log'
[2016-05-17T11:49:57 DEBUG] Rpci: Sent request='deployPkg.update.state 5 0 C:\Windows\TEMP\vmware-imc\guestcust.log', reply='', len=0, status=1
[2016-05-17T11:49:57 DEBUG] SysprepDecrypter has unobfuscated the password successfully
[2016-05-17T11:49:57 INFO] GuestCustUtil exiting.
[2016-05-17T11:49:57 INFO] GuestCustUtil invoked.
[2016-05-17T11:49:57 INFO] Params: deleteContainingFolder
[2016-05-17T11:49:57 DEBUG] Registry value 'CustomRescheduleFlags' is not set. Returning default value: 0
[2016-05-17T11:49:57 INFO] Checking for Windows Sysprep Respecialize operation.
[2016-05-17T11:49:57 DEBUG] Sysprep process is not running.
[2016-05-17T11:49:57 INFO] Windows Sysprep Respecialize operation was not detected.
[2016-05-17T11:49:57 DEBUG] Deleting "C:\sysprep" ...
[2016-05-17T11:49:57 DEBUG] Deleted folder "C:\sysprep" .
[2016-05-17T11:49:57 INFO] GuestCustUtil exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment