Jump to content

Windows 8 Autounattend.xml problems


beto

Recommended Posts

Hi all

I installed win 8 and office 2013, syspreped and captured the image. Created an ISO, tried it and It works almost as I should. Before sysprep/capturing the image I copied Admin Account I created during windows install. After Capture I mounted install.wim and pasted that account in it.

Then I installed the new image with win8+office to check everything was fine.

1) The problem is that at the end of win install it asks to create a user account. I just type in a user name (no matter what) and I get the choice between the "old Admin Account" I copied/pasted to the wim and the new account created during install. I just clicked to the "old Admin Account" name and found my desktop and everything a had personalized as it should be and no oobe.

How can I bypass that create user account option/window? Is it possible to start directly to the existing Admin user account I created before capture (not the default admin account)?

Have tried to fix that for days with autounattend.xml file without success. I need your help.

2) The other problem is when I add autounattend.xml file to the ISO and try to install, it shows me the "Select the operating system you want to install" window, which it doesn't show without autounattend.xml file. (because of ei.cfg). It is just one image in install.wim. My image name is: "Windows 8 Pro WMC With Office 2013". You can see it in the attached file to this message. Tried it with/without the ei.cfg file but still no success.

How can I bypass "Select the operating system you want to install" window?

Product key is integrated to the wim file with DISM command.

Any help would be truly appreciated. THANKS

Here is my autounattend.xml:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<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">
<OOBE>
<NetworkLocation>Home</NetworkLocation>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<DisplayName>Berti</DisplayName>
<Group>Administrators</Group>
<Name>Berti</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</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>0809:00000809</InputLocale>
<UserLocale>en-GB</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-GB</SystemLocale>
</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">
<InstallImage>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>IMAGE/NAME</Key>
<Value>Windows 8 Pro WMC With Office 2013</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
<UserData>
<AcceptEula>true</AcceptEula>
</component>
</settings>
<settings pass="specialize">
<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>
<Username>Berti</Username>
<Enabled>true</Enabled>
</AutoLogon>
<RegisteredOwner />
<ProductKey>xxxxxxxxxxxxxxxxxxxxxxxxxxx</ProductKey>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" 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">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/users/berti/desktop/win_pro_wmc_office_2013_wim/iso/sources/install.wim#Windows 8 Pro WMC With Office 2013" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

post-29263-0-25563400-1368614327_thumb.j

Link to comment
Share on other sites


  • Replies 12
  • Views 2.2k
  • Created
  • Last Reply

Hmm sounds !! tricky !

yes it is. Can you help me with the 2nd problem please. It should be less tricky but I have not been able to fix it for several days. It is really driving me crazy. Thanks

Link to comment
Share on other sites


just remove the key from it !!! if ei.cfg is present in source folder !!

Thanks for replying.

No there is no ei.cfg in sources folder. For the second problem I tried with just this 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">

<InstallImage>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/INDEX</Key>

<Value>1</Value>

</MetaData>

</InstallFrom>

</OSImage>

</ImageInstall>

<UserData>

<AcceptEula>true</AcceptEula>

<UserData>

</component>

</unattend>

It still doesn't work. It is not supposed to be so hard to do. Gooood i'll loose my mind

Link to comment
Share on other sites


just remove the key from it !!! if ei.cfg is present in source folder !!

Thanks for replying.

No there is no ei.cfg in sources folder. For the second problem I tried with just this 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">

<InstallImage>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/INDEX</Key>

<Value>1</Value>

</MetaData>

</InstallFrom>

</OSImage>

</ImageInstall>

<UserData>

<AcceptEula>true</AcceptEula>

<UserData>

</component>

</unattend>

It still doesn't work. It is not supposed to be so hard to do. Gooood i'll loose my mind

give me some time to solve it !!! :unsure: :unsure:

Link to comment
Share on other sites


Here is my working autounattend.xml as far as the 2 problems mentioned in the first post are concerned: 1) Bypass "select operating system" window; 2) bypass user account creation and start directly to the existing admin account (created before sysprep). Those 2 problems are solved.

But still I had no success to automate "use express settings" option at the end of windows install or get the Date, time, number format as I wish.

Hope this helps anyone

Thanks for your help

< ?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">
<UseConfigurationSet>true</UseConfigurationSet>
<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<Path>install.wim</Path>
<MetaData>
<Key>IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<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>0809:00000809</InputLocale>
<UserLocale>en-UK</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-UK</SystemLocale>
</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">
<AutoLogon>
<Enabled>true</Enabled>
<Username>Berti</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideLocalAccountScreen>true</HideLocalAccountScreen>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<DisplayName>Berti</DisplayName>
<Group>Administrators</Group>
<Name>Berti</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
<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>0809:00000809</InputLocale>
<UserLocale>en-UK</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-UK</SystemLocale>
</component>
</settings>
<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">
<Home_Page>https://www.google.com</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<BlockPopups>yes</BlockPopups>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
</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-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>0809:00000809</InputLocale>
<SystemLocale>en-UK</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-UK</UserLocale>
</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-ErrorReportingCore" 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">
<DefaultConsent>4</DefaultConsent>
<DisableWER>1</DisableWER>
</component>
</settings>
<cpiredface.giffflineImage cpi:source="catalog:c:/users/berti/desktop/win_pro_wmc_office_2013_wim/iso/sources/install_windows 8 pro wmc with office 2013.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
< /unattend>

Link to comment
Share on other sites


This is how I do it, I set ei.cfg to retail

[Channel]Retail[VL]0

Then this will this work

       <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">            <ImageInstall>                <OSImage>                    <InstallFrom>                        <MetaData wcm:action="add">                            <Key>/IMAGE/NAME</Key>                            <Value>Windows 8 Pro</Value>                        </MetaData>                    </InstallFrom>                </OSImage>            </ImageInstall>            <UserData>                <AcceptEula>true</AcceptEula>                <FullName>Bla</FullName>                <Organization></Organization>            </UserData>        </component>
Link to comment
Share on other sites


Thanks for your help ricktendo.

In the previous message I tried to explain that finally I fixed the 2 problems of the first post:

1) Bypass "select operating system" window;

2) bypass user account creation and start directly to the existing admin account (created before sysprep).

Those 2 problems are already solved.

The problems I have to fix know are:

1) automate "use express settings" option at the end of windows install

2) Get the Date, time, number format as I wish. (en-GB and not en-US)

Tried with the above xml but the last 2 problems are not working

Link to comment
Share on other sites


2) Get the Date, time, number format as I wish. (en-GB and not en-US)

You can do this by setting UserLocale to en-GB
Link to comment
Share on other sites


2) Get the Date, time, number format as I wish. (en-GB and not en-US)

You can do this by setting UserLocale to en-GB
If you see my xml above,@ post n9, you'll notice that it's already done - I have tried both UserLocale to en-GB/en-UK.

The problem is that it does not work. I still get en-us after win 8 install

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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