Tresorit Drive appears in the Explorer Navigation Pane and cannot be removed through Windows settings. This script removes it by disabling the namespace tree entry in the registry.
Tresorit pins itself to the Navigation Pane via two registry mechanisms:
| Value | Path | Role |
|---|---|---|
PinToNameSpaceTree (REG_SZ) |
…\CLSID\{…}\ShellFolder\ |
Its existence reserves a slot in the tree |
System.IsPinnedToNamespaceTree (REG_DWORD) |
…\CLSID\{…}\ |
Its value controls visibility |
The script deletes the trigger string and sets the visibility flag to 0. Result: Tresorit Drive is removed structurally, not just hidden – no ghost slot, no layout glitches when you reorganise Quick Access.
Before: Tresorit Drive stuck in Navigation Pane
After: Tresorit Drive removed
Important: Tresorit re-registers itself every time it starts. If Tresorit restarts (process killed, app restarted, etc.), run the script again.
One-time:
remove-tresorit.bat
No restart needed. Close Explorer and reopen it.
Automate:
- Create a shortcut to
remove-tresorit.bat - Move it to
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup - Script runs automatically after each boot
v0.2.0: Added a 10s delay, because after recent Tresorit updates the app took longer to start up and the script needed to be re-run manually after each boot.
v0.3.0: Now also deletes the
PinToNameSpaceTreetrigger string, not just the visibility flag. Earlier versions left a reserved slot in the Navigation Pane, which caused the sidebar to shuffle (e.g. the "Home" entry jumping around) whenever Quick Access was modified.
(If Tresorit restarts mid-session, just re-run manually or set up Task Scheduler for more granular control.)
- Windows 11
- Administrator privileges
@echo off
reg delete "HKCU\Software\Classes\CLSID\{1B8DEAA1-E192-429B-89A7-89BD19183A67}\ShellFolder" /v "PinToNameSpaceTree" /f >nul 2>&1
reg add "HKCU\Software\Classes\CLSID\{1B8DEAA1-E192-429B-89A7-89BD19183A67}" /v "System.IsPinnedToNamespaceTree" /t REG_DWORD /d 0 /fThe CLSID {1B8DEAA1-E192-429B-89A7-89BD19183A67} is Tresorit Drive's identifier in Windows.
To restore Tresorit Drive, restart Tresorit – it re-registers both values automatically. To force it manually:
reg add "HKCU\Software\Classes\CLSID\{1B8DEAA1-E192-429B-89A7-89BD19183A67}\ShellFolder" /v "PinToNameSpaceTree" /t REG_SZ /d "" /f
reg add "HKCU\Software\Classes\CLSID\{1B8DEAA1-E192-429B-89A7-89BD19183A67}" /v "System.IsPinnedToNamespaceTree" /t REG_DWORD /d 1 /fMIT License – See LICENSE file

