Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remove Tresorit Drive from the Windows 11 Explorer Navigation pane

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.

What it does

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.

Tresorit in Explorer

Before: Tresorit Drive stuck in Navigation Pane

Tresorit entfernt

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.

Usage

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 PinToNameSpaceTree trigger 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.)

What you need

  • Windows 11
  • Administrator privileges

How it works

@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 /f

The CLSID {1B8DEAA1-E192-429B-89A7-89BD19183A67} is Tresorit Drive's identifier in Windows.

Undo

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 /f

License

MIT License – See LICENSE file

About

Remove Tresorit Drive from the Windows 11 Explorer Navigation Pane

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages