- 积分
- 16840
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2021-11-30 10:21:18
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
# L: n$ v. K7 W0 ~5 l4 Q6 p6 V<unattend xmlns="urn:schemas-microsoft-com:unattend">
# Y+ e3 L; G. c( g4 ~+ R) v$ X <settings pass="windowsPE">
' m4 k/ ~3 D8 ?2 T; I2 ~( g I, n0 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">
/ T+ _9 K3 V# K3 _- S; j <SetupUILanguage>' D" \: ~; v( J% r |* ?
<UILanguage>en-US</UILanguage>
- g, n; x$ Z5 s" X$ ~: W, C </SetupUILanguage>
/ a* P4 d. l) w4 @& x, Z <InputLocale>en-US</InputLocale>
. M& E- M: b1 c( ?) `7 z <SystemLocale>en-US</SystemLocale>
3 c( |9 h. S" p4 N {) [( k <UILanguage>en-US</UILanguage>& v8 g8 } K B5 m- N* O( p
<UILanguageFallback>en-US</UILanguageFallback>
t+ l8 T! e( P0 e9 z <UserLocale>en-US</UserLocale>+ i5 @& r- Y7 B; T
</component> M5 [, L' _1 ]( O
<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 t7 |- _: w7 q3 o
<ImageInstall>
8 V6 l: W/ J! E8 f" p: D& I7 z; C0 S <OSImage>
/ i d& v6 k2 G% l! E' t* e5 V, s <InstallTo>1 k; ]( |# ]2 R( g( Y( T
<DiskID>0</DiskID>" \# Z9 }! ~& L7 m
<PartitionID>2</PartitionID>
$ V! F" d8 _- P- j3 {6 Q: s$ a4 [ </InstallTo>, l2 k! A! L+ s
<InstallFrom>
2 v; M/ g$ @7 L1 |) q( r* T+ h- R0 T <MetaData>
- Z+ I( x! r7 p5 e <Key>/image/name</Key>/ y4 U1 w+ H z7 t I; ]
<Value>Windows 10 Enterprise</Value>6 ~% }' g p$ G4 W A1 I/ t: u
</MetaData>
+ Q* i* Q) c, t( Q, \9 ? </InstallFrom>
; Q k. A8 B; V. E8 F3 d& [+ T <InstallToAvailablePartition>false</InstallToAvailablePartition>6 d! a. O1 l- h T
<Compact>false</Compact>
2 A. p# l# U! S6 L2 ~; [ </OSImage>
% x, G2 C& {3 X2 Y </ImageInstall>5 P1 ]9 C c6 Z% N4 }7 Q& c
<UserData>
7 r" C! A# R3 Q2 O/ I <AcceptEula>true</AcceptEula>
* d* v, G1 E" K8 {) m4 m( j7 x <FullName>Administrator</FullName>
, G: Z) S" W) N' B <Organization>MyOrg</Organization>5 m( w7 \2 _2 ]* [! h" g" e
<ProductKey>4 O! m/ j0 w7 C8 o( W) [3 R/ D2 p
<Key>1ProductKey</Key>
& o' c, M7 t* M# b& I </ProductKey>
7 q6 K% i- f, T# _' | </UserData>; L# x7 f3 v1 A4 M; L
<EnableFirewall>true</EnableFirewall>
- h0 R2 `/ ~7 p7 O) V6 \ <DiskConfiguration>
; j% U, ?- O( W/ C4 z" X <Disk>& W, F, [. ~& Z, r0 d
<CreatePartitions>
5 Y" z: K2 y9 e5 B3 b8 M% E) r& `2 v <CreatePartition>
" W& `9 `2 i; \. O7 O5 ~6 P <Size>500</Size>
# [0 M$ i1 j, C" S <Order>1</Order>' |. s. r" O4 Y& c' K* l
<Type>Primary</Type>
% V& z: V0 c' f; g/ y, y </CreatePartition>
s% I; q3 Z- w6 V9 y <CreatePartition>
7 F6 T, X& @0 V8 z2 S( o1 P- A <Order>2</Order>
! ~; U4 V! t6 q. y+ U/ N2 w <Extend>true</Extend>
6 G: v- O! H9 l, J9 O <Type>Primary</Type>% Z+ @3 ]0 Y/ K% Z4 J; a+ E5 P- n
</CreatePartition>5 D1 `; T0 F) Z; y* s
</CreatePartitions>
! U$ a7 k0 `* x) C! L <ModifyPartitions>
. h$ S! G1 O: j# `8 I7 F <ModifyPartition>+ [0 e& h+ k" x4 U* q6 F
<Active>true</Active>7 p5 J# m( Y/ x k& m. Q7 Z1 Z
<Extend>false</Extend>
4 |8 L4 N8 u- D; ^* v( X! j <Format>NTFS</Format>* \- q! K7 I. i2 s& {5 G0 U2 z
<Label>System</Label>" k; L8 i1 U# N. V! F
<Order>1</Order>% z! f8 N g6 D' p
<PartitionID>1</PartitionID>
; W' d. k; t( Q' \/ z </ModifyPartition>
, Y- e; L+ A/ a* c <ModifyPartition>9 Q k. d8 W6 p, I/ E/ P
<Active>false</Active>
# Z& ? U3 T4 N/ _ <Extend>false</Extend>" n/ k0 i( E* B1 j# f ^* e, E
<Format>NTFS</Format>
$ n6 N$ P( Z! |9 Y% O <Label>OS</Label>7 }% \: B- N8 u
<Letter>C</Letter>
. g- F% t0 m& c w { <Order>2</Order>
8 j" D5 S6 Y) @- ]- T7 [" X <PartitionID>2</PartitionID>+ M# v, p0 T6 J! Y9 `: D- i
</ModifyPartition>
9 T# f, G* W5 ?6 w! V5 Y( L" a </ModifyPartitions>
* B" I, n6 Y. B4 m% d6 S" ~5 i Q <DiskID>0</DiskID>
/ A& a1 `/ K- r# n) c8 y* d3 H <WillWipeDisk>true</WillWipeDisk>- F1 m- V) L2 R7 C' B
</Disk>
' c, C* Y# l3 P4 e X; P <WillShowUI>OnError</WillShowUI>
; S. I. |: V2 z* f/ v1 e6 _ </DiskConfiguration>; b& y6 x( E. C& i% b
</component>( M+ W+ y. J) G8 q* ^3 n0 \2 A
</settings>6 ]5 D- K) ~% Z" V- X/ ]; D$ ?
<settings pass="offlineServicing">
4 S5 x6 S0 S. u( ~& }9 |' e <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">
: O% ] b, o; {0 ~( ^8 Z <EnableLUA>false</EnableLUA>( [3 M8 t) _( j( k$ }. j2 X- d
</component>
! u' H: j7 C7 P' j' i </settings># l+ {" a ?( u& [ F4 G" w6 J
<settings pass="generalize">: n! C( C+ Z# @" Q0 p$ Y5 F- l, \
<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">
6 s0 _0 [% Q- C0 C- L$ d, g/ h <SkipRearm>1</SkipRearm>3 q$ ?; }; } w W" z1 J0 {. y9 J3 R
</component>* A# R% p' L; [1 d
</settings>9 C5 ]8 f+ q1 T
<settings pass="specialize">- h2 `$ H( @7 {/ j& ^4 U' B
<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">
8 p1 W0 T% B: f5 D, x <Identification>
& O) W( j" Z# N1 c <Credentials>! }! \+ |9 _+ J
<Domain>1Domain</Domain>
) N9 o: q+ q' [1 b3 B* U+ f <Password>1DomainJoinPW</Password>
1 Y0 e( k5 U0 h <Username>1DomainJoinAcct</Username># \8 [& d) d# q+ y; @# a: b q
</Credentials>- t( m. C; u3 l0 S: v; B; M# o$ `
<JoinDomain>1FQDN</JoinDomain>
5 l9 V$ m" \! P# b <MachineObjectOU>1OULocation</MachineObjectOU>. e, W; P+ L/ Y( m4 c( k
<DebugJoin>true</DebugJoin>
- D1 e4 f9 Z6 t) `7 ? </Identification>
: @9 @6 J0 F$ h% A! Z { </component> |' d8 [. _2 e6 q' ~; n* ^
<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">0 E, g6 o" E! O/ a$ E
<ComputerName>1ComputerName</ComputerName>
2 I4 v. V! u1 O; p" f, v J <AutoLogon>4 c1 @9 A6 j: g* Y! Y1 y+ N) r
<Password>6 }# s" H4 q1 Z; D) r
<Value>1AutoLogonPW</Value>( A M7 L& z9 Q4 o W8 P. H! g
<PlainText>true</PlainText>
5 C, V% G1 g2 e5 | </Password>
7 z! H. c$ d7 O- e2 e9 I) K <Enabled>true</Enabled>
1 w8 G) h6 k) b8 C, } <Username>1AutoLogonAcct</Username>/ A4 J1 K1 G7 v
<Domain>1Domain</Domain>
: u' K! m) k7 i% [, X8 o9 G </AutoLogon>; ~+ ^* a; L0 b/ ?" e: ~' }
<RegisteredOrganization>MyOrg</RegisteredOrganization>
6 s" Q) e1 R0 j% R8 W( r+ W5 ]) b3 I <RegisteredOwner>Administrator</RegisteredOwner>
- D6 Z" g/ W# _) ?: L( C <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
' N& ~: z; K s, P+ j+ n <TimeZone>Central Standard Time</TimeZone>% Z% B9 b, k5 x, [$ i& V# D
</component>
3 w3 n; V) v* J& \/ U <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">' |! J/ z% T5 L2 B1 s4 r
<IEHardenAdmin>false</IEHardenAdmin>% Q, o7 s4 `% P* ^+ u
<IEHardenUser>false</IEHardenUser>
8 t8 n* p. i7 G2 e( C </component>" F( u) G$ E! c0 H" o. t- h
</settings>
+ l1 L9 D# L9 q, t1 H <settings pass="oobeSystem">: W. F; w% k* D& B9 H; u! P
<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 e& K, \7 B' |; l; r% ~% [$ m: f. T <OOBE>
6 B+ N7 x5 b4 w0 X0 M4 t <HideEULAPage>true</HideEULAPage>" A1 ?7 K" L- c0 v( P" K/ _
<HideLocalAccountScreen>true</HideLocalAccountScreen>
" Z5 W& `' H5 ~0 b* v <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
8 }9 _7 [" W9 _/ C$ S q7 a <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
" q3 |6 p( p9 @' C; Z <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
% G" m! ]3 d$ r$ J" S <NetworkLocation>Work</NetworkLocation>% }- R: k9 Z. g- P9 v
<ProtectYourPC>1</ProtectYourPC>! K' T& G* d) W8 m/ d' F4 q3 s+ @% w& L
<SkipMachineOOBE>true</SkipMachineOOBE>5 l6 f7 L5 ~9 q$ `
<SkipUserOOBE>true</SkipUserOOBE>
+ d- S2 X) g2 R8 i. Y6 @ </OOBE>
$ {5 Z4 Y% f5 z* X2 Z* y0 e/ j <LogonCommands>9 x0 A3 D, m6 T, l0 h( Q
<AsynchronousCommand>
' @# @- E% E9 Y/ b <CommandLine>powershell -NoLogo -ExecutionPolicy Bypass -File 1DeploymentScript</CommandLine>
& N3 F1 ~; k; ], y2 _ <Description>Installs components</Description>
; T& `9 F( z6 Q <Order>1</Order>9 I0 m2 ` Q8 T5 D' s1 i3 [
</AsynchronousCommand>
. `9 [& k* v' e; V6 [ </LogonCommands>
" K8 c& v$ u. S% n2 J <UserAccounts>4 C9 e5 t( \- U5 L7 j! t: \. x
<AdministratorPassword>2 s% ?3 R4 [! S: U
<Value>1LocalAdminPW</Value>
5 N3 y- L8 `. \& F- T4 K <PlainText>true</PlainText>
' ]! R6 F, S8 i, K </AdministratorPassword>: T# v; \! {8 `, i# ]
<DomainAccounts>
0 {* D$ }7 P `: H( \: y4 H <DomainAccountList>
- m) {: e: R% T" ]0 C" b <DomainAccount>
- w& }# W# F& @4 C <Group>RemoteDesktopUsers</Group>, j" z. }; z/ f0 j0 K; @- P
<Name>Domain Users</Name>) T0 ]9 |; r9 z
</DomainAccount># V& W( A7 R( [: X+ E
<Domain>1Domain</Domain>
( F6 t, o) }" a3 [ </DomainAccountList>
# \; h) f7 Y0 c2 U& o </DomainAccounts>
9 V% B2 ^! ^% q3 x </UserAccounts>6 @! ?" d5 V' p$ O4 U) P5 E, Q6 W
</component>' y/ c, q: `) Y2 T
</settings>
0 O' N! J7 w: d& e9 H</unattend> |
|