How To Lock Folder Without Software Windows PC And Mac

As everybody has some private data, it is essential to use password protection when these are on the computer. Though there are many software providing locking systems to the folders, many of the PC users want to know how to lock a folder without software. So, to avoid data leak or the security of your data, you can follow several ways to give a password to your folder. Protecting data of the folders for PC is essential to preserve the notes of your financial information, personal information, research, etc.

Lock folder without software on Windows 10/8/7 users

Locking a folder without software on Windows computers is not so easy. It would help if you did a Notepad hack to do this work. It is called creating batch files. However, following this process, you can easily lock and make your important files such as doc files, pictures, videos, and many keeping them invisible.

1st Step

The process is started by opening your Notepad. You can find it by searching for it or from the start menu. Now you need to write a code to the text file and save it. The code is at the below:

@ECHO OFF

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-8002B3039D}” goto UNLOCK if NOT EXIST Private goto MDPrivate

:CONFIRM

echo Are you sure to lock this 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 Private “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B230309D}”

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

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock Your Secure Folder set/p “pass=>”

if NOT %pass%== passwordgotoAIL

attrib –h –s “Control Panel.{21EC2020-3AEA-1069-A2DD-08-2B30309D}”

ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDPrivate

md Private

echo Private created successfully

goto End

:End

2nd Step

At this Step, you need to put the folder name and a password. See the text on the Notepad and give a password where I write passwordgoto replacing only password part. And at the place of Private, you can give a name of your folder.

3rd Step

At this Step, you need to save this file giving any name but at the end write .bat and save it. Now you have to create your folder. For this, click twice on the batch file or .bat file. Here, a new folder will appear. Then add the files you want to hide to it.

4th Step

Now it is time to lock this folder. Here, double-click on the .bat file and write y on the field of the popup window. Then click the enter button.

Now your file is locked. When you want to enter into it, you should double click on the file and then enter your password.

We see that the process is nothing but put the code correctly.

Lock folder without software on Mac

On Mac PC, you can lock your essential and personal folder without using any software. To do this, you should click Command, shift, and A at the same time to go to the application folder. Then go to the “Utilities” folder from there. In the utility folder, you will find the option “Disk Utility.” Entering in it, click on File Option. Here select “Image from Folder” from the New Image option. From here, you should choose the folder that you want to protect. Selecting the folder, you should click on the “open” button from the bottom of the page.

Here a pop-up window will appear. You should select the “Image Format” menu and choose “read or write.” From the encryption menu, you should tap the 128-bit AES encryption. Now you need to enter the password. Verify it. Then name the folder and save it.

Besides, you can hide the folder from the properties option of the folder. Give your file reliable protection and password and save your privacy without using the software.

Leave a Comment