Windows 10: Enable or Disable Automount of New Disks and Drives in Windows

Discus and support Enable or Disable Automount of New Disks and Drives in Windows in Windows 10 Tutorials to solve the problem; How to: 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... Discussion in 'Windows 10 Tutorials' started by Siegfriedm, Aug 3, 2016.

  1. Enable or Disable Automount of New Disks and Drives in Windows


    How to: 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


    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:

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

    *Warning 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




    OPTION ONE [/i] 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.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION TWO [/i] 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.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION THREE [/i] 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 Option Four into the elevated command prompt, and press Enter.

    5. Close the elevated command prompt.

    6. Restart the computer to apply.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION FOUR [/i] 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.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION FIVE [/i] 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.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION SIX [/i] 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 Option Seven into the elevated command prompt, and press Enter.

    4. Close the elevated command prompt.

    5. Restart the computer to apply.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION SEVEN [/i] 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.


    Enable or Disable Automount of New Disks and Drives in Windows [​IMG]






    OPTION EIGHT [/i] Enable or Disable Automount using REG file

    *note 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
    *note 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


    Related Tutorials

    :)
     
    Siegfriedm, Aug 3, 2016
    #1
  2. 9techie Win User

    Check if Automount is Currently Enabled or Disabled

    Hello!

    First let me thank you for this very nice guide.

    My problem: WhenI plug an USB drive in the computer, I want Windows 10 to stay the f... put *Banghead NOT assign a drive leter to it. Right now I've ehausted all of the options I found on Google about disabling volume automount (or disk, partition etc.) in Windows.

    OS specs: Windows 10 Pro x64, ver. 1803, build 17134.648.
    The USB drives I've used: various, FAT32 formatted.

    I've followed the above guide to a T, but no dice: every time I plug an USB drive in the computer, Windows merrily mounts it (and assigns a drive letter to it).

    Current system config, in respect to this issue:
    - ejected and removed all USB drives;
    - checked Automount: diskpart automount = Automatic mounting of new volumes disabled. Registry check: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MountMgr\NoAutoMount=1
    - removed non-present volume drive mappings: diskpart automount scrub = successfuly done. Registry check: HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices - only one value shown: \DosDevices\C: .
    Other things I've done:
    - diskpartsan policy=offlineall . Registry check: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\partmgr\Parameters\SanPolicy=3 . Taken from here: Ondrej Seveceks English Pages

    -restarted the computer after doing the above settings and then plugged the USB drive.

    The only distantly related thing that worked was setting "Write Protect" for removable devices. Of course this does not prevent volume mounting, but at least data cannot be written on the USB drive.
    This is how I did it: diskpartlist disk select disk desired_disk_numberattributes disk set readonly. Verify: attributes disk : "Current Read-only State : Yes" & "Read-only : Yes".

    That's it.
    Thanks fo reading! *Smile
     
    9techie, Oct 27, 2019
    #2
  3. jonathanr Win User
    How to disable automount of drives in Windows 10


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

    To check this, take a look in Computer Management -> Disk Managment. What I want is for the Disk to show up but be listed as Offline (not Online).


    Thanks,
    Jonathan
     
    jonathanr, Oct 27, 2019
    #3
  4. TaurArian Win User

    Enable or Disable Automount of New Disks and Drives in Windows

    Windows 10 does not recognize WD disk

    Occasionally on my win 7 machine, automount gets disabled so I have to re-enable it, see:

    There is no data to display

    When you connect a device to a Windows 10 machine, no drives are mapped in “File Explorer”

    Cause: Automount is disabled on the Windows 10 system.

    Fix:

    • Enter ‘diskpart’ in the “Search the Web and Windows” dialog box.
    • Launch the diskpart command prompt.
    • Enter: ‘automount enable’ on at the diskpart prompt.
     
    TaurArian, Oct 27, 2019
    #4
  5. Roohi_Taj Win User
    Windows 10 will not assign a drive letter when connecting a USB Drive (will not release the drive letter when disconnecting as well)

    Hi CantonVideoMan,

    Thank you for writing to Microsoft Community Forums.

    I appreciate the time you have taken to resolve this issue. I went through the steps you have performed. However, there are some of the steps which can resolve this issue. I would suggest you to follow these steps and let us know
    the results.

    Method 1: Start the service.

    1. Press Windows
      andR key together on your Keyboard.
    2. Type Services.msc
      and hit enter.
    3. Search for Virtual Disk
      service.
    4. Double click on Virtual Disk service, select the startup type as Automatic and click on
      Start to start the service.

    Method 2: Auto mount.

    1. Tap on the Windows key
      on your keyboard.
    2. Type: command prompt
    3. In the search results list, right-click
      Command Prompt, and then click
      Run as Administrator.
    4. When you are prompted by User Account Control, click Continue.
    5. Type the following commands.

      Diskpart

      Automount (This command will tell you, if it is enabled or disabled.)

      Automount enable

      Automount scrub
      (If automount is already enabled, type this command to clear the saved associations of system drive letters.)

      Lastly type: Exit
    6. Restart the computer and plug in the USB now to check external USB drives.

    7. Enable or Disable Automount of New Disks and Drives in Windows c39323ac-df79-4d03-9ae0-70df5b9192f8?upload=true.png

    Let us know if you need further assitsnace regarding this issue, we will be happy to assist you regarding this issue.

    Hope it helps.

    Roohi Taj S

    Microsoft Community - Moderator
     
    Roohi_Taj, Oct 27, 2019
    #5
  6. NavyLCDR Win User
    NavyLCDR, Oct 27, 2019
    #6
