Attribute VB_Name = "DisableFastStartupRegSet"
Option Explicit

Public Sub DisableFastStartupRegSet()
    Dim wsh As Object
    Dim regPath As String

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled"

    wsh.RegWrite regPath, 0, "REG_DWORD"

    MsgBox "Disable Fast Startup applied." & vbCrLf & regPath, vbInformation
End Sub