Thursday, July 3, 2014

Unattended windows 7 64 bits professional usb boot

Usb key windows 7 unattend bootable

Hullo,

I am a little tired of formatting pcs (windows and softwares)
I decided to boot my windows 7 dvd on usb and add an autounattend.xml

1.
You must use the one time boot key to boot the computer on the usb key (F8 on core2, ESC on HP, F12 on dell) (WARNING: the key will delete all partitions on first sata connector) (WARNING: disable EFI boot (or secure boot), the key is regular boot)

2.
if you change the boot order in BIOS, the key will format and reboot until the end of time (unless you remove the usb key after first reboot)

3.
The file [rootoftheusbkey] autounattend.xml contain what will be installed

4.
At the end, there will be a folder on desktop named "À faire - Todo"
In this folder, run the script "Redetecte les périphériques mal installés"
The second redetection script, is for the video card, but it will reboot without a warning, so do not run it while something else is in progress

5.
Folders on the key

ALL the folders in [rootoftheusbkey] \sources\$oem$\$1 will be copied on c:\ on installation
You can delete them after to gain disk space

sources\$i386$\$1\_drivers
Containt 5 gigabytes of drivers for different devices:

sources\$i386$\$1\_drivers_manual
This folder contain drivers that must be installed manually. Like video card drivers, ACPI, and some others

sources\$i386$\$1\_appsall
This folder contain the application installed on all computers (not all of the are installed)

sources\$i386$\$1\_appsmaison
"house" or personnal applications


2016-09-30

I optimized the usb key boot a lot with this patch package from microsoft

This procedure actually integrate a LOT of patches (about 270) in the usb key image/dvd:
Prerequisite:
Windows6.1-KB3020369-x64.msu
Patch package:
AMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu

Integration to the usb key (windows 7 sp1 professional):

The windows 7 sp1 (64bits) dvd is in this folder:
C:\windows 7 sp1 fra pro unattend\

These command must be done in a command prompt (cmd.exe):
Get information about what version is the windows 7 sp1 DVD:
Dism /Get-WIMInfo /WimFile:"C:\windows 7 sp1 fra pro unattend\sources\install.wim"

Make a temporary folder to extract DVD data:
mkdir C:\Win7SP1ISO\offline

Extract DVD data essential to windows DVD installation into C:\Win7SP1ISO\offline:
Dism /Mount-WIM /WimFile:"C:\windows 7 sp1 fra pro unattend\sources\install.wim" /Name:"Windows 7 PROFESSIONAL" /MountDir:C:\Win7SP1ISO\offline

Delete this key if DISM say image is already mounted:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIMMount\Mounted Images

Add the prerequisite package to the C:\Win7SP1ISO\offline folder:
Dism /Image:C:\Win7SP1ISO\offline /Add-Package /PackagePath:C:\_aef\updates\Windows6.1-KB3020369-x64.msu

Add the big patch package from microsoft to the C:\Win7SP1ISO\offline folder:
Dism /Image:C:\Win7SP1ISO\offline /Add-Package /PackagePath:C:\_aef\updates\AMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu
             
Move the  the C:\Win7SP1ISO\offline folder back to the DVD / usb image (this will not change the unattented status of the DVD):
Dism /Unmount-WIM /MountDir:C:\Win7SP1ISO\offline /Commit

2016-01-31
Batch file to patch some windows update at next pc restart:

--------- start phase04.bat file ---------------- use notepad.exe to create ---------------
rem phase 04 to 10

c:
rem folder where the usb copie the patchs when installing windows (source\$oem$\$1\_updates\)
cd c:\_updates\to20150102
for /F %%A in ('dir /b *.msu') do start /wait wusa.exe %%A /quiet /norestart
x:

reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v NewSetupScript /t Reg_SZ /d "c:\_updates\phase05.bat" /f

rem echo phase04 done>"%USERPROFILE%\Desktop\A Faire - ToDo\phase04 done - phase04 faite.txt"

