Permanently remove Dropbox right-click context menu entries on Windows — without playing whack-a-mole with registry keys that revert on every update.
Dropbox registers multiple shell extension CLSIDs that inject entries into your Windows right-click context menu. The commonly recommended fix — manually deleting those registry keys — doesn't stick. Dropbox silently rewrites them on every update.
Instead of fighting Dropbox's own registry keys, this script uses Windows' built-in shell extension blocking mechanism: the per-user HKCU:\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked key. This is a Microsoft-sanctioned method that Windows itself enforces. Dropbox doesn't touch it because it's not theirs to manage.
- ✅ Reads Dropbox's
AppxManifest.xmlto find the correct CLSIDs automatically — no hardcoding - ✅ Survives Dropbox updates (tested 2+ months across three machines through multiple updates)
- ✅ Fully reversible — one command to unblock everything
- ✅ Interactive menu or silent command-line mode for automation
- ✅ Only touches a single, user-scoped registry key. No system-wide changes.
- Windows 10 (version 1903+) or Windows 11
- PowerShell 5.1+ (PowerShell 7 recommended)
- Dropbox installed via the Microsoft Store (UWP/MSIX package)
.\ContextMenuBlocker.ps1Launches a menu with options to block, unblock, selectively manage entries, export/import state, and more.
# Block all context menu entries (no prompts)
.\ContextMenuBlocker.ps1 -BlockAll -NoPrompt
# Unblock all context menu entries (no prompts)
.\ContextMenuBlocker.ps1 -UnblockAll -NoPrompt
# Block without restarting Explorer
.\ContextMenuBlocker.ps1 -BlockAll -NoPrompt -NoRestartExplorerNote: The script will prompt for administrator privileges when it runs. This is required to read the protected
C:\Program Files\WindowsAppsfolder where Dropbox's manifest is stored. The elevation prompt is standard and expected.
| Location | What happens |
|---|---|
HKCU:\...\Shell Extensions\Blocked |
CLSID values added (blocking) or removed (unblocking) |
~\ContextMenuBlocker.log |
Optional activity log (user profile folder) |
~\ContextMenuBlocker_Backups\ |
Optional JSON state backups (user profile folder) |
Nothing else is modified. No HKLM keys, no scheduled tasks, no services, no files outside your own profile.
To restore all Dropbox context menu entries:
.\ContextMenuBlocker.ps1 -UnblockAll -NoPromptOr use option 2 in the interactive menu.
An AI security assessment found no malicious behavior of any kind — no data exfiltration, no network connections, no unauthorized privilege escalation, no obfuscation.
The script is fully open and readable. You're encouraged to review it yourself, or paste it into any AI assistant and ask for a security assessment.
The script has also been shared and discussed on the Dropbox Community forum, where users can speak to its real-world effectiveness.
The configuration section at the top of the script is designed to be modified. To target a different UWP/MSIX application, change only the APPLICATION PROFILE block:
$Script:Config = @{
AppName = "YourApp"
AppPackagePattern = "Publisher.AppName_*"
VersionRegex = 'Publisher\.AppName_([0-9]+(?:\.[0-9]+)*)_'
VerbParseRegex = 'AppName\d*(.+?)(?:Command)?\d*$'
# ... paths and behavior options stay the same
}AGPL-3.0