Locking Steps
- Run cmd in Administrator mode.
- Type the followingcacls "folder path" /d everyone:n (eg: cacls c:\xxx for xxx folder in C: drive.
- cmd will ask for confirmation give yes as your answer
Now the Folder is locked you cannot access the folder even if you have administrator rights
To unlock
- Run cmd in Administrator mode.
- Type the followingcacls "folder path" /g everyone:n
In case of failure of Unlocking, to unlock the folder
- Download the zip file from here
- add the registry file "Take Ownership - Install.reg" in the zip file to registry
- Right click on the locked folder
- Click on Take ownership
Note
You can remove Take ownership by adding the registry file "Take Ownership - uninstall.reg" in the zip file to registry
You can use this shell extension to gain access to any file/folder on Access denied problems

No comments:
Post a Comment