Windows shell add item to protected folder {2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}

I want to make a small program that locks folders with password and unlocks with that password again. I can do it with adding some special Class Ids to folder name. ()

Also, I want to add this feature to windows right click context menu for folders.(-> Lock & Unlock this folder)

I can add new items to folders via "HKEY_CLASSES_ROOT\Directory\shell" successfully. It seems when a folder is not locked. But after a folder is locked, the item is not seem on right click context. I have tried with several nodes of regedit but no one is succeeded.

How can I add a new item to right click context of all folders (include locked folders)?

1 Answer

You need to register your command in the key for the CLSID you used to "lock" the folder.

If you use the "lock GUID" ({2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}) then you must add your verb under "HKEY_CLASSES_ROOT\CLSID{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}\shell"

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like