srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-01-08 23:44:08 +0200
committersrdusr <[email protected]>2023-01-08 23:44:08 +0200
commitc8f87cbc4c58bdd4ffdc4037e292d528c7e82107 (patch)
tree14fb714619a9a95f46e2c94bde69bfdb350f983b /windows
parent68537dd24e065519fef8fbdd4a09a32a12eeed7d (diff)
downloadnotes-c8f87cbc4c58bdd4ffdc4037e292d528c7e82107.tar.gz
notes-c8f87cbc4c58bdd4ffdc4037e292d528c7e82107.zip
Add Shutdown and BCDEdit (Boot Configuration Data) Command-line Options
Diffstat (limited to 'windows')
-rw-r--r--windows/windows-commands.md16
1 files changed, 15 insertions, 1 deletions
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 @@
+#### <u>Shutdown Options</u>
- Restart computer into BIOS
- `shutdown /r /fw /f /t 0`
+ `shutdown /r /fw /f /t 0`
+- Shutdown
+ `shutdown /s`
+- Restart
+ `shutdown /r`
+- - -
+#### <u>BCDEdit (Boot Configuration Data) Command-line Options</u>
+- Enable safe mode via commandline
+ `bcedit /set {default} bootmenupolicy legacy`
+- Disable hyper-v
+ `bcdedit /set hypervisorlaunchtype off`
+- Enable hyper-v
+ `bcdedit /set hypervisorlaunchtype auto`
+- - -