Password a folder in windows 7 without archiving. How to put a password on a folder using special programs or archivers. How to remove password from bat folder if forgot

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 that can be both paid and free. For example, such as Anvide Lock Folder, Lock-a-Folder or Lim Block Folder.

It will be useful to remind here that all free applications when downloading them should be checked on services such as Viructotal.com.

Protecting a folder with a password in Windows 7 is also possible 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 really encrypted, in contrast to the application of applications, where a password is simply set on the folder.

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

The window of the same name opens. In it, select the section Encryption,in the fields of which we enter the invented password and be sure to checkbox Encrypt file names.

Checkbox Show password setting is optional. Push Ok... A new archive is created. Now, when you try to enter it, the archiver asks for a password.

If this password is unknown, then it will not work 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 the 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 the password and click Close access.

The password hint can be omitted. That's all, the folder is password-protected.

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

If you open the 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 the 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 software. Installs and hides it from prying eyes from the explorer or from the desktop.

The utility does not have Russian, but it is very simple and straightforward to use.

To password-protect the folder, you need to follow a simple instruction:

  • Download and install the program
  • Set a master password at the initial start, which will also be the folder password.
  • Add folders to the list in the main window that need to be locked.
  • To unlock, you need to run the program again, select a folder from the list and press UnLock.

The program is free in Russian, easy to use and recommended for use. Website - maxlim.org. Works similarly to the previous one.

Password for the 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, go into it. In the folder, you need to create one document using a standard notepad included with Windows 7.

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

In the opened document, insert 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 \u003d\u003e"

if% cho% \u003d\u003d Y goto LOCK

if% cho% \u003d\u003d y goto LOCK

if% cho% \u003d\u003d n goto END

if% cho% \u003d\u003d 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 \u003d\u003e"

if NOT% pass% \u003d\u003d 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.

In this folder you need to put the files that you want to save. These can be documents, videos, etc.

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

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

Now, if a stranger wants to see what is in this folder, then he cannot do it, because the folder is hidden and password protected.

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

If the password is entered correctly, the folder will appear. Documents can be opened and worked with. Then the folder can be password protected again.

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

Users often 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 the folder.

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

The OS can only be configured to prohibit certain users from using or viewing a specific type of directories, files, or programs.

Setting a password for a folder is necessary if:

Put password on archive

Using this method, you can password-protect a folder with any file types, 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 fly out even before the archive is opened, 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 just need to have preinstalled free WinRAR or 7-ZIP programs.

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;

Set password

  • Immediately after you have chosen an action "add to archive", a window will appear with various settings for the parameters of the created archive. Find the button for setting the 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 instantly appear. The new code must be entered twice (to check the correct entry).

You can also check the box next to the file name encryption option.


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


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

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

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

In the above way, you can also password-protect the archive on a USB flash drive.

Useful information:

You can use a utility to create a password on your smartphone. It is designed to lock android apps with a password. With its help, only you will be able to access the messenger, social networks, camera and gallery or any other applications.

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, and not 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.

Therefore, these programs will not harm your computer and files that need to be password protected or hidden.

PasswordProtect USB allows you to password protect folders and remove previously set 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 process of installing the code 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 click on it with the right mouse button, 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, which indicates that the folder is protected. When you try to open a password-protected folder, this dialog box will appear. In this way, most often they put a code on folders with photos.

Useful information:

Pay attention to the program. It is designed to quickly recover a lost password for a data archive saved in ZIP / WinZIP, ARJ / WinARJ, RAR / WinRAR and ACE / WinACE formats.

Folder Lock Software

This program is able to protect a folder on a laptop or PC. Supported operating systems: Windows 7, Windows 8, Windows 10.

The utility encrypts directly the folder itself, without an archive.

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

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

  • After the folder has been added, it instantly becomes locked and only a person who knows the password can open it.

Put a password on a network folder

You can also password-protect the network folder.

