VirtualBox

Ticket #19839: Unattended-19a90a0b-2ffe-43bf-8a49-e49b8b191646-autounattend.xml

File Unattended-19a90a0b-2ffe-43bf-8a49-e49b8b191646-autounattend.xml, 5.4 KB (added by jared.hancock, 4 years ago)

Unattended XML file passed to VM for installation

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="amd64"
8 publicKeyToken="31bf3856ad364e35" language="neutral"
9 versionScope="nonSxS">
10 <InputLocale>en-US</InputLocale>
11 <SystemLocale>en-US</SystemLocale>
12 <UserLocale>en-US</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>en-us</UILanguage>
17 </component>
18
19 <component name="Microsoft-Windows-Setup"
20 processorArchitecture="amd64"
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></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>1</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="amd64"
76 publicKeyToken="31bf3856ad364e35" language="neutral"
77 versionScope="nonSxS">
78 <ComputerName>winagent</ComputerName>
79 </component>
80 </settings>
81
82 <settings pass="oobeSystem">
83 <component name="Microsoft-Windows-Shell-Setup"
84 processorArchitecture="amd64"
85 publicKeyToken="31bf3856ad364e35" language="neutral"
86 versionScope="nonSxS">
87 <AutoLogon>
88 <Password>
89 <Value>Huntress123!</Value>
90 <PlainText>true</PlainText>
91 </Password>
92 <Enabled>true</Enabled>
93 <Username>administrator</Username>
94 </AutoLogon>
95
96 <UserAccounts>
97
98
99 <AdministratorPassword>
100 <Value>Huntress123!</Value>
101 <PlainText>true</PlainText>
102 </AdministratorPassword>
103
104 </UserAccounts>
105
106 <VisualEffects>
107 <FontSmoothing>ClearType</FontSmoothing>
108 </VisualEffects>
109
110 <OOBE>
111 <ProtectYourPC>3</ProtectYourPC>
112 <HideEULAPage>true</HideEULAPage>
113 <SkipUserOOBE>true</SkipUserOOBE>
114 <SkipMachineOOBE>true</SkipMachineOOBE>
115 <!-- Make this (NetworkLocation) default to public and make it configurable -->
116 <NetworkLocation>Home</NetworkLocation>
117 </OOBE>
118
119 <FirstLogonCommands>
120 <SynchronousCommand wcm:action="add">
121 <!-- For which OS versions do we need to do this? -->
122 <Order>1</Order>
123 <Description>Turn Off Network Selection pop-up</Description>
124 <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
125 </SynchronousCommand>
126 <SynchronousCommand wcm:action="add">
127 <Order>2</Order>
128 <Description>VirtualBox post guest install steps </Description>
129 <CommandLine>cmd.exe /c A:\VBOXPOST.CMD --vista-or-newer</CommandLine>
130 </SynchronousCommand>
131 </FirstLogonCommands>
132
133 <TimeZone>GMT</TimeZone>
134 </component>
135
136 </settings>
137</unattend>
138

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