Skip to main content

Prevent Access To Drives & Partitions

Your PC ("Personal Computer") Is named as such for a very good reason. Apart from utilizing It to navigate around the net, It's basically a storage device for all your personal data- usernames & passwords, family photos, sensitive documents and so forth. And all this Information Is stored on It's hard disk, which means that anyone with physical or remote access, can obtain It. Well, you can prevent anyone from accessing your hard drives and partitions, and I'll show you exactly how It's done.

Sure, you can set a local user account password on your Windows 10 operating system, but this can easily be circumvented within a few minutes. Moreover, what If you've booted your computer and left It unattended for a certain duration, perhaps at work? Or you've clicked on what appeared to be an Innocent link on the net, but unbeknownst to you, an attacker has just gained remote access to your PC?

In this tutorial, I shall demonstrate how to prevent access to either selected hard disk drives, or each and every disk, Inclusive of USB devices such as flash drives and/or external HDDs. To achieve this, I will be using the Group Policy Editor. Do note that the GPE Is only available In Windows 10 Pro, Enterprise and Education editions. So let's begin.

Step One:
To access the Group Policy Editor, open the Run menu, type "gpedit.msc" (no quotes) and hit "OK".

Step Two:
Next, navigate to the following directory:
"User Configuration > Administrative Templates > Windows Components > File Explorer".

On the right pane, double-click on "Prevent access to drives from My Computer".

Step Three:
On the left-hand side, click on the "Enabled" radio button, and you will see a list of drives In the drop-down menu. For the purpose of this guide, I will prevent access to my C Drive by selecting "Restrict C drive only". Click "OK" for the change to take effect.

Step Four:
I've now attempted to access my operating system (C Drive), however the following message was received, which Is exactly what I wanted.

Step Five:
But what about the other drives, partitions and removable media? Go back to Step Three above, and this time select "Restrict all drives". Don't forget to click "OK".

Last Step:
I've now tried to view the contents In both my partition and USB flash drive, to no avail. Awesome results! To go back to It's previous state, simply select the "Not Configured" radio button In the above step.

Final Thoughts:
There are countless methods to restrict access to your disk drives and partitions, such as encrypting with BitLocker and setting a password thereafter, but If you're looking for a quick and easy way, this will serve your needs very well Indeed. The good thing about the Group Policy Editor, Is that the changes take effect Immediately, without the need to reboot your PC.


Popular posts from this blog

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Open The Command Prompt In Any Directory

A very powerful tool native to the Windows platform, Is the Command Prompt that allows users to perform an array of tasks, such as renaming and deleting files & folders, formatting disks and the list goes on. Sometimes, you need to navigate to certain directories by executing commands, which can be a lengthy and somewhat frustrating process. As such, In this tutorial, I will show you how to easily open the Command Prompt In any directory/folder of your choice.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.