MSFN Forum: Ask your Seven xml ? here - MSFN Forum

Jump to content


  • 25 Pages +
  • « First
  • 17
  • 18
  • 19
  • 20
  • 21
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's

#361 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 16 February 2012 - 06:34 PM

View PostTheWalrus, on 16 February 2012 - 03:36 PM, said:

View Postnice_guy75, on 13 February 2012 - 07:09 PM, said:

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.


#362 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 07:54 AM

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>



This post has been edited by Tripredacus: 05 April 2012 - 10:51 AM


#363 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 09:21 AM

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.



#364 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 05 April 2012 - 10:53 AM

View PostTheWalrus, on 05 April 2012 - 09:21 AM, said:

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?

#365 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 11:07 AM

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.



#366 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 11:36 AM

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



This post has been edited by TheWalrus: 05 April 2012 - 11:57 AM


#367 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 05 April 2012 - 02:17 PM

View PostTheWalrus, on 05 April 2012 - 11:36 AM, said:


                <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....s-7-deployment/
You can find the install key master list in the pid.txt on the Windows 7 DVD.

#368 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 02:36 PM

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.



#369 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 April 2012 - 07:03 PM

View PostTheWalrus, on 05 April 2012 - 02:36 PM, said:

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>
http://www.msfn.org/...-an-oem-folder/

This post has been edited by maxXPsoft: 05 April 2012 - 07:04 PM


#370 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 April 2012 - 12:13 AM

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.



#371 User is offline   Yipikayee 

  • Group: Members
  • Posts: 5
  • Joined: 13-March 12
  • OS:none specified
  • Country: Country Flag

Posted 06 April 2012 - 02:32 AM

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:
Posted Image

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

This post has been edited by Yipikayee: 06 April 2012 - 03:49 AM


#372 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,682
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 06 April 2012 - 03:56 PM

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.

#373 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 April 2012 - 03:56 AM

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.



#374 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 April 2012 - 02:05 PM

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?



#375 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 April 2012 - 08:32 AM

View PostTheWalrus, on 07 April 2012 - 02:05 PM, said:

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

Attached File  atiilhag.inf.PNG (17.93K)
Number of downloads: 11


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

This post has been edited by maxXPsoft: 08 April 2012 - 08:41 AM


#376 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 April 2012 - 09:55 AM

Hey I thought to do exactly that. It doesn't work :D Must have something to do with laptops having per manufacturer customized drivers. Trying to put the driver there results in blank screen. A bug of some sort.

However I managed to discover a way to do it anyway. I almost gave up though. I couldn't get the **** thing to install unattended if I specified packages to install (noone sane wants Control Center in his system I'd say, for example).

It works fine when executed manually but gives (not always but often) all kinds of weird errors unattended.

What I did was check which packages I wanted installed and physically DELETED the rest, and just specify the \packages path.

You can also either:

\bin64\atisetup.exe -install -use %systemdrive%\TEMP\graphics\Packages -output c:\TEMP\ATIlog.txt -loglevel 4

\bin64\setup.exe /unattended_install:c:\TEMP\graphics\Packages /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES



The first one has the disadvantage of not being able to push for a restart, so I install via setucomplete.cmd and manually do shutdown /r after that

This post has been edited by TheWalrus: 08 April 2012 - 09:56 AM


#377 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 April 2012 - 01:26 PM

How comes the setup doesn't wait for setucomplete.cmd to finish?

I set it to install the drivers as per previous post but only just realized firstlogon commands pop up in the background! That makes no sense...

cmd /c start /wait %systemdrive%\TEMP\graphics\bin64\setup.exe /unattended_install:c:\TEMP\graphics\Packages /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES




#378 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 April 2012 - 02:13 PM

View PostTheWalrus, on 08 April 2012 - 01:26 PM, said:

How comes the setup doesn't wait for setucomplete.cmd to finish?

Its all in your cmd and what you are calling, Catalyst installs several things so if you call something and it starts running and fire something else off and 1st thing terminate then there is no wait. Have fought that on things before including ATI so I don't install it.
No laptop are the same I have a HP laptop and it works fine adding drivers like that

#379 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 April 2012 - 02:22 PM

Ha you are onto something here. The individual packages have their own .msi files so it's technically speaking not one thing. Still I think setup wait for the setup.exe process to finish, which IMO doesn't happen until the whole thing is installed. Anyway, the other way with manual restart works just fine, fortunately. I still wonder if start /wait does anything...

What happened when I put the driver in $WinPEdrivers$ was it did install, but the screen was completely blank, but the Windows was running, lol. I even heard sounds and saw disk activity when I opened Start for example. Some mysterious stuff there :P



#380 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 April 2012 - 01:26 AM

Another question please:

1) What do I change where (registry-wise I guess) to make a local account autologon PERMANENTLY? Not setting silly stuff like logoncount=9999. Run netplwiz and uncheck the usual tickbox is exactly what I want to achieve. Any pointers?

2) I can't seem to make anything else but administrator account autologin.

this works:

            <UserAccounts>
                <AdministratorPassword>
           		<Value>aaa</Value>
               	<PlainText>true</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
               		<Value>aaa</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>aaa</Value>
                    <PlainText>true</PlainText>
                </Password>
       	</AutoLogon>



this doesn't work:

            <UserAccounts>
                <AdministratorPassword>
                    <Value>aaa</Value>
                    <PlainText>true</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                       	<Value>bbb</Value>
                            <PlainText>true</PlainText>
                        </Password>
                   	<DisplayName>User</DisplayName>
                        <Group>Administrators</Group>
                   	<Name>User</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <AutoLogon>
                <Username>User</Username>
                <LogonCount>3</LogonCount>
                <Enabled>true</Enabled>
                <Password>
           	<Value>bbb</Value>
                    <PlainText>true</PlainText>
                </Password>
            </AutoLogon>



...and asks me for entering name for the account (no idea if it's the name of the folder or the description. **** system is totally unclear about it). If I enter "User" it says I can't use it as it's already in use or something like that. It also asks me for password too.

This post has been edited by TheWalrus: 09 April 2012 - 07:37 AM


Share this topic:


  • 25 Pages +
  • « First
  • 17
  • 18
  • 19
  • 20
  • 21
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

8 User(s) are reading this topic
0 members, 8 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy