clivebuckwheat Posted August 13, 2011 Share Posted August 13, 2011 (edited) I am trying to Add two local accounts via sysprep after sysprep they are created BUT only as a standard user.1. Admin. I'd like this to be an Administrator not a standard user2. Faculty. I'd like this to be an Administrator not a standard userHere is my answer file below.<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <Identification> <JoinWorkgroup>LABS</JoinWorkgroup> </Identification> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <ComputerName>*</ComputerName> <RegisteredOrganization>MY ORGANIZATION</RegisteredOrganization> <RegisteredOwner>MY ORGANIZATION</RegisteredOwner> <CopyProfile>true</CopyProfile> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Description>UIU-COMMAND-ID={4dec1d91-5b7c-4f41-91e1-ee8d57db943e}</Description> <Order>1</Order> <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Path>net user administrator /active:yes</Path> <Order>2</Order> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"> <UserAccounts> <AdministratorPassword> <Value>aABjAG0AaABzAD8AQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>dABlAGEAYwBoAGUAcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </Password> <Description>Faculty</Description> <DisplayName>Faculty</DisplayName> <Group>Administrator</Group> <Name>Faculty</Name> </LocalAccount> <LocalAccount wcm:action="add"> <Password> <Value>aABjAG0AaABzAD8AUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Description>Admin</Description> <DisplayName>Admin</DisplayName> <Group>Administrator</Group> <Name>Admin</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <OOBE> <HideEULAPage>true</HideEULAPage> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <TimeZone>Eastern Standard Time</TimeZone> <AutoLogon> <Password> <Value>aABjAG0AaABzAD8AUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <Username>Administrator</Username> </AutoLogon> </component> <component name="Microsoft-Windows-International-Core" 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"> <SystemLocale>en-US</SystemLocale> <InputLocale>0409:00000409;1009:00001009;0c0c:00000c0c</InputLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/winpro764bit/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited August 13, 2011 by clivebuckwheat Link to comment Share on other sites More sharing options...
Scr1ptW1zard Posted August 14, 2011 Share Posted August 14, 2011 (edited) Not sure if this is it, but try changing: <Group>Administrator</Group>to <Group>Administrators</Group> Edited August 14, 2011 by Scr1ptW1zard Link to comment Share on other sites More sharing options...
clivebuckwheat Posted August 14, 2011 Author Share Posted August 14, 2011 argh!A set of fresh eyes sometimes does the trick. Link to comment Share on other sites More sharing options...
maxXPsoft Posted August 14, 2011 Share Posted August 14, 2011 that's confirmed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now