diff options
| author | srdusr <[email protected]> | 2023-10-12 23:37:23 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-10-12 23:37:23 +0200 |
| commit | 0ac7131ad50fb94b0aec47a8a7885d6c906f9648 (patch) | |
| tree | d8f8f3ae66b006b97eefe7d28becf2e9f8e30fce /windows | |
| parent | b136407bd1a7deaaaffa84dea32f10c50312af8f (diff) | |
| download | notes-0ac7131ad50fb94b0aec47a8a7885d6c906f9648.tar.gz notes-0ac7131ad50fb94b0aec47a8a7885d6c906f9648.zip | |
Moved windows to new directory 'os'
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/windows-commands.md | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/windows/windows-commands.md b/windows/windows-commands.md deleted file mode 100644 index 6f8a1f3..0000000 --- a/windows/windows-commands.md +++ /dev/null @@ -1,64 +0,0 @@ -#### <u>Shutdown Options</u> - -- Restart computer into BIOS -```dos -shutdown /r /fw /f /t 0 -``` -- Shutdown -```dos -shutdown /s -``` -- Restart -```dos -shutdown /r -``` - ---- - -#### <u>BCDEdit (Boot Configuration Data) Command-line Options</u> - -- Enable safe mode via commandline -```dos -bcedit /set {default} bootmenupolicy legacy -``` -- Disable hyper-v -```dos -bcdedit /set hypervisorlaunchtype off -``` -- Enable hyper-v -```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. -- 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 - ---- - -#### <u>Allow script execution</u> - -- Run the following command in PowerShell as an administrator: - -```dos - Set-ExecutionPolicy RemoteSigned -``` - ---- |