maxXPsoft

Ask your Seven xml ? here

616 posts in this topic

I have a related question, I have actually created a SP1 disk (captured install.wim) from RTM by reverse integration now I want to know can I use boot.wim of the SP1 OS I have downloaded from MS or I have to use the same boot.wim of RTM only?

That's very bad idea, noone knows what gets screwed up by such awkward methods.

Why don't you just download SP1 image from official sources?

Well there is nothing wrong in this, I have already tried and everything is working fine. I already have SP1 image downloaded from MS but I asked so as I have made loads of customization in my reverse integrated wim so I would stick to that image only.

0

Share this post


Link to post
Share on other sites

I have a kind of WTF situation here.

I get all those system locale and EULA and whatever things pop up on me despite having autounattend.xml in the right place.

When I click through that, setup says it needs drivers for CD/DVD drive or some crap like that.

Furthermore, it DOES work in a VM.

It also says there are no images available when I somehow manage to make it work.

This is unattended file I used for months and it simply worked without problems. I have no idea what's going on :-O

I am completely out of ideas what's wrong. Could anyone tell?



<?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>cs-CZ</UILanguage>
</SetupUILanguage>
<InputLocale>cs-CZ</InputLocale>
<SystemLocale>cs-CZ</SystemLocale>
<UILanguage>cs-CZ</UILanguage>
<UserLocale>cs-CZ</UserLocale>
<UILanguageFallback>en-US</UILanguageFallback>
</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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
</ProductKey>
</UserData>
<!--<DiskConfiguration>
<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>
<Size>10000</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Active>true</Active>
<Format>NTFS</Format>
<Label>Boot</Label>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Letter>C</Letter>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>3</Order>
<PartitionID>3</PartitionID>
<Format>NTFS</Format>
<Letter>D</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>-->
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
<!-- <InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>-->
</OSImage>
</ImageInstall>
</component>
<component name="Microsoft-Windows-PnpCustomizationsWinPE" 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>$WinPEDriver{:content:}lt;/Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableWER>1</DisableWER>
</component>
<component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" 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">
<CacheLimit>51200</CacheLimit>
</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">
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableWelcomePage>true</DisableWelcomePage>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<EnableLinksBar>false</EnableLinksBar>
<FavoritesDelete>true</FavoritesDelete>
<Home_Page>http://www.google.com</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<ShowInformationBar>true</ShowInformationBar>
<SearchScopes>
<Scope wcm:action="add">
<DisplayQuickPick>true</DisplayQuickPick>
<ScopeKey>Search1</ScopeKey>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>
<ScopeDefault>true</ScopeDefault>
<FaviconURL>http://www.google.com/favicon.ico</FaviconURL>
<ShowSearchSuggestions>false</ShowSearchSuggestions>
</Scope>
</SearchScopes>
<DisableDevTools>true</DisableDevTools>
</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">
<fAllowToGetHelp>false</fAllowToGetHelp>
</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>hroch</ComputerName>
<ShowWindowsLive>false</ShowWindowsLive>
</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-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>
<Credentials>
<Domain></Domain>
<Username>admin</Username>
<Password></Password>
</Credentials>
<JoinDomain></JoinDomain>
<MachineObjectOU>OU=, OU=, OU=, OU=, DC=, DC=</MachineObjectOU>
</Identification>
</component>-->
<component name="Security-Malware-Windows-Defender" 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">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableWelcomePage>true</DisableWelcomePage>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<EnableLinksBar>false</EnableLinksBar>
<FavoritesDelete>true</FavoritesDelete>
<Home_Page>http://www.google.com</Home_Page>
<ShowInformationBar>true</ShowInformationBar>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<SearchScopes>
<Scope wcm:action="add">
<DisplayQuickPick>true</DisplayQuickPick>
<ScopeKey>Search1</ScopeKey>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeUrl>http://www.google.com/search?q={searchTerms}</ScopeUrl>
<ScopeDefault>true</ScopeDefault>
<FaviconURL>http://www.google.com/favicon.ico</FaviconURL>
<ShowSearchSuggestions>false</ShowSearchSuggestions>
</Scope>
</SearchScopes>
<DisableDevTools>true</DisableDevTools>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAccounts>
<AdministratorPassword>
<Value></Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Username>Administrator</Username>
<LogonCount>3</LogonCount>
<Enabled>true</Enabled>
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
</AutoLogon>
<OOBE>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Other</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
</OOBE>
<FirstLogonCommands>
<!-- <SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\ANTIVIR\eavbe_nt64_csy.msi REBOOT="ReallySuppress" ADMINCFG="%systemdrive%\install\ANTIVIR\NOD_Kiboon.xml"</CommandLine>
<Description>install NOD</Description>
</SynchronousCommand>-->
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<CommandLine>cmd /c start /wait %systemdrive%\install\dotNetFx40_Full_x86_x64.exe /q /norestart</CommandLine>
<Description>install .NET 4</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>cmd /c start /wait %systemdrive%\install\jre-6u31-windows-i586-s.exe /s</CommandLine>
<Description>install Java</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>3</Order>
<CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\install_flash_player_11_active_x_64bit.msi</CommandLine>
<Description>install Flash Player</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>4</Order>
<CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\install_flash_player_11_plugin_64bit.msi</CommandLine>
<Description>install Flash Player</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>5</Order>
<CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\adobe\AdbeRdr950_cs_CZ.msi ALLUSERS=TRUE EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES TRANSFORMS=%systemdrive%\install\adobe\AdbeRdr950_cs_CZ.mst</CommandLine>
<Description>install Adobe Reader</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>6</Order>
<CommandLine>cmd /c start /wait msiexec.exe /quiet /i %systemdrive%\install\7z920-x64.msi INSTALLDIR="%programfiles%\7-Zip"</CommandLine>
<Description>install 7-Zip</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>7</Order>
<CommandLine>cmd /c start /wait %systemdrive%\install\TotalCommander\install.exe</CommandLine>
<Description>install Total Commander</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>8</Order>
<CommandLine>cmd /c copy /y "%systemdrive%\install\TotalCommander\wincmd.ini" "%programfiles%\totalcmd\"</CommandLine>
<Description>copy Total Commander settings</Description>
</SynchronousCommand>
<!-- <SynchronousCommand wcm:action="add">
<Order>10</Order>
<CommandLine>cmd /c start /wait %systemdrive%\TEMP\Win7Vista_64_152254.exe -s -A -s -b</CommandLine>
<Description>install display driver</Description>
</SynchronousCommand>-->
</FirstLogonCommands>
<TimeZone>Central Europe Standard Time</TimeZone>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</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>cs-CZ</InputLocale>
<SystemLocale>cs-CZ</SystemLocale>
<UILanguageFallback>en-US</UILanguageFallback>
<UILanguage>cs-CZ</UILanguage>
<UserLocale>cs-CZ</UserLocale>
</component>
</settings>
</unattend>

