VMM: Cannot login with local Administrator after Deployment (0x800708c5)
Aus Wiki-WebPerfect
Version vom 25. Januar 2022, 16:27 Uhr von Admin (Diskussion | Beiträge)
Error
In the Unattend Log file (C:\Windows\Panther\UnattendGC\setupact.log) you can find following error:
[Shell Unattend] UserAccounts: NetUserSetInfo(2) failed for 'Administrator' (0x800708c5)
Cause
VMM try to set the password for the local Administrator, but failed because the password dies not meet the complexity of the local security policies (secpol).
Maybe the Windows Image was domain joined in the past and you forgot to reset the local security policies.
Solution
- Reset your local security policies in your image before sysprep:
SecEdit.exe /configure /cfg C:\Windows\inf\defltbase.inf /db defltbase.sdb /verbose