search
HomeSystem TutorialWindows SeriesHow to Password Protect a Folder on a Shared Hard Drive Windows 10

Since there is no built-in option to protect a folder with password on Windows, usually you may encrypt the whole hard drive with BitLocker to protect your folder. However, if you are using a shared hard drive, you may need to find a way to password protect your specific file instead of encrypting the entire hard drive using BitLocker. Here this article will show you 3 easy ways to password protect a specific folder on Windows 10.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

  • Way 1: Password Protect a Folder on Shared Hard Drive with 7-Zip
  • Way 2: Password Protect a Folder on Shared Hard Drive with iSumsoft FileCarer
  • Way 3: Password Protect a Folder on Shared Hard Drive with Batch File

Password Protect a Folder on a Shared Hard Drive with 7-Zip

7-Zip is open-source archival software that can not only help you zip file but also password protect a zip file. Here you can follow the steps to password protect a folder on a shared hard drive with 7-Zip. Before start, install 7-Zip on your Windows 10.

Step 1: Right-click on the file you want to protect and choose 7-Zip > Add to archive…

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 2: Enter a desired password twice and check the box for Encrypt file names. Then click on OK.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 3: Wait for 7-Zip encrypting your file.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

After encryption, you can not open the file unless you enter the password you have set.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Password Protect a Folder on a Shared Hard Drive with iSumsoft FileCarer

Another easy way to password protect a folder on shared hard drive is using a professional file encryption tool iSumsoft FileCarer. With this powerful tool, you are able to password protect files and folders on Windows 11/10/8/7 without any leakage.

  • Safely encrypt various files such as images, videos, document, etc. with a password.
  • Easily hide folder from being modified and accessed by other users.
  • Permanently delete private folder to prevent from being recovered by software.

Here you can install iSumsoft FileCarer. After installation, run it on your Computer.

Download

Step 1: Select Encrypt feature and click the folder/file icon to choose the data you would like to encrypt.

Step 2: Set a password for your selected files and then hit the Encrypt button.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Once encrypted, your files will be added the .xep extension and you are required to use a file password to decrypt and access the encrypted file.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Password Protect a Folder on a Shared Hard Drive with Batch File

If you don’t want to use software to password protect your folder on Windows, you can choose to lock and hide a folder with password using batch file. Here are the steps.

Step 1: In a new folder, right-click on the blank and create a new text document.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 2: Copy the following command to the new text document.

cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

echo Are you sure u want to Lock the folder(Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

pause

goto CONFIRM

:LOCK

ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass=>"

if NOT %pass%==iSumsoft2022 goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

pause

goto end

:MDLOCKER

md Locker

echo Locker created successfully

pause

goto End

:End

 Then replace iSumsoft2022 in the command with your own password.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 3: Click File tab and choose Save As…

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 4: Set the file name as locker.bat and the file type as All Files. Then click Save.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 5: Double-click on locker.bat and there will be a pop-up Command Window showing you "Locker created successfully". Then press any key to continue and you will see a Locker folder on your new folder.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 6: Add the files you want to protect to the Locker folder.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Step 7: Double-click locker.bat again. When a popping up window appears, type Y and press Enter button. Then the Locker folder will be locked with password and hidden on the shared hard drive..

How to Password Protect a Folder on a Shared Hard Drive Windows 10

To unlock and unhide the password protected folder, double-click locker.bat file and enter a correct password. Then the Locker folder will be visible and accessible again on the drive.

How to Password Protect a Folder on a Shared Hard Drive Windows 10

Then Bottom Line

That's how to password protect a folder on a shared hard drive on Windows 10. Generally, BitLocker is a popular encryption method to protect the entire drive including your folders. Only when you use a shared hard drive that can not be encrypted privately, should you consider using above ways to protect your folder. If you find this article useful, please share it with anyone in need. Thanks for reading.

The above is the detailed content of How to Password Protect a Folder on a Shared Hard Drive Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to Enable the Group Policy Editor in Windows 11 HomeHow to Enable the Group Policy Editor in Windows 11 HomeApr 15, 2025 pm 06:01 PM

Enable the Group Policy Editor (gpedit.msc) on Windows 11 Home: A Step-by-Step Guide Many users, especially in shared office environments, rely on the Group Policy Editor (gpedit.msc) for managing multiple user accounts and preventing unauthorized ac

Windows kb5054979 update information Update content listWindows kb5054979 update information Update content listApr 15, 2025 pm 05:36 PM

KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

Creating an Encrypted Backup Drive That Works on Windows, Mac, and LinuxCreating an Encrypted Backup Drive That Works on Windows, Mac, and LinuxApr 15, 2025 am 06:13 AM

Protecting Your Digital Life: Creating Encrypted Backups with VeraCrypt Our digital lives are brimming with irreplaceable memories, crucial documents, and essential work files. The loss of these due to device failure, theft, or ransomware attacks co

How (and Why) to Turn Off Mouse Acceleration on Windows 11How (and Why) to Turn Off Mouse Acceleration on Windows 11Apr 15, 2025 am 06:06 AM

Improve mouse accuracy: Disable Windows 11 mouse acceleration function The mouse cursor moves too fast on the screen, even if you only move the mouse a few centimeters? This is what the mouse acceleration function is. This article will guide you on how to disable this feature to better control mouse movement. Is it wise to disable mouse acceleration? There is no direct "Mouse Acceleration" option in Windows systems. Instead, it is the "Enhanced Pointer Precision" setting, which Microsoft sees as a mouse acceleration feature. When this feature is enabled, the mouse's DPI (dots per inch) setting takes effect. It controls the relationship between the physical movement speed of the mouse and the distance the cursor moves on the screen. Move the mouse slowly, Windows will reduce the effective DPI and the cursor moves shorter

GPD Duo Laptop Review: Dual-Screen Productivity For Experienced UsersGPD Duo Laptop Review: Dual-Screen Productivity For Experienced UsersApr 15, 2025 am 06:05 AM

The GPD Duo: A Powerful Dual-Screen Laptop Hampered by Software Issues Mobile productivity gets a boost with the GPD Duo's innovative dual-screen design. However, significant software shortcomings prevent it from reaching its full potential. Rating

Razer's Remote Play May Be Better Than Steam LinkRazer's Remote Play May Be Better Than Steam LinkApr 15, 2025 am 06:04 AM

Razer's new remote play app offers a compelling alternative to established services like Steam Link. Integrating seamlessly with Razer Cortex, the app allows users to launch PC games with a single tap. Android users benefit from haptic feedback whe

10 Ways to Customize the Windows 11 Start Menu10 Ways to Customize the Windows 11 Start MenuApr 15, 2025 am 06:02 AM

Customize Your Windows 11 Start Menu: A Comprehensive Guide The Windows 11 Start Menu is your gateway to apps and settings. If the default setup isn't to your liking, personalization options let you tailor it to your needs. This guide explores vari

How to Use Windows 11 as a Bluetooth Audio ReceiverHow to Use Windows 11 as a Bluetooth Audio ReceiverApr 15, 2025 am 03:01 AM

Turn your Windows 11 PC into a Bluetooth speaker and enjoy your favorite music from your phone! This guide shows you how to easily connect your iPhone or Android device to your computer for audio playback. Step 1: Pair Your Bluetooth Device First, pa

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor