SonyXP Posted June 17, 2008 Share Posted June 17, 2008 (edited) Here I am Below I have attached my Unattend files. Thanks to Exhaler's (cheers mate) method of using two files for the routine,it finally works as intended. The AutoUnattend.xml finds itself in the root folder of the DVD. It contains:- The WindowsPE pass with language and locale settings, name and organisation, the product key (1st time), accepts the EULA and picks my Vista version "Home Premium" (32Bit).- The Specialize pass skipping auto activation and checking for the appsroot.txt (using the well known command)- The OOBESystem pass to enter Audit Mode (by using Reseal - Thanks for that one Hannubys, that was the winning line ! )- The AuditSystem pass for Administrator AutoLogin- The AuditUser pass holding the arguments for numerous applications with "silent" command line switches (Firefox, Thunderbird and TotalCommander (packed with Winrar, SFX Archive (silent mode) )The Unattend.xml goes to \install and contains:- The OOBESystem pass to fill out user, system and country locales all again, the time zone, picks the network location, "ProtectYourPC" level, hides the EULA (again), fills in the serial (again, 2nd time) and creates a user "Sony" (with password).- The Specialize pass for another time zone setting (maybe I can remove one of them, testing lateron)The testing environment was virtual so far. I am using a vLited image (loads of stuff removed, SP1 slipstreamed aswell as all hotfixes and security updates "post" SP1. Also I included nForce chipset drivers) of Windows Vista SP1 x86 HomePremium. The installation was simulated in VirtualBox, a freeware VM by SUN. I got no errors so far and find myself on the logon screen with user "Sony" when everything is done. The initial login successfully loads up the desktop showing 3 links (Thunderbird, Firefox, TotalCommander), either of them working.The only thing I actually have to do manually (on purpose) is to select the partition I want to install Vista onto, during the early setup. Exactly the way I always wanted to have this thing working.Any feedback is much appreciated Autounattend.xmlUnattend.xml Edited June 18, 2008 by SonyXP Link to comment Share on other sites More sharing options...
Minus30 Posted July 3, 2008 Share Posted July 3, 2008 I have followed SonyXp's guide and it worked like a charm, for installing the apps that is. Now i get an annoying window at the first boot after installation (and if I don't respond it's persistent)Anyone knows what I'm doing wrong? I'm fairly new at making Unattended Installations btw (my first one was 2 months ago at school, a windows XP)Here is the window:AutoUnattend.xml:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing></servicing> <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>nl-NL</UILanguage> <WillShowUI>Never</WillShowUI> </SetupUILanguage> <InputLocale>0813:00000813</InputLocale> <SystemLocale>nl-NL</SystemLocale> <UILanguage>nl-NL</UILanguage> <UserLocale>nl-NL</UserLocale> </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"> <DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <ModifyPartitions> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Active>true</Active> <Format>NTFS</Format> </ModifyPartition> </ModifyPartitions> <CreatePartitions> <CreatePartition wcm:action="add"> <Type>Primary</Type> <Order>1</Order> <Extend>true</Extend> </CreatePartition> </CreatePartitions> </Disk> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> </Display> <DynamicUpdate> <WillShowUI>Never</WillShowUI> </DynamicUpdate> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Value>Windows Vista ULTIMATE</Value> <Key>IMAGE/NAME</Key> </MetaData> </InstallFrom> <InstallToAvailablePartition>true</InstallToAvailablePartition> <WillShowUI>Never</WillShowUI> </OSImage> </ImageInstall> <UpgradeData> <WillShowUI>Never</WillShowUI> </UpgradeData> <UserData> <ProductKey> <WillShowUI>Never</WillShowUI> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>Domien Van Rompaey</FullName> </UserData> </component> </settings> <settings pass="specialize"> <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-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>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <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"> <Reseal> <Mode>Audit</Mode> </Reseal> </component> </settings> <settings pass="auditSystem"> <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> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> </settings> <settings pass="auditUser"> <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>10</Order> <Path>cmd /c %AppsRoot%\Install\OfficeReady\setup.exe /adminfile CUSTOM.MSP</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>20</Order> <Path>cmd /c %AppsRoot%\Install\Firefox\Firefox-Setup-3-0.exe -ms</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>100</Order> <Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>9</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>Unattend.xml:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <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>0813:00000813</InputLocale> <SystemLocale>nl-NL</SystemLocale> <UILanguage>nl-NL</UILanguage> <UserLocale>nl-NL</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"> <AutoLogon> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>Administrator</Username> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> <DPI>96</DPI> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <RegisteredOrganization>Privé</RegisteredOrganization> <RegisteredOwner>Domien Van Rompaey</RegisteredOwner> <ShowWindowsLive>false</ShowWindowsLive> <TimeZone>Romance Standard Time</TimeZone> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/vistawork/dvd/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Link to comment Share on other sites More sharing options...
teemue Posted July 16, 2008 Share Posted July 16, 2008 Thanks to SonyXP! Link to comment Share on other sites More sharing options...
zedox Posted July 28, 2008 Author Share Posted July 28, 2008 Finally got myself some time to come back to this topic....@teemuetry adding%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml instead of%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xmlto autounattend.xml Link to comment Share on other sites More sharing options...
ricktendo Posted July 28, 2008 Share Posted July 28, 2008 Why use the unattended.xml cant autounattended.xml do all this? Link to comment Share on other sites More sharing options...
zedox Posted July 29, 2008 Author Share Posted July 29, 2008 @ricketendo64Are you using just autounattend.xml on SP1?Does it install applications ok?Can you post your config?Thanks Link to comment Share on other sites More sharing options...
maxXPsoft Posted August 2, 2008 Share Posted August 2, 2008 Why use the unattended.xml cant autounattended.xml do all this?Yes it can. ) Link to comment Share on other sites More sharing options...
ricktendo Posted August 2, 2008 Share Posted August 2, 2008 No, I have not found hot to use autounattended.xml to install my apps yet, I was just wondering why we needed to use both auto+unattened.xml Link to comment Share on other sites More sharing options...
g4xl20 Posted August 7, 2008 Share Posted August 7, 2008 (edited) what Answer this problem ?http://img57.imageshack.us/img57/5202/vistax64kk2.jpg Edited August 7, 2008 by g4xl20 Link to comment Share on other sites More sharing options...
Raspro Posted August 12, 2008 Share Posted August 12, 2008 (edited) Finally got myself some time to come back to this topic....@teemuetry adding%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml instead of%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xmlto autounattend.xmlI did use that:<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /generalize /oobe /reboot /unattend:%DVDRoot%\autounattend2.xml</Path>,But never finish the install.It goes Forever...Why is it not working for me?RegardsThose here are my XML's:AUTOUNATTEND.XMLautounattend2.xml Edited August 12, 2008 by Raspro Link to comment Share on other sites More sharing options...
pokemon1 Posted September 19, 2008 Share Posted September 19, 2008 Why use the unattended.xml cant autounattended.xml do all this?Yes it can. )Can you pls elaborate? Link to comment Share on other sites More sharing options...
maxXPsoft Posted September 19, 2008 Share Posted September 19, 2008 (edited) If you are doing a DVD boot, you will name your unattend file autounattend.xml and place that on a USB stick or floppy. Can be placed in root of dvd also but you can't modify that easily and continue with install. If you are doing a network share install you name it unattend.xml and if you are doing a WDS installation, you name it imageunattend.xml.I use autounattend.xml and place that on a floppy where you can add all passes. Edited September 19, 2008 by maxXPsoft Link to comment Share on other sites More sharing options...
The Felon Posted October 2, 2008 Share Posted October 2, 2008 (edited) <?xml version="1.0" encoding="utf-8" ?> - <unattend xmlns="urn:schemas-microsoft-com:unattend">- <settings pass="windowsPE">- <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> <Key>sssss-nnnnn-aaaaa-ccccc-kkkkk</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>National Snack Food Assaciation</Organization> <FullName>ANONYMOUS</FullName> <AcceptEula>true</AcceptEula> </UserData>- <ImageInstall>- <OSImage>- <InstallFrom>- <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows Vista ULTIMATE</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UseConfigurationSet>true</UseConfigurationSet> </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> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon>- <OOBE> <HideEULAPage>true</HideEULAPage> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> </OOBE>- <FirstLogonCommands>- <SynchronousCommand wcm:action="add"> <CommandLine>%systemdrive%\install\install.cmd</CommandLine> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands> </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"> <ComputerName>COMPUTER</ComputerName> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> </component>- <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> </settings> <cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/david/desktop/vista%20unatt%20vlite/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattendHere is a simple working example to automateyour install and additional applications like yourfavorite web browser etc. It uses a the "use configuration set"option value = "true" which for some reason is notmentioned in any documentation that I know of.It allows you to use $oem$ folders just like XP and works without sysprep. Edited March 5, 2012 by Tripredacus codebox to code Link to comment Share on other sites More sharing options...
cortex Posted August 24, 2011 Share Posted August 24, 2011 (edited) Hi,Is this still valid with windows 2008 R2 SP1 ?I'm doing the exact same things but with no luck. See my attempt here Edited August 24, 2011 by cortex Link to comment Share on other sites More sharing options...
mandrake Posted March 5, 2012 Share Posted March 5, 2012 If you are doing a DVD boot, you will name your unattend file autounattend.xml and place that on a USB stick or floppy. Can be placed in root of dvd also but you can't modify that easily and continue with install. If you are doing a network share install you name it unattend.xml and if you are doing a WDS installation, you name it imageunattend.xml.I use autounattend.xml and place that on a floppy where you can add all passes.Do you run the Audit passes as well?If that's the case, how does that work with only one unattend file? My understanding this far is that if you're going into audit pass via oobeSystem|Reseal[mode=audit] then the rest of oobeSystem pass is ignored and marked as "hasProcessed" in the cached answer file in Panther dir. When revisited next time it's ignored since it's marked as been processed?I've tried doing everything in one file but all my goodies in oobeSystem was ignored after auditUser. If, however the audit passes are skipped, then it works with one file since no pass is revisited twice.How does your answer file look like? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now