The main property of a network folder is that it is available for viewing by all network users, so sometimes there are cases when the content can be hidden.

However, is it possible to hide this type of content folders for all users?

It is possible, but there is a threat that users of the same network can easily crack the password.

Password text file

You can password protect a text file separately from the folder. Thus, you can increase its crypto resistance (resistance to hacking).

In order to increase the level of protection, you should also change the encoding of the text file, and then, in case of hacking, an attacker will not be able to read the content without using a number of additional programs that select the correct encoding.

To put a password on a notepad file, follow these steps:


  • Save the document in bat format;

Now, when trying to open a notepad document on a computer, a password will be requested, only after entering the correct password the user will be able to view and edit the contents of the file.

A simple instruction for setting passwords on folders in Windows. If you have a need to protect certain personal data, you can, of course, set a password when loading the operating system or create a new account with corrected rights. But often only a small portion of your information needs protection. Therefore, many users are looking for answers to questions about how to password-protect a folder on a computer.


Content:

The most obvious way would be to simply hide it, but this is not the best option. As soon as the function of displaying all hidden files is enabled in the settings, the folder will immediately be seen. So it is not worth doing this if you really care about the safety of your files.

Surprisingly, Windows doesn't have the ability to set passwords for folders. You will have to use third-party software. It should be borne in mind that this approach will by no means protect folders, for example, from deletion or transfer, so be careful.

The most common options for setting a password are archiving programs, specially developed utilities and bat-scripts. To learn more about how to password protect a folder in Windows, take a look at each of these community features.

Initially, archivers were created in order to be able to pack one or several files into an archive, while being able to compress the final volume of the occupied information. But, besides this, these programs can be used to set a password for the required data folder. The most suitable options are WinZip, WinRar, Hamster Free ZIP Archiver, and 7-Zip.
Let's analyze the setting of a password in Windows using the Winrar program as an example:
1. Install Winrar software on your computer.
2. Using the right mouse button, open the context menu of the required pack and select the "add to archive" item in it.
3. Next, you will see the "name" and "archive parameters" window. By clicking through the various tabs, you can change the type of compression and many other parameters, but do not waste time on this, because we only need to set a password.
4. Find in the "advanced" tab the button "set password"
5. In the "enter password" window you can enter it. Beforehand, it is recommended to click the "show password" checkbox so that you are sure that everything is correct. If you want the files to change their names after that, you can check the box next to "encrypt file names". Then click OK.
6. After these actions, the window will change its name to "password backup". Click ok, and you will receive an archive, to open which you need your password.
In turn, if you enter the wrong password, you will not get access to the files.

Utilities of this kind use encryption of elements. Even if these programs are removed, the files will remain locked. In addition, you have the opportunity to set a password for entering directly into the programs themselves, making the data even more secure. Using Anvide Lock Folder or Flash Crypt applications, you can easily figure out how to password protect a folder.

Let's consider setting a password using Flash Crypt as an example:

1. Install Flash Crypt software on your computer.
2. Call the context menu on the required folder, and there select the "protectwithflashcrypt" item.
3. In the window that appears, you need to enter your password twice, which must be at least 4 characters. Do not change the rest of the fields, then click "protect".
4. After the encryption process, a Flash Crypt icon will appear on the folder. If you enter the correct password, the folder will be decrypted and you will be able to access the data.

Setting a password using a bat script

This method is the most insecure, as it simply uses simple hiding of folders in Windows. A user who understands how to enable viewing hidden data will easily gain access to information. So this option is suitable only for those who are sure of the inexperience of someone who can search for hidden folders.

To start the encryption process, create a file in notepad and copy the script there:
: lable
cls
set / p disk_flash \u003d "Vvesti buky flash drive:"
cd / D% disk_flash%:
if% errorlevel% \u003d\u003d 1 goto lable
cls
cd / D% disk_flash%:
del * .lnk / q / f
attrib -s -h -r autorun. *
del autorun. * / F
attrib -h -r -s -a / D / S
rd RECYCLER / q / s
explorer.exe% disk_flash%:

