Windows 10: 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
    05 Sep 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 33,093

    Show Printable Version 


    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: 527
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: 515
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: 519
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: 522
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: 514
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: 516
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: 520
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 : 3,839
    3-Win-7Prox64 2-Win10Prox64
       4 Weeks Ago #1

    Hi,
    Good one another keeper
      My ComputersSystem Spec


  2. Posts : 200
    Microsoft Windows 10 x64
       4 Weeks Ago #2

    thanks for this tuto
      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 Xbox Windows 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 11:12.
Find Us