Thema:

Enable or Disable Automount of New Disks and Drives in Windows

Loading...
  1. Enable or Disable Automount of New Disks and Drives in Windows - Similar Threads - Enable Disable Automount

  2. How to enable a disk that was disabled

    in Windows 10 Gaming
    How to enable a disk that was disabled: Some time ago I installed a SDD in my Lenovo desktop Win10 and disabled the hard drive, and now want to use that drive to store a backup clone of my system. I don't recall the steps used to perform the disable, but I believe I utilized either disk or device management...
  3. How to enable a disk that was disabled

    in Windows 10 Software and Apps
    How to enable a disk that was disabled: Some time ago I installed a SDD in my Lenovo desktop Win10 and disabled the hard drive, and now want to use that drive to store a backup clone of my system. I don't recall the steps used to perform the disable, but I believe I utilized either disk or device management...
  4. How to enable a disk that was disabled

    in Windows 10 Drivers and Hardware
    How to enable a disk that was disabled: Some time ago I installed a SDD in my Lenovo desktop Win10 and disabled the hard drive, and now want to use that drive to store a backup clone of my system. I don't recall the steps used to perform the disable, but I believe I utilized either disk or device management...
  5. Disable automount of USB stick on boot and on reconnect

    in Windows 10 Gaming
    Disable automount of USB stick on boot and on reconnect: Hello Community,i am having some issues with the automatic mounting of a volume located on an USB stick.I would like to have the volume be inaccessible after connecting the device or on reconnect or after reboot. Only a manual interaction should make the data located on the...
  6. Disable automount of USB stick on boot and on reconnect

    in Windows 10 Software and Apps
    Disable automount of USB stick on boot and on reconnect: Hello Community,i am having some issues with the automatic mounting of a volume located on an USB stick.I would like to have the volume be inaccessible after connecting the device or on reconnect or after reboot. Only a manual interaction should make the data located on the...
  7. Veracrypt automount

    in Windows 10 Software and Apps
    Veracrypt automount: Hey! How do i get veracrypt to automount? i have diffrent passwords, on all my veracrypt drives? 180623
  8. How to enable or disable Auto-Mounting of Drives, Disks, Volumes in Windows

    in Windows 10 News
    How to enable or disable Auto-Mounting of Drives, Disks, Volumes in Windows: [ATTACH] [ATTACH]Whenever a new drive or any storage device is attached to a Windows 10 computer, the Operating System tends to automatically allot at drive letter to it. This is not limited to assigning just a letter, but the OS also [...] This post How to enable or disable...
  9. How to disable automount of drives in Windows 10

    in Windows 10 Drivers and Hardware
    How to disable automount of drives in Windows 10: 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 Windows 10. To check this,...
  10. Enable or Disable Disk Quotas in Windows

    in Windows 10 Tutorials
    Enable or Disable Disk Quotas in Windows: How to: Enable or Disable Disk Quotas in Windows [img] Information file system volumes, allowing administrators to control the amount of data that each user can store on a specific NTFS volume. Administrators can optionally configure the system to log an event when users...

Users found this page by searching for:

  1. nu vot