unattend.xml:User 帳號建立後加入 Administrators 群組
This commit is contained in:
@@ -169,8 +169,8 @@
|
|||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>3</Order>
|
||||||
<CommandLine>cmd.exe /c "net user User /add & net user User /logonpasswordchg:yes"</CommandLine>
|
<CommandLine>cmd.exe /c "net user User /add & net user User /logonpasswordchg:yes & net localgroup Administrators User /add"</CommandLine>
|
||||||
<Description>建立本機帳號 User(空密碼,首次登入強制設定新密碼)</Description>
|
<Description>建立本機帳號 User(空密碼、首次登入強制設定新密碼、加入 Administrators 群組)</Description>
|
||||||
<RequiresUserInput>false</RequiresUserInput>
|
<RequiresUserInput>false</RequiresUserInput>
|
||||||
</SynchronousCommand>
|
</SynchronousCommand>
|
||||||
<SynchronousCommand wcm:action="add">
|
<SynchronousCommand wcm:action="add">
|
||||||
|
|||||||
Reference in New Issue
Block a user