[Windows] 一次性消除掉所有 Sysinternals 的 License Agreement 視窗

[Windows] 一次性消除掉所有 Sysinternals 的 License Agreement 視窗

每次安裝好 Windows 之後,我一定會在上面安裝 sysinternals 工具箱,

不過 sysinternals 的每一支工具在第一次執行時,都會先跳一個 License agreement 視窗:

20170228_122213

 

因為我裝 Windows VM 時都會做快照 (snapshot),

老實說希望這些 License Agreement 視窗可以一次解決掉,

不用等到下次執行另一支程式時又跳一次,不然每次回復快照後,又得再點一次…

 

後來想到一個簡單的方法,打開 cmd 後,先進到 sysinternals 工具箱的目錄

(如果是用 Chocolatey 安裝的話,通常是在 C:ProgramDatachocolateylibsysinternalstools):

cd C:ProgramDatachocolateylibsysinternalstools

 

接著用下面的指令,把目錄下所有的 .exe 都執行一次,

這樣每個該跳出來的 License Agreement 視窗都會出現啦:

for %f in (*.exe) do start %f

 

網路上其實有別的招數,例如 Work around Sysinternals license pop-ups 這篇,

是用 reg add 指令,直接把登錄檔改掉,

這樣 sysinternals 就以為 License Agreement 視窗已經跳出來過了~

這也是個好方法,不過如果 sysinternals 有出新的工具的話,下面的指令就得再更新才行了:

reg.exe ADD "HKCUSoftwareSysinternalsAccessChk" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAccessEnum" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAdExplorer" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAdInsight" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAdRestore" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAutologon" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsAutoruns" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsBgInfo" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsBlueScreen" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsCacheSet" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsClockRes" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsContig" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsCoreinfo" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsCtrl2cap" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDebugView" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDesktops" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDisk Usage" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDisk2vhd" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDiskExt" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDiskmon" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsDiskView" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsEFSDump" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsHandle" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsHex2dec" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsJunction" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsLDMDump" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsListDLLs" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsLiveKd" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsLoadOrder" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsLogonSessions" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsMoveFile" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsNTFSInfo" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPageDefrag" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPendMoves" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPipeList" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPortMon" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsProcDump" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsProcess Explorer" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsProcess Monitor" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsProcFeatures" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsExec" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsFile" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsGetSid" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsInfo" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsKill" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsList" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsLoggedOn" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsLogList" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsPasswd" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsService" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsShutdown" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsSuspend" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsPsTools" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsRAMMap" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsRegDelNull" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsRegJump" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsRootkitRevealer" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsSDelete" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsShareEnum" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsShellRunas" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsSigcheck" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsStreams" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsStrings" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsSync" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsTCPView" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsVMMap" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsVolumeId" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsWhois" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsWinObj" /v EulaAccepted /t REG_DWORD /d 1 /f
reg.exe ADD "HKCUSoftwareSysinternalsZoomIt" /v EulaAccepted /t REG_DWORD /d 1 /f

 

有需要的人可以挑自己喜歡的方式來用囉~

 

(本頁面已被瀏覽過 1,105 次)

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料