đź“„ JScript (WSH)
Disable Fast Startup (JScript)
Disables Fast Startup, useful when dual-booting or troubleshooting shutdowns (requires admin). Requires an elevated (Administrator) prompt. Applies the tweak via WScript.Shell.RegWrite (JScript syntax).
SetDisableFastStartup.js
// ============================================================
// SetDisableFastStartup.js
//
// Disable Fast Startup.
// Disables Fast Startup, useful when dual-booting or troubleshooting shutdowns (requires admin). Requires an elevated (Administrator) prompt.
//
// Usage: cscript SetDisableFastStartup.js
// ============================================================
var objShell = WScript.CreateObject("WScript.Shell");
try {
objShell.RegWrite("HKLM\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Power\\HiberbootEnabled", 0, "REG_DWORD");
WScript.Echo("Disable Fast Startup applied.");
} catch (e) {
WScript.Echo("Failed to apply tweak: " + e.description);
}