Hello all,
This thread is going to have a bump

Since I have been making some efforts in making a 64-bit autounattend.xml file (code below)
Is my 1st attempt...
I am curently working from XP now...
Now I am unsure about the correctness of it, maybe I have put too much in there... I don't know...
All what I want to achieve is to install
Win 7 Ultimate N with SP1 onto my machine using the DVD and an "semi-unattended" way of installing it by using an unattended file...
most important though is this code-bit below... which I think warrants to have the auditUser & auditSystem passes to be in place, is it not?
<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>
<ForceShutdownNow>false</ForceShutdownNow>
<Mode>Audit</Mode>
</Reseal>
<FolderLocations>
<ProgramData>F:\DATA\SYSTEM\PROGS</ProgramData>
<ProfilesDirectory>F:\DATA\USERS</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
Questions:
- is this a correct way of dealing with the whole autounattend.xml file data (complete code below)?
- are the audit passes needed for what I am trying to achieve keeping in mind I want programdata and user profiles dir changed...?
- very important question actually, where do I best put the autologon for administrator, i.e. in which pass, as there are multiple options to put it.. It confuses me...
- Is it necessary to be consistent in this? i.e. timezone and username and registeredorg entries for all the passes mentioned?
- copyprofile line is needed for me, I think, or is the use of it not needed for what I am trying to achieve (apply all what I want and gets copied to user account Chris in this case)? or am I overlooking something?
- The key values are intentionally X-es, as I want to enter my Key manually when needed, will this also work?
- the SkipOOBE settings set to false, is that also correct? as I have added in oobeSystem pass an extra account, which is going to be mine... Unsure...
<?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>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>nl-BE</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">
<ComplianceCheck>
<DisplayReport>Never</DisplayReport>
</ComplianceCheck>
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<!--<ColorDepth>32</ColorDepth>
<HorizontalResolution>1920</HorizontalResolution>
<VerticalResolution>1080</VerticalResolution>-->
<!--<RefreshRate>60</RefreshRate>-->
</Display>
<DynamicUpdate>
<Enable>true</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ULTIMATEN</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Christian P. Sakalis</FullName>
<Organization>Mindwarper Home</Organization>
<ProductKey>
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>
</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>true</EnableLUA>-->
<!--<EnableLUA>false</EnableLUA>-->
<EnableLUA>false</EnableLUA>
</component>
<!--<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
<DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Path>%systemdrive%\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>-->
</settings>
<settings pass="generalize">
<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>
</component>
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</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>about:blank</Home_Page>
<FilterLevel>High</FilterLevel>
<!--<CompanyName>Se7en_UA</CompanyName>-->
<!--<FavoritesOnTop>true</FavoritesOnTop>
<FavoritesOnTop>false</FavoritesOnTop>-->
<!--<Help_Page>http://people.consolidated.net/veeger/</Help_Page>-->
<!--<DisableFirstRunWizard>true</DisableFirstRunWizard>-->
<!--<DisableWelcomePage>true</DisableWelcomePage>-->
<!--<PlaySound>false</PlaySound>-->
<!--<ShowInformationBar>false</ShowInformationBar>-->
<!--<UserAgent>UAtest</UserAgent>-->
<!--<Window_Title_CN>Se7en_UA</Window_Title_CN>-->
<SearchScopes>
<Scope wcm:action="add">
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>Search1</ScopeKey>
<!--<ScopeUrl>http://www.google.com/advanced_search?hl=en</ScopeUrl>-->
<!--<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>-->
<ScopeUrl>http://www.google.com/search?q=</ScopeUrl>
</Scope>
</SearchScopes>
<Help_Page>http://www.google.com</Help_Page>
<DisableFirstRunWizard>false</DisableFirstRunWizard>
<PlaySound>true</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
</component>
<component name="Microsoft-Windows-powercpl" 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">
<PreferredPlan>381b4222-f694-41f0-9685-ff5bb260df2e</PreferredPlan>
</component>
<component name="Microsoft-Windows-Printing-Spooler-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">
<RemoveMXDW>1</RemoveMXDW>
</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-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">
<CopyProfile>true</CopyProfile>
<ComputerName>MindDragon</ComputerName>
<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>
<RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
<RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
<Display>
<!--<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>800</VerticalResolution>-->
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<!--<RefreshRate>60</RefreshRate>-->
</Display>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>W. Europe Standard Time</TimeZone>
</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-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>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>nl-BE</UserLocale>
</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>
<!--<Path>cmd /c net user administrator /active:yes</Path>-->
<Description>EnableAdmin</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>UnfilterAdministratorToken</Description>
<Order>2</Order>
<Path>reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
<!--<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>-->
</RunSynchronousCommand>
</RunSynchronous>
</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>CRUQ15</JoinWorkgroup>
</Identification>
</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>-->
<!--<LogonCount>3</LogonCount>-->
<!--<LogonCount>2</LogonCount>-->
<LogonCount>2</LogonCount>
<!--<Username>administrator</Username>-->
<Username>ADMIN</Username>
<!--<Password>
<Value>REMOVED</Value>
<PlainText>false</PlainText>
<Value>REMOVED</Value>
<PlainText>true</PlainText>
</Password>-->
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>REMOVED</Value>
<PlainText>false</PlainText>
</Password>
<Group>Administrators</Group>
<!--<Name>Admin</Name>-->
<Name>ADMIN</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>W. Europe Standard Time</TimeZone>
</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>400</Order>
<Path>cmd /C start /wait %systemdrive%\Install\AuditUser.cmd</Path>
</RunSynchronousCommand>
</RunSynchronous>
</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">
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
<RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
</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>
<ForceShutdownNow>false</ForceShutdownNow>
<Mode>Audit</Mode>
</Reseal>
</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>0413:00020409;0407:00000407;0408:00000408;0409:00020409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>nl-BE</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>
<Password>
<Value>REMOVED</Value>
<PlainText>false</PlainText>
<Value>REMOVED</Value>
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>-->
<!--<LogonCount>5</LogonCount>-->
<!--<LogonCount>3</LogonCount>-->
<!--<LogonCount>5</LogonCount>
<Username>administrator</Username>
</AutoLogon>-->
<Display>
<!--<ColorDepth>32</ColorDepth>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>800</VerticalResolution>-->
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<!--<RefreshRate>60</RefreshRate>-->
</Display>
<RegisteredOrganization>Mindwarper Home</RegisteredOrganization>
<RegisteredOwner>Christian P. Sakalis</RegisteredOwner>
<TimeZone>W. Europe Standard Time</TimeZone>
<!--<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Running FirstLog.cmd</Description>
<CommandLine>cmd /C start /wait %systemdrive%\Install\FirstLog.cmd</CommandLine>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk <KEY></CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>-->
<!--<OEMInformation>
<Logo>%WINDIR%\System32\OEM\SystemLogo.bmp</Logo>
<Manufacturer>Dell</Manufacturer>
<Model>Studio XPS Desktop 435MT</Model>
<SupportHours>Anytime, visit the Forums</SupportHours>
<SupportPhone>BR549</SupportPhone>
<SupportURL>http://people.consolidated.net/veeger/</SupportURL>
</OEMInformation>-->
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>false</SkipUserOOBE>
<SkipMachineOOBE>false</SkipMachineOOBE>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>REMOVED</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>REMOVED</Value>
<!--<PlainText>true</PlainText>-->
<!--<PlainText>false</PlainText>-->
<PlainText>false</PlainText>
</Password>
<Description>Christian P. Sakalis Account</Description>
<DisplayName>Chris</DisplayName>
<Name>Chris</Name>
<Group>Administrators</Group>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>REMOVED</Value>
<PlainText>false</PlainText>
</Password>
<Description>Admin Local Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<!--<FontSmoothing>ClearType</FontSmoothing>-->
<FontSmoothing>Standard</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer>
</WindowsFeatures>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<FolderLocations>
<ProgramData>F:\DATA\SYSTEM\PROGS</ProgramData>
<ProfilesDirectory>F:\DATA\USERS</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:x:/sources/install.wim#Windows 7 ULTIMATEN" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
can you guys give me feedback on it and show me the pitfalls I obviously must have made...

later on I will make a x86 version of it (easy

), when all seems to be correct in the end...
This post has been edited by Mindwarper: 04 April 2011 - 11:56 AM