VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/win_nt6_unattended.xml@ 69859

Last change on this file since 69859 was 68257, checked in by vboxsync, 7 years ago

win_nt*_unattended.*: TODOs and VBOXPOST.CMD argument.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 6.7 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<unattend xmlns="urn:schemas-microsoft-com:unattend"
3 xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
4
5 <settings pass="windowsPE">
6 <component name="Microsoft-Windows-International-Core-WinPE"
7 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
8 publicKeyToken="31bf3856ad364e35" language="neutral"
9 versionScope="nonSxS">
10 <InputLocale>en-US</InputLocale>
11 <SystemLocale>@@VBOX_INSERT_DASH_LOCALE@@</SystemLocale>
12 <UserLocale>@@VBOX_INSERT_DASH_LOCALE@@</UserLocale>
13 <!-- UILanguage must match the installation media language. Stuff like de-CH does not work for
14 example de_windows_7_enterprise_with_sp1_x64_dvd_u_677649.iso. However, stupidly we cannot
15 omit this element (kudos to brilliant minds at MS). -->
16 <UILanguage>@@VBOX_INSERT_LANGUAGE@@</UILanguage>
17 </component>
18
19 <component name="Microsoft-Windows-Setup"
20 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
21 publicKeyToken="31bf3856ad364e35" language="neutral"
22 versionScope="nonSxS">
23
24 <DiskConfiguration>
25 <WillShowUI>OnError</WillShowUI>
26 <Disk>
27 <DiskID>0</DiskID>
28 <WillWipeDisk>true</WillWipeDisk>
29 <CreatePartitions>
30 <CreatePartition>
31 <Order>1</Order>
32 <Type>Primary</Type>
33 <Extend>true</Extend>
34 </CreatePartition>
35 </CreatePartitions>
36 </Disk>
37 </DiskConfiguration>
38
39 <UserData>
40 <ProductKey>
41 <Key>@@VBOX_INSERT_PRODUCT_KEY_ELEMENT@@</Key>
42 <WillShowUI>OnError</WillShowUI>
43 </ProductKey>
44 <AcceptEula>true</AcceptEula>
45 </UserData>
46
47 <ImageInstall>
48 <OSImage>
49 <InstallFrom>
50 <!-- TODO: This stuff doesn't work for en_windows_vista_enterprise_sp1_x64_and_x86.iso ... -->
51 <MetaData wcm:action="add">
52 <Key>/IMAGE/INDEX</Key>
53 <Value>@@VBOX_INSERT_IMAGE_INDEX_ELEMENT@@</Value>
54 </MetaData>
55 <!-- <Path>d:\sources\install.wim</Path> - the w7 tests doesn't specify this -->
56 </InstallFrom>
57 <InstallTo>
58 <DiskID>0</DiskID>
59 <PartitionID>1</PartitionID>
60 </InstallTo>
61 <WillShowUI>OnError</WillShowUI>
62 <InstallToAvailablePartition>false</InstallToAvailablePartition>
63 </OSImage>
64 </ImageInstall>
65
66 <ComplianceCheck>
67 <DisplayReport>OnError</DisplayReport>
68 </ComplianceCheck>
69
70 </component>
71 </settings>
72
73 <settings pass="specialize">
74 <component name="Microsoft-Windows-Shell-Setup"
75 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
76 publicKeyToken="31bf3856ad364e35" language="neutral"
77 versionScope="nonSxS">
78 <ComputerName>@@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN_MAX_15@@</ComputerName>
79 </component>
80 </settings>
81
82 <settings pass="oobeSystem">
83 <component name="Microsoft-Windows-Shell-Setup"
84 processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
85 publicKeyToken="31bf3856ad364e35" language="neutral"
86 versionScope="nonSxS">
87 <AutoLogon>
88 <Password>
89 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
90 <PlainText>true</PlainText>
91 </Password>
92 <Enabled>true</Enabled>
93 <Username>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Username>
94 </AutoLogon>
95
96 <UserAccounts>
97@@VBOX_COND_IS_USER_LOGIN_NOT_ADMINISTRATOR@@
98 <AdministratorPassword>
99 <Value>@@VBOX_INSERT_ROOT_PASSWORD_ELEMENT@@</Value>
100 <PlainText>true</PlainText>
101 </AdministratorPassword>
102
103 <LocalAccounts>
104 <LocalAccount wcm:action="add">
105 <Name>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Name>
106 <DisplayName>@@VBOX_INSERT_USER_FULL_NAME_ELEMENT@@</DisplayName>
107 <Group>administrators;users</Group>
108 <Password>
109 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
110 <PlainText>true</PlainText>
111 </Password>
112 </LocalAccount>
113 </LocalAccounts>
114@@VBOX_COND_END@@
115@@VBOX_COND_IS_USER_LOGIN_ADMINISTRATOR@@
116 <AdministratorPassword>
117 <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
118 <PlainText>true</PlainText>
119 </AdministratorPassword>
120@@VBOX_COND_END@@
121 </UserAccounts>
122
123 <VisualEffects>
124 <FontSmoothing>ClearType</FontSmoothing>
125 </VisualEffects>
126
127 <OOBE>
128 <ProtectYourPC>3</ProtectYourPC>
129 <HideEULAPage>true</HideEULAPage>
130 <SkipUserOOBE>true</SkipUserOOBE>
131 <SkipMachineOOBE>true</SkipMachineOOBE>
132 <!-- Make this (NetworkLocation) default to public and make it configurable -->
133 <NetworkLocation>Home</NetworkLocation>
134 </OOBE>
135
136 <FirstLogonCommands>
137 <SynchronousCommand wcm:action="add">
138 <!-- For which OS versions do we need to do this? -->
139 <Order>1</Order>
140 <Description>Turn Off Network Selection pop-up</Description>
141 <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
142 </SynchronousCommand>
143 <SynchronousCommand wcm:action="add">
144 <Order>2</Order>
145 <Description>VirtualBox post guest install steps </Description>
146 <CommandLine>cmd.exe /c A:\VBOXPOST.CMD --vista-or-newer</CommandLine>
147 </SynchronousCommand>
148 </FirstLogonCommands>
149
150 <TimeZone>@@VBOX_INSERT_TIME_ZONE_WIN_NAME@@</TimeZone>
151 </component>
152
153 </settings>
154</unattend>
155
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette