Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> Windows 技巧

將 NTFS 加密/解密加入右鍵選單:一鍵操作告別繁瑣屬性頁

編輯:Windows 技巧

NTFS 分區檔案加密原本需:右鍵 → 內容 → 一般 → 進階 → 勾選「加密內容以保護資料」→ 確定,步驟繁瑣。匯入一個登錄檔,即可在右鍵選單直接看到「加密」/「解密」選項。

製作登錄檔

  1. 開啟記事本,貼入以下內容:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EncryptionContextMenu"=dword:00000001
  1. 另存為 NTFS加密與解密.reg (編碼 ANSI/UTF-16 LE 均可)。
  2. 雙擊匯入登錄檔,確認提示成功。

使用效果

  • 右鍵 NTFS 分區下未加密檔案/資料夾 → 選單出現 「加密」,點選即加密。
  • 右鍵已加密檔案/資料夾 → 選單出現 「解密」,點選即解密。
  • 加密後檔名顯示綠色 (預設),僅持有憑證的使用者可存取。

原理:啟用 Shell 延伸模組 EncryptionContextMenu,直接呼叫 EFS (Encrypting File System) API。適用 Windows 2000/XP/2003/Vista/7/8/10/11 所有支援 EFS 的版本。

Copyright © Windows教程網 All Rights Reserved