Edited by Tripredacus
0

Share this post


Link to post
Share on other sites

Ok now It simply says there are no images even in VM.

Someone please run through the file briefly, I can't see anything wrong there.

0

Share this post


Link to post
Share on other sites

Ok now It simply says there are no images even in VM.

Silly question. Can you see images in the VM if you don't use the XML?

0

Share this post


Link to post
Share on other sites

I don't understand.

I am saying I am getting the "there are no images available" error during setup even when trying to install in a VM.

I know I did have this problem months ago and solved it somehow with the unattended file, but this one was being successfully used for half a yeart.

I really have no idea what's the cause. If I don't use autounattend.xml AT ALL, I can install the **** system. lol. There is SOMETHING wrong in my file but I have absolutely no idea what.

0

Share this post


Link to post
Share on other sites

How on earth can this



<ProductKey>
<Key>237XB-GDJ7B-MV8MH-98QJM-24367</Key>
</ProductKey>


cause the image not to be recognized and this



<ProductKey>74T2M-DKDBC-788W3-H689G-6P6GT</ProductKey>


makes the setup process normally???!! The first one is according to WSIM documentation even!

edit: damnit, it doesn't work. Setup lets me continue but after restart I am asked for product key. ****!

Edited by TheWalrus
0

Share this post


Link to post
Share on other sites



<ProductKey>74T2M-DKDBC-788W3-H689G-6P6GT</ProductKey>


Why would you use an HP OEM key during the WinPE phase? If you want to provide a product key at this point you would use the applicable install key.

http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/

You can find the install key master list in the pid.txt on the Windows 7 DVD.

0

Share this post


Link to post
Share on other sites

That's a good point. I slapped it in there because I am installing a new laptop for my father in law.

After bout ten hours of desperate attempts and googling like mad I finally tried to use Specialize\Microsoft-Windows-Shell-Setup\ProductKey instead of doing it in WindowsPE phase and it magically works.

What you say kinda makes sense but I always put the keys in here and it worked. Both HP and Lenovo ones. It's really weird. Sigh.

