Add Encrypt / Decrypt Options to Windows Vista Right-Click Menu
If you use the built-in file encryption in Windows Vista, you might be interested in adding an option to the right-click menu to more easily encrypt and decrypt your files, rather than having to use the file properties dialog.
Adding this to the menu couldn’t be simpler – there’s only a single registry key to add.
Open up regedit.exe through the start menu search box, and then find the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
In the right-hand pane, create a new 32-bit DWORD value called EncryptionContextMenu and give it a value of 1.
Now when you right-click on a file, you’ll see a new option called Encrypt.
When you choose this option, you’ll receive the following dialog, asking if you want to encrypt just the file, or also the parent folder. You can also choose just the file as the default.

Once the files are encrypted, you’ll notice that the title of the file is now green, indicating that it’s been encrypted. The right-click option will also now change to Decrypt.
Definitely much simpler… makes me wonder why this wasn’t a built-in option.
Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:
| Similar Articles | Featured Wiki Articles |
| Latest Software Reviews | Quick Linux Tips |
| Geek Arcade | Popular Forum Threads |


Can I do something like that to Hide files?
Does this work with XP Pro?
Regarding my previous comment … I went ahead and tried it … it does work with XP Pro.
[edit] Good to know it works in XP!
You can’t use this to hide files.
ok, thanks, but it would be awesome if there was an option to hide files via context menu.
This works only Windows Vista Ultimate. Home Premium does not support it.
It’s a shame it doesn’t work with home premium!! Still looks good though!
dose work with home premium
How do I get it to be able to be selected? Its all grayed out!
Thanks a lot and it does work i have home Basic
Yeah it show error when i try to encrypt in home premium. It seems really not sopported in home premium
Whats the point? You can still open any file you encrypt.
can this be used to decrypt registry keys?
@.c: Registry keys don’t support encryption so nothing could decrypt something not encryted in the first place.
The data in a registry key could be encrypted though and in that case the encryption type would be up to the program that wrote to the key.
You would have to list which encrypted values you want to decrypt for me to lookup the program that uses it so I can find how it encrypts things.
jd2066, thanks for the response. I am looking at “reading” or decoding (not sure the correct term) this path in the registry (if possible): Software\Microsoft\WZCSVC\Parameters\Interfaces.
I don’t know much about code or what makes up a windows registry, but it looks to be written in binary (probably obvious). is it even possible to “decode” it (particularly the path above)?
any help would be useful. thanks.
@.c: I looked and that key is not encrypted, it’s just stored in an unique undocumented way.
That key is meant to only be used by the Wireless Zero Configuration (WZC) Service.
There are documented APIs to query the WZC service and ask it for things like the Wireless SSIDs it has stored.
If you want help with using the APIs, post a message on the forums about it and what you want to do.
thanks. for the help. one more question tho before i go to the forums… does this registry path hold the WEP or WPA keys for any of the corresponding SSIDs?
@.c: I’m not sure if that registry has the passwords are not but the WZC service does have them.
Also if you want to just manage the passwords not build a program that uses the WZC APIs you use the program at http://www.nirsoft.net/utils/wireless_key.html to do that.
jd2066, you are awesome! that program is exactly what I need. I know i have my network password stored on my laptop but I have no idea what it is. I was exploring the registry route, but the program you gave me is SPOT ON! thank you. glad i stopped in for help. thanks so much for your time and wisdom!
how can i installed encryp and excryp for window vista
My window don’t have encryption contextmanu. so, what should i do to use encryption and decryption? pls help me
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced