There are many ways for you to encrypt your files on
Windows. You can use BitLock to encrypt the entire hard
drive partition. You can encrypt your Word
and Excel files with the office built-in feature of encryption. You can use
other third-party tools to encrypt your files. However, if you do not want to
use the third-party software, you can try the following way.
How to encrypt the files in
Windows without third-party software?
First, you need to create a folder for the files you
need to protect.
Second, right-click to open your created file folder.
Right-click inside the folder,and Select new from the right-click menu and
click Text Document from the context menu. Press Enter.
In the open Text document, you need to paste the below
code into it.
cls
@ECHO OFF
title Folder Locker
if EXIST "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u 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.
goto CONFIRM
:LOCK
ren Locker "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==Your-Password-Here goto FAIL
attrib -h -s "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control
Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Third, locate Your-password-Here in these long code,
replace it with your password.
Fourth, click File>Save As in the document. In the
Save As Window, select All files from the drop-down menu of Save as type.
Fifth, change the file name to FolderLocker.bat, Click
Save
Sixth, Double-click the Folderlocker and then you will
see a file folder named Locker.
Seventh, you can move all the files you need to lock
to this Locker folder.
Then you can open the Windows Batch File—FolderLocker,
in the Folder Locker Window, type Y and press Enter. You have successfully
encrypt this file folder now.
How to De-encrypt the locked
file folder?
First, double-click to open the FolderLocker Batch
file, enter the password you have set, then Press Enter. Your file folder now
are unlocked.
Encrypt is a good way to
protect your important files to be accessed by others. And there are still many
data loss cases on computer.If you do not put your files in right place, they
are easy to be deleted by accident. Once you found the files you need disappear
from their location, you should check them in the recycle bin first, if you
have no backup, try to use the data
recovery software at the first time.
No comments:
Post a Comment