<FirstLogonCommands> n'exécute pas toutes les CommandLine
Bonjour à tous
Voici mon probléme!
J'ai un fichier AutoUnattend.XML Windows 7 Pro fonctionnat à la perfection sauf pour les sous-commandes <SynchronousCommand wcm:action="add"> la section <FirstLogonCommands> de la configuration de <settings pass="oobeSystem">.
Il ya au total 6 <SynchronousCommand wcm:action="add">. Seul les Full.REG - APPC - SmallIcon.REG - >Net user Invité - LNKS sont exécuter sauf KBx64
Je suis obligé de doubler la position de KBx64 pour qu'elle soit exécuter mais la position SmallIcon.REG ne les plus.
Le compte master fait partie du group Administators.
voici le fichier : AutoUnattend.XML
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
|
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>W7ProSp1x64FR</ComputerName>
<ProductKey>HYF8J-CVRMY-CM74G-RPHKF-PW487</ProductKey>
<TimeZone>W. Europe Standard Time</TimeZone>
<Themes>
<DefaultThemesOff>false</DefaultThemesOff>
<DesktopBackground>%WinDir%\Web\WallPaper\Windows\TerreNuages.JPG</DesktopBackground>
</Themes>
<Display>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<ColorDepth>32</ColorDepth>
</Display>
</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>
</SetupUILanguage>
<InputLocale>fr-CH</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-fr</UILanguage>
<UILanguageFallback>fr-fr</UILanguageFallback>
<UserLocale>fr-CH</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Primary</Type>
<Size>80000</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>200</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Format>NTFS</Format>
<Label>Master</Label>
<Letter>C</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<Active>true</Active>
<Format>NTFS</Format>
<Label>System</Label>
<PartitionID>1</PartitionID>
<TypeID>0x27</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/image/index</Key>
<Value>3</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
</UserData>
<Display>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<ColorDepth>32</ColorDepth>
</Display>
</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">
<AutoLogon>
<Password>
<Value />
<PlainText>true</PlainText>
</Password>
<Enabled>true</Enabled>
<Username>master</Username>
</AutoLogon>
<Display>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>3</ProtectYourPC>
<NetworkLocation>Other</NetworkLocation>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value />
<PlainText>true</PlainText>
</Password>
<DisplayName>matser</DisplayName>
<Group>administrators</Group>
<Name>master</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /c start /wait %systemroot%\regedit.exe /s %SystemDrive%\REG\Full.REG</CommandLine>
<Description>Paramétrage de la base de registre Windows Pro x64</Description>
<Order>1</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /k start "" /wait cscript %SystemDrive%\APPC\Installation.vbs</CommandLine>
<Description>Installation Applications Complémentaires Windows 7 Pro x64</Description>
<Order>2</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /k start "" /wait cscript %SystemDrive%\KBx64\Installation.vbs</CommandLine>
<Description>Installation de mises à jours de sécurité Windows 7 Pro x64</Description>
<Order>3</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /k start "" /wait cscript %SystemDrive%\KBx64\Installation.vbs</CommandLine>
<Description>Installation de mises à jours de sécurité Windows 7 Pro x64</Description>
<Order>4</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /c start /wait %systemroot%\regedit.exe /s %SystemDrive%\REG\SmallIconDesk\SmallIcon.REG</CommandLine>
<Description>Small Icon Desktop</Description>
<Order>5</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /c start /wait net user invité /active:no</CommandLine>
<Description>Désactivation du Compte Invité</Description>
<Order>6</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\LNKs\ImportXMLSchTasks.CMD</CommandLine>
<Description>LNKs Configuration Final</Description>
<Order>7</Order>
</SynchronousCommand>
</FirstLogonCommands>
</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>
</unattend> |
Je n'ai pas trouver de réponse ou d'information pertinante sur internet!
Merci d'avance de vos suggestions ou solutions si une personne fût comfrontée au même problème!
merci d'avance