ocp/sysprep.xml.md
... ...
@@ -0,0 +1,138 @@
1
+```
2
+
3
+<?xml version="1.0" encoding="utf-8"?>
4
+<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:schemas-microsoft-com:unattend">
5
+ <settings pass="windowsPE">
6
+ <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
7
+ <DiskConfiguration>
8
+ <Disk wcm:action="add">
9
+ <CreatePartitions>
10
+ <CreatePartition wcm:action="add">
11
+ <Order>1</Order>
12
+ <Extend>true</Extend>
13
+ <Type>Primary</Type>
14
+ </CreatePartition>
15
+ </CreatePartitions>
16
+ <ModifyPartitions>
17
+ <ModifyPartition wcm:action="add">
18
+ <Active>true</Active>
19
+ <Format>NTFS</Format>
20
+ <Label>System</Label>
21
+ <Order>1</Order>
22
+ <PartitionID>1</PartitionID>
23
+ </ModifyPartition>
24
+ </ModifyPartitions>
25
+ <DiskID>0</DiskID>
26
+ <WillWipeDisk>true</WillWipeDisk>
27
+ </Disk>
28
+ </DiskConfiguration>
29
+ <ImageInstall>
30
+ <OSImage>
31
+ <InstallFrom>
32
+ <MetaData wcm:action="add">
33
+ <Key>/IMAGE/NAME</Key>
34
+ <Value>Windows Server 2019 SERVERSTANDARD</Value>
35
+ </MetaData>
36
+ </InstallFrom>
37
+ <InstallTo>
38
+ <DiskID>0</DiskID>
39
+ <PartitionID>1</PartitionID>
40
+ </InstallTo>
41
+ </OSImage>
42
+ </ImageInstall>
43
+ <UserData>
44
+ <AcceptEula>true</AcceptEula>
45
+ <FullName>Administrator</FullName>
46
+ <Organization>My Organization</Organization>
47
+ </UserData>
48
+ <EnableFirewall>false</EnableFirewall>
49
+ </component>
50
+ <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
51
+ <SetupUILanguage>
52
+ <UILanguage>en-US</UILanguage>
53
+ </SetupUILanguage>
54
+ <InputLocale>en-US</InputLocale>
55
+ <SystemLocale>en-US</SystemLocale>
56
+ <UILanguage>en-US</UILanguage>
57
+ <UserLocale>en-US</UserLocale>
58
+ </component>
59
+ </settings>
60
+ <settings pass="offlineServicing">
61
+ <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
62
+ <EnableLUA>false</EnableLUA>
63
+ </component>
64
+ </settings>
65
+ <settings pass="specialize">
66
+ <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
67
+ <AutoLogon>
68
+ <Password>
69
+ <Value>R3dh4t1!</Value>
70
+ <PlainText>true</PlainText>
71
+ </Password>
72
+ <Enabled>true</Enabled>
73
+ <LogonCount>999</LogonCount>
74
+ <Username>Administrator</Username>
75
+ </AutoLogon>
76
+ <OOBE>
77
+ <HideEULAPage>true</HideEULAPage>
78
+ <HideLocalAccountScreen>true</HideLocalAccountScreen>
79
+ <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
80
+ <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
81
+ <NetworkLocation>Work</NetworkLocation>
82
+ <ProtectYourPC>3</ProtectYourPC>
83
+ <SkipMachineOOBE>true</SkipMachineOOBE>
84
+ </OOBE>
85
+ <UserAccounts>
86
+ <LocalAccounts>
87
+ <LocalAccount wcm:action="add">
88
+ <Description>Local Administrator Account</Description>
89
+ <DisplayName>Administrator</DisplayName>
90
+ <Group>Administrators</Group>
91
+ <Name>Administrator</Name>
92
+ </LocalAccount>
93
+ </LocalAccounts>
94
+ </UserAccounts>
95
+ <TimeZone>Eastern Standard Time</TimeZone>
96
+ </component>
97
+ </settings>
98
+ <settings pass="oobeSystem">
99
+ <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
100
+ <InputLocale>en-US</InputLocale>
101
+ <SystemLocale>en-US</SystemLocale>
102
+ <UILanguage>en-US</UILanguage>
103
+ <UserLocale>en-US</UserLocale>
104
+ </component>
105
+ <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
106
+ <AutoLogon>
107
+ <Password>
108
+ <Value>R3dh4t1!</Value>
109
+ <PlainText>true</PlainText>
110
+ </Password>
111
+ <Enabled>true</Enabled>
112
+ <LogonCount>999</LogonCount>
113
+ <Username>Administrator</Username>
114
+ </AutoLogon>
115
+ <OOBE>
116
+ <HideEULAPage>true</HideEULAPage>
117
+ <HideLocalAccountScreen>true</HideLocalAccountScreen>
118
+ <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
119
+ <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
120
+ <NetworkLocation>Work</NetworkLocation>
121
+ <ProtectYourPC>3</ProtectYourPC>
122
+ <SkipMachineOOBE>true</SkipMachineOOBE>
123
+ </OOBE>
124
+ <UserAccounts>
125
+ <LocalAccounts>
126
+ <LocalAccount wcm:action="add">
127
+ <Description>Local Administrator Account</Description>
128
+ <DisplayName>Administrator</DisplayName>
129
+ <Group>Administrators</Group>
130
+ <Name>Administrator</Name>
131
+ </LocalAccount>
132
+ </LocalAccounts>
133
+ </UserAccounts>
134
+ <TimeZone>Eastern Standard Time</TimeZone>
135
+ </component>
136
+ </settings>
137
+</unattend>
138
+```
... ...
\ No newline at end of file