Skip to content

Why is Sysprep disabling the built in Administrator account?

Featured Replies

Per here: http://technet.microsoft.com/en-us/library/cc766343%28WS.10%29.aspx, it basically says that if the AutoLogon is configured within the unattend.xml file, that the Administrator account will be enabled.

 

For whatever reason, after Sysprepping, it's switching it back to disabled in gpedit.msc. Can anyone tell me why?

 

Here is my Unattend file:

 

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="specialize">

<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">

<RegisteredOrganization>xxxxxxxxxx</RegisteredOrganization>

<ShowWindowsLive>false</ShowWindowsLive>

<TimeZone>Eastern Standard Time

</TimeZone>

<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>

<RegisteredOwner>xxxxxxxx</RegisteredOwner>

<ComputerName>%Please input a computer name%</ComputerName>

<CopyProfile>true</CopyProfile>

</component>

<component name="Microsoft-Windows-International-Core" 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">

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<component name="Microsoft-Windows-IE-InternetExplorer" 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">

<DisableAccelerators>true</DisableAccelerators>

<DisableFirstRunWizard>true</DisableFirstRunWizard>

<DisableOOBAccelerators>true</DisableOOBAccelerators>

<FavoritesDelete>true</FavoritesDelete>

<Home_Page>intradot</Home_Page>

<NoDial>true</NoDial>

<SuggestedSitesEnabled>false</SuggestedSitesEnabled>

</component>

<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">

<Order>1</Order>

<Path>net user Administrator /active:yes</Path>

</RunSynchronousCommand>

</RunSynchronous>

</component>

<component name="Microsoft-Windows-UnattendedJoin" 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">

<Identification>

<Credentials>

<Domain>xxxxxxxxx</Domain>

<Username>%Please input username%</Username>

<Password>%[password]Please input password%</Password>

</Credentials>

<JoinDomain>xxxxxxxxxxxx</JoinDomain>

</Identification>

</component>

</settings>

<settings pass="windowsPE">

<component name="Microsoft-Windows-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">

<UserData>

<AcceptEula>true</AcceptEula>

<FullName>xxxxxxxxxx</FullName>

<Organization>xxxxxxxxxx</Organization>

</UserData>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-International-Core" 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">

<InputLocale>en-us</InputLocale>

<SystemLocale>en-us</SystemLocale>

<UILanguage>en-us</UILanguage>

<UserLocale>en-us</UserLocale>

</component>

<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>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>Administrator</Username>

<Password>

<Value>xxxxxxxxxx</Value>

<PlainText>true</PlainText>

</Password>

</AutoLogon>

<UserAccounts>

<AdministratorPassword>

<Value>xxxxxxxxxx</Value>

<PlainText>true</PlainText>

</AdministratorPassword>

</UserAccounts>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Work</NetworkLocation>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

<ProtectYourPC>3</ProtectYourPC>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<TimeZone>Eastern Standard Time</TimeZone>

<DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet>

<RegisteredOrganization>xxxxxxxxxx</RegisteredOrganization>

<RegisteredOwner />

<Display>

<HorizontalResolution>1280</HorizontalResolution>

<VerticalResolution>1024</VerticalResolution>

</Display>

</component>

</settings>

</unattend>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.