How to Lock folder in pc with password without any software

locked folder

There are some folders or files that you need to keep secret and hidden from others unwanted people so there are many softwares available for that purpose but you can also protect you files and folders without any software, as there in this post we are discussing. previously we posted a trick to lock the folder in your pc without any software but it was only for windows xp users so today i am here with a new trick to lock the folder without a software in pc and this trick works on all windows 7.8 & xp, So you must try to check it out now and then share your views with us leaving a comment.
So straight to the point.

How to give password to a folder in pc without using software:

Follow the below steps to do it.
STEP-1: Open notepad in your pc and copy the below code into it.

cls
@ECHO OFF
title wwtricks.blogspot.com
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
: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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== wwtricks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End

Change the colored text with your own password you want to kept.
STEP-2: After pasting the above code to notepad, save it as lock.bat.
STEP-3:Now double click on the folder "lock.bat" command prompt will open and close. You will see a new folder named "MyFolder".
STEP-4:Now paste all the data you want to be password protected without any software into the folder "MyFolder".
STEP-5: Now double click on lock.bat, it will ask you "are you sure to lock this folder?" so type Y and hit enter. The folder will be hidden now!
How to make it visible again?
If you want to again make it visible it then again double click on "lock.bat" it will ask you the password so give the password you given so the folder will be visible again.

Tips & Awareness: Note that the folder "Lock.bat" is editable so someone can edit it and hack the password.
But before someone try to do that You can make it secure to save these folders in C:/(c:/windows/system32 more secure place) drive and also make it hidden so peoples will no idea that the folder will be in C:/ drive.

Wait! You can also get out new post directly to your email box so subscribe to our email updates For free.
SHARE

About Basheer Ahmad

    Blogger Comment
    Facebook Comment

3 comments:

  1. Comments Are appreciated! Feel free to comment related to any post.

    ReplyDelete
  2. It is possible to put a password on your chosen file or folder with Folder Password Expert. I've used it since 2002. I do not know why this program wasn't discussed in the article as it is one of the most reputable software programs of its category.

    ReplyDelete
  3. It's why because this article written to Lock Folder Without Using Any Software.
    Anyway, thanks for your comment and telling us about this software.

    ReplyDelete