0

Share this post


Link to post
Share on other sites

That's a good point. I slapped it in there because I am installing a new laptop for my father in law.

After bout ten hours of desperate attempts and googling like mad I finally tried to use Specialize\Microsoft-Windows-Shell-Setup\ProductKey instead of doing it in WindowsPE phase and it magically works.

What you say kinda makes sense but I always put the keys in here and it worked. Both HP and Lenovo ones. It's really weird. Sigh.

in windowsPE you use

<component name="Microsoft-Windows-Setup"

       <ProductKey>
<Key>237XB-GDJ7B-MV8MH-98QJM-24367</Key>
</ProductKey>

in specialize you use

<component name="Microsoft-Windows-Shell-Setup"

<ProductKey>74T2M-DKDBC-788W3-H689G-6P6GT</ProductKey>

I use both and no problems

I must ask does this work ???

	   <DriverPaths>
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
<Path>$WinPEDriver{:content:}lt;/Path>
</PathAndCredentials>
</DriverPaths>

If you create the folder $WinPEDriver$ on root of dvd all you need in path is <Path>$WinPEDriver$</Path>

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

Yup the drivers thing works flawlessly. <Path>$WinPEDriver$</Path> that is.

I am having some really weird problems with setup process anyway. Fistly, 95% of the time I get this weird popup saying there is no driver to be found for CD/DVD drive, which makes no sense. If I copy standard Intel SATA driver files onto something and feed it in, it processes further. Sometimes I don't get it. Huh.

What REALLY sucks is that after the product key change I can basically install normally but on physical machine, starting with firstlogoncommands I get weird errors about not being able register some flash files (flash player being one of the things I install that way), and when the **** OS is supposed to start for the first time, upon showing the desktop it yells out that I am logged on with default profile of some sort and some path (which ironically mentions default profile) is not accessible anymore.

Really totally odd stuff happening here.

0

Share this post


Link to post
Share on other sites

Hi,

Sorry for interrupting.

I am trying to do a fully autounattended setup of windows 7 SP1.

All goes well until the part where you have to enter your "User name for your account".

I thought entering the LocalAccount would prevent me from having to do this but I still get the question.

Also after that I have to still select which option I want for the "Help protect your computer and improve Windows".

This screen:

GPZ3l.jpg

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7601.17514" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="InboxGames" state="false" />
<selection name="WindowsGadgetPlatform" state="false" />
</package>
</servicing>
<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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Extend>false</Extend>
<Size>8000</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>Never</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<Credentials>
<Domain>mydomain.com</Domain>
<Password>P@ssw0rd</Password>
<Username>Administrator</Username>
</Credentials>
<Path>\\RemoteInstall\WdsClientUnattend\install (2).wim</Path>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>*****-*****-*****-*****-*****</Key>
<WillShowUI>Never</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
<FullName>Test User</FullName>
<Organization>mydomain</Organization>
</UserData>
<WindowsDeploymentServices>
<Login>
<Credentials>
<Username>Administrator</Username>
<Password>P@ssw0rd</Password>
<Domain>mydomain.com</Domain>
</Credentials>
<WillShowUI>Never</WillShowUI>
</Login>
<ImageSelection>
<InstallImage>
<ImageGroup>win7(x86)</ImageGroup>
<ImageName>Windows 7 PROFESSIONAL</ImageName>
<Filename>install (2).wim</Filename>
</InstallImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>Never</WillShowUI>
</ImageSelection>
</WindowsDeploymentServices>
<DynamicUpdate>
<WillShowUI>Never</WillShowUI>
</DynamicUpdate>
</component>
<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>
<WillShowUI>Never</WillShowUI>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="specialize">
<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>nl-BE</InputLocale>
<SystemLocale>nl-BE</SystemLocale>
<UILanguage>nl-BE</UILanguage>
<UILanguageFallback>nl-BE</UILanguageFallback>
<UserLocale>nl-BE</UserLocale>
</component>
<component name="Microsoft-Windows-UnattendedJoin" 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">
<Identification>
<Credentials>
<Domain>mydomaincom</Domain>
<Password>P@ssw0rd</Password>
<Username>Administrator</Username>
</Credentials>
<JoinDomain>mydomain.com</JoinDomain>
</Identification>
</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>%Username%#-pc</ComputerName>
<TimeZone>Romance Standard Time</TimeZone>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Sidebar" 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">
<SidebarVisible>false</SidebarVisible>
<SidebarOnByDefault>false</SidebarOnByDefault>
</component>
<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>nl-BE</InputLocale>
<SystemLocale>nl-BE</SystemLocale>
<UILanguage>nl-BE</UILanguage>
<UILanguageFallback>nl-BE</UILanguageFallback>
<UserLocale>nl-BE</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">
<AutoLogon>
<Password>
<Value>UABAAHMAcwB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<Domain>mydomain</Domain>
<Enabled>false</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<Themes>
<DefaultThemesOff>false</DefaultThemesOff>
<DesktopBackground>%WINDIR%\achtergrond.jpg</DesktopBackground>
<WindowColor>Twilight</WindowColor>
</Themes>
<UserAccounts>
<AdministratorPassword>
<Value>UABAAHMAcwB3ADAAcgBkAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<DomainAccounts>
<DomainAccountList wcm:action="add">
<Domain>mydomain</Domain>
</DomainAccountList>
</DomainAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABAAHMAcwB3ADAAcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Romance Standard Time</TimeZone>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
<ShowWindowsLive>false</ShowWindowsLive>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" 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">
<EnableLUA>false</EnableLUA>
</component>
</settings>
<cpi:offlineImage cpi:source="wim://pocserver/reminst/wdsclientunattend/install%20(2).wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Also the computername is random how can I have them something like this: winpc-01, winpc-02, ...

