Useful Tips

How to put a password on a folder: 3 easy ways


Each user wants to protect themselves and their files and folders from copying or deletion. We live in a modern world in which most of the information is stored on a computer. The loss of which can bring a lot of problems. Therefore, you should take care and protect yourself and all the necessary information. For example, you can protect files and folders from being copied and deleted. This can be done both by means of the operating system and with the help of special programs.
Today we consider both options.

Windows file copy protection

To protect your computer from being copied to removable media, you need to make some changes to the registry.

So you need to do the following:

1 Press in the lower left corner of the "Start" or two keys Win and R,

2 in the “Open:” window write regedit and click “Ok”,

3 find the line HKEY_LOCAL_MACHINE and open the tree in the following sequence - / SYSTEM / CurrentControlSet / Control /,

4 in the Control folder, find under the StorageDevicePolicies folder, if it is not there, you will have to create it,

5 open the WriteProtect parameter by double-clicking, in the “Value:” box, enter one in the place of zero, click “Ok”.

6 If you created the StorageDevicePolicies folder yourself, there is no WriteProtect parameter in it and you have to create it. In the registry editor, click on the right mouse button and select “DWORD Parameter” in the “Create” item (however, it is the only one), give a name to the new “WriteProtect” parameter and change its value to “1” according to the above scheme.

After completing all the operations, close the editor and restart the PC. The machine has become completely protected from copying to external media.

Windows File Protection

To protect documents from deletion, you will have to create a folder in a convenient location, into which you can later drop files whose loss is undesirable. The following algorithm is executed:

1 right-click on a folder or file, select “Properties”,

2 in the "Security" tab, click on "Advanced",

3 in the window that appears in the “Permissions” tab, click “Change permissions ...”,

4 in the newly appeared window click “Add”,

5 in the next window write “Everything” and click on “Ok”,

6 finally, the main window will open, in which you need to put a check mark on the desired items. In general, the following items will suffice: in the column allow - “Read attributes”, “Folder contents / read data” and “Read additional attributes”, in the column prohibit - “Delete” and “Delete subfolders and files”.

Then click on "Ok." In all previously opened windows, also click on this button. At the end of the procedure, a warning window appears, you must agree to it by clicking "Yes." The folder is now protected from deletion of files placed in it.


A very good tool to protect against accidental deletion is FileProtection. The program fits into the context menu. To use it, you need to right-click on a folder (to protect the entire folder) or a file and select “Protect File”. To remove the restriction - select "Unprotect File".

Port locker

A good program for protecting against copying to USB media is Port Locker. Immediately after installation, it is proposed to set a password for quick lock / unlock. This allows the owner to block access to the network, printer and all connected USB media during his absence. The program is easy to use, the trial period is 30 days.

Which means of fighting to protect files is better depends in the end on the preparedness of the user. Anyone who understands the PC is more likely to choose the option of using Windows. Less prepared or those who do not want to "bother" will install the program.
The main result will be that the headache will decrease.


The review helped me set up a lock against accidentally deleting a folder with important data. There are several users on the computer and I don’t want to be left without some necessary passwords in one day, etc.

If you can remove it using the operating system, then I don’t see the need to install additional programs.

Often I ask a similar question at work when something disappears on the computer. But I did not understand: 1) How can I copy files if necessary? Is it possible to disable the copy prohibition function for a couple of clicks for a while? And does such a copy ban on dragging files into chat (over the network within the enterprise) apply? 2) Like copying, what should I do if I need to delete a file? Here they wrote above, what can be removed using the operating system, what does this mean? Port Locker, and in principle, do not offer any other, because it is forbidden at our enterprise to install programs without permission, and people in your absence can freely sit on the computer and do whatever. At the same time, at any time, I should also be able to quickly do something on my computer and, if necessary, copy it to a USB flash drive. Or someone else. But the speed and simplicity of enabling / disabling these functions is important. 3) Will the actions indicated above not contradict the fact that our company prohibits the use of third-party programs?

Set a password using standard Windows tools

The Windows 10 operating system does not have built-in functionality with which you can protect a specific folder. There is an easy way to restrict access to a user account by putting a code word on the input (thereby blocking access to any file). There is a more complicated one - to use the built-in BitLocker drive encryption function (it will be impossible to open it without entering the cipher word). The problem with using the BitLocker service is that if the system crashes or the user forgets the password, you will have to take emergency measures to restore the files.

And the operating systems of the Windows family have one unique functionality that allows you to make the object invisible to users. Using it, you do not need to come up with a complex cipher for opening, which over time can be forgotten.
To hide the folder, proceed as follows:

  • Right-click on a file,
  • On the menu "Are common"Check the box opposite"Hidden»,
  • Click “OK»,

Important! Both protection methods are valid for all versions of the family of OS Windows 7, 8, 10, XP, Home, Vista.

Alternative way to protect folders

Now the object is protected and invisible. You can use separate WinRar and 7-Zip archivers, but if you have a file manager on your PC or laptop, installing them is not practical.

Setting a password using third-party resources

There are many software products that can increase the security of personal data storage - Flash Crypt, dirLock, Secure Folder, WinMend Folder Hidden, Wise Folder Hider, My Lockbox, Easy File Locker, Anvide Seal Folder and many others. Most of the utilities are free, equipped with a multilingual interface and functional. Wise Folder Hider software from a reliable and trusted developer WiseCleaner is suitable for all Windows families and beginners in the field of folder encryption

Download Wise Folder Hider for free online. Its installation is standard and fast (free version on the network with the Portable prefix). The only condition is the password to open the utility. You can put any. After they act like this:

  1. Open applications for Windows 10,
  2. Select in the horizontal block menu "Hide folder»,
  3. Specify the path to the object
  4. After he appeared in the application window, click on the right arrow in the menu "Actions»,
  5. Choose "Set password»,
  6. To invent and confirm a code word,
  7. Click “OK».

After the procedure is completed, the object will disappear from the list of folders on the disk (hidden) and will be available only through the application. Another small and easy-to-use Secure Folders utility. It has a little more functionality and an English interface. But it does not complicate the work, since software offers a minimal number of operations. Its uniqueness lies in the fact that the code word is set to open the program itself - that is, you need to enter and invent one cipher, which is easier to remember. After adding a folder to the Secure Folders application, it is impossible to open it without opening the program itself.

They use software like this:

  • Install a software product,
  • Open the application by assigning a password,
  • At the bottom of the window, click "Add»,
  • In the new window, open the "Browse»,
  • Specify the path to the file,
  • Find and check the box opposite "Lock»,
  • Choose "Add».

Important! To access the object, you need to temporarily remove it from the application by clicking on the red cross on the right in the line. As soon as the work with documents is completed, the object is again added to the application.

If you need a more functional software product that allows you to encrypt any PC objects, it is better to download the Hide Folder utility. Its interface is Russian-speaking, the installation is standard. After installation, proceed as follows:

  • In the block menu, select "List»,
  • In the new window, click the "Add ...»,
  • Specify the path to the file by clicking the "»,
  • Select “Block" or "Hide and block»,
  • Click “OK».