|
|
楼主 |
发表于 2021-11-30 10:21:18
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
: d; |5 q$ J- _; Z; O<unattend xmlns="urn:schemas-microsoft-com:unattend">. _) a& n/ M, L) O" d9 f" ?
<settings pass="windowsPE">
/ M, A6 Y2 w6 ?8 J7 K. J- j& i7 p# E <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">6 D5 w ~2 s3 k
<SetupUILanguage>
) A/ z5 t9 Q; z+ E, N& f/ i' ~: B <UILanguage>en-US</UILanguage>
: O4 }: I- p2 l" {2 e </SetupUILanguage>
/ [- p6 t( i' r# C& p& @ <InputLocale>en-US</InputLocale>
$ {* ^5 T+ k1 ]# X5 x8 e. W- y <SystemLocale>en-US</SystemLocale>: _/ S; y- J* s' i% `
<UILanguage>en-US</UILanguage>
4 t7 Y+ L2 G% G <UILanguageFallback>en-US</UILanguageFallback>
/ K, I9 Z3 {9 P9 q7 V; A <UserLocale>en-US</UserLocale> W% r5 r( K y4 |5 t* {
</component>6 I1 `" \& u4 n- \2 u
<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">2 X/ n$ u0 l8 D7 o5 N3 V) M1 w
<ImageInstall>
, M0 s0 H' w" M <OSImage>
- t2 r' {/ n0 C4 v3 Z7 K# R <InstallTo>3 o/ k, h: _( h
<DiskID>0</DiskID>
3 W0 R: S( q4 ^! C* t1 v7 s <PartitionID>2</PartitionID>
$ T% Q' y/ C n9 z* l5 T. v </InstallTo>
( |5 Q% |: H6 v# f8 V <InstallFrom>
" M2 n; l# W Z) ] <MetaData>! g3 v N8 r d3 b. }- }4 B
<Key>/image/name</Key>
0 r5 T6 _; @* \2 e: b4 H9 y <Value>Windows 10 Enterprise</Value>
. H7 ?5 N" Z$ B1 q, K# M. v2 K </MetaData>
3 r4 O# }7 r C' ` </InstallFrom>
& b. x. w5 J5 P2 `( H: }* J0 m <InstallToAvailablePartition>false</InstallToAvailablePartition>
1 g. \8 r: ?* {1 }, j% P <Compact>false</Compact>
( q j+ x% {9 W2 k0 K' y. J/ |8 V </OSImage># O4 V2 L0 s. L" N# q5 c0 H
</ImageInstall>
" s0 u5 X% _7 a @. K4 ?! X2 n <UserData> W6 F6 x1 ^6 [
<AcceptEula>true</AcceptEula>0 G( L0 w; N! K# W
<FullName>Administrator</FullName>, I$ f! T( { J, \, ~0 L* u& L# P4 s
<Organization>MyOrg</Organization>
) N! [+ a5 N6 C- h; u& K5 n6 `( N <ProductKey>6 E/ w& r8 S# d! S$ R" ^
<Key>1ProductKey</Key>
1 w9 E2 S# @# `0 P% h! S </ProductKey>$ K$ H% z9 f& P$ A, _
</UserData>
4 f7 R! ^7 S% x8 Y/ X* e <EnableFirewall>true</EnableFirewall>
" X3 \% [% n9 E- R# W <DiskConfiguration>
) u+ q6 H' V& H- q( z( J <Disk>
& j( }/ U5 I# o <CreatePartitions>
! E, [$ L3 ]- M% p <CreatePartition>
4 M0 V7 j( b' z9 F- E; } q1 t <Size>500</Size>
6 j# V* t) G M& B" R/ T <Order>1</Order>
- l: u9 K4 s- f! ~7 ` <Type>Primary</Type>" n! N4 z* C8 R e- S5 ?
</CreatePartition>9 o' z* L# u% [2 O5 Q+ E
<CreatePartition>
/ t* u }* }$ a0 u7 A) l7 G <Order>2</Order>4 K- n+ h) X: @- T R* O. d1 i
<Extend>true</Extend>3 p# h) `8 i" L& d
<Type>Primary</Type>0 ^: u" c$ q7 h) I+ S& \ `( E
</CreatePartition>; s! X1 n- j; c
</CreatePartitions>
* b R" P+ T' Q' j2 C <ModifyPartitions>$ T& c5 w5 J/ T. `, l9 s' ?7 l- B
<ModifyPartition>8 E7 O: [" s6 t- K* r
<Active>true</Active>- d. k0 p/ P2 Z( X2 P2 V
<Extend>false</Extend>$ Y6 Y7 ]6 e5 w- H# L; L& }
<Format>NTFS</Format>
! [" X) h' H2 ~ <Label>System</Label> K& w; \4 g+ o
<Order>1</Order>
! j/ K4 m! G3 u( h1 f, _ <PartitionID>1</PartitionID>1 Z5 P; d2 i8 b
</ModifyPartition>$ C: A: v( B' K
<ModifyPartition>5 e7 u- A1 b; t. m
<Active>false</Active>6 d$ i! [' l) O7 Q% V
<Extend>false</Extend>
; F$ N4 g: J6 d1 ] <Format>NTFS</Format>
$ F) k# R5 P2 }- K <Label>OS</Label>1 `6 B! N: M; i# Q
<Letter>C</Letter>+ m1 Q/ [& K; V4 {
<Order>2</Order>& L( n0 n% C' k, t: m
<PartitionID>2</PartitionID>1 w, o3 Z8 ?/ r$ W8 d: u% |
</ModifyPartition>
( }$ g# W8 A8 U4 w/ S+ }) c. R </ModifyPartitions># Z3 [0 Q8 f* I' D L
<DiskID>0</DiskID>0 L& M6 [' U% ?
<WillWipeDisk>true</WillWipeDisk>
) ^& S+ D- k0 f9 J7 |6 h8 n k9 N </Disk>
: F" T9 \: t Y6 C5 K5 d8 m% V <WillShowUI>OnError</WillShowUI>3 l- F( _" j$ ^
</DiskConfiguration>
. _3 z% o$ c- } o8 y5 { </component>& N& U" Z s* E5 d `
</settings>
! E1 W! w |1 ?3 n& M' m$ F <settings pass="offlineServicing">( a; G& R# Q8 S4 @
<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">
; E1 q: C9 M! Z( z/ Z3 ` <EnableLUA>false</EnableLUA>2 i/ V2 R! b; {
</component>
% R3 m1 _7 S: v1 p q2 `! L </settings> x5 Q; r- o; |
<settings pass="generalize">
& s/ \& n- |. M# k6 i <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">: z2 U8 Y$ U& h
<SkipRearm>1</SkipRearm>
1 k c5 L$ V& D7 X5 b( M7 j: ?' D </component>
9 \. E. K& i- i% X </settings>) S7 M' L% P# t9 U
<settings pass="specialize">
6 H8 L* j1 d, n3 |$ K <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"># l- {) g& G3 \. l0 H6 C! d4 ~* A
<Identification>1 v) E3 _1 H0 V6 u- V5 V
<Credentials> \% d% Y3 d1 {4 U1 X- F9 W
<Domain>1Domain</Domain>
) d) z( d) U0 n7 l9 @6 R x9 U' o <Password>1DomainJoinPW</Password>
* D: ~8 ^/ _0 q$ F- { <Username>1DomainJoinAcct</Username>; W% U! |. t9 p1 r! d$ {
</Credentials>
! D% L0 C3 p& k( Y2 j6 ?' Q <JoinDomain>1FQDN</JoinDomain>
- d2 ?7 [* c; v' |0 y- k: D <MachineObjectOU>1OULocation</MachineObjectOU>4 n) k( B5 L" T/ o1 s
<DebugJoin>true</DebugJoin>8 R, b, L1 g+ V0 k' V6 s$ t9 j I2 P2 G& C
</Identification>
) {# e. A5 \, J; w' t1 l7 S </component>! `8 r+ H/ X; Z; H) 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">5 t& G5 N2 ~$ D+ G+ P: y- y
<ComputerName>1ComputerName</ComputerName>
: U0 G' `: [8 E4 Q/ l <AutoLogon>% m1 V' X8 U! L4 h" \- f1 t* Y
<Password>
0 ~; {% d+ c" W: } <Value>1AutoLogonPW</Value>! q; Y; q1 r3 b7 Q% _3 O
<PlainText>true</PlainText>
# [" J% G/ H' v </Password>
3 A/ t K9 i4 h8 x. Z <Enabled>true</Enabled>5 m3 y! T p/ C! c$ M
<Username>1AutoLogonAcct</Username>
# f. \* H; d; y <Domain>1Domain</Domain>$ R- _6 s1 c6 B# k
</AutoLogon>
0 |* A8 N' M# Y* Z$ w/ F( [4 d0 F <RegisteredOrganization>MyOrg</RegisteredOrganization>1 I3 r* G; x9 p/ m7 _
<RegisteredOwner>Administrator</RegisteredOwner>
) l1 v6 X# L# ?. Y9 e6 s/ } <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
+ S" V$ `2 I1 H! O6 _7 G1 v3 e <TimeZone>Central Standard Time</TimeZone>
' L: t# d. `/ i6 y1 k: c </component>
D, Y% p6 G+ F8 P <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"> ?1 o! H8 h: k5 W6 V9 q" ]6 `
<IEHardenAdmin>false</IEHardenAdmin>
* Z; y6 m7 k% r5 k h <IEHardenUser>false</IEHardenUser>, }; \6 h, `/ r; w
</component>( i0 L+ A6 P1 v. A* u+ [
</settings>" p6 ~+ S N3 X3 p& [ C- M
<settings pass="oobeSystem">5 J- d& ^. ^7 T
<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 ">
$ M: L: }, a5 x" z/ W <OOBE>
3 L, [; Z4 l5 H6 o% h- m" l <HideEULAPage>true</HideEULAPage>! L1 N) @4 \; }$ L2 d
<HideLocalAccountScreen>true</HideLocalAccountScreen>8 k& D; P! t u
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
3 q! I$ w( S7 u) a+ T <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
0 @$ }* d4 v5 h* m+ G <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>7 K' \8 v4 d+ E& T8 M- R
<NetworkLocation>Work</NetworkLocation>
7 N: S* Z+ y8 J <ProtectYourPC>1</ProtectYourPC>
: `' r+ J. `- X; i <SkipMachineOOBE>true</SkipMachineOOBE>, b" R. K, y2 a8 o
<SkipUserOOBE>true</SkipUserOOBE>" J( I$ c [5 B4 r6 {
</OOBE>4 V* w. G1 V. F& |
<LogonCommands>* W, ~4 H' T+ e7 p' `
<AsynchronousCommand>
2 g, t5 W3 h3 N) c5 ~7 o <CommandLine>powershell -NoLogo -ExecutionPolicy Bypass -File 1DeploymentScript</CommandLine>
9 ^4 b! d) J+ S <Description>Installs components</Description>
/ X3 P' A$ v9 B- m3 {. M, k <Order>1</Order>
& @" N) t5 O1 X </AsynchronousCommand>1 O% d% ?$ \7 ^: A; L7 o
</LogonCommands>+ [, Y5 F% {. L# |7 Z% z
<UserAccounts>
' t4 m6 j! z* F2 |& T <AdministratorPassword>( J: I3 {; M- m/ _- f2 D
<Value>1LocalAdminPW</Value>
( T! n" O4 q b; H8 u0 J <PlainText>true</PlainText>
n3 J& { r! O </AdministratorPassword>' r: ^ E+ B4 c. ]8 ]
<DomainAccounts>
, d, Q: Z- O8 H3 Y, R <DomainAccountList>
9 M3 D" @$ i% D+ A5 ` <DomainAccount>
( h' E; D% V1 r0 Q/ a3 l, R8 a1 {5 Y) s <Group>RemoteDesktopUsers</Group>
% N3 H& N/ I$ Z- A5 \9 E7 t <Name>Domain Users</Name>" O. t# t5 f1 p8 Z
</DomainAccount>
+ W: a: T; E' l" Y4 E, G* w; P <Domain>1Domain</Domain>
6 v5 v8 [3 V# T' _% i </DomainAccountList>& F, E; l7 r( }+ v( h) s, f
</DomainAccounts>
( U/ s5 U8 r' p </UserAccounts>
9 D0 @4 ~* q, e/ e2 x& O) m </component>/ J# M: y9 b8 H+ v9 Z) Y7 X3 M' I
</settings># ]* R; T, A/ M. }- h
</unattend> |
|