廣告

2011 年 7 月
 123
45678910
11121314151617
18192021222324
25262728293031

彙整

Windows 關機前自動執行 CCleaner 清除隱私資料

Windows 關機前自動執行 CCleaner 清除隱私資料

參考來源:http://cha.homeip.net/blog/2011/06/3155.html

目的: 設置 Windows "群組原則" 讓 Windows 系統關機前使用 CCleaner 清除隱私資料。 環境: Windows XP Pro / Vista / 7 with CCleaner

notepad C:\CCleaner.vbs

Dim WshShell, oExec

Set WshShell = CreateObject("WScript.Shell")

Set oExec = WshShell.Exec("%ProgramFiles%\CCleaner\CCleaner.exe /AUTO")

Do While oExec.Status = 0

WScript.Sleep 200

Loop

gpedit.msc

↓ 畫面左邊依序點入 電腦設定 → Windows 設定 → 指令碼 – (啟動/關機); 雙擊滑鼠左鍵點選畫面右邊的 "關機" […]