locked
Enable built-in administrator account RRS feed

  • Question

  • Hi

    Is it possiable to enable the built-in administrator account during unattended installation?

    the workstation is join to domain and cant use autologon.

    I know how to do that with net command but prefer to use the unattended process.

     

    Oded

    Thursday, January 19, 2012 3:41 PM

Answers

  • Hi,

     

    You can try this unattend file:

     

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

          <AutoLogon>

             <Password>

                <Value>SecurePasswd123</Value>

                <PlainText>true</PlainText>

             </Password>

             <Username>Administrator</Username>

             <Enabled>true</Enabled>

             <LogonCount>5</LogonCount>

          </AutoLogon>

          <UserAccounts>

             <AdministratorPassword>

                <Value>SecurePasswd123</Value>

                <PlainText>true</PlainText>

             </AdministratorPassword>

          </UserAccounts>

       </component>

     

    You can use WAIK to create the answer file, and the component in located in Microsoft-Windows-Shell-Setup

     

    Regards,

    Leo   Huang

     

     


    Leo Huang

    TechNet Community Support

    • Marked as answer by Leo Huang Monday, January 30, 2012 12:31 PM
    Tuesday, January 24, 2012 5:02 AM

All replies

  • With elevated admin rights start command prompt and run

    net user Administrator /active:yes

    Regards

    Milos

    Thursday, January 19, 2012 3:42 PM
  • Thank you for your response.

    as I said:

    I know how to do that with net command but prefer to use the unattended process.

     

    Thursday, January 19, 2012 3:45 PM
  • Hi,

     

    You can try this unattend file:

     

    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

          <AutoLogon>

             <Password>

                <Value>SecurePasswd123</Value>

                <PlainText>true</PlainText>

             </Password>

             <Username>Administrator</Username>

             <Enabled>true</Enabled>

             <LogonCount>5</LogonCount>

          </AutoLogon>

          <UserAccounts>

             <AdministratorPassword>

                <Value>SecurePasswd123</Value>

                <PlainText>true</PlainText>

             </AdministratorPassword>

          </UserAccounts>

       </component>

     

    You can use WAIK to create the answer file, and the component in located in Microsoft-Windows-Shell-Setup

     

    Regards,

    Leo   Huang

     

     


    Leo Huang

    TechNet Community Support

    • Marked as answer by Leo Huang Monday, January 30, 2012 12:31 PM
    Tuesday, January 24, 2012 5:02 AM