Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


r0sWell

Post-install Login problem, plus...

Recommended Posts

Hi,

I have problems in my tests to build a 'Windows 7 x64 unattended' DVD.

Please note I never used Vista (I'm still using XP SP3) and it my 1st tries with WAIK & Autounattend.xml method.

I would love some help if you know how to solve this :

(thx in advance for reading :blushing: )

PS: I've only done the tests in a Virtual machine using SUN Virtualbox 3.0.4

After the Windows installation (which is OK), and the post-op APPS installation (OK too), the computer reboots and when I arrive to the logon screen, it tells me that the account is disabled.

It concerns the Administrator account here.

7problem1.jpg

w800.png

7problem2.jpg

w800.png

I'm not sure, but I think it's because in my Autounattend.xml in the last lines I want to re-disable the Administrator account to use only the *new* Test account created in it.

PS: after installation, at every reboot it tries to login using the Administrator account (still disabled). And at last after 2-3 reboots, it shows the Test + User account pictures.

Here is my complete Autounattend.xml :

  <?xml version="1.0" encoding="utf-8" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing />
- <settings pass="specialize">
- <component name="Microsoft-Windows-IE-InternetExplorer" 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">
<BlockPopups>yes</BlockPopups>
<FavoritesDelete>true</FavoritesDelete>
<DisableDevTools>true</DisableDevTools>
<DisableDataExecutionPrevention>true</DisableDataExecutionPrevention>
<ShowInformationBar>true</ShowInformationBar>
<Home_Page>http://www.google.com</Home_Page>
<PlaySound>false</PlaySound>
<Help_Page>http://www.google.com</Help_Page>
</component>
- <component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<fAllowFullControl>false</fAllowFullControl>
<fAllowToGetHelp>false</fAllowToGetHelp>
</component>
- <component name="Microsoft-Windows-Security-Licensing-SLC-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">
- <AutoLogon>
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
</Display>
- <Themes>
<DefaultThemesOff>false</DefaultThemesOff>
</Themes>
- <WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowWindowsMail>true</ShowWindowsMail>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
<TimeZone>Romance Standard Time</TimeZone>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<CopyProfile>true</CopyProfile>
<ComputerName>w7x64</ComputerName>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<StartPanelOff>false</StartPanelOff>
<RegisteredOrganization>testNetwork</RegisteredOrganization>
<RegisteredOwner>Test</RegisteredOwner>
<ShowWindowsLive>true</ShowWindowsLive>
</component>
- <component name="Microsoft-Windows-SQMApi" 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">
<CEIPEnabled>0</CEIPEnabled>
</component>
- <component name="Microsoft-Windows-SystemRestore-Main" 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">
<DisableSR>1</DisableSR>
</component>
- <component name="Microsoft-Windows-UnattendedJoin" 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">
- <Identification>
<JoinWorkgroup>TESTNETWORK</JoinWorkgroup>
</Identification>
</component>
- <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">
<Order>1</Order>
<Path>net user Administrator /active:yes</Path>
</RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>net user Test /active:yes</Path>
</RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>net user User /active:yes</Path>
</RunSynchronousCommand>
- <RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %i:\WIN7DVD SETX SOFT %i:\Softwares -m"</Path>
</RunSynchronousCommand>
</RunSynchronous>
</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>040c:0000040c</InputLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>fr-FR</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>
<SystemLocale>fr-FR</SystemLocale>
</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">
- <OEMInformation>
<Manufacturer>TestUnattended</Manufacturer>
<Model>top-of-the-line model</Model>
<SupportURL />
<Logo>%SystemRoot%\OEMlogo.bmp</Logo>
</OEMInformation>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
- <UserAccounts>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Name>User</Name>
<Description>limited use</Description>
<Group>Users</Group>
<DisplayName>User</DisplayName>
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>
- <LocalAccount wcm:action="add">
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Description>everyday use</Description>
<DisplayName>Test</DisplayName>
<Group>Administrators</Group>
<Name>Test</Name>
</LocalAccount>
</LocalAccounts>
- <AdministratorPassword>
<Value>test</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
- <VisualEffects>
<FontSmoothing>Standard</FontSmoothing>
</VisualEffects>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
</Display>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<CommandLine>%SOFT%\GUIRunOnce.cmd</CommandLine>
<Description>custom settings</Description>
<Order>10</Order>
</SynchronousCommand>
- <SynchronousCommand wcm:action="add">
<Order>100</Order>
<CommandLine>net user Administrator /active:no</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<RegisteredOrganization>TestNetwork</RegisteredOrganization>
<RegisteredOwner>Test</RegisteredOwner>
<TimeZone>Romance Standard Time</TimeZone>
<StartPanelOff>false</StartPanelOff>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<ShowWindowsLive>true</ShowWindowsLive>
</component>
</settings>
- <settings pass="generalize">
- <component name="Microsoft-Windows-SharedAccess" 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">
<EnableICS>true</EnableICS>
</component>
- <component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
<DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
</component>
</settings>
- <settings pass="windowsPE">
- <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>040c:0000040c</InputLocale>
<SystemLocale>fr-FR</SystemLocale>
<UserLocale>fr-FR</UserLocale>
<UILanguage>en-US</UILanguage>
</component>
- <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">
- <ComplianceCheck>
<DisplayReport>OnError</DisplayReport>
</ComplianceCheck>
- <DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Value>Windows 7 ULTIMATE</Value>
<Key>/IMAGE/NAME</Key>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
- <UserData>
- <ProductKey>
<Key>*****-*****-*****-*****-*****</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Test</FullName>
<Organization>TestNetwork</Organization>
</UserData>
<LogPath>%SystemRoot%\temp</LogPath>
<UseConfigurationSet>true</UseConfigurationSet>
<EnableFirewall>true</EnableFirewall>
<EnableNetwork>true</EnableNetwork>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/unattended/win7/x64/win7_x64/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I'd like to have your advices for my problem.

As you can see, using the strange 'Other User' box, i can type in what I want.

If I type in the other 'Test' account I created it logs in. but it's not what I want.

Plus, because it's another Admin type account it's OK, but what if I only created a limited user ?

then I would be completely blocked (no access to the admins rights anymore : no Administrator account still enabled and no right to enable it with a limited user)

:blushing:

What I'm trying to do is :

- install Windows 7 x64 100% unattended (except for the partition management)

- post-install Applications 100% unattended (using a simple batch for easy access & modification)

- autologon with Administrator during the installation, then hide this account and disable the autologon

Plus the 2 "bugs" (?) I have :

- auto-enable Gadgets (not working in Autounattend.xml)

- auto-select "Home" homegroup (not working as a popup is displayed for 'Home / Work / Public' after the 1st logon)

Don't hesitate to ask me if you need more info, or if you see things I should do for the Gadgets & homegroup.

Thx a lot !

:rolleyes:

Edited by r0sWell

Share this post


Link to post
Share on other sites

For one thing, your unattend is one of the stranger ones that I have seen...why are there so many of these:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Makes your unattend hard to read and a little confusing.

You may want to change this line also:

<LogonCount>5</LogonCount> 

Change this to fewer logon attempts. As a matter of fact, you may want to move that whole block down to the rest of your account commands to look like this:

<UserAccounts>
- <AdministratorPassword>
<Value>test</Value>
<PlainText>false</PlainText>
</AdministratorPassword>

- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Name>User</Name>
<Description>limited use</Description>
<Group>Users</Group>
<DisplayName>User</DisplayName>
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>


- <LocalAccount wcm:action="add">
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Description>everyday use</Description>
<DisplayName>Test</DisplayName>
<Group>Administrators</Group>
<Name>Test</Name>
</LocalAccount>


ADD THIS, entering max logins...it must be named Administrator for it to work.

<AutoLogon>
<Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

</LocalAccounts>
</UserAccounts>

'

Take a look at this simple one. Notice I set my network location to "Home" though it has never worked properly.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
<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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>OWNER</FullName>
<Organization>HOME</Organization>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</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">
<ComputerName>my-PC</ComputerName>
<RegisteredOrganization>HOME</RegisteredOrganization>
<RegisteredOwner>OWNER</RegisteredOwner>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
</component>
<component name="Microsoft-Windows-SQMApi" 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">
<CEIPEnabled>0</CEIPEnabled>
</component>
</settings>
<settings pass="oobeSystem">
<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>HOME</RegisteredOrganization>
<RegisteredOwner>OWNER</RegisteredOwner>
<TimeZone>Mountain Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>500</Order>
<Description>God-mode Account Activate</Description>
<CommandLine>%systemdrive%\FirstLogon.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<UserAccounts>
<AdministratorPassword>
<Value>adminpass</Value>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>Password2</Value>
<PlainText>true</PlainText>
</Password>
<Group>Administrators</Group>
<Name>User2</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>Password3</Value>
<PlainText>true</PlainText>
</Password>
<Group>Users</Group>
<Name>User3</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Password>
<Value>adminpass</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by razormoon

Share this post


Link to post
Share on other sites
For one thing, your unattend is one of the stranger ones that I have seen...why are there so many of these:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Makes your unattend hard to read and a little confusing.

I only used the Windows 7 WAIK :blushing:

You may want to change this line also:

<LogonCount>5</LogonCount>

Change this to fewer logon attempts. As a matter of fact, you may want to move that whole block down to the rest of your account commands to look like this:

<UserAccounts>
- <AdministratorPassword>
<Value>test</Value>
<PlainText>false</PlainText>
</AdministratorPassword>

- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Name>User</Name>
<Description>limited use</Description>
<Group>Users</Group>
<DisplayName>User</DisplayName>
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
</LocalAccount>


- <LocalAccount wcm:action="add">
- <Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Description>everyday use</Description>
<DisplayName>Test</DisplayName>
<Group>Administrators</Group>
<Name>Test</Name>
</LocalAccount>


ADD THIS, entering max logins...it must be named Administrator for it to work.

<AutoLogon>
<Password>
<Value>test</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

</LocalAccounts>
</UserAccounts>

'

Take a look at this simple one. Notice I set my network location to "Home" though it has never worked properly.

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
<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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>OWNER</FullName>
<Organization>HOME</Organization>
<ProductKey>
<Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</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">
<ComputerName>my-PC</ComputerName>
<RegisteredOrganization>HOME</RegisteredOrganization>
<RegisteredOwner>OWNER</RegisteredOwner>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
</component>
<component name="Microsoft-Windows-SQMApi" 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">
<CEIPEnabled>0</CEIPEnabled>
</component>
</settings>
<settings pass="oobeSystem">
<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>HOME</RegisteredOrganization>
<RegisteredOwner>OWNER</RegisteredOwner>
<TimeZone>Mountain Standard Time</TimeZone>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<SkipUserOOBE>true</SkipUserOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>500</Order>
<Description>God-mode Account Activate</Description>
<CommandLine>%systemdrive%\FirstLogon.cmd</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<UserAccounts>
<AdministratorPassword>
<Value>adminpass</Value>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>Password2</Value>
<PlainText>true</PlainText>
</Password>
<Group>Administrators</Group>
<Name>User2</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>Password3</Value>
<PlainText>true</PlainText>
</Password>
<Group>Users</Group>
<Name>User3</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Password>
<Value>adminpass</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>3</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I'll try that & I'll post the results

Edited by r0sWell

Share this post


Link to post
Share on other sites

I shared my xml with you in hopes that you can try something simple first and see if it works more closely to what you need accomplished. That being said, your xml has too many redundancies where it is very obvious how you can change and streamline it a lot further. Your xml is unneccessarily repetitious.

Case in point:

Although clever, your LocalAccount code blocks @ shell setup (oobeSystem) should take care of your net user commands. It's too much of the same at the risk of fault. Remove those as Shell Setup is already setting this up for you.

I highly doubt that these are needed in Specialize path...not even for running your installs - that is of course, unless I am missing something. However, I might add that I do all my installs at first logon under the Admin account (notice first logon commands @ oobeSystem in my xml, same thing). Also, setupcomplete.cmd will run right before first logon. Much faster in my opinion as I stopped using Specialize even before Vista was officially released. MaxXP may disagree. :)

Remove all net user commands everywhere and see where it takes you.

Your Administrator account should disappear from the login screen as soon as the first use is over (reboot).

Please let me know as I am curious as to what you will find.

:thumbup

Edited by razormoon

Share this post


Link to post
Share on other sites

Everything seems to be OK now (concerning the account problem).

(Here's my Autounattend.xml)

PS: for now, I only use the Administrator account, plus a limited user account.

I'll do more tests on that point later, by adding another Admin account.

PS2: I'm not sure, but I think the Administrator account is not automaticaly disabled (nor hidden) after the Windows install (?)

Now I'm trying to import REG modifications for "CURRENT_USER" but it's not working atm (i tried during the specialize pass which replace the old cmdlines.txt).

Thanks for your answers :thumbup :thumbup :thumbup

Autounattend.xml

Share this post


Link to post
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.   Restore formatting

  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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...