Mount a drive in a folder

Applies To: Windows 10, Windows 8.1, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

You can use Disk Management to mount (make a drive accessible) in a folder rather than a drive letter if you want. This makes the drive appear as just another folder. You can mount drives only in empty folders on basic or dynamic NTFS volumes.

Mounting a drive in an empty folder

Note

You must be a member of the Backup Operators or Administrators group, at minimum, to complete these steps.

To mount a drive in an empty folder by using the Windows interface

  1. In Disk Manager, right-click the partition or volume that has the folder in which you want to mount the drive.
  2. Click Change Drive Letter and Paths and then click Add.
  3. Click Mount in the following empty NTFS folder.
  4. Type the path to an empty folder on an NTFS volume, or click Browse to locate it.

To mount a drive in an empty folder using a command line

  1. Open a command prompt and type diskpart.

  2. At the DISKPART prompt, type list volume, making note of the volume number you want to assign the path to.

  3. At the DISKPART prompt, type select volume <volumenumber>, specifying the volume number that you want to assign the path to.

  4. At the DISKPART prompt, type assign [mount=<path>].

To remove a mount point

To remove the mount point so that the drive is no longer accessible via a folder:

  1. Select and hold (or right-click) the drive mounted to a folder, and then select Change Drive Letters and Paths.
  2. Select the folder from the list, and then select Remove.
Value Description
list volume Displays a list of basic and dynamic volumes on all disks.
select volume Selects the specified volume, where volumenumber is the volume number, and gives it focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point folder path. On a basic disk, selecting a volume also gives the corresponding partition focus.
assign
  • Assigns a drive letter or mount point folder path to the volume with focus. If no drive letter or mount point folder path is specified, then the next available drive letter is assigned. If the drive letter or mount point folder path is already in use, an error is generated.
  • Using the assign command, you can change the drive letter associated with a removable drive.
  • You cannot assign drive letters to boot volumes, or volumes that contain the paging file. In addition, you cannot assign a drive letter to an Original Equipment Manufacturer (OEM) partition, EFI system partition, or any GPT partition other than a basic data partition.
mount= path Specifies an empty, existing NTFS folder where the mounted drive will reside.

Additional considerations

  • If you are administering a local or remote computer, you can browse NTFS folders on that computer.
  • Mount point folder paths are available only on empty folders on basic or dynamic NTFS volumes.
  • To modify a mount point folder path, remove it, and then create a new folder path using the new location. You cannot modify the mount point folder path directly.
  • When assigning a mount point folder path to a drive, use Event Viewer to check the system log for any Cluster service errors or warnings indicating mount point folder path failures. These errors would be listed as ClusSvc in the Source column and Physical Disk Resource in the Category column.
  • You can also create a mounted drive using the mountvol command.

Additional References