VMM: Cannot login with local Administrator after Deployment (0x800708c5): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
Zeile 3: Zeile 3:
 
== Error ==
 
== Error ==
 
In the Unattend Log file (C:\Windows\Panther\UnattendGC\setupact.log) you can find following error: <br>
 
In the Unattend Log file (C:\Windows\Panther\UnattendGC\setupact.log) you can find following error: <br>
'''[Shell Unattend] UserAccounts: NetUserSetInfo(2) failed for 'Administrator' (0x800708c5)'''
+
'''[Shell Unattend] UserAccounts: NetUserSetInfo(2) failed for 'Administrator' (0x800708c5)''' <br>
 +
Green = Example of a success <br>
 +
Red = Example of a fail <br>
  
  

Version vom 25. Januar 2022, 16:29 Uhr

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)
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