-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathautounattend.xml
More file actions
111 lines (110 loc) · 7.16 KB
/
autounattend.xml
File metadata and controls
111 lines (110 loc) · 7.16 KB
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
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<OOBE>
<!-- Show all OOBE screens except internet connectivity -->
<SkipUserOOBE>false</SkipUserOOBE>
<!-- Set to false during install, but automatically go to local account after install -->
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<!-- Set to bypass internet connectivity check after installation -->
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<!-- Ensure local account screen is shown -->
<HideLocalAccountScreen>false</HideLocalAccountScreen>
<!-- Show EULA page -->
<HideEULAPage>false</HideEULAPage>
<!-- Skip "I don't have internet" page -->
<NetworkLocation>Home</NetworkLocation>
<!-- Skip Microsoft account setup -->
<SkipMachineOOBE>false</SkipMachineOOBE>
</OOBE>
</component>
</settings>
<settings pass="windowsPE">
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DynamicUpdate>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<UserData>
<ProductKey>
<Key></Key>
<WillShowUI>Always</WillShowUI>
</ProductKey>
<AcceptEula>false</AcceptEula>
</UserData>
<EnableNetwork>false</EnableNetwork>
<EnableFirewall>true</EnableFirewall>
</component>
</settings>
<!-- Gamebar fixes -->
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RegisteredOwner></RegisteredOwner>
<RegisteredOrganization></RegisteredOrganization>
</component>
<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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebar" /v "NoOpenWith" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebar" /v "(Default)" /t REG_SZ /d "URL:ms-gamebar" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebar" /v "URL Protocol" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebar\shell\open\command" /ve /t REG_SZ /d "%SystemRoot%\System32\systray.exe" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebarservices" /v "NoOpenWith" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>6</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebarservices" /v "(Default)" /t REG_SZ /d "URL:ms-gamebarservices" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>7</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebarservices" /v "URL Protocol" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>8</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamebarservices\shell\open\command" /ve /t REG_SZ /d "%SystemRoot%\System32\systray.exe" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>9</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamingoverlay" /v "NoOpenWith" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>10</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamingoverlay" /v "(Default)" /t REG_SZ /d "URL:ms-gamingoverlay" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>11</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamingoverlay" /v "URL Protocol" /t REG_SZ /d "" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>12</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Classes\ms-gamingoverlay\shell\open\command" /ve /t REG_SZ /d "%SystemRoot%\System32\systray.exe" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>13</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Microsoft\WindowsRuntime\Server\Windows.Gaming.GameBar.Internal.PresenceWriterServer" /v "ExePath" /t REG_SZ /d "%SystemRoot%\System32\systray.exe" /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>14</Order>
<Path>cmd.exe /c reg add "HKLM\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Gaming.GameBar.PresenceServer.Internal.PresenceWriter" /v ActivationType /t REG_DWORD /d 0 /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>15</Order>
<Path>cmd.exe /c reg add "HKLM\SYSTEM\CurrentControlSet\Services\xbgm" /v "Start" /t REG_DWORD /d 4 /f 1>nul 2>nul</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
</unattend>