VMM: Cannot login with local Administrator after Deployment (0x800708c5)

Aus Wiki-WebPerfect
Version vom 25. Januar 2022, 16:30 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
01-change local admin pw error and success.png

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)


Examples (see the picture to the right):
Green = Example of a success
Red = Example of a fail


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