File tree 2 files changed +24
-13
lines changed
2 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 190
190
<Description >Execute tools deployment script</Description >
191
191
</RunSynchronousCommand >
192
192
193
- <!-- WinRM configuration -->
194
- <RunSynchronousCommand wcm : action =" add" >
195
- <Order >5</Order >
196
- <Path >powershell -NoLogo -Command "Invoke-WebRequest -Uri https://raw.github.com/cloudbase/unattended-setup-scripts/master/SetupWinRMAccess.ps1 -OutFile C:\Windows\Temp\SetupWinRMAccess.ps1"</Path >
197
- <Description >Download WinRM setup script</Description >
198
- </RunSynchronousCommand >
199
- <RunSynchronousCommand wcm : action =" add" >
200
- <Order >6</Order >
201
- <Path >powershell -NoLogo -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\SetupWinRMAccess.ps1</Path >
202
- <Description >Execute WinRM setup script</Description >
203
- </RunSynchronousCommand >
204
-
205
193
<!-- Comment the following if you don't need VMWare tools -->
206
194
<RunSynchronousCommand wcm : action =" add" >
207
- <Order >7 </Order >
195
+ <Order >5 </Order >
208
196
<Path >E:\setup64.exe /s /v "/qn REBOOT=ReallySuppress" /l C:\Windows\Temp\vmware_tools_install.log</Path >
209
197
<Description >Install VMWare tools</Description >
210
198
<WillReboot >Always</WillReboot >
Original file line number Diff line number Diff line change 17
17
<SkipMachineOOBE >true</SkipMachineOOBE >
18
18
<SkipUserOOBE >true</SkipUserOOBE >
19
19
</OOBE >
20
+ <UserAccounts >
21
+ <AdministratorPassword >
22
+ <Value >Passw0rd</Value >
23
+ <PlainText >true</PlainText >
24
+ </AdministratorPassword >
25
+ </UserAccounts >
20
26
</component >
21
27
<component name =" Microsoft-Windows-Shell-Setup" processorArchitecture =" x86" publicKeyToken =" 31bf3856ad364e35" language =" neutral" versionScope =" nonSxS" xmlns : wcm =" http://schemas.microsoft.com/WMIConfig/2002/State" >
22
28
<OOBE >
28
34
</OOBE >
29
35
</component >
30
36
</settings >
37
+ <settings pass =" specialize" >
38
+ <component name =" Microsoft-Windows-Deployment" processorArchitecture =" amd64" publicKeyToken =" 31bf3856ad364e35" language =" neutral" versionScope =" nonSxS" xmlns : wcm =" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
39
+ <RunSynchronous >
40
+ <!-- WinRM configuration -->
41
+ <RunSynchronousCommand wcm : action =" add" >
42
+ <Order >1</Order >
43
+ <Path >powershell -NoLogo -Command "Invoke-WebRequest -Uri https://raw.github.com/cloudbase/unattended-setup-scripts/master/SetupWinRMAccess.ps1 -OutFile C:\Windows\Temp\SetupWinRMAccess.ps1"</Path >
44
+ <Description >Download WinRM setup script</Description >
45
+ </RunSynchronousCommand >
46
+ <RunSynchronousCommand wcm : action =" add" >
47
+ <Order >2</Order >
48
+ <Path >powershell -NoLogo -ExecutionPolicy RemoteSigned -File C:\Windows\Temp\SetupWinRMAccess.ps1</Path >
49
+ <Description >Execute WinRM setup script</Description >
50
+ </RunSynchronousCommand >
51
+ </RunSynchronous >
52
+ </component >
53
+ </settings >
31
54
</unattend >
You can’t perform that action at this time.
0 commit comments