Disable Snipping Tool keyboard shortcut (Windows logo key + Shift + S)
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: High
System Functionality / Data Loss Risk: High
This action improves privacy with high impact when you run the recommended script.
- Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the Windows logo key + Shift + S keyboard shortcut.
This keyboard shortcut by default launches the Snipping Tool to capture screenshots 1 2. During the screenshot process, the screen darkens to indicate the selected area 1.
By preventing Windows Explorer from recognizing this keyboard shortcut 3, the script enhances privacy by reducing the risk of unintended data exposure through screenshots.
This script also disables the Windows logo key + S keyboard shortcut 4, which by default activates search functions on Windows 5.
Due to limitation of configuring disabled keys on Windows 6, this will also disable the other Windows logo keyboard shortcuts including S button.
This script should only be used by advanced users.
This script is not recommended for daily use as it breaks important functionality.
Consider creating a system restore point before doing any changes.
Sources
- Open Snipping Tool and take a screenshot - Microsoft Support. support.microsoft.com. (2024).
Original: https://support.microsoft.com/en-us/windows/open-snipping-tool-and-take-a-screenshot-a35ac9ff-4a58-24c9-3253-f12bac9f9d44
Archived: https://web.archive.org/web/20240424101031/https://support.microsoft.com/en-us/windows/open-snipping-tool-and-take-a-screenshot-a35ac9ff-4a58-24c9-3253-f12bac9f9d44 - How to take a screenshot using the Snipping Tool in Windows 10 and 11 - Lenovo Support US. support.lenovo.com. (2024).
Original: https://support.lenovo.com/us/sv/solutions/ht117622
Archived: https://web.archive.org/web/20240424105319/https://support.lenovo.com/us/sv/solutions/ht117622 - [BUG]: Snipping Tool still can be executable via its keyboard shortcut · Issue #343 · undergroundwires/privacy.sexy · GitHub. github.com. (2024).
Original: https://github.com/undergroundwires/privacy.sexy/issues/343
Archived: https://web.archive.org/web/20240424100904/https://github.com/undergroundwires/privacy.sexy/issues/343 - [PowerToys Run] Win+S hotkey won't gain focus when Start menu is open · Issue #18450 · microsoft/PowerToys · GitHub. github.com. (2024).
Original: https://github.com/microsoft/PowerToys/issues/18450
Archived: https://web.archive.org/web/20240424105243/https://github.com/microsoft/PowerToys/issues/18450#issuecomment-1204728155 - Keyboard shortcuts in Windows - Microsoft Support. support.microsoft.com. (2024).
Original: https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec
Archived: https://web.archive.org/web/20240424105403/https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec - Disable Global Hot Keys. www.geoffchappell.com. (2024).
Original: https://www.geoffchappell.com/notes/windows/shell/explorer/globalhotkeys.htm
Archived: https://web.archive.org/web/20240424104551/https://www.geoffchappell.com/notes/windows/shell/explorer/globalhotkeys.htm
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable Snipping Tool keyboard shortcut (Windows logo key + Shift + S)" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable Snipping Tool keyboard shortcut (Windows logo key + Shift + S)" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable Snipping Tool keyboard shortcut (Windows logo key + Shift + S)
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Disable the global Windows hotkey "S" to prevent its default action.
PowerShell -ExecutionPolicy Unrestricted -Command "$keyToDisable='S'; $keyToDisableInUppercase = $keyToDisable.ToUpper(); $registryPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'; $propertyName = 'DisabledHotkeys'; $disabledKeys = Get-ItemProperty -Path $registryPath -Name $propertyName -ErrorAction SilentlyContinue | Select-Object -ExpandProperty "^""$propertyName"^""; if ($disabledKeys) { if ($disabledKeys.Contains($keyToDisableInUppercase)) { Write-Host "^""Skipping: Key `"^""$keyToDisableInUppercase`"^"" is already disabled. All disabled keys: `"^""$disabledKeys`"^"". No action needed."^""; exit 0; }; $newKeysToDisable = "^""$($disabledKeys)$($keyToDisableInUppercase)"^""; Write-Host "^""Some keys are already disabled: `"^""$disabledKeys`"^"", but not `"^""$keyToDisableInUppercase`"^"", disabling it too, new disabled keys: `"^""$newKeysToDisable`"^""."^""; try { Set-ItemProperty -Path $registryPath -Name $propertyName -Value "^""$newKeysToDisable"^"" -Force -ErrorAction Stop; Write-Host "^""Successfully disabled,`"^""$keyToDisableInUppercase`"^"", all disabled keys: `"^""$newKeysToDisable`"^""."^""; Exit 0; } catch { Write-Error "^""Failed to disable `"^""$newKeysToDisable`"^"": $_"^""; Exit 1; }; } else { Write-Host "^""No keys has been disabled before, disabling: `"^""$keyToDisableInUppercase`"^""."^""; try { Set-ItemProperty -Path $registryPath -Name $propertyName -Value "^""$keyToDisableInUppercase"^"" -Force -ErrorAction Stop; Write-Host "^""Successfully disabled `"^""$keyToDisableInUppercase`"^""."^""; Exit 0; } catch { Write-Error "^""Failed to disable `"^""$keyToDisableInUppercase`"^"": $_"^""; Exit 1; }; }"
:: Suggest restarting explorer.exe for changes to take effect
PowerShell -ExecutionPolicy Unrestricted -Command "$message = 'This script will not take effect until you restart explorer.exe. You can restart explorer.exe by restarting your computer or by running following on command prompt: `taskkill /f /im explorer.exe & start explorer`.'; $warn = $false; if ($warn) { Write-Warning "^""$message"^""; } else { Write-Host "^""Note: "^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4ZSBieSByZXN0YXJ0aW5nIHlvdXIgY29tcHV0ZXIgb3IgYnkgcnVubmluZyBmb2xsb3dpbmcgb24gY29tbWFuZCBwcm9tcHQ6IGB0YXNra2lsbCAvZiAvaW0gZXhwbG9yZXIuZXhlICYgc3RhcnQgZXhwbG9yZXJgLic7ICR3YXJuID0gICRmYWxzZTsgaWYgKCR3YXJuKSB7IFdyaXRlLVdhcm5pbmcgXCJeXCJcIiRtZXNzYWdlXCJeXCJcIjsgfSBlbHNlIHsgV3JpdGUtSG9zdCBcIl5cIlwiTm90ZTogXCJeXCJcIiAtRm9yZWdyb3VuZENvbG9yIEJsdWUgLU5vTmV3TGluZTsgV3JpdGUtT3V0cHV0IFwiXlwiXCIkbWVzc2FnZVwiXlwiXCI7IH1cIiI=
Help
How to apply or restore "Disable Snipping Tool keyboard shortcut (Windows logo key + Shift + S)" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Remove Snipping Tool
- Remove bloatware
This category addresses privacy risks related to the Snipping Tool (also called screen capture) and its earlier forms, Snip & Sketch and Screen Sketch. The Snippin...
Remove bloatware — This system calibration provides an easy-to-follow breakdown of how. Besides that, this documentation offers practical insights on the procedure...
Same Goal
Other guides in Remove Snipping ToolSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.