Jump to content


  • 0
The Bronx Bull

Why is Sysprep disabling the built in Administrator account?

Question

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>

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

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.