Shutdown /r /t 10
--------- end phase04.bat file ----------------

Step00:

Create a new usb key for boot:
(lexar usb key will do, sometimes kingston will mess up partitionning)

windows 7 usb boot

In short:
insert usb key (8 giga minumum I presume)
 [windows] r
 cmd
 diskpart
 (added list disk, on some pc, diskpart does list disk when executed)
 list disk
 select disk 11
(carefull here, it delete all)
 clean
 create partition primary
 select partition 1
 active
 format fs=fat32
 (wait for the format to complete)
 assign
 (let's say G: letter was assigned)
 (if formated in ntfs: Bootsect.exe /nt60 G:)
 copy all files from windows 7 bootable dvd to usb key

This file tell wich edition of windows is choosen:
G:\sources\ei.cfg

Step01:
You can stop here, and you will be able to boot on usb key (F12 and choose usb key to boot for most pc, F8 for BBS setup on old core 2 (yeah BBS setup mean boot menu)

You cannot really change the boot order in BIOS because the usb key boot will restart the windows installation at everyboot. (of course you could watch for the reboot, restart pc, remove usb boot from bios after the first phase of the windows installation)

A dvd read +/- 5 mb/sec, a usb key read +/- 20 mb/sec (usb 2)
It took 11 minutes from partition selection to desktop access to install windows 7 sp1 on a core 2 with a western digital hard disk of 500 gig

Step02:
Drivers folder (inf, cat)
On our newly created usb windows 7 sp1 boot, there is a folder called sources/$i386$\$1\drivers
Windows 7 will search all subfolders there and install drivers if the INF and CAT files are present (exe is not really a driver, just a compressed setup, in wich you can probably find drivers)

You can also get the drivers in raw form from the C:\Windows\System32\DriverStore\FileRepository but there is a lot of drivers there that are from the CAB files. And this folder is big.

Step03:
autounattend.xml file creation and location

root of the usb key: (not usb drive, just a key)
autounattend.xml

Step04:
WARNING: the usb key with this unattend file WILL delete all partitions on hard disk connected to SATA 0 connector
Be sure your C drive and D drive are not inverted on the connectors
Open your computer case to be sure the drive that will be erased is on SATA connector 0
Example:
if your current D drive is on connector SATA0, then D drive will be wiped/erased/data no more!

This usb key is not EFI bootable
That mean if the computer is very new, the key might not boot at all
You can go in BIOS and turn OFF EFI boot or SECURE boot off
Also, be sure to turn on AHCI ON, this type of disk access is faster

Step05:
The installation create an "administrateur" account
This account password (is empty)
It will expire after a few months
Just press "enter" if windows ask for a new one, or enter "" for password, and enter a new password not empty and a confirmation

Content of this file:
basic setup: will destroy disk 0 without mercy!

R01 2014-07-05 I had to change installation order (installing apps before register base modification was not working, also this bad order was preventing drivers from being installed)

r02 2014-12-29
problem: some drivers were flagged as boot-critical
problem: i was detecting drivers in wrong phase (winpe)
Shift F10 in error screen enabled me to see the winpe command prompt and then navigating in x:\windows\panther to consult logs and see my error
Solution:changed PnpCustomizationWinPE to PnpCustomizationNonWinPE


--------------------------- autounattend.xml ----------------------------
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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="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>fr-FR</UILanguage>
                <WillShowUI>Never</WillShowUI>
            </SetupUILanguage>
            <InputLocale>0c0c:00001009</InputLocale>
            <SystemLocale>fr-FR</SystemLocale>
            <UILanguage>fr-FR</UILanguage>
            <UserLocale>fr-FR</UserLocale>
        </component>
<component name="Microsoft-Windows-Setup" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Extend>true</Extend>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Format>NTFS</Format>
                            <Label>WIN7SP1</Label>
                            <Letter>C</Letter>
                            <Order>1</Order>
                            <Active>true</Active>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
            <UserData>
                <AcceptEula>true</AcceptEula>
                <FullName></FullName>
                <Organization></Organization>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                    <Key>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key>
                </ProductKey>
            </UserData>
        </component>
             
<component name="Microsoft-Windows-PnpCustomizationNonWinPE" 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>c:\_drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
     
    </settings>
    <settings pass="specialize">
        <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">
            <RegisteredOrganization></RegisteredOrganization>
            <TimeZone>Eastern Standard Time</TimeZone>
            <RegisteredOwner></RegisteredOwner>
            <AutoLogon>
                <Password>
                    <Value></Value>
                    <PlainText>true</PlainText>
                </Password>
                <Username>administrateur</Username>
                <LogonCount>10</LogonCount>
                <Enabled>true</Enabled>
            </AutoLogon>
            <ProductKey>HYF8J-CVRMY-CM74G-RPHKF-PW487</ProductKey>
            <ComputerName />
        </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">
            <OOBE>
                <ProtectYourPC>1</ProtectYourPC>
                <NetworkLocation>Home</NetworkLocation>
            </OOBE>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\VBSFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>1</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\txtFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>2</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\batFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>3</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\regFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>4</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\cmdFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>5</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\xmlFile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>6</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Classes\logfile\Shell\Edit\command" /v "" /t REG_SZ /d "C:\WINDOWS\System32\Notepad2.exe %1" /f</CommandLine>
                    <Order>7</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ForceClassicControlPanel /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>20</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ClassicViewState /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>21</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v WebView /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>22</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideIcons /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>23</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>24</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarGlomming /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>25</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarSizeMove /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>26</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarGlomLevel /t REG_DWORD /d 2 /f</CommandLine>
                    <Order>27</Order>
                    <Description>dont group icones in task bar explorer.exe setup</Description>
                </SynchronousCommand>              
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Internet Explorer\IntelliForms" /v AskUser /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>50</Order>
                    <Description>explorer.exe setup</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>51</Order>
                    <Description>blue screen crash</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AUState /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>52</Order>
                    <Description>blue screen crash</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>60</Order>
                    <Description>windows update</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUState /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>61</Order>
                    <Description>windows update</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v ShellState /t REG_BINARY /d 2400000033080000000000000000000000000000010000000d0000000000000000000000 /f</CommandLine>
                    <Order>70</Order>
                    <Description>classic view</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v IconUnderline /t REG_BINARY /d 030000 /f</CommandLine>
                    <Order>71</Order>
                    <Description>i dont know</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>72</Order>
                    <Description>dont hide right side icons</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg delete "HKCU\Keyboard Layout\Preload" /va /f</CommandLine>
                    <Order>80</Order>
                    <Description>clavier langue requiert un reboot</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Keyboard Layout\Preload" /v 1 /t REG_SZ /d "00000c0c" /f</CommandLine>
                    <Order>81</Order>
                    <Description>clavier langue requiert un reboot</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Keyboard Layout\Substitutes" /v 00000c0c /t REG_SZ /d "00001009" /f</CommandLine>
                    <Order>82</Order>
                    <Description>keyboard language need restart sessiont</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion" /v DevicePath /t REG_EXPAND_SZ /d  %SystemRoot%\inf;c:\_drivers /f</CommandLine>
                    <Order>83</Order>
                    <Description>will detect all drivers is asked fo hardware change</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>90</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ClassicViewState /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>91</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\MediaPlayer\Preferences" /v AcceptedPrivacyStatement /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>92</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\MediaPlayer\Preferences" /v FirstRun /t REG_DWORD /d 0 /f</CommandLine>
                    <Order>93</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v RunOnceHasShown /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>94</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v RunOnceComplete /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>95</Order>
                    <Description>Show file extensions in Explorer</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c xcopy c:\_appsmaison\jzip\*.* "c:\program files (x86)\jzip\" /y /c</CommandLine>
                    <Order>96</Order>
                    <Description>jzip 7zip</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c xcopy c:\_appsall\jzip\*.* "c:\program files (x86)\jzip\" /y /c</CommandLine>
                    <Order>97</Order>
                    <Description>jzip 7zip</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>REGSVR32.EXE "c:\program files (x86)\jzip\jZipShell.dll" /s</CommandLine>
                    <Order>98</Order>
                    <Description>jzip 7zip</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec /i c:\_appsall\screenhunterfree_prt_scr\setupscreenhunterfree.msi /quiet</CommandLine>
                    <Order>99</Order>
                    <Description>screenhunter</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>c:\_updates\dotnet\NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart</CommandLine>
                    <Order>200</Order>
                    <Description>dotnet452</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_appsall\video_codecs_convert\K-Lite_Codec_Pack_1180_Standard.exe /verysilent</CommandLine>
                    <Order>203</Order>
                    <Description>codecs video</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_appsall\java_sun\jre-8u25-windows-i586.exe /s</CommandLine>
                    <Order>204</Order>
                    <Description>java32</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_appsall\java_sun\jre-8u25-windows-x64.exe /s</CommandLine>
                    <Order>205</Order>
                    <Description>java64</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_appsall\skype\Skype_silent.exe</CommandLine>
                    <Order>206</Order>
                    <Description>skype</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>c:\_appsmaison\microsoft_office_2013_64_fra_files\setup.exe /adminfile office2013unattend.MSP</CommandLine>
                    <Order>207</Order>
                    <Description>office2013</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec.exe /i c:\_appsmaison\Acrobat_X_Professional\AcroPro.msi EULA_ACCEPT=YES REGISTRATION_SUPPRESS=YES /qn</CommandLine>
                    <Order>208</Order>
                    <Description>AcroPro.msi</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c copy c:\_appsall\notepad2\notepad2.exe c:\windows\system32\notepad2.exe</CommandLine>
                    <Order>209</Order>
                    <Description>notepad2</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_appsall\chrome\chromeStandaloneSetup.exe /silent /install</CommandLine>
                    <Order>210</Order>
                    <Description>chrome</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec.exe /i "C:\_appsall\flashplayer\install_flash_player_20_active_x.msi" /qn</CommandLine>
                    <Order>211</Order>
                    <Description>install_flash_player_20_active_x</Description>
                </SynchronousCommand>
             
                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec.exe /i "C:\_appsall\flashplayer\install_flash_player_20_plugin.msi" /qn</CommandLine>
                    <Order>212</Order>
                    <Description>install_flash_player_20_plugin</Description>
                </SynchronousCommand>

                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c wmic useraccount where "name='administrateur'" set PasswordExpires=FALSE</CommandLine>
                    <Order>213</Order>
                    <Description>Disable password expiration for vagrant user</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c c:\_appsmaison\antivirus\avast_free_antivirus_setup.exe /silent /NORESTART /SP- /"Chrome"="false"</CommandLine>
                    <Order>215</Order>
                    <Description>antivirus avast</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v NewSetupScript /t Reg_SZ /d "c:\_updates\phase02.bat" /f</CommandLine>
                    <Order>216</Order>
                    <Description>patchbeforeie11</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\firefox\Firefox Setup 43.0.2.exe" -ms</CommandLine>
                    <Order>217</Order>
                    <Description>firefox</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\vcredist2010sp1\vcredist_x86.exe" /q /norestart</CommandLine>
                    <Order>218</Order>
                    <Description>vcredist2010sp1</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\vcredist2015\vc_redist.x86.exe" /q /norestart</CommandLine>
                    <Order>219</Order>
                    <Description>vcredist2015_32</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\vcredist2015\vc_redist.x64.exe" /q /norestart</CommandLine>
                    <Order>220</Order>
                    <Description>vcredist2015_64</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec /i c:\_appsall\MysqlOdbcConnector\mysql-connector-odbc-5.3.4-win32.msi /quiet</CommandLine>
                    <Order>221</Order>
                    <Description>mysql32odbc</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>msiexec /i c:\_appsall\MysqlOdbcConnector\mysql-connector-odbc-5.3.4-winx64.msi /quiet</CommandLine>
                    <Order>222</Order>
                    <Description>mysql64odbc</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\acrobat_reader_adobe\AdbeRdr11010_fr_FR.exe" /sPB /rs</CommandLine>
                    <Order>223</Order>
                    <Description>mysql64odbc</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
<CommandLine>cmd /c reg add "HKCU\SOFTWARE\Adobe\Acrobat Reader\11.0\AdobeViewer" /v EULA /t REG_DWORD /d 1 /f</CommandLine>
                    <Order>224</Order>
                    <Description>adobereadereulaaccepted</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c mkdir "c:\users\administrateur\desktop\A Faire - ToDo\"</CommandLine>
                    <Order>225</Order>
                    <Description>a faire apres reboot</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\patch windows phase 4-10 (4 heures reboot auto).lnk" /a:c  /t:"c:\_updates\phase04.bat"</CommandLine>
                    <Order>226</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\activate windows.lnk" /a:c  /t:"c:\_appsmaison\crack win7 Windows Loader sp1\Windows Loader.exe"</CommandLine>
                    <Order>229</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\activate office2013.lnk" /a:c  /t:"c:\_appsmaison\microsoft_office_2013_64_fra_files\_activation_off2013_fra\Microsoft Toolkit.exe"</CommandLine>
                    <Order>230</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\Tweaks (setup profile).lnk" /a:c  /t:"c:\_appsall\_01_tweaks.reg"</CommandLine>
                    <Order>231</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\Malwarebyte Setup.lnk" /a:c  /t:"c:\_appsall\malwarebyte\mbam-setup-2.0.4.1028.exe"</CommandLine>
                    <Order>232</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\spywareblaster54 setup.lnk" /a:c  /t:"c:\_appsall\spywareblaster\spywareblastersetup54.exe"</CommandLine>
                    <Order>233</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\virtualclonedrive setup.lnk" /a:c  /t:"c:\_appsall\virtualclonedrive\SetupVirtualCloneDrive5470.exe"</CommandLine>
                    <Order>234</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\imageburn graveur dvd setup.lnk" /a:c  /t:"c:\_appsall\imageburn\SetupImgBurn_2.5.7.0.exe"</CommandLine>
                    <Order>235</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c c:\_util\shortcut\Shortcut.exe /f:"%USERPROFILE%\Desktop\A Faire - ToDo\supprime les peripheriques et redetecte.lnk" /a:c  /t:"c:\_drivers\scanfornewhardware.vbs"</CommandLine>
                    <Order>236</Order>
                    <Description></Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\vcredist2012upd4\vcredist_x86.exe" /q /norestart</CommandLine>
                    <Order>237</Order>
                    <Description>vcredist2012_32</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c "c:\_appsall\vcredist2012upd4\vcredist_x64.exe" /q /norestart</CommandLine>
                    <Order>238</Order>
                    <Description>vcredist2012_64</Description>
                </SynchronousCommand>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>C:\Windows\System32\shutdown.exe /r /t 120</CommandLine>
                    <Order>250</Order>
                    <Description>restart</Description>
                </SynchronousCommand>

            </FirstLogonCommands>
            <UserAccounts>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value></Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <Name>Administrateur</Name>
                        <Group>Administrators</Group>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <AutoLogon>
                <Enabled>true</Enabled>
                <Username>Administrateur</Username>
                <LogonCount>3</LogonCount>
            </AutoLogon>
            <RegisteredOrganization>Maison</RegisteredOrganization>
            <RegisteredOwner>Maison</RegisteredOwner>
        </component>
    </settings>
</unattend>