Jump to content

Skip User Account Creation on Install


SvalinnAsgard

Recommended Posts

I only use the Administrator account, and being forced to create a normal user account on install is very annoying. I tried using autounattend to get around this, but it still happens. I know its possible to force Windows to skip this step and just boot straight to the Administrator account, but how does one do this?

 

Thanks.

Link to comment
Share on other sites

Figured it out, here is my full autounattend.xml:

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-Setup" 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">            <Display>                <ColorDepth>32</ColorDepth>                <HorizontalResolution>2048</HorizontalResolution>                <VerticalResolution>1152</VerticalResolution>                <RefreshRate>60</RefreshRate>            </Display>            <UserData>                <AcceptEula>true</AcceptEula>            </UserData>        </component>        <component name="Microsoft-Windows-International-Core-WinPE" 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">            <SetupUILanguage>                <UILanguage>en-us</UILanguage>            </SetupUILanguage>            <InputLocale>en-us</InputLocale>            <SystemLocale>en-us</SystemLocale>            <UILanguage>en-us</UILanguage>            <UserLocale>en-us</UserLocale>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Deployment" 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">            <RunSynchronous>                   <RunSynchronousCommand wcm:action="add">                    <Description>DELETE ADMINISTRATOR FOLDER</Description>                        <Order>1</Order>                    <Path>cmd /c rd /s /q c:\users\administrator"</Path>                </RunSynchronousCommand>                       <RunSynchronousCommand wcm:action="add">                    <Description>ENABLE ADMINISTRATOR ACCOUNT</Description>                    <Order>2</Order>                    <Path>cmd /c net user Administrator /active:yes</Path>                </RunSynchronousCommand>                <RunSynchronousCommand wcm:action="add">                    <Description>UNFILTER ADMINISTRATOR TOKEN</Description>                    <Order>3</Order>                    <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>                </RunSynchronousCommand>                <RunSynchronousCommand wcm:action="add">                    <Description>DISABLE USER ACCOUNT PAGE</Description>                    <Order>4</Order>                    <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>                </RunSynchronousCommand>            </RunSynchronous>        </component>        <component name="Microsoft-Windows-Security-SPP-UX" 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">            <SkipAutoActivation>true</SkipAutoActivation>        </component>        <component name="Microsoft-Windows-Shell-Setup" 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">            <ComputerName>******</ComputerName>            <ShowWindowsLive>false</ShowWindowsLive>            <RegisteredOwner></RegisteredOwner>            <RegisteredOrganization></RegisteredOrganization>            <CopyProfile>true</CopyProfile>        </component>    </settings>    <settings pass="oobeSystem">        <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">            <InputLocale>en-us</InputLocale>            <SystemLocale>en-us</SystemLocale>            <UILanguage>en-us</UILanguage>            <UserLocale>en-us</UserLocale>        </component>        <component name="Microsoft-Windows-Shell-Setup" 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">            <Display>                <ColorDepth>32</ColorDepth>                <HorizontalResolution>2048</HorizontalResolution>                <VerticalResolution>1152</VerticalResolution>                <RefreshRate>60</RefreshRate>            </Display>            <OOBE>                <HideEULAPage>true</HideEULAPage>                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>                <NetworkLocation>Home</NetworkLocation>                <ProtectYourPC>3</ProtectYourPC>            </OOBE>            <RegisteredOwner></RegisteredOwner>            <RegisteredOrganization></RegisteredOrganization>            <AutoLogon>                <Enabled>true</Enabled>                <LogonCount>9999999</LogonCount>                <Username>Administrator</Username>            </AutoLogon>            <TimeZone>Mountain Standard Time</TimeZone>        </component>    </settings></unattend>
Link to comment
Share on other sites

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

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

×
×
  • Create New...