After that, you need to change the file type, for this change the extension from txt to bat, after which it will be ready to use. The essence of the script is as follows:

  • The first time you click, a folder named "Papka" will be created, where you will need to copy all the necessary data.
  • After the second press, the "Secretno" folder will be distributed, which will immediately be hidden.
  • The next time you press it, you will be prompted for a password. If you enter incorrectly, the script is closed, and you need to enter it again.
  • After entering the correct password, the folder will become visible and will have a name as in the first paragraph.

Also keep in mind that any password you want can be used instead of MOI-PAROL.
Thus, you have become familiar with the basic methods of setting passwords. Now all that remains is to choose the appropriate one. The safest options are archiving programs or special applications.

3 more useful articles:

    Windows Repair is a rare type of software that can rid your personal computer of almost all ...

    A program that checks the strength of passwords of system users. This utility is used by network administrators to calculate users with ...

    Acronis is a pretty famous program. When developing this software, the developers focused on ...

Reading 6 min. Views 133 Published 18.12.2016

Very often, we are faced with a situation when we need to hide files and folders on our computer from prying eyes. Therefore, many users have a question how to password-protect a folder on a computer. The developers of the Windows operating system did not foresee this possibility, we can only hide the folder from the eyes of other users by changing the attribute to hidden. This method will not work for us, so we will set a password. This will protect our files from copying and distribution, as well as from viewing by people we do not need.

Set a password for the folder using the archiver.

Now we will consider the option of how to password-protect the folder using an archiver. Since archiver programs are installed on almost every computer, this method will suit almost everyone. In this case, it is possible not only to set a password, but also to hide file formats.

When opening an archive with a password, a password entry window will pop up even before the archiver is opened. It is very difficult to guess such a password if the user does not even approximately know the combination of characters.

Note! Since setting a password for an archive only requires the user to have free WinRAR or 7-ZIP archivers, this method will suit all users.

To set a password for a folder, do the following:

Try to create a more complex password using upper and lower case Latin letters and numbers. The security of your information depends on the complexity of the password.


Advice! Do not forget to write down the created password in your notebook! Since quite often, because of haste, people forget the passwords they have invented and after that they have problems opening for the archived file. Since in this case it is almost impossible to recover the password.

Set a password for files using the PasswordProtect USB program.

If the above method does not suit you, then let's consider the option of how to password-protect a folder on a computer using third-party software.

A huge number of programs are posted on the network to complete our task, but some of them can lead to inaccessibility or damage to files after installing protection. Therefore, I recommend using proven programs. Which have proven themselves well. Consider the PasswordProtect USB program.

PasswordProtect USB allows you to put password on folders, as well as remove it. The application has a fairly clear interface and a minimum of settings. Therefore, it will not be difficult to deal with it for any PC user. You can put a password on a folder both from the program menu and by right-clicking on a file or folder.

After selecting the Lock folder function, the program will offer to come up with a unique password, enter the password twice and press the "Lock Folder \u003e\u003e" button. After a password is set on the folder, an icon appears that the file is protected.

Folder Lock program, protect the folder from hacking.

Folder Lock is a fairly popular program among users. Perfectly copes with the task of setting a password for a folder or file. If desired, the user can set a password for any file, be it audio-video recordings, photos, documents.

After installing the program, run it, select the desired file or folder and set a password.

Advice! In order to put a password on a file or folder using Folder Lock, it is enough to drag the file we need into the program window or press the “Add” button and select the file on the hard disk of the computer.

After the program finishes, a password will be set for the desired file. And only a user who knows password can open it.

How do I set a password for a network folder?

If you have a local network at home or at work, then you often need to know how to password-protect a network folder on your computer so that not all network users can view its contents. In this case, only trusted persons will have access. For these needs, the Folder Hidden application is perfect for us.

