Yes, It is true. you can lock any directory of your computer directly from command prompt. In this method you are changing the directory permissions for these directories.you can't lock complete c:/ drive because after locking you will not be able to unlock it because after locking c:/ drive you will not be able to open command prompt administrator again.After locking no one can delete these directories too.
the method for locking computer directory is-
Step 1..... First you have to open command prompt as an administrator.
Step 2..... Now type this command to lock the directory
Cacls "Location of directory" /E /P everyone:n
the output will be like this....
your directory name will be represented after the dir: |
Step 3..... Now to unlock the directory again type this command
Cacls "Location of directory" /E /P everyone:f
after compiling the output will be like this..
your directory name will be represented after the dir: |
After locking the directory anyone will not be able to read and delete these directories.Now your data is safe.
I hope you like this leave comments in comment section...
No comments:
Post a Comment