Created
May 14, 2017 03:21
-
-
Save kimushu/90596b82b06c2c42c84ac0a383fba021 to your computer and use it in GitHub Desktop.
Warn if Hiberboot(高速スタートアップ) is enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoEnv | |
;-------------------------------------------------------------------------------- | |
; システム起動時チェック | |
; | |
StartupCheck(){ | |
RegRead,x,HKEY_LOCAL_MACHINE,SYSTEM\ControlSet001\Control\Session Manager\Power,HiberbootEnabled | |
If (x != 0) | |
{ | |
TrayTip,高速スタートアップ設定監視,高速スタートアップが有効になっています,,2+16 | |
} | |
Else | |
{ | |
;TrayTip,高速スタートアップ設定監視,高速スタートアップが無効になっています,,1+16 | |
} | |
} | |
StartupCheck() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment