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

Passing Parameters to a PowerShell Script

Like the older batch-file processor, PowerShell can accept parameters. This allows for flexibility in your script. This ...

Discover More

Assigning a Shortcut Key to a Start Menu Item

Reducing the transitions between the keyboard and the mouse is a practice that can improve efficiency. Toward that end, ...

Discover More

Adding Apps using Microsoft Store

Finding apps to help you with your work or relaxation has never been easier thanks to the Microsoft Store. Quickly look ...

Discover More
More WindowsTips

Launchy

Launchy is a small utility that packs a powerful punch. It allows you to instantly find files and launch them without ...

Discover More

WizMouse

WizMouse was developed with one goal in mind: scroll the window under the mouse wheel even if it's not the active window. ...

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
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 eight minus 4?

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


Newest Tips