zh-TW
0404:00000404
zh-TW
zh-TW
zh-TW
$$VT_WINDOWS_DISK_1ST_NONVTOY$$
true
1EFI500
2MSR128
3Primarytrue
11
FAT32
23
NTFSC
$$VT_WINDOWS_DISK_1ST_NONVTOY$$3
false
W269N-WFGWX-YVC9B-4J6C9-T83GX
OnError
true
IT Department
YourCompany
*
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
Admin
true
1
P@ssw0rd!
true
1
powershell.exe -ExecutionPolicy Bypass -File C:\Scripts\Setup.ps1
執行部署後設定腳本
false
2
cmd.exe /c net accounts /maxpwage:unlimited
密碼永不過期
3
powershell.exe -NoProfile -Command "Rename-Computer -NewName ('PC-' + (Get-Random -Minimum 10000 -Maximum 100000)) -Force"
主機名改成 PC-XXXXX(重開後生效)
4
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "$ProgressPreference='SilentlyContinue'; $p=Join-Path $env:TEMP 'tsetup.exe'; Invoke-WebRequest -UseBasicParsing -Uri 'https://telegram.org/dl/desktop/win64' -OutFile $p; Start-Process -FilePath $p -ArgumentList '/VERYSILENT','/SUPPRESSMSGBOXES','/NORESTART' -Wait"
下載並靜默安裝 Telegram Desktop
false
5
shutdown /r /t 5
完成後重開機