|
|
楼主 |
发表于 2021-11-30 10:21:18
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
( F6 v4 }3 Y# E5 b5 T9 |<unattend xmlns="urn:schemas-microsoft-com:unattend">, `: ~" V" V9 W# u5 t' H- _0 ^. N
<settings pass="windowsPE">, k& D, M1 o/ S r5 M
<component name="Microsoft-Windows-International-Core-WinPE" 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">% L( \4 s, D5 i7 Q
<SetupUILanguage>: o/ ~* L4 v% Z Z# Y
<UILanguage>en-US</UILanguage>
6 V3 h( S; k; ~+ D k4 w1 ? </SetupUILanguage>5 b2 b7 Q$ x, S1 J" L
<InputLocale>en-US</InputLocale>
0 }. u6 X4 F+ Z7 b& F <SystemLocale>en-US</SystemLocale>
" W1 E1 D, ?2 j4 ?' A$ Z9 ]- i0 {; Z+ w2 R1 N <UILanguage>en-US</UILanguage>! p/ ^3 Y4 b" j' j# V- {5 R
<UILanguageFallback>en-US</UILanguageFallback>' m5 ]: q& D5 z$ a6 R0 w/ g
<UserLocale>en-US</UserLocale>
% g6 g# n7 T" [3 k4 C4 e* C </component>5 r4 @+ [2 N; b' h! T
<component name="Microsoft-Windows-Setup" 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">
s' `+ i, z$ _' n$ Z! X& Z8 v% \ <ImageInstall>% v9 a. m L/ r+ I6 \' x# S
<OSImage>0 L/ i8 I& V" l0 C' k
<InstallTo>
. _1 [, A y' V7 p7 x2 j! R <DiskID>0</DiskID>% X* U8 w5 k3 D- J4 L* X
<PartitionID>2</PartitionID>1 D; [3 k( N2 X' o
</InstallTo>% ~1 e8 h# R$ S: b4 L. o1 M
<InstallFrom>
9 ^+ e8 O9 Z8 U% i0 G+ A <MetaData>/ d. D2 }1 z- I3 V1 p( m( B
<Key>/image/name</Key>
9 W4 ^# U8 M+ t6 q$ D <Value>Windows 10 Enterprise</Value>1 b/ H. Z- q8 [4 A- h0 Z- P: u% K
</MetaData>$ m/ U$ G( r, {! n0 J% k: Y7 `7 S
</InstallFrom>
* G+ A) m: g6 o7 c9 Z0 A <InstallToAvailablePartition>false</InstallToAvailablePartition>- H6 c5 e+ L, B
<Compact>false</Compact>
- h7 _& a# \. B </OSImage> d6 @+ ^# Y% M& U' S3 f
</ImageInstall>% x# ~0 S+ d. a8 V9 A% c
<UserData>
% Y, r( X! [' O$ U1 N <AcceptEula>true</AcceptEula>
) c2 T4 H9 U( C/ Z! l <FullName>Administrator</FullName>" s4 H/ l: @1 a) L
<Organization>MyOrg</Organization>- g. c' D c4 w/ Q4 u- x
<ProductKey>( l) t2 r% Y: Z1 n/ Y3 H
<Key>1ProductKey</Key>! i- v" L# g; ?4 b) P: ~) m& E
</ProductKey>
6 o2 \" E% J Y, Z </UserData>5 G; y( g7 o* M) D" J' U# I Z9 |# d) d
<EnableFirewall>true</EnableFirewall>3 G/ S9 t- I/ r. B7 G
<DiskConfiguration>9 x I5 ?/ `% z% |( m! p
<Disk>
4 B( N' _! _' A x3 x9 o" B2 }# c <CreatePartitions>: P4 B$ r% [3 y; d9 J
<CreatePartition>
0 }5 g9 r- H2 N) k- y <Size>500</Size>
6 }! k& h9 Y% C( X3 f <Order>1</Order>
+ v" M# N- U" x <Type>Primary</Type>: a4 K8 f# J4 e; i
</CreatePartition>0 `, z5 V8 X; Q
<CreatePartition> |9 g9 |) g0 S; d/ Q# L `
<Order>2</Order>
. K* H. k: ?* o1 J" c4 W |( o <Extend>true</Extend>
' u, x7 A/ O: R, x' @! T7 R' [ <Type>Primary</Type>
2 X: n7 ^1 G# R8 A ] </CreatePartition>
0 M) a R n1 X1 r1 c; i4 }2 | </CreatePartitions>
4 D8 `! |8 G- T. _$ ~( B <ModifyPartitions>
% u; g: s$ |: K <ModifyPartition>
* T* ^, I' z3 V; C& } <Active>true</Active>
* Q- W) [+ s: Y& I! _6 k% ^ <Extend>false</Extend>
' s; T$ m) j3 t: P7 z# b <Format>NTFS</Format>
, P8 e) a+ s6 V* ~/ r. m4 V <Label>System</Label>* r- J8 c- E B7 P& `
<Order>1</Order>8 }4 K0 q4 H# @' C2 Z8 H$ Q/ W
<PartitionID>1</PartitionID>
3 H v8 [$ j( u! t* Y& M3 Y </ModifyPartition>5 W% |/ o" J% }7 A% f: H
<ModifyPartition>
( R7 Q; E4 u- ^- }% @ <Active>false</Active>
- a5 D" u, V0 [; l( K8 W <Extend>false</Extend>
, K: L, N& e; q7 m' @% n <Format>NTFS</Format>- V/ Q8 u$ g1 @) o3 B- D8 I. F& @
<Label>OS</Label>* J* Y0 {1 \6 C: a; C% @
<Letter>C</Letter>
. A. ~. F: g8 l6 @' P <Order>2</Order>
7 v+ R+ R9 [" }$ q- p" U: s <PartitionID>2</PartitionID>
* X2 I8 K: e. |- K( y$ r9 p </ModifyPartition>
7 h6 V q, W# O- O6 I </ModifyPartitions>
$ Q6 f% f; y, [9 l/ E. I( J& |' l <DiskID>0</DiskID>& }9 r& y2 |1 b9 s y5 W
<WillWipeDisk>true</WillWipeDisk>9 u% t0 U. h/ L) C1 M( a7 E
</Disk>9 q) z9 |4 t5 E! D5 A& }; F# L
<WillShowUI>OnError</WillShowUI>
% I- F, Q$ P' \& o. J </DiskConfiguration>
) M! i+ x6 X0 }6 y$ {9 f </component>
. ^) B% c* `2 _2 B( R9 c </settings>3 Q* O( o9 y0 A# t
<settings pass="offlineServicing">
* w. m+ l0 @$ W# g! p8 H <component name="Microsoft-Windows-LUA-Settings" 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">4 Q6 _% g* `$ t% w& F% B2 Y
<EnableLUA>false</EnableLUA>% b* Q; `) A2 t3 v" a5 v
</component>
& @0 N; b5 r# ]" \/ ?* i+ { </settings>! O: Z+ h% G- G w; W
<settings pass="generalize">: u+ s$ N, [* E2 g2 d( g
<component name="Microsoft-Windows-Security-SPP" 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">, h4 V& B+ t- Z9 o5 Z6 U) A, S
<SkipRearm>1</SkipRearm>2 t5 X9 ?: ]9 z( p; w
</component>' d6 B; e8 J: l0 t- a1 g& z: z
</settings>, |% [) y! Q- b1 O5 E" {
<settings pass="specialize">
* R, O- g; L. S: x3 r8 H( ~: W% H <component name="Microsoft-Windows-UnattendedJoin" 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"> `1 G! k" Y# w5 [" b6 U/ _
<Identification>! x* e' |; [6 O& \7 W8 \
<Credentials> N6 K' I }6 I
<Domain>1Domain</Domain>: y# H& s8 \8 U" d9 o& `
<Password>1DomainJoinPW</Password>
! X% R0 Q" `% S) q/ J6 B <Username>1DomainJoinAcct</Username>
% |2 g8 r" @; y( K0 j8 T' D5 E2 ] </Credentials>
6 E: l% P3 u9 o/ y5 M1 L <JoinDomain>1FQDN</JoinDomain>
5 U% K0 r/ X6 N6 ^ <MachineObjectOU>1OULocation</MachineObjectOU>
, w& W% ~8 T* J0 R <DebugJoin>true</DebugJoin>
1 z) d0 h8 F2 f8 } </Identification>! K4 z& _; k# o4 M7 O
</component>5 d- _- N! k- v1 O# ~" J5 [: ?
<component name="Microsoft-Windows-Shell-Setup" 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">& _$ X& w6 ]/ X! m' H
<ComputerName>1ComputerName</ComputerName>
) b% \9 e) p. B- W5 ?; n( O J' | <AutoLogon>
# ?& J$ g" J# s( V, P$ b <Password>
3 a: K0 a4 g; J7 _* f <Value>1AutoLogonPW</Value>. D8 r2 L1 [6 k# j* K
<PlainText>true</PlainText>" i9 `; v& \: P# F1 h) u; ~7 E) }
</Password>
9 J: R8 ?/ b: ^4 S <Enabled>true</Enabled>
& o) D7 E# G- P$ }- M& A <Username>1AutoLogonAcct</Username>1 W* C" X4 b* K$ |% {
<Domain>1Domain</Domain>
p3 O$ q9 g" R4 w) ?6 K </AutoLogon>
% Z+ [1 z" Z; U1 S" U( ^ <RegisteredOrganization>MyOrg</RegisteredOrganization>
7 a3 i9 A0 ^- b$ l% S) c <RegisteredOwner>Administrator</RegisteredOwner>
- q! k, G) ?: P5 Q <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>* m @1 B1 J8 u8 S9 ]
<TimeZone>Central Standard Time</TimeZone>
3 L, x$ q5 X: ?) w </component>/ {; ?! m- ~' F" v. c
<component name="Microsoft-Windows-IE-ESC" 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">$ S# f- d# \7 {6 s/ v o; M
<IEHardenAdmin>false</IEHardenAdmin>$ T. W8 K: ]% f7 r5 ?/ e
<IEHardenUser>false</IEHardenUser>" Y* F0 [( N3 W: v" b7 {9 K% Q* D
</component>
+ C p; n% n' r6 A/ y' d$ D2 b1 A </settings>
4 B3 z& G/ e! S. }+ ?: F P/ d. Z, u ? <settings pass="oobeSystem">
' z+ l' H/ N) w( Q- A9 w' q <component name="Microsoft-Windows-Shell-Setup" 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 ">9 M5 e5 K7 }8 T# k5 F, b, s! X
<OOBE>* A" ?: o6 Q/ O+ j+ Y% a, c
<HideEULAPage>true</HideEULAPage>
* x3 |) U5 |$ n5 s% I' K <HideLocalAccountScreen>true</HideLocalAccountScreen>2 A7 F y6 P5 N: f4 h
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>5 I$ J8 N- o! r: G9 n# _' f* r
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
5 R: C; H' _+ Z8 c# ` <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
1 l' V$ t {3 @* O$ R1 S7 ? <NetworkLocation>Work</NetworkLocation>
5 l1 J0 o+ e: ]8 P& X7 r <ProtectYourPC>1</ProtectYourPC>
Q: Z/ v- Y0 `3 R5 { <SkipMachineOOBE>true</SkipMachineOOBE>. _# i" j$ q C5 B* W2 c
<SkipUserOOBE>true</SkipUserOOBE>' d+ z; s2 P4 L
</OOBE>' r9 E" X6 S: v) S% t( U
<LogonCommands>, g9 P# N9 z( C" ~. {& o
<AsynchronousCommand>
/ A w) [, p% T <CommandLine>powershell -NoLogo -ExecutionPolicy Bypass -File 1DeploymentScript</CommandLine>
. H2 ]' M* O7 I3 ` \5 f& J; | <Description>Installs components</Description> ]0 E. F+ ~ o9 x. `# h7 R2 W
<Order>1</Order>
- J! q$ h% y$ x </AsynchronousCommand>
& w1 a4 L6 \& p4 w( ~" a </LogonCommands>
% E$ Y# Q. k- e: ]9 s0 P <UserAccounts>2 Z/ W8 w4 ^0 q0 f6 d9 _# `7 U0 g
<AdministratorPassword>
8 h# m) ~& I# h; A* \- j <Value>1LocalAdminPW</Value>8 a: f, v. Z4 R. e& |6 ?6 T/ b
<PlainText>true</PlainText>
- E$ T1 H8 q5 C( D </AdministratorPassword>5 l3 @7 P; {) @& O, e( r
<DomainAccounts>
L5 V* m U$ J2 y <DomainAccountList>7 g0 e! A7 ~; T; s( Y% l" D6 j' a
<DomainAccount>! r# _/ W% I0 I% {4 D' L
<Group>RemoteDesktopUsers</Group>
+ y% N; }- V. ]1 _6 ~ <Name>Domain Users</Name>
; q5 m1 G% @0 L E- F, Y </DomainAccount>6 g1 X" T+ S% F
<Domain>1Domain</Domain>9 _5 \& e: _% b5 F: I# F$ P; I
</DomainAccountList>; t. B' Y9 e/ o3 ]# p2 ~
</DomainAccounts>
* E. e% b% o6 }. c0 v </UserAccounts>
7 y* M# }3 C R' J- ]3 f/ E </component>1 R9 ~4 W" A; Z1 _
</settings>& ?( F. o8 o$ B4 X1 U
</unattend> |
|