/build/static/layout/Breadcrumb_cap_w.png

Disabled local admin account on win7

I am creating a new image for Windows 7 SP1. I need to leave the local administrator account enabled and password protected as we don't want the new build PC's joining the domain automatically. We have an image on SCCM 2007 which is deploying fine but the local administrator account is disabled when the PC boots to the logon prompt. In the Task Sequence I've already ticked the option to leave the account enabled and set the password but it keeps imaging the PC's with a disabled admin account. Due to the nature of this work the PC's can't go onto the new domain immediatly after they're built so using GP is out of the question, any ideas?


0 Comments   [ + ] Show comments

Answers (4)

Posted by: SMal.tmcc 12 years ago
Red Belt
1

in your answer file add

 <component name="Microsoft-Windows-Deployment" 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">
            <RunSynchronous>
                <RunSynchronousCommand wcm:action="add">
                    <Path>net user administrator /active:yes</Path>
                    <Order>1</Order>
                </RunSynchronousCommand>
            </RunSynchronous>
        </component>

Posted by: jagadeish 12 years ago
Posted by: SMal.tmcc 12 years ago
Red Belt
1

if you can run post task like the k2000 does you can just add the line

 

net user administrator /active:yes

Posted by: muebel 12 years ago
10th Degree Black Belt
0

A better option (imo) is to just create a local administrator account.

I.E.

          <LocalAccount wcm:action="add">

            <Name>[USERNAME]</Name>

            <Group>Administrators</Group>

            <Password>

              <PlainText>true</PlainText>

              <Value> [PASSWORD]</Value>

            </Password>

          </LocalAccount>

This is in the oobesystem pass. 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