NTFS 分區檔案加密原本需:右鍵 → 內容 → 一般 → 進階 → 勾選「加密內容以保護資料」→ 確定,步驟繁瑣。匯入一個登錄檔,即可在右鍵選單直接看到「加密」/「解密」選項。
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] "EncryptionContextMenu"=dword:00000001
NTFS加密與解密.reg (編碼 ANSI/UTF-16 LE 均可)。原理:啟用 Shell 延伸模組 EncryptionContextMenu,直接呼叫 EFS (Encrypting File System) API。適用 Windows 2000/XP/2003/Vista/7/8/10/11 所有支援 EFS 的版本。