Skip to main content


Disable Access To USB Devices


Nowadays, USB devices such as a flash drive, external hard disk, USB keyboard etc are used almost on a daily basis. It's definitely the case with myself, namely performing backups to my external HDD. Whilst they serve their purpose well for legit reasons, anyone with malicious Intent who has physical access to your PC, can Inject a payload by simply plugging In the device. In this tutorial, I will demonstrate how to prevent access to all USB ports on your computer, thus any USB device that's plugged In, will not function.




To achieve this, I will be using the Group Policy Editor, which Is native to Windows 10 Pro, Enterprise and Education editions. If you do not have either of these Installed, upgrade your OS at your earliest convenience.

Essentially, after applying this setting, any USB device that's plugged Into your PC, will be rejected by the operating system. Pretty cool, yes? So let's see how this Is done with the following guide.

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



Step Two:
Next, navigate to the following directory:
"Computer Configuration > Administrative Templates > System > Removable Storage Access".

Then on the right pane, double-click:
"Removable Disks: Deny read access".




Step Three:
On the left of the window, click the "Enabled" radio button and to finalize the process, simply hit "OK".



Last Step:
Now to put this to the test. Here's what happened when I plugged In my USB flash drive and attempted to open It. As you can see, access Is denied.



Final Thoughts:
To reverse the change, go back to Step Three above, and select the "Not Configured" radio button. The good thing about this tweak, Is that It's very easy to apply and unlike the Windows Registry, a reboot Is not required for changes to take effect.

Be careful though- If you have a USB mouse whilst applying the tweak and for one reason or another, solely rely on that to perform your tasks, It'll disable It's functionality altogether. And If that's your only means to navigate on your PC by way of clicking files, folders, options and settings, well, you'll be locked out of performing such tasks!



Comments

Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key, that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Rename Any Power Plan In Windows 10

In terms of managing and controlling the way your computer utilizes power during It's computing operations, Windows has built-In power plans, that are basically a collection of hardware and system settings. By default, there are three In total, namely Balanced, Power Saver and High Performance. Whilst you can change the plan Itself, there's no option to do the same with It's name, hence In this tutorial, I will show you how to rename any power plan In Windows 10.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.