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

Evaluating System Performance Using the Task Manager

One of the many functions of the Windows Task Manager is to allow you to see how your system is performing. If necessary, ...

Discover More

Removing a File Type Program Association

Removing a file type program association is a task for third-party utilities. You can, however, change the association ...

Discover More

Closing an Open Port

On a routine security check, you may discover that a particular port is open that shouldn't be. This tip tells you how to ...

Discover More
More WindowsTips

Process Explorer

Process Explorer is a very well built utility that does a lot, from helping you with performance analysis to finding the ...

Discover More

Dropbox

If you have more than one device and want to easily move files between them, Dropbox is the utility of choice. It ...

Discover More

Scanning and Fixing System Files

Is your system running a bit flakey at times? If you think the culprit might be a problem with some of your system files, ...

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 five more than 8?

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


Newest Tips