• How to make a inaccessible private folder/ locked folder without any third party software.

    Making an inaccessible private folder means to make a folder private in all means that is cant be accessed without your permission and or even it cant be deleted.You may know about various third party software like folder lock or any other to restrict other users to access it or altering it. But here, I am going to share a nice trick to make your folders private using command prompt. No other third pary tools or softwares are needed for this trick. Its very simple just follow all my instructions and refer screenshots if needed. So lets start our work.


    1. Open command prompt (cmd.exe) or just press window + r and type cmd

    2. Change the default directory to which where your folder is located.

    Here I am going to make a folder named THE11HACKER located in my D drive ,Inaccessible.

    You can use CD or CD.. commands to change the default directory.

    For example: For appending any folder to it then You should use


    Then current working directory will be D:\NEWFOLDER>

    IF you want to remove any folder from current working directory then simply give CD..
    That is here The NEWFOLDER will removed from current working directory.Ok leave all that, Its just for those who dont Know these basics

    3. Now type the following command carefully (refer screenshot given below) 


    Where REALHACKINGS is my folder name change it with yours.

    4  Thats it now your specified folder and all its subfolders and inaccessible.You will get an error message as shown below when try to open it.

    5. You can revoke back all permissions by giving the same command as shown below.



    This is the genereal syntax of the command

    CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm]
    [/R user [...]] [/P user:perm [...]] [/D user [...]]

    filename Displays ACLs.

    /T Changes ACLs of specified files in

    the current directory and all subdirectories.

    /L Work on the Symbolic Link itself versus the target

    /M Changes ACLs of volumes mounted to a directory

    /S Displays the SDDL string for the DACL.

    /S:SDDL Replaces the ACLs with those specified in the SDDL string

    (not valid with /E, /G, /R, /P, or /D).

    /E Edit ACL instead of replacing it.

    /C Continue on access denied errors.

    /G user:perm Grant specified user access rights.

    Perm can be: R Read

    W Write

    C Change (write)

    F Full control

    /R user Revoke specified user's access rights (only valid with /E).

    /P user:perm Replace specified user's access rights.

    Perm can be: N None

    R Read

    W Write

    C Change (write)

    F Full control

    /D user Deny specified user access.

    Wildcards can be used to specify more than one file in a command.

    You can specify more than one user in a command.

    If you found anything useful in this article please pass your comments,All your feedbacks are precious.

    Follow me on Facebook

    Thanks to Google

    Powered by Blogger.