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 Windows Defender Offline

Normally Windows Defender is used in an online environment. You can, if desired, also use it offline. This tip describes ...

Discover More

Determining If a Drive Should be Defragmented

Disk fragmentation is one of those things which, if severe, can adversely affect your system's performance. This tip ...

Discover More

Using the ChkDsk Utility

The ChkDsk utility is a nice feature of Windows that lets you keep tabs on the health of your disk drives. This tip tells ...

Discover More
More WindowsTips

Focus On Your Tasks

Distractions can cause unfortunate delays in completing projects and tasks. With Focus Assist you can easily block out ...

Discover More

Getting Started with Continue on PC

In todays on-the-go lifestyle, we tend to have multiple electronic devices. Easily being able to connect our devices can ...

Discover More

Getting Cortana to Listen to You

Talking to your computer can save you time and help get you the information you need faster. With the proper setup you ...

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 3 + 5?

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


Newest Tips