How to easily password-protect Windows 10 Linux folders with Folder Guard

As you probably know, the newest versions of Windows 10 allow one to add a separate Linux operating system to be used directly from Windows. It was possible to access such systems with the command shell for quite a while, but the newest releases of Windows 10 make it possible to browse the Linux files with Windows Explorer, too:

Windows Subsystem for Linux (WSL) can be browsed with File Explorer

(As of this writing, this feature is only available for the Windows Insider users, but it's expected to become available for all users in the next major Windows 10 update.)

While this is a very handy feature, you probably don't want someone getting hold of your PC to mess around with your Linux files that easily. Wouldn't it be nice to protect access to the Linux file system with a password? As usual in such a situation, Folder Guard is to the rescue!

Buy Folder Guard from $39.95

User rating: User rating 4.7/5
Folder Guard is compatible with Windows 10
Try Folder Guard:
Download free trial

How to protect a Windows Linux folder with password

The easiest way to set up a password for the Linux folder is to drag that folder with the mouse and drop it over the Folder Guard application window. Don't do it for the very top level item named Linux, because that's a virtual folder that cannot be protected, but you should be able to do it for the folder representing the Linux distribution (Ubuntu-18.04 in our example below.) If you want to protect a specific subfolder deeper within the Linux file system, you can drag such a folder, too, instead of the root folder of the distribution. Also make sure that the Locked view (the one that contains the list of the password-protected folders) is active within the Folder Guard application. After you've dropped a Linux distribution folder over the Folder Guard window, it should start the usual password protection wizard automatically:

Folder Guard wizard for protecting a Linux folder with a password

Don't be alarmed when you see that the path of the folder to protect starts with \\wsl$: this is the name of the internal virtual network server that Windows creates specifically to offer access to the Linux files via the Windows file system. Press Next to specify the password, and then to select the desired properties for the password (you can find more information about the password options in the User's Guide.) :

Properties for the password to protect a Linux folder

As you can see, setting up a password for a Linux folder is not different from password protecting any other Windows folder. After you've finished the wizard, the Linux folder you've just protected should appear in the Locked view of Folder Guard:

Password protected Linux folder is now listed in Folder Guard application

Press Protect (or Apply) button in Folder Guard toolbar and the protection of the folder should take place after that. Try opening the Linux folder with File Explorer and you should see the familiar Unlock button:

The Linux folder is password protected with Folder Guard

Press the Unlock button, enter the password, and the access to the Linux file system should be granted:

The Linux folder after it has been unlocked with the password protected with Folder Guard

Notice the Lock button that appears in the title bar of File Explorer: just like with other Folder Guard protected folders, you can use this button to lock the folder back after you are done working with the files it contains.

That's all it takes to set up a password for a Linux folder. Keep in mind that such password protection works only when you are trying to access the Linux folders with File Explorer. If you were to use the command shell window, you would NOT see the password prompt:

The Linux folder can be accessed with command shell

Password-protect and hide personal files and folders with Folder Guard Password-protect and hide personal files and folders with Folder Guard for Windows 10,8,7, and XP.

User rating: User rating 4.7/5

Purchase or download a free trial. Read more...

The technical reason for such a behavior is that, unlike File Explorer, the command shell does not use the \\wsl$ server to work with the Linux files, it uses a different mechanism for that. There is a way to protect access for such a method with Folder Guard, too, we plan to discuss it in a separate article.

Happy computing!

If you want to link to this article, you can use this HTML code: <a href="http://www.winability.com/password-protect-windows-linux-folder-guard/">How to password-protect Windows Linux folders with Folder Guard</a>

Read more

Leave a comment

Your email address will not be published. Required fields are marked *

See below before pressing the SUBMIT button!

IMPORTANT! Do not put any URLs in the comment, or it will be rejected. Before submitting, please solve the following simple math problem (so we know that you are not a spambot) :-)

What is eight minus 7 ?
Please enter the answer as a number, 1 through 9:
Please leave these fields as-is: