How to put a password on a folder in different ways. How to set a password for a folder without additional programs How to close a folder with a Windows 7 password

Often users find themselves in a situation where they need to hide the contents of a folder or file from prying eyes, so the question arises of how to put a password on a folder.

Unfortunately, the developers of the Windows operating system did not provide for such a function as setting a password for individual user files and directories.

The OS can only be configured to prohibit certain users from using or viewing a specific type of directory, file or program.

Setting a password for a folder is necessary if:

  • you want to hide your files from unauthorized access by others;
  • want to protect your personal data from illegal copying or distribution.

Set a password for the archive

Using this method, you can password-protect a folder with any type of file, while it is possible to hide the very fact that the archive contains files of a certain format.

The window for entering the code will pop up even before the archive opens, so it is impossible to find out about its contents if the user does not know the combination. A password for an archive without programs is the easiest way to protect folders.

Advice! The function of setting a password for an archive does not require preliminary installation of additional software; you only need to have pre-installed free programs WinRAR or 7-ZIP.

To add the desired folder to the archive and password protect it, follow the instructions below:

  • Right-click on the folder you are interested in and add it to the archive, as shown in the figure;
  • Immediately after you select the “add to archive” action, a window will appear with various settings for the parameters of the created archive. Go to the tab with additional parameters and find the button to set a password, it is shown in the figure;
  • Click on the button that allows you to set a password.

After this action, a small input window will immediately appear. The new code must be entered twice (to ensure correct entry). You can also check the box next to the option to encrypt file names.

Thus, third-party users will not be able to find out anything about the type of files being hidden.

The process of setting a password for an archive

After trying to open the archive, we see that you first need to enter the code and only then can you view and edit its contents.

This method of installing the code is the simplest and most effective. However, to implement it you will need to have one of the archivers on your computer.

Also, if the code is forgotten or lost, restoring the contents of the archive will become quite a difficult task for the user. This is why you should store a backup copy of the protected files, for example, on cloud storage.

Using the above method, you can also password-protect an archive on a flash drive.

Using PasswordProtect USB

On the Internet you can find a huge amount of third-party software that can cope with the task of installing code on the system object you need.

A large proportion of such programs, unfortunately, can harm your files rather than protect them from unauthorized access by other users.

This article presents the most popular and common types of software that have been tested by a large number of users, so these programs will not harm your computer and files that need to be password protected or hidden.

This program is available for download and installation on a PC and is compatible with Windows 10.

PasswordProtect USB allows you to password protect folders and remove the previously installed encryption. The application has an intuitive user interface, so working with this utility will not be a difficult task for the user.

You can start the code installation process not only using the main program window, but also using the computer desktop.

After you have installed this software on your operating system, the installation function will be displayed in the menu of each folder, you just need to right-click on it, as shown in the figure:

  • The next step is to enter the code in the window that opens. Enter it twice to eliminate the possibility of error.
  • After installing the code, a sign will be displayed on the folder icon, indicating that the folder is protected. When you try to open a password-protected folder, the following dialog box will appear. This is the most common way to put a code on photo folders.

Folder Lock Software

This program can protect a folder on a laptop or PC. Supported operating systems: Windows 7, Windows 8, Windows 10. The utility encrypts the folder itself, without an archive.

You can put the code on a folder with absolutely any content: files, photos and documents.

To install it on a folder using this program, follow the instructions:

  • Download and install Folder Lock;
  • Enter a password in the text field, which will be the folder password;
  • Click OK;
  • Drag the desired folder to the main program window or use the “add” icon;
  • After the folder has been added, it immediately becomes locked and can only be opened by a person who knows the password.

Set a password for a network folder

You can also password-protect a network folder. To do this, you can also download separate programs, for example:

