Jump to content

AutoUnattend.xml help with OOBE!


Recommended Posts

**** this AutoUnattend.xml crap!

I get errors and whatnot all the time, and the helpfiles are not of much help when it comes to understand the format.

I only need to have this settings applied, nothing more:

<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>

..I only need a template to use for this only, coz I do constant installs in VMware and this will save me 3min each time.

Can someone give me a little bit of code?

Thanks!

:)

Link to comment
Share on other sites


Hello, Clint! :hello:

I don't know where you get what kind of errors exactly, but if you're using the <SkipMachineOOBE>true</SkipMachineOOBE> it's causing several "problems" I know about for the moment. There might be some more:

1. Microsoft does not recommend to use this tag. This is the reason why you're getting a warning message in WSIM. It's not a critical error.

2. If you set this tag to true, Automatic Updates will be disabled what ever you set.

3. The setting of Network Location will be ignored - the box will pop up at the end of installation.

If you should have other or more problems, it would be helpfull to know, what kind of messages you're getting and how you're complete AutoUnattend.xml is looking like.

Martin

Link to comment
Share on other sites

Thanks for helping out! ;)

How does this loke like?

I can't understand why the "offlineImage" line has to be there, can't I just remove it?

<?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">
</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">
<UserData>
<ProductKey>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<UseConfigurationSet>true</UseConfigurationSet>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
</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">
<OEMInformation>
<Manufacturer>The TEAM</Manufacturer>
<Model>VISTA Gamers Ed.</Model>
</OEMInformation>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<TimeZone>Central Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE"
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

..it will still give me errors at install with this

EDIT: Is it just me, or hasn't the board gotten changed to the worse...the user UI is terrible.

Edited by Clint
Link to comment
Share on other sites

The "offlineImage" identifies which VISTA-Version you're installing AFAIK. If you look at the install.wim you'll see seven subimages represanting the different Versions (Business, Home Basic ...). If you would remove the offlineImage line Setup would not know wich Version you wanna install.

I can't find any errors so far in your AutoUnattend.xml, so what kind of errors you've got?

Martin

Link to comment
Share on other sites

Can anyone advise of the relevance of the file location relating to:

 <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE"

As the .xml can be made anywhere using the waik?

The fellows above I referenced is in the root of his Vista dir C:. I made mine on the desktop? whats the difference in respect of the autounattend.xml file?

Edited by MAVERICKS CHOICE
Link to comment
Share on other sites

Can anyone advise of the relevance of the file location relating to:

 <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE"

As the .xml can be made anywhere using the waik?

The fellows above I referenced is in the root of his Vista dir C:. I made mine on the desktop? whats the difference in respect of the autounattend.xml file?

the offline code tells the waik where the WIM file and data image from that WIM is located, this is needed for the express purpose if you ever had to edit the XML file again, it will look in this location first for that WIM, if it has moved it will ask you to locate the WIM again.

Link to comment
Share on other sites

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