diff options
| author | srdusr <[email protected]> | 2023-08-07 23:53:40 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-08-07 23:53:40 +0200 |
| commit | 9b80640c382901e2f47c0d36d3386bdbc948b624 (patch) | |
| tree | 29be354c9afa29b6dc9a6fd41a97921028b40ada /windows | |
| parent | 096de731ce485376a30c4a90c49bec8047e75658 (diff) | |
| download | notes-9b80640c382901e2f47c0d36d3386bdbc948b624.tar.gz notes-9b80640c382901e2f47c0d36d3386bdbc948b624.zip | |
Consistent formatting
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/windows-commands.md | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/windows/windows-commands.md b/windows/windows-commands.md index 5373c9f..6f8a1f3 100644 --- a/windows/windows-commands.md +++ b/windows/windows-commands.md @@ -1,32 +1,44 @@ #### <u>Shutdown Options</u> - Restart computer into BIOS - `shutdown /r /fw /f /t 0` +```dos +shutdown /r /fw /f /t 0 +``` - Shutdown - `shutdown /s` +```dos +shutdown /s +``` - Restart - `shutdown /r` +```dos +shutdown /r +``` --- #### <u>BCDEdit (Boot Configuration Data) Command-line Options</u> - Enable safe mode via commandline - `bcedit /set {default} bootmenupolicy legacy` +```dos +bcedit /set {default} bootmenupolicy legacy +``` - Disable hyper-v - `bcdedit /set hypervisorlaunchtype off` +```dos +bcdedit /set hypervisorlaunchtype off +``` - Enable hyper-v - `bcdedit /set hypervisorlaunchtype auto` +```dos +bcdedit /set hypervisorlaunchtype auto +``` --- #### <u>Disable Run Privileges bell</u> - Turn off beeping - ```cmd - net stop beep - ``` - > NOTE: Replace `stop` with `start` to allow the service to work again. Defaults back to on at startup. +```cmd +net stop beep +``` +> NOTE: Replace `stop` with `start` to allow the service to work again. Defaults back to on at startup. - Too disable at startup - cmd: ```cmd |