Enable or Disable Automount of New Disks and Drives in Windows  

    Enable or Disable Automount of New Disks and Drives in Windows

    Enable or Disable Automount of New Disks and Drives in Windows

    How to Enable or Disable Automatic Mounting of New Disks and Drives in Windows
    Published by Category: Hardware & Drivers
    03 Dec 2018
    Designer Media Ltd


    How to Enable or Disable Automatic Mounting of New Disks and Drives in Windows


    Automount is enabled by default in Windows. When enabled, Windows automatically mounts the file system for a new volume (disk or drive) when it is added (connected) to the system, and then assigns a drive letter to the volume.

    If you disable automount, it prevents Windows from automatically mounting and assigning drive letters to any new basic volumes (disk or drive) added (connected) to the system.

    Any previously connected disks or drives that have been assigned a drive letter will always continue to be mounted with their former drive letter whenever connected by default, even after disabling automount.

    If you like, you can scrub (Option Four or Option Seven) to remove volume mount point directories and registry settings for volumes that are no longer or currently connected to the system. This will clear all assigned drive letters of any previously connected disks and drives that are currently not connected to your PC. This can be handy if you want to disable automount and also want to prevent any previously connected disks and drives from being automatically mounted and assigned a drive letter when connected again. Mounted devices are stored in the registry key below:

    HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

    This tutorial will show you how to enable or disable the automatic mounting and assigning a drive letter when a new disk or drive is connected (added) in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to enable or disable the automount feature.


     CONTENTS:

    • Option One: Check if Automount is Currently Enabled or Disabled
    • Option Two: Enable Automount using DiskPart > automount Command
    • Option Three: Disable Automount using DiskPart > automount Command
    • Option Four: Remove Drive Letters of Previously Connected Drives and Disks using DiskPart > automount Command
    • Option Five: Enable Automount using mountvol Command
    • Option Six: Disable Automount using mountvol Command
    • Option Seven: Remove Drive Letters of Previously Connected Drives and Disks using mountvol Command
    • Option Eight: Enable or Disable Automount using REG file





    Enable or Disable Automount of New Disks and Drives in Windows OPTION ONE Enable or Disable Automount of New Disks and Drives in Windows
    Check if Automount is Currently Enabled or Disabled

    1. Open an elevated command prompt.

    2. Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3. Type automount into the elevated command prompt, and press Enter.

    4. The command will now return with a Automatic mounting of new volumes enabled or disabled message to let you know the current status.

    5. When finished, you can close the elevated command prompt if you like.

    Name:  diskpart_automount.png
Views: 2301
Size:  16.1 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION TWO Enable or Disable Automount of New Disks and Drives in Windows
    Enable Automount using DiskPart > automount Command

    1. Open an elevated command prompt.

    2. Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3. Type automount enable into the elevated command prompt, and press Enter.

    4. Close the elevated command prompt.

    5. Restart the computer to apply.

    Name:  diskpart_automount_enable.png
Views: 2263
Size:  13.7 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION THREE Enable or Disable Automount of New Disks and Drives in Windows
    Disable Automount using DiskPart > automount Command

    1. Open an elevated command prompt.

    2. Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3. Type automount disable into the elevated command prompt, and press Enter.

    4. If you would like to remove the drive letters (mount points) of all previously connected drives and disks not currently connected, type the automount scrub command from Option Four into the elevated command prompt, and press Enter.

    5. Close the elevated command prompt.

    6. Restart the computer to apply.

    Name:  diskpart_automount_disable.png
Views: 2268
Size:  13.8 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION FOUR Enable or Disable Automount of New Disks and Drives in Windows
    Remove Drive Letters of Previously Connected Drives and Disks using DiskPart > automount Command

    1. Open an elevated command prompt.

    2. Type diskpart into the elevated command prompt, and press Enter. (see screenshot below)

    3. Type automount scrub into the elevated command prompt, and press Enter.

    4. Close the elevated command prompt.

    5. Restart the computer to apply.

    Name:  diskpart_automount_scrub.png
Views: 2277
Size:  16.1 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION FIVE Enable or Disable Automount of New Disks and Drives in Windows
    Enable Automount using mountvol Command

    1. Open an elevated command prompt.

    2. Type mountvol /e into the elevated command prompt, and press Enter. (see screenshot below)

    3. Close the elevated command prompt.

    4. Restart the computer to apply.

    Name:  mountvol_E.png
Views: 2258
Size:  7.8 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION SIX Enable or Disable Automount of New Disks and Drives in Windows
    Disable Automount using mountvol Command

    1. Open an elevated command prompt.

    2. Type mountvol /n into the elevated command prompt, and press Enter. (see screenshot below)

    3. If you would like to remove the drive letters (mount points) of all previously connected drives and disks not currently connected, type the mountvol /r command from Option Seven into the elevated command prompt, and press Enter.

    4. Close the elevated command prompt.

    5. Restart the computer to apply.

    Name:  mountvol_N.png
Views: 2256
Size:  8.0 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION SEVEN Enable or Disable Automount of New Disks and Drives in Windows
    Remove Drive Letters of Previously Connected Drives and Disks using mountvol Command

    1. Open an elevated command prompt.

    2. Type mountvol /r into the elevated command prompt, and press Enter. (see screenshot below)

    3. Close the elevated command prompt.

    4. Restart the computer to apply.

    Name:  mountvol_R.png
