📜 VBScript (WSH)

Check "Disable Fast Startup" Status (VBScript)

Reads the registry value behind the "Disable Fast Startup" tweak to confirm whether it's applied.

By WindowsScripting.com · 705 B
CheckDisableFastStartupStatus.vbs
' ============================================================
' CheckDisableFastStartupStatus.vbs
'
' Checks whether "Disable Fast Startup" is currently applied.
'
' Usage: cscript CheckDisableFastStartupStatus.vbs
' ============================================================

Option Explicit

Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
currentValue = objShell.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled")

If Err.Number <> 0 Then
    WScript.Echo "'HiberbootEnabled' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'HiberbootEnabled': " & currentValue
End If
On Error Goto 0