Win7 file encryption Protect sensitive private files


Encrypting private files is a habit of many friends. There are many third-party software for file encryption, but in fact, Windows 7 (hereafter referred to as Win7) can complete file encryption by using VHD and BitLocker functions.

At present, the most used and best-rated encryption software is the “stealing man” that plays well in advertising. It is free forever and supports various WIN systems. It can be used in hard disks, mobile hard disks, and USB flash drives. MP3 and other secret spaces are created, and regular manufacturers are more professional and regular than personal software. Man to risk

stealth protection and backup important files in your computer and private information, to prevent computer stealth Xia due to maintenance, loss, or loss of information was leaked black, brought the information to borrow.

If you do not borrow external software commonly used means of protection on a computer is nothing more than encrypted, but the encryption method may be very simple or very complex. The easiest way is to set the folder as a hidden attribute. People who don't know much about the computer are basically blocked out of the door. Complex ones can be encrypted with professional encryption software or even hardware. In the Win7 era, Microsoft gave us a very good encryption method - BitLocker, which can encrypt any hard disk partition or mobile storage device. However, this feature is also inconvenient, it is only available in the Ultimate and Enterprise editions, and the computer purchased by the user is usually pre-installed with Windows 7 Home Standard and Premium.

if you just want to hide in the machine some personal information such documents, that would try following this trick, it does not require you to install third-party software, very convenient, but also supports the latest Windows 7 system . The specific method is as follows:

The first step is to find a folder that is not easy to attract attention, so don't choose a folder like game movie, and this folder will not be deleted easily, but don't use the system. Partitioned directory, because in Windows 7, encryption will fail due to issues such as permissions.

The second step is to create a new TXT text document in the selected folder (the name does not matter), then open the document and paste the following:



title Folder 智可网

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK



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

set/p "cho=>" < BR>
if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

If %cho%==N goto END

echo Invalid choice.



ren 智可网"Control Panel.{ 21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End


echo Enter passWord to un Lock folder

set/p "pass=>"

if NOT %pass%== Here is the password goto FAIL

attrib -h -s "Control Panel. 〈 {ECEC] >
goto End


echo Invalid passWord

goto end


md 智可网< BR> echo智可网created successfully

goto End


Description: "if NOT %pass%== here is the password goto FAIL" line in the code The "here is the password" needs to be replaced with your own password combination, paying attention to the spaces between the and the equal sign.

The third step is to save this text, and then change the suffix to the .bat format. Double-click it to run it once it is finished. At this time, a file named “Computer Home” will be added to the location of the file. folder. The "Computer Home" in the code can also be replaced with the folder name you like. There are 6 places in total, so be careful not to miss it.

Supplementary Note: In order to maximize the application of this string of code, please try to use English letters or numbers, so some of the above-mentioned code retains English in the prompt text, and the folder is changed to Chinese for convenience.

fourth step, when the folder is generated, double-click the bat file again you will see the following prompt: ask if you want to encrypt this folder (referred to as "PC Home" folder).

"chi can Network" folder

Press Y Enter encrypted, no encryption key N (N and Y case insensitive), When you select Encrypt, the folder will disappear. At this point, even if you change the system folder setting to "Show hidden files, folders, and drives", you will not see this folder. Trying to enter the folder name directly in the address bar will not be accessible.

fifth step, when you need to access this folder on the need to decrypt, still double-click the bat file, you will see the following command prompt window: asking you to enter the unlock code.

Enter the unlock password

Enter the password and press Enter. Then you will see the original file appear again, then what should you do? Well.

This bat file can be copied to any other folder for use, so we can put it in other places after encryption and save it. It needs to be decrypted and copied. The reason why it is recommended to do this is because the file contains the password directly. On the other hand, the existence of such a bat file in the folder will cause some people's curiosity. It is not easy to be discovered after removal. There is a secret here.

In fact, previously learned DOS commands and batch files with friends, a look at the top part of the code to understand how it happens, it does not actually complicated encryption means, first of all encrypted folder renamed Special Name: Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}, and then change its properties to hidden + system. Adding a judgment statement is to complete the encryption and decryption work with only one batch file.

Of course, this method also has shortcomings, although do not see the file encryption in Windows Explorer folder, but use other third-party tools such as Winrar with browsing capabilities can still be seen, and The files inside can be accessed normally. So the author said in the first step, choose a less conspicuous folder to maximize its effectiveness.

Copyright © Windows knowledge All Rights Reserved