Trick to create password protected folder on Windows 7

Windows 7 is one of the most widely used computer operating systems in the world. Due to its standout features, ease of use and trusted brand-Microsoft, Windows 7 is a powerful package all together.

Though Windows 7 is almost a perfect OS, it does lack a few minor features and one of them is creating a password protected folder. You do have the option of creating separate accounts, but the option of creating password protected folders is missing out.

Many softwares are available in on the web that allow you to create password protected folders, but in this post I'll tell you how to make password protected folders on Windows 7 and that too without any softwares!

Just follow the steps given below:-

1) You need to create a new folder and save is anywhere with any name.

2) Now, open the folder and right click in the blank area inside it.


3) In the menu that pops up, select New-> Text Document.

4) Open the text document you created by double clicking on it, and paste the following code:

cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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 Private "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%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

5) In the code, replace "PASSWORD _GOES_HERE" with the password you want to use to unlock the folder. E.g. You can set your password as "openthedoor". It would look like this:-

if NOT %pass%==openthedoor goto FAIL

6) Now, save your file in the ".bat" format with the file name being "locker.bat". Make sure to change "Save as type" to "All files(".")".


7) Open the folder you created in step no.1 and click on the "locker.bat" file. A new folder named "private" will come up where you can put the files you want to protect.



8) After storing all the important files in the private folder, come out of it and double click "locker.bat" file.
Command prompt will pop up asking you whether you want to lock your folder or not, type "Y".


9) Now , if you want the private folder back all you need to do is double click on the locker.bat file again and enter the password in the command prompt and voila!


Now protect your precious files, photos, videos without any hassles on Windows 7!

Comments

  1. Protection is major issue for us,so it is needful to maintain otherwise we may lose many thing or data,definitely it is well informative blog and good effective for window protection.You have explain detail with the programming process.Many thanks for nice share.

    ReplyDelete
  2. @john David, Thank you so much for your feedback. Please keep visiting our site.

    ReplyDelete
  3. Hello,
    My name is Alec and I work for the marketing department at VPN4ALL ltd, I am quite fascinated by your blog posts, and I must commend your writing skills.

    I was wondering if you would be interested to test our VPN software for free so as to prepare a review about our services on your site.

    Our website is a personal VPN service that encrypts all your data transmitted over the internet and tunnels your online communications through one of our secure server locations. It changes your visibility to the World IP address and protects you against online snoopers and intruders. All in one click!

    This review may prove to be quite beneficial if a partnership was formed between both parties whereby you’d be earning commissions on sales your referrals make referred through an affiliate link in your website/review.

    The commission earnings start from 25 percent and go up depending on your performance with our affiliate program, plus you get to receive a,
    •A sign up bonus of $9.95 loaded into your Affiliate account once you sign up with us.
    •Enjoy Recurring commissions on every renewal your referrals make
    •Enjoy our VPN Client by becoming our VPN active member.

    To join (or learn more about) our program you may fill out the application here https://www.vpn4all.com/userportal/guestaffiliates.php.

    If you’re not ready to join the affiliate program right away, I would still love to hear back from you: to see how/if we can still work together. I’m very much looking forward to your reply.

    Regards,
    Alec/Marketing department
    http://www.vpn4all.com

    ReplyDelete

Post a Comment

Popular posts from this blog

Top 5 motion sensor racing games for Android 2017

How to get paid Android apps for free