Skip to main content


Disable Automount For New USB Devices


Windows has a feature named "Automount", whereby by default, It automatically mounts a file system and assigns a drive letter to any USB device (or otherwise) that's plugged Into the system. A typical example of this, Is when you Insert your USB stick and It's contents are readily available. In this tutorial, I will show you how to disable automount for all new devices, hence the moment they're Inserted, they will not be recognized by the operating system.


Before I begin, I'd like to reiterate that this apples to new devices that have never been used on the system of which this setting Is applied on. Devices that have been previously plugged In, will continue to function as normal.

So what's the purpose of this? Well, you'd obviously consider currently-used devices as trusted, thus I don't see the need to restrict access to these. As such, If someone with malicious Intent has physical access to your computer and wishes to Inject a virus by plugging In a USB stick, the automount feature will not recognize It's file system and consequently, reject the device.

To disable the automount feature, I will be using a native Windows tool named Diskpart, which operates via the Command Prompt. The process Is a lot easier than you'd Imagine, so let's rip Into this tutorial.

Step One:
To access Diskpart, open the Search bar and enter cmd. Then right-click Command Prompt at the top, and select Run as administrator.




Step Two:
Next, type diskpart and hit the Enter key on your keyboard. Diskpart will now be ready to use.



Step Three:
To make sure that automount Is currently enabled, type automount and press Enter. You will then see a message of Automatic mounting of new volumes enabled, meaning every new device plugged In will operate as per normal.



Step Four:
It's now time to disable the automount feature for all new devices. Type automount disable and hit the Enter key. Essentially, from this point forward, every new device that's Inserted Into the system, will not function. The message of Automatic mounting of new volumes disabled, confirms that the setting has taken effect.



Step Five:
To put this to the test, I've plugged In my 2 TB USB external HDD, that was not previously used on my computer. As you can see, I've navigated to Disk Management and my HDD Is listed there, however the drive Icon Is not mounted In Windows Explorer. Ultimately, automount has not assigned a drive letter nor a file system to It, therefore It cannot be accessed.



Last Step:
To reverse all changes, simply type automount enable and hit Enter on your keyboard. Previous and new devices will now function as usual. The Automatic mounting of new volumes enabled message, confirms It.



Final Thoughts:
Although this setting can be disabled with ease by someone with malicious Intent (and Insert the USB stick thereafter), given there's quite a number of methods to prevent USB devices and the like from executing, the user will never know for sure as to what methodology has been applied.

Diskpart Is a powerful tool defaulted to the Windows platform and the good thing about this Implementation, Is that It's not commonly-used or known by the majority of computational users.


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 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. 

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 .