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