Since the main purpose of network folders is the ability for all network users to view their contents. But sometimes you need to put a password on some network folders that store important data. This can be done quite simply using the Folder Hidden program.

Important! The set password for the file, using this program, can be easily cracked by users of the same network. Therefore, come up with more complex code that will be too tough for many crackers.

We put a password on a text file.

If you work a lot with documents, then it will be useful for you to know how to set a password for a text file. With this option, you can increase the security of the document. Since a lot of information can be stored in a text file, setting a password will prevent you from leaking it. Also, for stronger protection of the document, change the file encoding. This is necessary so that if your password-protected file can be opened, then the cracker will have a new puzzle to determine the encoding. Since an open text file will not be readable.

In order to set a password for a notepad file, you need to create a new file and write the following lines in it as shown in the screenshot below.
Instead of the words "Your_password", we write the password that you have created. Next, save the document with the Bat extension. When you open the file, you will be prompted for a password, and after you enter it, a text document will open.

Conclusion.

That's all for me, now you know how to password-protect a folder on your computer. Thus, you can protect your personal files not only from the users of your computer who have access to it, but also from intruders. Able to access your files for copying and distribution. We also examined how to password protect a network folder on a local network. If you liked this article, share it with your friends on social networks. And if you have any questions, leave them in the comments.

Today, I want to raise such an urgent question for many PC users, how to put a password on a folder or file to protect them from unauthorized opening. This simple procedure will help limit access to personal information that you want to keep secret from other people.

The operating system itself does not provide the capability create passwords to open files and folders. Therefore, you will have to install additional software (programs) for this. You can go in two ways - which can be opened only after entering the password, or use special programs.

How to put a password on a folder using archiving?

Let's consider the first option first. So, we need to zip the selected folder. To do this, click on its name with the right mouse button. A menu will appear in which you should select the "Add to archive" item:

The archiving menu will open. Go to the "Advanced" tab and click on the "Set password" button.

A window will appear. In it, you must enter the combination of numbers and letters selected for the password twice. After that, click "OK". It would also be useful to check the box "Encrypt file names". This will maximize the level of information protection.

Everything, the archive with the password has been created. You can check. Try to open a classified folder. As soon as you try to do this, a window will appear asking for a password:

How to put a password on a folder or file using the program?

Now let's move on to special programs that will help us put a password on a folder or file... There are quite a few of them. Some of them are paid, but you can also find many on the net. The principle of operation of such programs is almost the same, the menu is also similar. I propose to consider one of the most convenient - Password Protect, you can find and download it in Yandex or Google without any problems.

To organize the ability to open a folder or file only after entering the password, first, run the program. A window will appear in which it is proposed to purchase this software. But this is optional, so click the "Run Trial Version" button:

A window will open in which, first, click the "Lock folders" button.

A list of all files and folders that exist on the computer appears. We are looking for the object that we want to "password" in this list, and click "OK":

Now you should come up with a password and enter it in the window that opens. Enter the invented combination of numbers and letters twice, press the "Lock folders" button. Also in this window, you can write a short explanation of the password, which will help in the future to decrypt it if, for some reason, the cipher is forgotten or lost. If you want to take advantage of this opportunity, put a tick in front of the "Hint" item and in the next line enter information that will help remember password... But this is not necessary at all.

After clicking on the "Lock folders" button on the folder. What will be reported in the window that opens:

Everything, the program has done its job. Now the folder can be opened only after entering the selected password. Let's check: is everything okay? Try to open the folder - a window appears in which you must enter the password:

I hope the question is how to put a password on a folder or your file has disappeared, because it's not difficult at all.

Finally, I would like to advise you to select more complex combinations of symbols, which will include both numbers and letters. This password is difficult to guess. But the combination should be easy to remember so that you can easily remember it later. But write down passwords not worth it. Where is the guarantee that no one will find your records with passwords?

Good luck to you. May all the most personal and valuable information be maximally protected from the prying eyes of others!