zh-TW 0404:00000404 zh-TW zh-TW zh-TW 0 true 1EFI500 2MSR128 3Primarytrue 11 FAT32 23 NTFSC 03 false XXXXX-XXXXX-XXXXX-XXXXX-XXXXX OnError true IT Department YourCompany PC-%RAND:5% Taipei Standard Time IT Department YourCompany 0404:00000404 zh-TW zh-TW zh-TW true true true true Work 3 true true Admin Administrator Administrators P@ssw0rd! true</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Username>Admin</Username> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Password> <Value>P@ssw0rd!</Value> <PlainText>true</PlainText> </Password> </AutoLogon> <!-- 首次登入執行的自訂腳本 --> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>powershell.exe -ExecutionPolicy Bypass -File C:\Scripts\Setup.ps1</CommandLine> <Description>執行部署後設定腳本</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>cmd.exe /c net accounts /maxpwage:unlimited</CommandLine> <Description>密碼永不過期</Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>shutdown /r /t 5</CommandLine> <Description>完成後重開機</Description> </SynchronousCommand> </FirstLogonCommands> </component> </settings> </unattend>