You can also use the program Folder Guard(

A folder protected with a complex password on a computer or laptop that can be accessed by several people is a reliable way to save important information. The secret word code will protect digital data from viewing and editing, and will also protect it from deletion. Let's find out how you can put a password on a folder in Windows 10? Are there alternative methods of protection?

Setting a password using standard Windows tools

The Windows 10 operating system does not have built-in functionality that can be used to protect a specific folder. There is a simple way to restrict access to a user account by placing a code word at the entrance (thereby blocking access to any file). There is also a more complicated one - use the built-in BitLocker disk 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, emergency measures will have to be taken to recover the files.


And the operating systems of the Windows family have one unique functionality that allows you to make an object invisible to users. Using it, there is no need to come up with a complex cipher for opening, which can be forgotten over time.
To hide a folder proceed as follows:
Important! Both protection methods are valid for all versions of the Windows 7, 8, 10, XP, Home, Vista OS family.

An alternative way to protect folders

A large percentage of users, instead of the built-in Windows 10 explorer, use the Total Commander program or file managers with similar functionality: Free, Double, Troll, Midnight Commander or other products. With their help it is very easy to set a password on an object. This can be done after the standard installation of any file manager. The procedure is as follows:

Important! After the procedure, opening files will be available only after entering the secret code. If the user needs to hide an object and encrypt it, this can be done in Commander. You need to go through the procedure of hiding a folder through the “Properties” menu (described above), and then:

The object is now protected and invisible. You can use separate archiver programs WinRar and 7-Zip, but if you have a file manager on your PC or laptop, installing them is impractical.

Setting a password using third-party resources

There are many software products that can improve the security of storing personal data - 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. The Wise Folder Hider software product from the reliable and proven developer WiseCleaner is suitable for all Windows OS families and for those new to folder encryption

You can download Wise Folder Hider for free online. Its installation is standard and fast (free version online with Portable prefix). The only condition is a password to open the utility. You can put any one. Then proceed like this:

After completing the procedure, the object will disappear from the list of folders on the disk (hidden) and will be accessible only through the application. Another small and easy to use utility is Secure Folders. It has a little more functionality and an English-language interface. But it does not complicate the work, since the software offers a minimum 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 come up with one code, 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.

Use the software like this:

Important! To access an object, you need to temporarily remove it from the application by clicking the red cross on the right side of the line. Once the document work is completed, the object is added back to the application.

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

Access to the facility is limited. The built-in capabilities of the Windows 10 operating system are quite sufficient to protect files and documents. The main security secret is a competent and complex password. If one is installed, then it will be virtually impossible to break it, regardless of what program was used for encryption.

There are many tricks on how to put a password on a folder in Windows 7.

It is possible to complete the task using special programs, which can be either paid or free. For example, such as Anvide Lock Folder, Lock-a-Folder or Lim Block Folder.

Here it would be useful to remind you that all free applications, when downloading them, should be checked on services such as Viructotal.com.

It is also possible to protect a folder with a password in Windows 7 using an encrypted archive.

All popular archivers, such as WinZIP, 7-zip, WinRAR, allow you to set a password for the archive, as well as encrypt the contents of the folder.

How to set a password for an archive

This method is absolutely reliable, because the files will be truly encrypted, unlike using applications where you simply set a password for the folder.

So, using the example of using the 7-zip archiver, we select the folder that needs to be password protected. You can call it whatever you want. Right-click on the created folder and find the item in the context

A window of the same name opens. Select a section in it Encryption, in the fields of which we enter the invented password And be sure to check the checkbox Encrypt file names.

Checkbox Show password it is not necessary to put. Click Ok. A new archive is created. Now, when you try to log in, the archiver requires you to enter a password.

If this password is unknown, then you will not be able to get into the archive, even through the menu Extract files.

Anvide Lock Folder App

A password is set to start the program, you need to enter it and the program window will appear.

Now, to password protect a folder, you just need to take it and drag it into the program window.

Then you need to click on it and press Padlock. In the form that appears, enter your password and click Close access.

You don't have to include a password hint. That's all, the folder is under a password.

You can also not transfer it to the program window, but click the icon + and select it on your computer.

If you open Explorer now, you will notice that the folder under the password has disappeared, it is simply not visible. It disappears from the user's eyes.

To return it to Explorer, you need to click on it in the program window and unlock it. The folder will appear again in Explorer.

Using Lock-a-Folder

Lock-a-Folder is free and open source. Installs and hides it from prying eyes from Explorer or from the desktop.

The utility does not have a Russian language, but is very simple and easy to use.

To password protect a folder, you need to follow simple instructions:

  • Download and install the program
  • Set a master password upon initial launch, which will also be the folder password.
  • Add folders that require locking to the list in the main window.
  • To unlock, you need to run the program again, select a folder from the list and click UnLock.

The program is free in Russian, easy to use and recommended for use. Website: maxlim.org. It works similar to the previous one.

Password for a folder using standard Windows 7 tools

There is another way to password protect a folder in Windows 7 without using any third-party programs.

To do this, select the folder that requires protection and go into it. You need to create one document in the folder using the standard notepad included in Windows 7.

We follow the path - Start - All Programs - Accessories and open WordPad.

In the document that opens, paste a small code with the following content:

_______________________________________________________________________

title Folder Private

if EXIST "HTG Locker" goto UNLOCK

if NOT EXIST Private goto MDLOCKER

echo Are you sure you want to lock the folder(Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

ren Private "HTG Locker"

attrib +h +s "HTG Locker"

echo Folder locked

echo Enter password to unlock folder

set/p "pass=>"

if NOT %pass%== PASSWORD_GOES_HERE goto FAIL

attrib -h -s "HTG Locker"

ren "HTG Locker" Private

echo Folder Unlocked successfully

echo Invalid password

echo Private created successfully

____________________________________________________________________

In the line of code, instead of PASSWORD_GOES_HERE (blue text), you need to add your password, for example, 12345.

The files that need to be saved should be placed in this folder. These can be documents, videos, etc.

After this, left-click on the locket file again, the command line opens,

in which you need to confirm your intention to password-protect the folder, after which the Private folder disappears from the screen.

Now, if an outsider wants to see what is in this folder, he will not be able to do this, because the folder is hidden and password-protected.

If an attempt is made to open the locket file, a command prompt will open and ask for a password. If the password is entered incorrectly, nothing will happen.

If you enter the correct password, the folder will appear. Documents can be opened and worked with. Then you can password-protect the folder again.

In these ways, you can put a password on a folder with any content so that no one but you can view them and interfere with your privacy.

Hello, dear readers. I once wrote about how there is nothing complicated about this. But put a password on a folder in Windows 7 It won't work using standard means. The system does not provide such an option. This is perhaps one of the biggest omissions of the Windows 7 OS developers. For example, it’s easy. But this is not a problem that cannot be solved, there are ways out and we will talk about two ways to solve this issue. The first method is a little tricky, but requires certain knowledge, although not particularly complicated. But when using it, you can protect folders from ordinary users. not everyone can figure it out. The second method is using third-party software, that is, programs, of which there are many. Let's start from the first and we will put a password on a folder in Windows 7 without programs.

Putting a password on a folder in Windows 7 without programs

We need to create a bat file, the so-called “bat file”, and for this I recommend using . You can, of course, create it in a standard Windows notepad, but it will be . Everything will work, but instead of normal text there will be crocodile symbols. So, open Notepad++, create a new document Ctrl + N, set the encoding to OEM 866.


And add this code to it: (See the video below)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 cls @ ECHO OFF title Folder under password if EXIST "Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER:CONFIRM echo Are you going to lock the folder?(Y/N) set /p "cho=: " if % cho % ==Y goto LOCK if % cho % ==y goto LOCK if % cho % ==n goto END if % cho % ==N goto END echo Wrong choice. goto CONFIRM:LOCK ren Private "Locker" attrib +h +s "Locker" echo The folder is locked goto End:UNLOCK echo Enter the password to unlock the folder: set /p "pass=: " if NOT % pass % == enter the password goto FAIL attrib -h -s "Locker" ren "Locker" Private echo Folder successfully unlocked! goto End:FAIL echo Incorrect password goto end:MDLOCKER md Private echo Secret folder created goto End:End

cls @ECHO OFF title Folder under password if EXIST "Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER:CONFIRM echo Are you going to lock the folder?(Y/N) set/p "cho=: " if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Wrong choice. goto CONFIRM:LOCK ren Private "Locker" attrib +h +s "Locker" echo The folder is locked goto End:UNLOCK echo Enter the password to unlock the folder: set/p "pass=: " if NOT %pass%== enter the password goto FAIL attrib -h -s "Locker" ren "Locker" Private echo Folder successfully unlocked! goto End:FAIL echo Incorrect password goto end:MDLOCKER md Private echo Secret folder created goto End:End

Instead of the words: “enter your password,” set your password. The name of this file does not matter. Save it with bat permission. For example lock.bat is quite suitable. We place it in the directory where the password-protected folder will be stored. For example, on a hard drive. Double-clicking on this “body file” will create a folder in this directory called Private, in which you will need to place . that need to be hidden from prying eyes. Then you need to double-click on the created file. A command line window will open, where you will need to enter the Latin “y” without quotes and press Enter.

After this, the folder will be hidden from prying eyes, and double-clicking on the file will open a window where you will need to enter a password. Agree, not every user will be able to open it and see the password, and most will not even understand what kind of file it is and what it is needed for. I forgot to say that you can put a password on a folder using the 7-zip or WinRar archiver, but then it turns out that we are putting a password on the archive, and not on the folder.

Put a password on a folder in Windows 7 program

For a long time I searched for a suitable program for this case and could not find a normal one. The only thing I liked was Anvide Lock Folder program. A very small program in Russian, which also does not require installation and is completely free, can put a password on a folder in the Windows system. And this applies not only to the seven. In the program window, you need to click on the plus sign and select the desired folder. Then click on the lock and enter the password. For convenience, set a password hint. After which the folder will be hidden on the system.

To see it again, you need to click on unlock and enter the password. As you understand, the program works on the same principle as the first method with a batch file. For me, it’s better to do without programs, but if you need it, you can download it. What do you think? If you know other ways to put a password on a folder in Windows 7, please share. And click on the social media buttons, it’s not difficult for you, right? 😉 If you want to receive bonuses and gifts, then join the lucky team.

Hello, dear readers. I once wrote about how there is nothing complicated about this. But put a password on a folder in Windows 7 It won't work using standard means. The system does not provide such an option. This is perhaps one of the biggest omissions of the Windows 7 OS developers. For example, it’s easy. But this is not a problem that cannot be solved, there are ways out and we will talk about two ways to solve this issue. The first method is a little tricky, but requires certain knowledge, although not particularly complicated. But when using it, you can protect folders from ordinary users. not everyone can figure it out. The second method is using third-party software, that is, programs, of which there are many. Let's start from the first and we will put a password on a folder in Windows 7 without programs.

Putting a password on a folder in Windows 7 without programs

We need to create a bat file, the so-called “bat file”, and for this I recommend using . You can, of course, create it in a standard Windows notepad, but it will be . Everything will work, but instead of normal text there will be crocodile symbols. So, open Notepad++, create a new document Ctrl + N, set the encoding to OEM 866.


And add this code to it: (See the video below)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 cls @ ECHO OFF title Folder under password if EXIST "Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER:CONFIRM echo Are you going to lock the folder?(Y/N) set /p "cho=: " if % cho % ==Y goto LOCK if % cho % ==y goto LOCK if % cho % ==n goto END if % cho % ==N goto END echo Wrong choice. goto CONFIRM:LOCK ren Private "Locker" attrib +h +s "Locker" echo The folder is locked goto End:UNLOCK echo Enter the password to unlock the folder: set /p "pass=: " if NOT % pass % == enter the password goto FAIL attrib -h -s "Locker" ren "Locker" Private echo Folder successfully unlocked! goto End:FAIL echo Incorrect password goto end:MDLOCKER md Private echo Secret folder created goto End:End

cls @ECHO OFF title Folder under password if EXIST "Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER:CONFIRM echo Are you going to lock the folder?(Y/N) set/p "cho=: " if %cho%==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==N goto END echo Wrong choice. goto CONFIRM:LOCK ren Private "Locker" attrib +h +s "Locker" echo The folder is locked goto End:UNLOCK echo Enter the password to unlock the folder: set/p "pass=: " if NOT %pass%== enter the password goto FAIL attrib -h -s "Locker" ren "Locker" Private echo Folder successfully unlocked! goto End:FAIL echo Incorrect password goto end:MDLOCKER md Private echo Secret folder created goto End:End

Instead of the words: “enter your password,” set your password. The name of this file does not matter. Save it with bat permission. For example lock.bat is quite suitable. We place it in the directory where the password-protected folder will be stored. For example, on a hard drive. Double-clicking on this “body file” will create a folder in this directory called Private, in which you will need to place . that need to be hidden from prying eyes. Then you need to double-click on the created file. A command line window will open, where you will need to enter the Latin “y” without quotes and press Enter.

After this, the folder will be hidden from prying eyes, and double-clicking on the file will open a window where you will need to enter a password. Agree, not every user will be able to open it and see the password, and most will not even understand what kind of file it is and what it is needed for. I forgot to say that you can put a password on a folder using the 7-zip or WinRar archiver, but then it turns out that we are putting a password on the archive, and not on the folder.

Put a password on a folder in Windows 7 program

For a long time I searched for a suitable program for this case and could not find a normal one. The only thing I liked was Anvide Lock Folder program. A very small program in Russian, which also does not require installation and is completely free, can put a password on a folder in the Windows system. And this applies not only to the seven. In the program window, you need to click on the plus sign and select the desired folder. Then click on the lock and enter the password. For convenience, set a password hint. After which the folder will be hidden on the system.

To see it again, you need to click on unlock and enter the password. As you understand, the program works on the same principle as the first method with a batch file. For me, it’s better to do without programs, but if you need it, you can download it. What do you think? If you know other ways to put a password on a folder in Windows 7, please share. And click on the social media buttons, it’s not difficult for you, right? 😉 If you want to receive bonuses and gifts, then join the lucky team.



Share