myselfidem Posted November 19, 2011 Share Posted November 19, 2011 (edited) How to customize your Autounattend.xml AIO (x86/amd64) file ?When you have created your own Windows 7 AIO with all or some wanted images on one install.wim image you can customize your Autounattend.xml file to suit your needs.The first stage is to use Windows System Image Manager (WSIM) and create an Autounattend.xml file for example Windows 7 x86 Edition.WSIM is included with AIK 3.0 for Windows 7.http://www.microsoft...ls.aspx?id=5753When all your customization are made, save the file.After,open your Autounattend.xml file with notepad and duplicate the same lines for CPU amd64, changing only x86 to amd64 on each line.Remove the last line indicating the location of the install.wim image source!Don't forget to remove the ie.cfg file or rename as ei.cfg.bak located inside:C:\Folder_Location\sources\ei.cfgA trial or valid key is needed for the installation and you can choose to install silently only one Operationg System (x86 or amd64).If all the keys are integrated you don't need to add this value and you can choose to install the OS you want.Autounattend.xml AIO 2 Images Ultimate (x86/amd64) (the names are fictitious and are used to demonstrate!)A - Operating System Windows 7 Ultimate (x86/amd64) with one key.Two dialog boxes will be displayed: OS to install and Disk Configuration.You must use a key matching the Edition you want install.<?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-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>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>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><DynamicUpdate><Enable>false</Enable><WillShowUI>Never</WillShowUI></DynamicUpdate><ImageInstall><OSImage><WillShowUI>Always</WillShowUI></OSImage></ImageInstall><UserData><ProductKey><WillShowUI>OnError</WillShowUI><Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key></ProductKey><AcceptEula>true</AcceptEula><FullName>John Hood</FullName><Organization>private</Organization></UserData><EnableFirewall>true</EnableFirewall></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"><Diagnostics><OptIn>false</OptIn></Diagnostics><DiskConfiguration><WillShowUI>Always</WillShowUI></DiskConfiguration><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><DynamicUpdate><Enable>false</Enable><WillShowUI>Never</WillShowUI></DynamicUpdate><ImageInstall><OSImage><WillShowUI>Always</WillShowUI></OSImage></ImageInstall><UserData><ProductKey><WillShowUI>OnError</WillShowUI><Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key></ProductKey><AcceptEula>true</AcceptEula><FullName>John Hood</FullName><Organization>private</Organization></UserData><EnableFirewall>true</EnableFirewall></component></settings><settings pass="specialize"><component name="Microsoft-Windows-Security-SPP-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-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-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>John-PC</ComputerName><TimeZone>Pacific Standard Time</TimeZone></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"><ComputerName>John-PC</ComputerName><TimeZone>Pacific Standard Time</TimeZone></component><component name="Microsoft-Windows-IE-InternetExplorer" 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"><DisableOOBAccelerators>true</DisableOOBAccelerators><DisableFirstRunWizard>true</DisableFirstRunWizard><EnableLinksBar>false</EnableLinksBar><FilterLevel>High</FilterLevel><Home_Page>http://www.google.com</Home_Page><BlockPopups>yes</BlockPopups><SuggestedSitesEnabled>false</SuggestedSitesEnabled><PlaySound>True</PlaySound><ShowInformationBar>true</ShowInformationBar><ShowMenuBar>true</ShowMenuBar></component><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"><DisableOOBAccelerators>true</DisableOOBAccelerators><DisableFirstRunWizard>true</DisableFirstRunWizard><EnableLinksBar>false</EnableLinksBar><FilterLevel>Medium</FilterLevel><Home_Page>http://www.google.com</Home_Page><BlockPopups>yes</BlockPopups><SuggestedSitesEnabled>false</SuggestedSitesEnabled><PlaySound>True</PlaySound><ShowInformationBar>true</ShowInformationBar><ShowMenuBar>true</ShowMenuBar></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"><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale><InputLocale>0409:00000409</InputLocale></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"><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale><InputLocale>0409:00000409</InputLocale></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"><TimeZone>Pacific Standard Time</TimeZone><RegisteredOwner>John Hood</RegisteredOwner><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><OOBE><HideEULAPage>true</HideEULAPage><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><NetworkLocation>Home</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE><AutoLogon><Password><Value>qwertzuiop</Value><PlainText>true</PlainText></Password><Enabled>true</Enabled><LogonCount>9999999</LogonCount><Username>John</Username></AutoLogon><UserAccounts><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>qwertzuiop</Value><PlainText>true</PlainText></Password><DisplayName>John</DisplayName><Name>John</Name><Group>Administrators</Group></LocalAccount></LocalAccounts></UserAccounts></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"><TimeZone>Pacific Standard Time</TimeZone><RegisteredOwner>John Hood</RegisteredOwner><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><OOBE><HideEULAPage>true</HideEULAPage><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><NetworkLocation>Home</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE><AutoLogon><Password><Value>qwertzuiop</Value><PlainText>true</PlainText></Password><Enabled>true</Enabled><LogonCount>9999999</LogonCount><Username>John</Username></AutoLogon><UserAccounts><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>qwertzuiop</Value><PlainText>true</PlainText></Password><DisplayName>John</DisplayName><Name>John</Name><Group>Administrators</Group></LocalAccount></LocalAccounts></UserAccounts></component></settings></unattend><!--Customized by myselfidem. Only for One Image Windows 7 Ultimate (x86 and amd64) whithout using SetProductKey.cmd. Adapt the values to your needs.-->B - Autounattend.xml AIO (x86/amd64) all images and Disk Configuration already customized and all keys integrated.Autounattend.xml AIO (x86/amd64).Only one dialog box will be displayed to choose the OS to install<?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>fr-FR</UILanguage></SetupUILanguage><InputLocale>100c:0000100c</InputLocale><SystemLocale>fr-CH</SystemLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-CH</UserLocale></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>fr-FR</UILanguage></SetupUILanguage><InputLocale>100c:0000100c</InputLocale><SystemLocale>fr-CH</SystemLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-CH</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>OnError</WillShowUI><Disk wcm:action="add"><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk><CreatePartitions><CreatePartition wcm:action="add"><Order>1</Order><Type>Primary</Type><Size>100</Size></CreatePartition><CreatePartition wcm:action="add"><Order>2</Order><Type>Primary</Type><Extend>true</Extend></CreatePartition></CreatePartitions><ModifyPartitions><ModifyPartition wcm:action="add"><Order>1</Order><PartitionID>1</PartitionID><Label>System</Label><Format>NTFS</Format><Active>true</Active></ModifyPartition><ModifyPartition wcm:action="add"><Order>2</Order><PartitionID>2</PartitionID><Letter>C</Letter><Label>SEVEN</Label><Format>NTFS</Format></ModifyPartition></ModifyPartitions></Disk></DiskConfiguration><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><DynamicUpdate><Enable>false</Enable><WillShowUI>Never</WillShowUI></DynamicUpdate><ImageInstall><OSImage><InstallTo><DiskID>0</DiskID><PartitionID>2</PartitionID></InstallTo><WillShowUI>OnError</WillShowUI><InstallToAvailablePartition>false</InstallToAvailablePartition></OSImage></ImageInstall><UserData><AcceptEula>true</AcceptEula><FullName>Arthur Bolomey</FullName><Organization>particulier</Organization></UserData><EnableFirewall>true</EnableFirewall></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"><Diagnostics><OptIn>false</OptIn></Diagnostics><DiskConfiguration><WillShowUI>OnError</WillShowUI><Disk wcm:action="add"><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk><CreatePartitions><CreatePartition wcm:action="add"><Order>1</Order><Type>Primary</Type><Size>100</Size></CreatePartition><CreatePartition wcm:action="add"><Order>2</Order><Type>Primary</Type><Extend>true</Extend></CreatePartition></CreatePartitions><ModifyPartitions><ModifyPartition wcm:action="add"><Order>1</Order><PartitionID>1</PartitionID><Label>System</Label><Format>NTFS</Format><Active>true</Active></ModifyPartition><ModifyPartition wcm:action="add"><Order>2</Order><PartitionID>2</PartitionID><Letter>C</Letter><Label>SEVEN</Label><Format>NTFS</Format></ModifyPartition></ModifyPartitions></Disk></DiskConfiguration><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><DynamicUpdate><Enable>false</Enable><WillShowUI>Never</WillShowUI></DynamicUpdate><ImageInstall><OSImage><InstallTo><DiskID>0</DiskID><PartitionID>2</PartitionID></InstallTo><WillShowUI>OnError</WillShowUI><InstallToAvailablePartition>false</InstallToAvailablePartition></OSImage></ImageInstall><UserData><AcceptEula>true</AcceptEula><FullName>Arthur Bolomey</FullName><Organization>particulier</Organization></UserData><EnableFirewall>true</EnableFirewall></component></settings><settings pass="specialize"><component name="Microsoft-Windows-Security-SPP-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-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-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>Se7en</ComputerName><TimeZone>W. Europe Standard Time</TimeZone></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"><ComputerName>Se7en</ComputerName><TimeZone>W. Europe Standard Time</TimeZone></component><component name="Microsoft-Windows-IE-InternetExplorer" 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"><DisableOOBAccelerators>true</DisableOOBAccelerators><DisableFirstRunWizard>true</DisableFirstRunWizard><EnableLinksBar>false</EnableLinksBar><FilterLevel>High</FilterLevel><Home_Page>http://www.google.ch</Home_Page><BlockPopups>yes</BlockPopups><SuggestedSitesEnabled>false</SuggestedSitesEnabled><PlaySound>True</PlaySound><ShowInformationBar>true</ShowInformationBar><ShowMenuBar>true</ShowMenuBar></component><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"><DisableOOBAccelerators>true</DisableOOBAccelerators><DisableFirstRunWizard>true</DisableFirstRunWizard><EnableLinksBar>false</EnableLinksBar><FilterLevel>Medium</FilterLevel><Home_Page>http://www.google.ch</Home_Page><BlockPopups>yes</BlockPopups><SuggestedSitesEnabled>false</SuggestedSitesEnabled><PlaySound>True</PlaySound><ShowInformationBar>true</ShowInformationBar><ShowMenuBar>true</ShowMenuBar></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>100c:0000100c</InputLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-CH</UserLocale></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>100c:0000100c</InputLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-CH</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"><TimeZone>W. Europe Standard Time</TimeZone><RegisteredOwner>Arthur Bolomey</RegisteredOwner><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><OOBE><HideEULAPage>true</HideEULAPage><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><NetworkLocation>Home</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE><AutoLogon><Password><Value>yxcvbnm</Value><PlainText>true</PlainText></Password><Enabled>true</Enabled><LogonCount>9999999</LogonCount><Username>Arthur</Username></AutoLogon><UserAccounts><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>yxcvbnm</Value><PlainText>true</PlainText></Password><DisplayName>Arthur</DisplayName><Name>Arthur</Name><Group>Administrators</Group></LocalAccount></LocalAccounts></UserAccounts></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"><TimeZone>W. Europe Standard Time</TimeZone><RegisteredOwner>Arthur Bolomey</RegisteredOwner><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution><RefreshRate>60</RefreshRate></Display><OOBE><HideEULAPage>true</HideEULAPage><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><NetworkLocation>Home</NetworkLocation><ProtectYourPC>1</ProtectYourPC></OOBE><AutoLogon><Password><Value>yxcvbnm</Value><PlainText>true</PlainText></Password><Enabled>true</Enabled><LogonCount>9999999</LogonCount><Username>Arthur</Username></AutoLogon><UserAccounts><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>yxcvbnm</Value><PlainText>true</PlainText></Password><DisplayName>Arthur</DisplayName><Name>Arthur</Name><Group>Administrators</Group></LocalAccount></LocalAccounts></UserAccounts></component></settings></unattend><!--Customized by myselfidem. For Windows 7 AIO. One partition and 1 Aministrator. All keys must be already integrated. Adapt the values to your needs-->C - Autounattend.xml AIO [with only One install.wim and 2 images (using indexes)]<?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>fr-FR</UILanguage></SetupUILanguage><InputLocale>040c:0000040c</InputLocale><SystemLocale>fr-FR</SystemLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-FR</UserLocale></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>fr-FR</UILanguage></SetupUILanguage><InputLocale>040c:0000040c</InputLocale><SystemLocale>fr-FR</SystemLocale><UILanguage>fr-FR</UILanguage><UserLocale>fr-FR</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"><UserData><ProductKey><WillShowUI>OnError</WillShowUI><Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key></ProductKey><AcceptEula>true</AcceptEula><FullName>Robin Turtle</FullName><Organization>private</Organization></UserData><DiskConfiguration><WillShowUI>Always</WillShowUI></DiskConfiguration><ImageInstall><OSImage><WillShowUI>OnError</WillShowUI><InstallFrom><MetaData wcm:action="add"><Key>/IMAGE/INDEX</Key><Value>1</Value></MetaData></InstallFrom></OSImage></ImageInstall><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution></Display></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"><UserData><ProductKey><WillShowUI>OnError</WillShowUI><Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key></ProductKey><AcceptEula>true</AcceptEula><FullName>Robin Turtle</FullName><Organization>private</Organization></UserData><DiskConfiguration><WillShowUI>Always</WillShowUI></DiskConfiguration><ImageInstall><OSImage><WillShowUI>OnError</WillShowUI><InstallFrom><MetaData wcm:action="add"><Key>/IMAGE/INDEX</Key><Value>2</Value></MetaData></InstallFrom></OSImage></ImageInstall><Display><ColorDepth>32</ColorDepth><HorizontalResolution>1280</HorizontalResolution><VerticalResolution>1024</VerticalResolution></Display></component></settings>.......You can download the folder SetProductKey.rar (fr-FR/en-US) containing more examples and a useful batch file to integrate the keys, here:http://www.mediafire.../?uss84mzbqo91qNote: Always check your new Autounattend.xml file with WSIM to see if errors!Useful information:http://technet.microsoft.com/en-us/library/dd744261(WS.10).aspx*Edit: Thanks to report errors if you have. Edited March 5, 2013 by myselfidem chianf092 and bphlpt 2 Quote Link to comment Share on other sites More sharing options...
hornet512 Posted November 19, 2011 Share Posted November 19, 2011 @MyselfidemThank you for your clean and useful information.I injected suitable product keys to my win7 images by using your setProductKey.cmdThe installation never asks product key. Customers or friends can enter their legal valid keys within 30 days Regards Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 19, 2011 Author Share Posted November 19, 2011 (edited) Many thanks hornet512 for your kind feedback! Whitout using a password:<AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <Username>Edouard</Username></AutoLogon><UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Edouard</DisplayName> <Name>Edouard</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts></UserAccounts> Edited November 22, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 21, 2011 Author Share Posted November 21, 2011 (edited) Auto Logon with the built-in Administrator account: (not recommended)<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> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <!-- Enables built-in Administrator --> <Username>Administrator</Username> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name>Admin</Name> <Group>Administrators</Group> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Admin</DisplayName> <Description>Administrator</Description> </LocalAccount> </LocalAccounts> </UserAccounts> </component> </settings>Unattended Windows Setup Reference for Windows 7.chmAdministratorPasswordAdministratorPasswordspecifies the administrator password and whether it is hidden in the unattended installation answer file.To configure a blank administrator password for Windows® 7, write an empty string in Windows® System Image Manager (Windows SIM), by right-clicking the Value setting, and then selecting Write Empty String.The built-in administrator account will be enabled with a blank password.Caution: Creating a blank administrator password is a security risk. By default, the built-in administrator account is disabled in all default clean installations.You can enable the built-in administrator account during unattended installations, by setting the AutoLogon/Username to Administrator. This enables the built-in administrator account, even if a password is not specified in the AdministratorPassword setting.If no values are set for the administrator password and Username is not set to Administrator, the administrator account is disabled.Both Microsoft-Windows-Shell-Setup | Autologon and Microsoft-Windows-Shell-Setup | UserAccounts | AdministratorPassword sections are now needed for autologon in audit mode to work. Both of these settings should be added to the auditSystem configuration pass.Note:For Windows Server 2008, if you run the sysprep command with the generalize option, the built-in administrator account can no longer access any Encrypting File System (EFS)-encrypted files, personal certificates, and stored passwords for Web sites or network resources. Note: The silent installation on VMware Virtual Machine may fails with only the built-in Administrator used, without Local account user!*Edit: Added new examples about partition creation and Auto Logon inside SetProductKey.rar folder! Edited January 21, 2012 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 22, 2011 Share Posted November 22, 2011 (edited) Hi guys, can you help me with my autounattend.xml? I'm trying to make a custom install of my windows 7 so1 homepremium x64, but it keeps asking me which version to install and the language.. i found these things:<ImageSelection> <InstallImage> <Filename>install.wim</Filename> <ImageGroup>Windows 7</ImageGroup> <ImageName>Windows 7 Enterprise</ImageName> </InstallImage>and <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale>but i can't put them in the right place, so the image keeps giving me errors.. can you fix my autounattend please? what i need is:Administrator autologon without passwordInstall language and system language: ItalianWindows 7 version: homepremium sp1 x64Thanks a lot guys!Autounattend.xml Edited November 22, 2011 by carlese Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 22, 2011 Author Share Posted November 22, 2011 (edited) It's always needed to choose the Windows 7 OS you want install because you have x86 and amd64 options!I can read inside your post:I'm trying to make a custom install of my windows 7 so1 homepremium x64And you want install: <ImageName>Windows 7 Enterprise</ImageName> ???First, you can use WSIM to create your Autounattend.xml file for Windows 7 x86.After you can duplicate the passes and chek if there is errors with WSIM.Example (adapt the values to your needs):<?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>it-IT</UILanguage> </SetupUILanguage> <InputLocale>0410:00000410</InputLocale> <SystemLocale>it-IT</SystemLocale> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</UserLocale> </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>it-IT</UILanguage> </SetupUILanguage> <InputLocale>0410:00000410</InputLocale> <SystemLocale>it-IT</SystemLocale> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</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"> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>1024</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <DynamicUpdate> <Enable>false</Enable> <WillShowUI>Never</WillShowUI> </DynamicUpdate> <ImageInstall> <OSImage> <WillShowUI>Always</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <!-- The key must match the Windows 7 Edition to install --> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </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> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1280</HorizontalResolution> <VerticalResolution>1024</VerticalResolution> <RefreshRate>60</RefreshRate> </Display> <DynamicUpdate> <Enable>false</Enable> <WillShowUI>Never</WillShowUI> </DynamicUpdate> <ImageInstall> <OSImage> <WillShowUI>Always</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <!-- The key must match the Windows 7 Edition to install --> <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key> </ProductKey> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Security-SPP-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-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-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>Se7en</ComputerName> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <ComputerName>Se7en</ComputerName> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</UserLocale> <InputLocale>0410:00000410</InputLocale> </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"> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</UserLocale> <InputLocale>0410:00000410</InputLocale> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <RegisteredOrganization>Frutto-Di-Mare</RegisteredOrganization> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name>Admin</Name> <Group>Administrators</Group> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Admin</DisplayName> <Description>Administrator</Description> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <Username>Administrator</Username> </AutoLogon> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <RegisteredOrganization>Frutto-Di-Mare</RegisteredOrganization> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name>Admin</Name> <Group>Administrators</Group> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Admin</DisplayName> <Description>Administrator</Description> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <!-- Enables built-in Administrator --> <Username>Administrator</Username> </AutoLogon> <TimeZone>W. Europe Standard Time</TimeZone> </component> </settings></unattend><!--You will have built-in Administrator and User account: Admin. Dialog boxes displayed: OS to install (Windows 7 Edition to install) and Disk Configuration-->If you have only Windows 7 amd64 HomePremium, you don't need to use Autounattend.xml file AIO! Edited January 21, 2012 by myselfidem SunLion 1 Quote Link to comment Share on other sites More sharing options...
carlese Posted November 22, 2011 Share Posted November 22, 2011 (edited) maybe i'm asking in the wrong place, but you seem to be more prepared than me.. sorry for my O.T... i don't need a AIO xml, just one for my homepremium x64...I try to explain my needs:starting from the autounattend.xml i attached in the post above, i need to:1) auto select the "Windows 7 Sp1 64bit HomePremium" image without entering the key (it's a universal image for me and my friends, everyone has a different key)2) setup the installation and the sistem in italian3) set the Administrator autologon without password (no user creation after installing windows, just the Administrator)everything else i don't need it (screen resolution, computer name etc.. just the xml i attached plus these three things).. thanks a lot for your help! Edited November 22, 2011 by carlese Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 22, 2011 Author Share Posted November 22, 2011 (edited) Autounattend.xml for Windows 7 HomePremium amd64 DVDYou can try:<?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="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>it-IT</UILanguage> </SetupUILanguage> <InputLocale>0410:00000410</InputLocale> <SystemLocale>it-IT</SystemLocale> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</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> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 HOMEPREMIUM</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <!-- Default key is needed for silent install (or a valid key) --> <!-- Example using Default key for Windows 7 HOMEPREMIUM --> <Key>RHPQ2-RMFJH-74XYM-BH4JX-XM76F</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> </component> </settings> <settings pass="specialize"> <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-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"> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</UserLocale> <InputLocale>0410:00000410</InputLocale> </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"> <TimeZone>W. Europe Standard Time</TimeZone> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <RegisteredOrganization>Frutto-Di-Mare</RegisteredOrganization> <AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <!-- Enables built-in Administrator --> <Username>Administrator</Username> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Admin</DisplayName> <Name>Admin</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> </component> </settings></unattend> Edited January 21, 2012 by myselfidem SunLion 1 Quote Link to comment Share on other sites More sharing options...
carlese Posted November 22, 2011 Share Posted November 22, 2011 thanks a lot, will try it this night... you say that a key is required, but using the defaul windows homepremium key will my system say "30 days for activation" so i could put my own key in it after setup? Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 22, 2011 Author Share Posted November 22, 2011 (edited) Yes, you can change the key after 30 days with your valid key, or use your valid key with your Autounattend.xml.You can also find help here about Autounattend.xml files:http://www.msfn.org/...seven-xml-here/*Edit: After a new test, I see it's needed to create an User account to install silently Windows 7!!!Last posts updated! Edited November 22, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 22, 2011 Share Posted November 22, 2011 tried and it doesn't work.. i copied and pasted the text, renamed the txt to autounattend.xml, but when i try the image on a virtual machine, it gives me an error in line 4, column 200 or something... i try to open the file with xml editor but it doesn't open... with other unattended files you made no problems, just with mine.. Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 22, 2011 Author Share Posted November 22, 2011 (edited) Attach your Autounattend.xml file and I will see with WSIM!The trouble is when the file is copied on notepad...On all Editors Forum the URL is writed twice!!!Try this one and let me know!Autounattend.xml Edited November 23, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 22, 2011 Share Posted November 22, 2011 (edited) working like a charm now!i'm trying to make some adjustments, will let you know...edit: tried some adjustments, but i have a problem: i renamed the user to Carlese, and now i don't seem to have the Administrator privileges (for example it asks me to confirm my actions), how can i fix this? with the user you created it worked, with Carlese user it doesn't..i also renamed the company name removing the - (from Frutto-Di-Mare to Frutto Di Mare), i hope it's not a problem..another thig, could you add to my autounattend.xml the line to set the computer name? i don't know where to put it..thanks for your kindness!Autounattend.xml Edited November 22, 2011 by carlese Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 22, 2011 Author Share Posted November 22, 2011 (edited) You can try this one...<RegisteredOrganization>: this value seems to not support blank spaces (gaps)!!About UAC: you must disable the UAC control if you don't want always show the dialog boxes even if you are Administrator!The previous Autounattend.xml have Auto Logon for built-in Administrator!!!Autounattend.xml Edited November 22, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 23, 2011 Share Posted November 23, 2011 ok, so i cannot change the name of Administrator in the autounattend.xml otherwise i'll lose the Admnistrator privileges..I tried to install an image with the Administrator account and it works (it doesn't ask me to confirm my actions), but with your autounattend.xml in post #12 it creates 2 account, Administrator and Admin... how can I create only one? I can't find the option to specify the pc name "isi" in the autounattend.xml.. Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 (edited) Your Autounattend.xml file with Administrator Carlese whithout password:<?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="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>it-IT</UILanguage> </SetupUILanguage> <InputLocale>0410:00000410</InputLocale> <SystemLocale>it-IT</SystemLocale> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</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> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <Value>Windows 7 HOMEPREMIUM</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>RHPQ2-RMFJH-74XYM-BH4JX-XM76F</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> </component> </settings> <settings pass="specialize"> <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-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"> <!-- Adapt the COMPUTER NAME to suit your needs --> <ComputerName>Carlese-PC</ComputerName> <TimeZone>W. Europe Standard Time</TimeZone> </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"> <UILanguage>it-IT</UILanguage> <UserLocale>it-IT</UserLocale> <InputLocale>0410:00000410</InputLocale> </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"> <TimeZone>W. Europe Standard Time</TimeZone> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <RegisteredOrganization>Frutto-Di-Mare</RegisteredOrganization> <AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>9999999</LogonCount> <Username>Carlese</Username> </AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Carlese</DisplayName> <Name>Carlese</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts> </UserAccounts> </component> </settings></unattend>Always check your file with WSIM. Edited January 21, 2012 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 23, 2011 Share Posted November 23, 2011 so with this last unattended i will be able to do things like the built in Administrator or will i have to disable UAC anyway? can i change the name "Carlese" for my friends or it will ruin the unattended?as usual, copying the text gives me errors, can you attach the file? thanks! Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 (edited) You can change the name, of course...And yes you will have to disable the UAC anyway!! Edited November 23, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 23, 2011 Share Posted November 23, 2011 oh ok... and what about the unattended in post #12? i see 2 accounts, Administrator (which works great without disabluing uac) and another one "Admin"... is there a way to delete the Admin and keep only the Administrator in the unattended? thanks for your patience Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 (edited) As I said the built-in Administrator Auto Logon first...But you have 2 accounts: built-in Administrator and Administrator User (Admin)!*Edit: After many tests, I see we can't AutoLogon only with Built-in Administrator...A User account is always needed...And the User account must have a different name: you can't use the same name, like Administrator..You will have installation failing issue!!Fails using this value: <LogonCount>9999999</LogonCount>!!! Edited November 23, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
carlese Posted November 23, 2011 Share Posted November 23, 2011 ok, ill stick to the autounattend.xml in post #12 and add the computer name... maybe after install i'll change the name of the account Administrator and remove the Admin account.. Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 (edited) HOWEVER, we can have only One Administrator account whithout password, changing <LogonCount> value - and with the SAME USERNAME: Administrator:<AutoLogon> <Enabled>true</Enabled> <LogonCount>2</LogonCount> <Username>Administrator</Username> <Password> <Value></Value> </Password></AutoLogon> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value></Value> <PlainText>true</PlainText> </Password> <DisplayName>Administrator</DisplayName> <Name>Administrator</Name> <Group>Administrators</Group> </LocalAccount> </LocalAccounts></UserAccounts>Only One Administrator Account Image:https://skydrive.liv...85&sc=documentsAutounattend.xml Edited November 23, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 New attached file with only one Administrator!Cheers Quote Link to comment Share on other sites More sharing options...
carlese Posted November 23, 2011 Share Posted November 23, 2011 one Administrator working, but it keeps asking me the computer name... if we solve this problem the unattended is perfect! Quote Link to comment Share on other sites More sharing options...
myselfidem Posted November 23, 2011 Author Share Posted November 23, 2011 (edited) Updated Autounattend.xml file, at my previous post above! The value for Computer Name was at the wrong place (used: Admin-PC as an example)!Thanks Edited November 23, 2011 by myselfidem Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.