重新產生 SEP 使用的 ID

#NoTrayIcon
$program_stop = "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -stop"
$program_start = "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -start"
$del_file = "C:\Program Files\Common Files\Symantec Shared\HWID\sephwid.xml"
$pass = "123456"
run($program_stop, "", @SW_HIDE)
WinWaitActive("密碼")
ControlSend("密碼", "", "Edit1", $pass)
ControlClick("密碼", "", "[CLASS:Button; INSTANCE:1]")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\SYLINK\SyLink", "HardwareID", "REG_SZ", "")
FileDelete($del_file)
ProcessWaitClose("Smc.exe")
run($program_start)

留言

這個網誌中的熱門文章

2024年 Android 上的大易輸入法及行列輸入法

安裝 Postgrey (Postfix Greylisting Policy Server)

AutoIT 檢查網路連線狀態