From c8f87cbc4c58bdd4ffdc4037e292d528c7e82107 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sun, 8 Jan 2023 23:44:08 +0200 Subject: Add Shutdown and BCDEdit (Boot Configuration Data) Command-line Options --- windows/windows-commands.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'windows') diff --git a/windows/windows-commands.md b/windows/windows-commands.md index e927b85..312727d 100644 --- a/windows/windows-commands.md +++ b/windows/windows-commands.md @@ -1,2 +1,16 @@ +#### Shutdown Options - Restart computer into BIOS - `shutdown /r /fw /f /t 0` + `shutdown /r /fw /f /t 0` +- Shutdown + `shutdown /s` +- Restart + `shutdown /r` +- - - +#### BCDEdit (Boot Configuration Data) Command-line Options +- Enable safe mode via commandline + `bcedit /set {default} bootmenupolicy legacy` +- Disable hyper-v + `bcdedit /set hypervisorlaunchtype off` +- Enable hyper-v + `bcdedit /set hypervisorlaunchtype auto` +- - - -- cgit v1.2.3