Hello everyone,
I'm having issues with customization of a Windows Server 2022 template. I've installed and configured Windows as needed and left the Administrator password blank. After that, I converted the VM into a template.
I then continued to specify my VM Customization Specification as follows (I only include settings I changed; things like name etc. are left out):
Guest OS: Generate a new SID
Administrator password is set
Time Zone is set
Commands to run once:
Stop-Service -Name BITS, wuauserv -Force
Remove-ItemProperty -Name AccountDomainSid, PingID, SusClientId, SusClientIDValidation -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\ -ErrorAction SilentlyContinue
Remove-Item "$env:SystemRoot\SoftwareDistribution\" -Recurse -Force -ErrorAction SilentlyContinue
Start-Service -Name BITS, wuauserv
wuauclt /resetauthorization /detectnow
(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()
Network: Manually select custom settings
NIC1 set to DHCP and set to 2 DNS servers
Workgroup: Workgroup
I then choose to create a new VM from this template, boot it up and press CTRL + ALT + DEL.
I'm then asked to change the user's password as it needs to be changed before signing in. I just press enter since I set Windows' security policy to not use password complexity. After a short while, the Administrator is logged off and the following command prompt appears:
Logging in C:\Windows\TEMP\vmware-imc\guestcust.log
INFO: The schedule task "VMware Guest OS Customization Task" will be created under user name ("NT AUTHORITY\SYSTEM").
WARNING: The task scheduler service is not running. Do you want to start the service now (Y/N)?
If I choose no, the reboot continues and afterwards I am able to log in with the password I set in the OS Customization. All settings are applied (e.g. the NIC).
If I choose yes, nothing happens. After about 15 minutes I pressed CTRL+C out of curiosity and then the reboot continued and I was able to log in as above, after choosing no.
Question is:
1. Why do I need to change the Administrator password?
2. What does this message regarding the task schedulder service mean?
If I forgot any details please don't hesitate to ask!
Kind regards and many thanks in advance!