Enable Administrator Account
I tried enabling the administrator's account while using the administrator account to install various software. However, the account was disabled after everything was said and done.
When I used a different user with administrator (For example: installuser) rights, this account did enable the default administrator account. Is it possible to use the administrator account to enable itself? My testing seems to suggest no. Thanks for your help.
Kurt
Answers (3)
Enable Administrator to unattend.xml
Exemple : http://1drv.ms/1rRvs2j
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>EnableAdmin</Description>
<Order>1</Order>
<Path>cmd /c net user Administrator /active:yes</Path>
</RunSynchronousCommand>
</component>
</settings>
so that the conversation will remain readable.