Skip to content

Instantly share code, notes, and snippets.

@poa00
Forked from LXGaming/Group Policy
Last active July 5, 2024 00:01
Show Gist options
  • Save poa00/76f5674fa5f4ad389d7f334bea664ecc to your computer and use it in GitHub Desktop.
Save poa00/76f5674fa5f4ad389d7f334bea664ecc to your computer and use it in GitHub Desktop.
Windows Bullshittery Begone

REGISTRY KEYS FOR

1. Starting PowerShell with double-click

2. Disabling Windows bloat

3. Disabling Terminal Beeps

4. Disable Start Menu internet searches

Windows Components -> News and interests
- Enable news and interests on the taskbar: Enabled
Windows Components -> Search
- Allow Cortana: Disabled
- Do not allow web search: Enabled
- Don't search the web or disable web results in Search: Enabled
Network -> DNS Client
- Turn off smart multi-homed name resolution: Enabled
System -> Device Installation -> Device Installation Restrictions
- Allow administrators to override Device Installation Restrictions policies: Enabled
- Prevent installation of devices that match any of theses device Ids: Enabled
# Disables WSL in Explorer Context Menu
\HKEY_CLASSES_ROOT\Directory\background\shell\WSL
- [STRING] ProgrammaticAccessOnly
# Disables WSL in Explorer Context Menu
\HKEY_CLASSES_ROOT\Directory\shell\WSL
- [STRING] ProgrammaticAccessOnly
# Double-Click to run PowerShell Scripts
\HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell\Open\Command
- [DEFAULT] "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -File "%1"%*
# Disable Terminal Beep
\HKEY_CURRENT_USER\Control Panel\Sound
- Beep: no
# Disable Search Suggestions (Recommend using Group Policy)
\HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Explorer
- [DWORD] DisableSearchBoxSuggestions: 1
# Disables Windows Terminal in Explorer Context Menu
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked
- [STRING] {9F156763-7844-4DC4-B2B1-901F640F5155}: WindowsTerminal
# Disable Start Menu Internet Search (Recommend using Group Policy)
\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
- [DWORD] AllowCortana: 0
- [DWORD] DisableWebSearch: 1
- [DWORD] ConnectedSearchUseWeb: 0
- [DWORD] ConnectedSearchUseWebOverMeteredConnections: 0
# Turn off smart multi-homed name resolution (Recommend using Group Policy)
\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient
- [DWORD] DisableSmartNameResolution: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment