I am using SCCM R2 and using it to deploy Windows 7 machines.
It has been working great so far, except just one thing. I need to create another local administrator account on my refrence image. I could have included this account by creating it before the machine gets imaged by SCCM, however I am also using the "CopyProfile" tag to copy the admin profile to the default profile on the machine and apparently you can only have ONE local account on the machine when you do this else you will have problems.
The only other way to create a local account was to have an XML answer file, and use it while deploying the image back to a machine. So I created a Task Sequence to deploy, and Under the Install Operating System -> Apply Operating System, I specify a Sysprep answer file from a package that has the following section to create the local account and add it to local administrators group.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hello-
I am using SCCM R2 and using it to deploy Windows 7 machines.
It has been working great so far, except just one thing. I need to create another local administrator account on my refrence image. I could have included this account by creating it before the machine gets imaged by SCCM, however I am also using the "CopyProfile" tag to copy the admin profile to the default profile on the machine and apparently you can only have ONE local account on the machine when you do this else you will have problems.
The only other way to create a local account was to have an XML answer file, and use it while deploying the image back to a machine. So I created a Task Sequence to deploy, and Under the Install Operating System -> Apply Operating System, I specify a Sysprep answer file from a package that has the following section to create the local account and add it to local administrators group.
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>KgAqAFIAYgBjAG0AMgAwADAANQBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>Local Admin 2</DisplayName>
<Name>LocalAdmin</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
But its not working, can you please tell me what am I doing wrong ?
Thanks
Share this post
Link to post
Share on other sites