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

Using File History

Backing up your data is an important part of computer management. Enabling File History is a painless way to be able to ...

Discover More

Changing Your Screen Saver

Screen savers can be works of art to bring some aesthetics to your computer monitor. This tip tells you how to change ...

Discover More

Understanding the Music Folder

The Music folder is one of several system libraries specifically optimized to hold digital music. This tip tells you ...

Discover More
More WindowsTips

Available RAM Slots

Upgrading the memory on your Windows 10 computer can be helpful in improving sluggishness. Determining the number of ...

Discover More

Use Cmd to Find Your Computer Serial Number

You can access your computer's serial number without looking all over on the outside of the box. Use the Command prompt ...

Discover More

Quickly Format a USB Drive with File Explorer

USB flash drives are a very helpful addition to store and transfer data. Discover how to format a USB drive using File ...

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 two more than 7?

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


Newest Tips