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

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
K
 
Zeile 5: Zeile 5:
 
'''[Shell Unattend] UserAccounts: NetUserSetInfo(2) failed for 'Administrator' (0x800708c5)''' <br>
 
'''[Shell Unattend] UserAccounts: NetUserSetInfo(2) failed for 'Administrator' (0x800708c5)''' <br>
  
'''Examples (see the picture to the right):'''
+
 
 +
'''Examples (see the picture to the right):''' <br>
 
<span style="color:green">Green = Example of a success</span> <br>
 
<span style="color:green">Green = Example of a success</span> <br>
 
<span style="color:red">Red = Example of a fail </span> <br>
 
<span style="color:red">Red = Example of a fail </span> <br>

Aktuelle Version vom 25. Januar 2022, 16:30 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)


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