How to Password Protect a File or Folder via Zip

Written by Barry Dysert (last updated February 6, 2017)

If you share your computer with others or you just want to be cautious of prying eyes, you may want to password protect files or folders so that no one can see their contents unless they know the password. While there are plenty of good utilities out there that will add password protection to files, my favorite is to use a zip program that has a password capability. The free 7-Zip program fits the bill nicely.

If you don't have 7-Zip already, download it from http://www.7-zip.org/download.html and install it. By default, it will modify your File Explorer's Context menu so that when you right-click a file or folder the 7-Zip menu item will appear: (See Figure 1.)

Figure 1. The 7-Zip Context menu.

Near the middle of the rightmost context menu you see the item "Add to Archive." Click this and you'll be presented with the following window: (See Figure 2.)

Figure 2. Preparing to zip your file.

I've circled two important areas in the above figure. The top one shows the folder and name of the zip file that's about to be created. You can change this if you like. The second circled area is where you enter the password for the zipped file. You can either show the password as you type or have it just represented by a mask by clicking the "Show Password" checkbox just below. Once you've entered your password, click OK to create the zip file. Once you've done that, you're returned to File Explorer, where you see your newly created zip file: (See Figure 3.)

Figure 3. File Explorer's view of your zip file.

At this point you should double-click the zip file to ensure your original file is in there, and once that's verified you should delete your original file since it is not password protected.

 This tip (2000) applies to Windows 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Changing File Explorer's Default Startup Location

The File Explorer can start in either of two locations. This tip tells you how to set its default startup location to one ...

Discover More

Importing a Portion of the Registry

Windows wouldn't function if it weren't for the Registry, and many system tweaks involve editing it. If you've exported a ...

Discover More

Using Flip 3D

Flip 3D is an Aero feature that allows you to cycle through your active windows in three dimensions. Because they are ...

Discover More
More WindowsTips

Setting Data Usage Limits

Windows 10 allows you to set Data Usage limits for your computer. This is helpful when your computer has a metered ...

Discover More

Using Reliability Monitor

Reliability Monitor provides some measure of how stable your system is. It does this by noting, over time, various types ...

Discover More

CutePDF Writer

CutePDF Writer is an extremely versatile utility that allows you to create PDF files from virtually any application that ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips