How will you Lock a folder without any password or without
any software. This guide will tell you How to lock without any software
or password. After Lock you can specify which users can open that folder
and who can read or modify or who cant read even.
Now Follow To Lock a folder without any software or password. Follow Steps & Check Pics Below.
Now Follow To Lock a folder without any software or password. Follow Steps & Check Pics Below.
- Create a folder where you want.
- Open Command Prompt and go to that folder’s parent Folder. Like i created Ethicalhackx in Music so Go to Music. This is done by cd command.
- Type the below command and press Enter
cacls <folder/File name> /e /p everyone:N
This denies access to everyone to that folder. - The syntax of the command is displayed below.
cacls FileName [/t] [/e] [/c] [/g User:permission] [/r User [...]] [/p User:permission [...]] [/d User [...]]
Parameters
FileName : Required. Displays DACLs of specified files.
/t : Changes DACLs of specified files in the current directory and all subdirectories.
/e : Edits a DACL instead of replacing it.
/c : Continues to change DACLs, ignoring errors.
/g User : permission : Grants access rights to the specified user. The following table lists valid values for permission.Value Description n None r Read w Write c Change (Write) f Full Control /r User : Revokes access rights for the specified user.
/p User : permission : Replaces access rights for the specified user. The following table lists valid values for permission.
Value Description n None r Read w Write c Change (Write) f Full Control
/? : Displays help at the command prompt. - To re-open Just replace N–>F
calcs <folder/file> /e /p everyone:F
Sign up here with your email
ConversionConversion EmoticonEmoticon