Views: 2262
Size:  8.0 KB






    Enable or Disable Automount of New Disks and Drives in Windows OPTION EIGHT Enable or Disable Automount of New Disks and Drives in Windows
    Enable or Disable Automount using REG file


    The downloadable .reg files below will add and modify the DWORD value in the registry key below.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mountmgr

    NoAutoMount DWORD

    0 = Enable
    1 = Disable


    1. Do step 2 (enable) or step 3 (disable) below for what you would like to do.


     2. To Enable Automount

    This is the default setting.

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Enable_automatic_mounting_of_new_volumes.reg

    download


     3. To Disable Automount

    A) Click/tap on the Download button below to download the file below, and go to step 4 below.

    Disable_automatic_mounting_of_new_volumes.reg

    download

    4. Save the .reg file to your desktop.

    5. Double click/tap on the downloaded .reg file to merge it.

    6. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    7. Restart the computer to apply.

    8. If you like, you can now delete the downloaded .reg file.


    That's it,
    Shawn


  1. ThrashZone's Avatar
    Posts : 4,194
    3-Win-7Prox64 2-Win10Prox64
       13 Sep 2018 #1

    Hi,
    Good one another keeper
      My ComputersSystem Spec


  2. Posts : 232
    Microsoft Windows 10 x64
       14 Sep 2018 #2

    thanks for this tuto
      My ComputerSystem Spec

  3.    2 Weeks Ago #3

    Looks like I could really use this useful tip but could I just get some clarification on this first, please? Win 10 Home (1803).

    I have a number of external USB Drives that I connect from time to time but the drive letters assigned keep changing.

    If I disable Automount will the drive letters last used still be assigned to the same drive each time?

    Can you also confirm that all the internal drives I have, which are permanently connected, wont have their drive letter changed?

    Many thanks
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 34,492
    64-bit Windows 10 Pro build 18290
    Thread Starter
       2 Weeks Ago #4

    Hello Sam,

    This will have no affect on your internal drives.

    I can't guarantee that this will stop the USB drives from having their assigned drive letter change, but it won't hurt to test and see.
      My ComputersSystem Spec


  5. Posts : 532
    Windows 10 pro 18.09, Ubuntu 18.04, win 8.1 pro
       2 Weeks Ago #5

    Sam Vimes said: View Post
    ...
    I have a number of external USB Drives that I connect from time to time but the drive letters assigned keep changing.
    ...
    If you have a couple of USB drives, as a simple workaround you could assing a "high letter", like "S" or "R", so that they will not interfere with the system assigned ones wich most often are in the range of "E,F,G ..etc"

    Change and Assign Drive Letter in Windows 10 | Tutorials

    HTH.
      My ComputerSystem Spec

  6.    2 Weeks Ago #6

    Many thanks to both of you for the replies.

    Brink - great job you're doing. I think I'll try Roy111's suggestion first as it is the lower letters that seem to get changed most often. If that doesn't cure it I'll try the Automount option.

    Thanks Again

    PS: The Web is full of people having the same problem but no real fix is apparent. It never used to happen to me pre-Win10. Thank you MS.
      My ComputerSystem Spec

  7.    2 Weeks Ago #7

    When I try to mount a VHDX file encrypted with BitLocker, “false positive” error messages appear (“Not possible to mount the file”, etc.). It seems that these messages appear because Windows is trying to mount an encrypted disk, before it has been unlocked.

    Apparently, disabling automount solves this problem.

    Also, when I insert a UFD encrypted with BitLocker, sometimes File Explorer or the whole system freeze. Maybe the same “solution” applies. I haven´t tried it yet.
      My ComputerSystem Spec

  8.    4 Days Ago #8

    I tried the option to set the USB drives with letters starting at R and they seem to have stayed with these same letters for the last week or so.

    Thanks for the help
      My ComputerSystem Spec


 

Tutorial Categories

Enable or Disable Automount of New Disks and Drives in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
How to Enable or Disable TRIM Support for Solid State Drives (SSD) in Windows 10 The TRIM command is essential to maintain the performance of solid state drives (SSDs) at an optimal level over the lifetime of the drive. TRIM functions by...
AutoPlay lets you choose an action for different kinds of media when you plug in a device or insert media. You can set AutoPlay to open different kinds of content, such as photos, music, and video on different kinds of media, such as drives, CDs,...
Going to build a new machine I look around for a hdd for it. Everywhere they're selling 'expansion' drives and 'backup' and 'portable' drives and their prices are good and reputable manufacturers, I think. All USB devices. It is easy enough...
Okay, so I input my USB drive; it doesn't detect any data and wants to reformat it, I decide to go ahead with it, but it simply says "windows can't format device E:". It does the same thing with my MSI drivers disk... Please help :(
Hello All, Does anyone have an idea of how to prevent the automounting of hard disks / other media (particularly USB drives and SD cards) in Windows 10? It seems that the registry hacks that work in Windows 7 and Windows 8/8.1 do not work in...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:00.
Find Us