diff options
| author | srdusr <[email protected]> | 2023-01-08 23:44:08 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-01-08 23:44:08 +0200 |
| commit | c8f87cbc4c58bdd4ffdc4037e292d528c7e82107 (patch) | |
| tree | 14fb714619a9a95f46e2c94bde69bfdb350f983b /windows/windows-commands.md | |
| parent | 68537dd24e065519fef8fbdd4a09a32a12eeed7d (diff) | |
| download | notes-c8f87cbc4c58bdd4ffdc4037e292d528c7e82107.tar.gz notes-c8f87cbc4c58bdd4ffdc4037e292d528c7e82107.zip | |
Add Shutdown and BCDEdit (Boot Configuration Data) Command-line Options
Diffstat (limited to 'windows/windows-commands.md')
| -rw-r--r-- | windows/windows-commands.md | 16 |
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` +- - - |