Jump to content

Recommended Posts

Posted (edited)

Hi all,

I made a syspreped Vista WIM image.

I create a unattend.xml file with WSIM that use Microsoft-Windows-Shell-Setup\UserAccounts with only Administrator.

All it's good but Windows ask me to create another user account.

It's possible to have only Administrator?

Thank you so much here is my xml file

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="offlineServicing">
<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>MYNAME</RegisteredOrganization>
<RegisteredOwner>MYNAME</RegisteredOwner>
<StartPanelOff>true</StartPanelOff>
</component>
</settings>
<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">
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<ComputerName>*</ComputerName>
<RegisteredOwner>MYNAME</RegisteredOwner>
<RegisteredOrganization>MYNAME</RegisteredOrganization>
<ShowWindowsLive>false</ShowWindowsLive>
<StartPanelOff>true</StartPanelOff>
<TimeZone>W. Europe Standard Time</TimeZone>
<ProductKey>xxxxxxxxxxxxxxxxxxxxxxxxx</ProductKey>
</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>it-IT</InputLocale>
<SystemLocale>it-IT</SystemLocale>
<UILanguage>it-IT</UILanguage>
<UserLocale>it-IT</UserLocale>
</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>it-IT</InputLocale>
<SystemLocale>it-IT</SystemLocale>
<UILanguage>it-IT</UILanguage>
<UserLocale>it-IT</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>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<RegisteredOwner>MYNAME</RegisteredOwner>
<RegisteredOrganization>MYNAME</RegisteredOrganization>
<ShowWindowsLive>false</ShowWindowsLive>
<StartPanelOff>false</StartPanelOff>
<TimeZone>W. Europe Standard Time</TimeZone>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<settings pass="auditSystem">
<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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://wvistaentita/wvistaitaent.wim#C-DRIVE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by jbusato

Posted (edited)

Simple answer:

Add the following two lines to YOUR CODE above:

            
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE> <<<<< This
<SkipMachineOOBE>true</SkipMachineOOBE> <<<<< and this
<ProtectYourPC>3</ProtectYourPC>
</OOBE>

Another problem you may have is that you have not set "Show Administrator on logon screen". Very important that you enable!

See here!

Edited by razormoon

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...