And I placed a *.jpg in the *OEM\$1 folder, this would be placed under the C folder of the pc I read somewhere but the desktop doesn't change...

I've been looking on the web for sometime now but can't really find a specific solution for my problem.

Than again maybe I'm looking at the wrong places...

Edited by Yipikayee
0

Share this post


Link to post
Share on other sites

Look up "ProtectMyPC" in unattend.chm to find how to get that protect page to be hidden.

You can't add the Administrator account in unattend because it already exists.

For wallpaper, look up Theme in the chm. You need to provide background, a theme name and set the default to off.

Sorry I didn't post links but I'm going from memory atm.

0

Share this post


Link to post
Share on other sites

Might as well try asking here.

I am trying to install ATI Catalyst driver with firstlogoncommands.

The code is as follows

                    <CommandLine>cmd /c %systemdrive%\TEMP\graphics\bin64\setup.exe /unattended_install:c:\temp\graphics\Packages\Apps\CIM\Win64;c:\temp\graphics\Packages\Drivers\Display\W76A_INF;c:\temp\graphics\Packages\Drivers\WDM\HDMI\W764a;c:\temp\graphics\Packages\Apps\PXProfile;c:\temp\graphics\Packages\Apps\IntelMedia\WinW764a /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES</CommandLine>

This works perfectly when executed manually. However, in unattended setup it doesn't do anything. I don't even see a new cmd window pop up like with other stuff I install. Is there anything wrong about the code?

I tried the following:

-double backslashes (not sure how this works yet, see my other thread here)

- no "cmd /c"

- "cmd /c start /wait"

There must be a catch somewhere. Grr.

0

Share this post


Link to post
Share on other sites

I got another question regarding firstlogoncommands.

1) They are executed in the order they are put in the answer file, or in the order of their numbers?

2) what happens if something causes the PC to restart before they are all executed? will they continue after next boot? If not, what do I do in case of say installing graphics drivers which need restart, but other commands need to be executed after that?

0

Share this post


Link to post
Share on other sites

I got another question regarding firstlogoncommands.

1) They are executed in the order they are put in the answer file, or in the order of their numbers?

2) what happens if something causes the PC to restart before they are all executed? will they continue after next boot? If not, what do I do in case of say installing graphics drivers which need restart, but other commands need to be executed after that?

1. By the number

2. One shot at this if something happens it will not re-run

ATI Catalyst suite has been one of the worst to try and install as I have had ATI since I started doing this.

Simplest method is browse to C:\Windows\System32\DriverStore\FileRepository. Do a search within file contents for atiilhag.inf

I use FREE 32 0r 64 bit Agentransack

post-9484-0-06086100-1333896104_thumb.pn

Copy that whole folder to a folder in $OEM$ called $WinPEDriver$ and use the xml.

Add this to your AutoUnattend.xml in <settings pass="windowsPE">

        <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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>$WinPEDriver$</Path>
</PathAndCredentials>
</DriverPaths>
</component>

That will get basic driver done then you can install the bloatware ATI Catalyst suite later. I don't use it and will not install it.

EDIT: Doing this way will not need a reboot first

Edited by maxXPsoft
0

Share this post


Link to post
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.