srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/windows/windows-commands.md
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-08-07 23:47:51 +0200
committersrdusr <[email protected]>2023-08-07 23:47:51 +0200
commitd267186bba85c27356d7a77633de50aac6d662e1 (patch)
treef8ad15ca5340a0827d08e6c48d355aca211ac521 /windows/windows-commands.md
parente230793ca8906d38715fb34a951f643cb163660c (diff)
downloadnotes-d267186bba85c27356d7a77633de50aac6d662e1.tar.gz
notes-d267186bba85c27356d7a77633de50aac6d662e1.zip
Info for disabling cmd/privileges sound
Diffstat (limited to 'windows/windows-commands.md')
-rw-r--r--windows/windows-commands.md46
1 files changed, 36 insertions, 10 deletions
diff --git a/windows/windows-commands.md b/windows/windows-commands.md
index 312727d..e97c2f7 100644
--- a/windows/windows-commands.md
+++ b/windows/windows-commands.md
@@ -1,16 +1,42 @@
-#### <u>Shutdown Options</u>
+#### <u>Shutdown Options</u>
+
- Restart computer into BIOS
- `shutdown /r /fw /f /t 0`
+ `shutdown /r /fw /f /t 0`
- Shutdown
- `shutdown /s`
+ `shutdown /s`
- Restart
- `shutdown /r`
-- - -
-#### <u>BCDEdit (Boot Configuration Data) Command-line Options</u>
+ `shutdown /r`
+
+---
+
+#### <u>BCDEdit (Boot Configuration Data) Command-line Options</u>
+
- Enable safe mode via commandline
- `bcedit /set {default} bootmenupolicy legacy`
+ `bcedit /set {default} bootmenupolicy legacy`
- Disable hyper-v
- `bcdedit /set hypervisorlaunchtype off`
+ `bcdedit /set hypervisorlaunchtype off`
- Enable hyper-v
- `bcdedit /set hypervisorlaunchtype auto`
-- - -
+ `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.
+- Too disable at startup
+ - cmd:
+ ```cmd
+ sc config beep start= disabled
+ ```
+ > NOTE: Replace `disabled` with `auto` to allow at startup
+ - powershell:
+ ```powershell
+ set-service beep -startuptype disabled
+ ```
+ > NOTE: Replace `disabled` with `automatic` to allow at startup
+
+---