Advertisement

How to add encrypt and decrypt commands in Windows 10 right click menu

For many versions, Windows has included an advanced security feature called Encrypting File System (EFS). It allows the user to store files and folders encrypted, so they will be protected from unwanted access. Other user accounts cannot access it, neither can anyone from the network or by booting into another OS and accessing that folder. This is the strongest protection which is available in Windows to protect individual files and folders without encrypting the whole drive. But Microsoft has kept this useful feature pretty well hidden and only in business editions of Windows. It is possible to add Encrypt and Decrypt commands to the right click menu (context menu) in File Explorer to using EFS becomes easier.

Advertisеment


By default, to enable EFS for a file or a folder, you need to open its Properties, click the Advanced button on the General tab, and finally tick the option "Encrypt contents to secure data".
Windows 10 encrypt file or folder
It is possible to speed up this process by enabling "Encrypt" and "Decrypt" context menu commands. This can be done with a simple Registry tweak. If you prefer to avoid Registry editing, here are ready-to-use Registry files:

Download Registry Files

Unpack the ZIP archive you downloaded and double click the file named "add-encrypt-decrypt-commands.reg". The changes will be applied instantly. The undo tweak is included.

To add encrypt and decrypt context menu commands in Windows 10, do the following.

  1. Open Registry Editor.
  2. Go to the following Registry path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

    Tip: See how to jump to the desired Registry key with one click.

  3. Create a new 32-bit DWORD value here named EncryptionContextMenu and set its value data to 1. If you are running 64-bit Windows 10, you still need to create a 32-bit DWORD value. See this screenshot:
    Windows 10 enable encrypt context menu

The result will be as follows:Windows 10 encrypt context menu

No restart or sign out is required. Now an Encrypt verb will become available for files and folders. When you select any file or folder, right click it and choose Encrypt, they will be encrypted and the verb will turn to Decrypt the next time you right click an encrypted file.

This trick also works in Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 8.1. Note that in some editions like Windows Vista Starter/Home Basic/Home Premium/Windows 7 Starter, the EFS feature is not available. It is usually only included in the Pro and Enterprise editions. If you are running some older Windows version which does not support EFS such as the releases prior to Windows 2000, then this tweak will not have any effect.

That's it. To remove the Encrypt/Decrypt commands from the context menu, you just need to delete the mentioned EncryptionContextMenu parameter.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

2 thoughts on “How to add encrypt and decrypt commands in Windows 10 right click menu”

  1. I try to delete they key, but in the desktop when creating file, the file is still encrypted, how to disable it?

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.