Windows монтирование диска в папку

Windows 10 mount drive on empty folder

Windows 10 mount drive on empty folder
(Image credit: Mauro Huculak)

On Windows 10, when your hard drive starts running out of space, the usual solution is to add another drive. While this works, over time, you could end up with a cluttered list of drives, making data management less efficient.

Instead of relying on solutions like Storage Spaces or RAID (Redundant Array of Independent Disks) to merge multiple drives into a single volume, Windows 10 offers a simpler, more organized alternative, which includes mounting a hard drive to a folder instead of assigning it a drive letter. This method not only reduces the number of drive letters but also improves storage organization.

This approach is especially useful when sharing a folder over a network and running low on space. Rather than creating a new network share, you can mount an additional hard drive within the existing shared folder, instantly expanding its storage without disrupting access.

In this how-to guide, I’ll explain two ways to mount a hard drive as a folder on your device using the Disk Management console.

Recent updates

These instructions has been updated to ensure accuracy and reflect changes to the process in the operating system.

How to assign folder path mount-point to drive with data on Windows 10

To mount a drive with data as a folder with Disk Management, use these steps:

  1. Open File Explorer.
  2. Open the folder location where you want the mount point to appear.
  3. Click the New folder button on the «Home» tab.
  4. Confirm a name for the folder, such as «StoragePool.»

Create folder on Windows 10

(Image credit: Mauro Huculak)
  1. Open the newly created folder.
  2. Click the New folder button on the «Home» tab to create a folder to mount the drive, such as HardDrive1.

Windows 10 mount-folder path

(Image credit: Mauro Huculak)
  1. (Optional) Repeat step 6 to create an additional folder depending on the number of hard drives you want to mount as folders.
  2. Open Start.
  3. Search for Disk Management and click the top result to open the console.
  4. Right-click the drive you want to mount and select the «Change Drive Letter and Paths» option.

Change drive letter and paths option

(Image credit: Mauro Huculak)
  1. Click the Add button.

Windows 10 add path option

(Image credit: Mauro Huculak)
  1. Select the «Mount in the following empty NTFS folder» option.
  2. Click the Browse button.

Windows 10 browse mount point

(Image credit: Mauro Huculak)
  1. Select the folder you created on step 6.

Select folder drive mount-point

(Image credit: Mauro Huculak)
  1. Click the OK button.
  2. Click the OK button again.
  3. (Optional) Right-click the drive again and select the «Change Drive Letter and Paths» option.

Change drive letter and paths option

(Image credit: Mauro Huculak)
  1. Select the current drive letter (not the mount point).
  2. Click the Remove button.

Windows 10 remove drive letter

(Image credit: Mauro Huculak)
  1. Click the Yes button.

Once you complete the steps, the secondary hard drive will now be accessible from the folder location you created.

How to assign folder path mount-point to drive without data on Windows 10

To mount an empty drive as a folder with Disk Management, use these steps:

All the latest news, reviews, and guides for Windows and Xbox diehards.

  1. Open File Explorer.
  2. Open the folder location where you want the mount point to appear.
  3. Click the New folder button on the «Home» tab.
  4. Confirm a name for the folder, such as StoragePool.

Create folder on Windows 10

(Image credit: Mauro Huculak)
  1. Open the newly created folder.
  2. Click the New folder button on the «Home» tab to create a folder to mount the drive, such as HardDrive1.

Windows 10 mount-folder path

(Image credit: Mauro Huculak)
  1. (Optional) Repeat step 6 to create an additional folder depending on the number of hard drives you want to mount as folders.
  2. Open Start.
  3. Search for Disk Management and click the top result to open the console.
  4. Right-click the empty drive you want to mount as a folder and select the «New Simple Volume» option.

Create new simple volume

(Image credit: Mauro Huculak)
  1. Click the Next button.
  2. Click the Next button again.
  3. Select the «Mount in the following empty NTFS folder» option.

Disk Management mount in the following empty NTFS folder option

(Image credit: Mauro Huculak)
  1. Click the Browse button.
  2. Select the folder you created in step 6.

Disk Management wizard select drive path

(Image credit: Mauro Huculak)
  1. Click the OK button.
  2. Click the Next button again.
  3. Select the «Format this volume with the following settings» option.
  4. Use the default settings for «file system,» «allocation unit size,» and «volume label» options.
  5. Check the «Perform a quick format» option.

Disk Management drive format settings

(Image credit: Mauro Huculak)
  1. Click the Next button.
  2. Click the Finish button.

After you complete the steps, the new drive will be formatted and mounted as a folder from the specified folder.

When using this solution, each drive will continue to work independently without redundancy, which means that if a drive fails, you will lose the data on that drive but not on the others. If you have important data, it is always recommended to periodically create a backup.

More resources

Find in-depth guides, troubleshooting tips, and the latest updates on Windows 11 and 10 here:

  • Windows 11 on Windows Central — All you need to know
  • Windows 10 on Windows Central — All you need to know

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

  • To mount a drive as a folder on Windows 11, open Settings > System > Storage > Disks & volumes, click “Properties” for the drive, click “Add,” and choose the folder mount point.
  • You can perform this configuration for a drive that is already formatted or through the partition wizard. 
  • Alternatively, you can mount a drive to a folder from Disk Management or Command Prompt (the same steps will work on PowerShell). 

On Windows 11 (and 10, including older versions), it’s possible to mount a drive as a folder, and in this guide, I will explain how to complete this configuration.

If you have a computer with multiple drives or partitions, instead of assigning a drive letter to each storage, you can mount it as a folder within another location on your system. This approach can be useful for organizing your storage or accessing data in a specific way without using a lot of letter assignments.

Regardless of the reason, Windows offers different ways to mount a drive as a folder through the Disk Management tool and Command Prompt. On Windows 11, you can also use the “Disks & volumes” settings to perform this configuration.

In this guide, I will explain the different ways to mount a drive as a folder on Windows 11 as well as on Windows 10. You can also refer to these instructions on older versions of the operating system, including Windows 8.1, Windows 7, and older.

  • How to mount a drive as a folder from Settings app
  • How to mount a drive as a folder from Disk Management
  • How to mount a drive as a folder from Command Prompt

How to mount a drive as a folder from Settings app

On Windows 11 (and higher releases), you can mount a drive as a folder in at least two ways from the “Disks & volumes” experience from the Settings app.

From formatted drive with data

To mount a hard drive as a folder on Windows 11 from the Settings app, use these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Storage page.

  4. Click “Advanced storage settings” under the “Storage management” section.

  5. Click the “Disks & volumes” setting.

    Disks & volumes

  6. Click on the hard drive with the partition to mount.

  7. Click the Properties button.

    Disks & volumes open partition properties

  8. Click the Add button for the “Paths” settings.

    Add path to partition

  9. Click the Browse button.

    Settings mount drive as folder

  10. Open the empty folder to mount the drive.

    Quick tip: Windows 11 offers multiple ways to create a new folder through File Explorer, Command Prompt, and PowerShell.

  11. Click the Select Folder button.

  12. Click the OK button.

From new drive without data

To mount a new partition as a folder from the Settings app, use these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Storage page.

  4. Click “Advanced storage settings” under the “Storage management” section.

  5. Click the “Disks & volumes” setting.

    Disks & volumes

  6. Click on the hard drive with the partition to mount.

  7. Choose the “Create Simple Volume” option for unallocated space.

    Create Simple Volume

  8. (Optional) Choose the “None” option for the “Drive Letter” setting.

  9. Select the appropriate settings for the new volume (as applicable).

  10. Open the Advanced settings.

  11. Click the Browse button.

    Create partition and mount to folder

  12. Open the empty folder to mount the drive.

  13. Click the Select Folder button.

  14. Click the Format button.

Once you complete the steps, the storage will appear as another folder in File Explorer. Using this approach, you can still assign a drive letter to a partition, but it’s not required since you can access the storage from the mount point.

If you want to remove the folder mount point, open Settings > System > Storage > Disks & volumes, click “Properties” for the drive, click on the mount point, and click the “Remove” button.

How to mount a drive as a folder from Disk Management

The Disk Management tool is available for both Windows 11 and 10 (and even for older versions), and it allows you to mount a hard drive as a folder similar to the “Disks & volumes” settings.

From formatted drive with data

To mount a drive as a folder from the Disk Management tool, use these steps:

  1. Open Start.

  2. Search for Create and format hard disk and click on the top result to open the Disk Management tool.

  3. Right-click the volume to mount as a folder and choose the “Change Drive Letter and Paths” option.

    Change Drive Letter and Paths

  4. Select the current drive letter.

    Quick note: The Disk Management tool doesn’t allow the mounting of a drive as a folder when a drive letter has already been assigned. As a result, you will have to remove the drive letter before mounting the storage as a folder.

  5. Click the Remove button.

    Disk Management remove drive letter

  6. Click the Yes button.

  7. Right-click the volume to mount as a folder and choose the “Change Drive Letter and Paths” option.

  8. Click the Add button.

  9. Choose the “Mount in the following empty NTFS folder” option.

    Mount in the following empty NTFS folder

  10. Click the Browse button.

  11. Select the empty folder to mount the drive.

  12. Click the OK button.

  13. Click the OK button again.

From new drive without data

To mount a new partition as a folder from the Disk Management app, use these steps:

  1. Open Start.

  2. Search for Create and format hard disk and click on the top result to open the Disk Management tool.

  3. Right-click the Unallocated space for the drive to mount as a folder and choose the “New Simple Volume” option.

    New Simple Volume

  4. Click the Next button.

  5. Choose the volume size in megabytes.

    Volume size in megabytes

  6. Click the Next button.

  7. Choose the “Mount in the following empty NTFS folder” option.

    Mount in the following empty NTFS folder

  8. Click the Browse button.

  9. Select the empty folder to mount the drive.

  10. Click the OK button.

  11. Click the Next button.

  12. Select the appropriate settings for the new volume (as applicable).

    Disk Management format settings

  13. Click the Next button.

  14. Click the Finish button.

After you complete the steps, the storage should now be accessible from the folder location you specified in the wizard.

If you want to remove the folder mount point, open Disk Management, right-click the volume to mount as a folder, choose the “Change Drive Letter and Paths” option, select the current folder mount point, and click the “Remove” button.

How to mount a drive as a folder from Command Prompt

On Windows 11, 10, and older versions, you can also use Command Prompt to mount a hard drive as a folder.

From formatted drive with data

To mount a drive as a folder from Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to start diskpart and press Enter:

    diskpart
  4. Type the following command to view the available volumes and press Enter:

    list volume
  5. Type the following command to select the volume to mount as a folder and press Enter:

    select volume 1

    In the command, change “1” for the number of volumes to mount.

  6. Type the following command to mount a hard drive as a folder and press Enter:

    assign mount=C:\MyDriveFolder

    In the command, change C:\MyDriveFolder for the path to the folder mount point.

    diskpart mount formatted drive to folder

If you want to remove the mount point to a folder, you can use the same instructions, but in step 6, run the remove mount=C:\MyDriveFolder command. You can also assign a new drive letter to the partition on Windows 11 if you want to access the storage.

From new drive without data

To mount a new partition as a folder from Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to start diskpart and press Enter:

    diskpart
  4. Type the following command to view the available drives and press Enter:

    list disk
  5. Type the following command to select a disk and press Enter:

    select disk 0

    In the command, change “0” to the disk number you want to partition.

  6. Type the following command to create a primary partition and press Enter:

    create partition primary

    diskpart create partition primary

  7. (Optional) Type the following command to view the available volumes and press Enter:

    list volume
  8. Type the following command to format the partition with the NTFS file system and press Enter:

    format fs=ntfs quick
  9. Type the following command to mount a hard drive as a folder and press Enter:

    assign mount=C:\MyDriveFolder

    In the command, change C:\MyDriveFolder for the path to the folder mount point.

    diskpart mount drive as folder

Once you complete the steps, the hard drive will be accessible from the folder mount point you assigned in Command Prompt.

If you want to remove the mount point to a folder, follow the “From formatted drive” instructions, but in step 6, run the remove mount=C:\MyDriveFolder command.

This process won’t delete the data already on the partition when assigning a mount point or changing the drive letter. However, it’ll break the connection to any app installation hosted in that particular storage, but usually, this is not the case as apps are typically installed on the main system hard drive.

Drive_mount_banner.png

This tutorial will show you how to add (assign) or remove (unassign) mount point folder paths for a drive or volume in Windows 10 and Windows 11.

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

When you mount an internal or external drive in an empty folder, you will be able to access the contents of the drive from the path of the folder. The contents of the drive will still physically be located on the drive. Anything you save into this folder will actually be saved to the drive.

You can mount a drive or volume with or without a drive letter as an empty folder.

You can use this folder’s path to save, copy, move, etc… to the drive.

Reference:

You can mount drives only in empty folders on basic or dynamic NTFS volumes.

If you mount an external or removable drive in a folder and disconnect the drive, the folder will not open until the drive is connected again.

Contents

  • Option One: Mount or Unmount Drive to a Folder in Settings
  • Option Two: Mount Drive to a Folder in Windows Terminal
  • Option Three: Mount Unallocated Drive without Drive Letter to a Folder in Disk Management
  • Option Four: Mount Drive with or without Drive Letter to a Folder in Disk Management
  • Option Five: Unmount Drive from Folder in Disk Management
  • Option Six: Unmount Drive from Folder by Deleting Folder

Option One

Mount or Unmount Drive to a Folder in Settings

This option is only available in Windows 11.

1 Open Settings (Win+I).

2 Click/tap on System on the left side, and click/tap on Storage on the right side. (see screenshot below)

Mount_drive_in_folder_in_Settings-1.png

3 Click/tap on Advanced storage settings to expand it open, and click/tap on Disks & volumes. (see screenshot below)

Mount_drive_in_folder_in_Settings-2.png

4 Click/tap on Properties for the drive (partition or volume) you want to add or remove mount point folder paths for. (see screenshot below)

Mount_drive_in_folder_in_Settings-3.png

5 Do step 6 (add) or step 7 (remove) below for what you want.

6 Add Mount Point Folder Path to Drive

A) Click/tap on the Add button under Paths. (see screenshot below)​

Mount_drive_in_folder_in_Settings-4.png

B) Perform the following steps: (see screenshots below)​

  1. Click/tap on Browse.
  2. Navigate to and select or create an empty folder you want.
  3. Click/tap on Select Folder.
  4. Click/tap on OK.

Mount_drive_in_folder_in_Settings-5a.png

Mount_drive_in_folder_in_Settings-5b.png

C) Go to step 8.​

7 Remove Mount Point Folder Path from Drive

A) Click/tap on the path you want to remove to expand it open. (see screenshot below)​

B) Click/tap on Remove, and go to step 8.​

Mount_drive_in_folder_in_Settings-6.png

8 When finished, you can close Settings if you like.

Option Two

Mount Drive to a Folder in Windows Terminal

You must be signed in as an administrator to use this option.

1 Open Windows Terminal (Admin), and select either Windows PowerShell or Command Prompt.

2 Copy and paste diskpart into Windows Terminal (Admin), and press Enter. (see screenshot below)

3 Copy and paste list volume into Windows Terminal (Admin), and press Enter.

4 Make note of the volume number (ex: «2») of the drive you want to mount to a folder.

5 Type the command below into Windows Terminal (Admin), and press Enter.

select volume ###

Substitute ### in the command above with the actual volume number (ex: «2») of the drive you want to mount to an empty folder from step 4.

For example: select volume 2

6 Type the command below into Windows Terminal (Admin), and press Enter.

assign mount="Full path of empty folder"

Substitute Full path of empty folder in the command above with the actual full path (ex: «C:\Users\Brink\Desktop\My mounted drive») of the empty folder you want to mount the drive to.

For example: assign mount="C:\Users\Brink\Desktop\My mounted drive"

7 You can now close Windows Terminal (Admin) if you like.

Mount_drive_in_folder_command.png

Option Three

Mount Unallocated Drive without Drive Letter to a Folder in Disk Management

1 Open Disk Management (diskmgmt.msc).

2 Right click or press and hold on the unallocated drive you want to mount to a folder, and click/tap on the New Simple Volume. (see screenshot below)

Mount_unallocated_drive_in_folder_with_Disk_Management-1.png

3 Click/tap on Next. (see screenshot below)

Mount_unallocated_drive_in_folder_with_Disk_Management-2.png

4 Click/tap on Next. (see screenshot below)

Mount_unallocated_drive_in_folder_with_Disk_Management-3.png

5 Perform the following steps: (see screenshots below)

  1. Select (dot) Mount in the following empty NTFS folder.
  2. Click/tap on the Browse button.
  3. Navigate to and select the empty folder you want to mount the drive to.
  4. Click/tap on OK.
  5. Click/tap on Next.

Mount_unallocated_drive_in_folder_with_Disk_Management-4.png

6 Type a name (volume label) you want for the drive, and click/tap on Next. (see screenshot below)

Mount_unallocated_drive_in_folder_with_Disk_Management-5.png

7 Click/tap on Finish. (see screenshot below)

Mount_unallocated_drive_in_folder_with_Disk_Management-6.png

9 You can now close Disk Management if you like.

Option Four

Mount Drive with or without Drive Letter to a Folder in Disk Management

1 Open Disk Management (diskmgmt.msc).

2 Right click or press and hold on the unallocated drive you want to mount to a folder, and click/tap on the Change Drive Letter and Paths. (see screenshot below)

Mount_drive_in_folder_with_Disk_Management-1.png

3 Click/tap on Add. (see screenshot below)

Mount_drive_in_folder_with_Disk_Management-2.png

4 Perform the following steps: (see screenshots below)

  1. Select (dot) Mount in the following empty NTFS folder.
  2. Click/tap on the Browse button.
  3. Navigate to and select the empty folder you want to mount the drive to.
  4. Click/tap on OK.
  5. Click/tap on Ok.

Mount_drive_in_folder_with_Disk_Management-3.png

5 You can now close Disk Management if you like.

Option Five

Unmount Drive from Folder in Disk Management

This will not delete the contents on the drive.

1 Open Disk Management (diskmgmt.msc).

2 Right click or press and hold on the unallocated drive you want to unmount from a folder, and click/tap on the Change Drive Letter and Paths. (see screenshot below)

Unmount_drive_in_folder_with_Disk_Management-1.png

3 Select the mount point folder path you want to remove, and click/tap on Remove. (see screenshot below)

Unmount_drive_in_folder_with_Disk_Management-2.png

4 Click/tap on Yes to confirm. (see screenshot below)

Unmount_drive_in_folder_with_Disk_Management-3.png

5 You can now close Disk Management if you like.

Option Six

Unmount Drive from Folder by Deleting Folder

This will not delete the contents on the drive.

1 Delete the folder mounted by a drive.

2 Empty the Recycle Bin to permanently delete this mount point folder path.

That’s it,
Shawn Brink

Одной из особенностей Windows 10 является возможность создания виртуального диска из папки. Это добавляет новый жесткий диск в папку «Этот компьютер». При открытии диска в Проводнике будет показано содержимое исходной папки.

Создать диск из папки можно сделать с помощью встроенной команды subst. Она связывает путь с буквой диска. При использовании команды без параметров subst отображает буквы виртуальных дисков, которые вы уже создали с помощью инструмента.

Инструмент subst не является эксклюзивной функцией Windows 10. Он был впервые представлен в DOS и включен в каждую версию Windows. Диски, созданные с использованием subst, остаются доступными во время сеанса пользователя или до тех пор, пока вы не отключите виртуальный диск вручную. Перезапуск, выключение компьютера или выход из учетной записи пользователя приведет к полному отключению виртуальных дисков, и вам потребуется заново создать их, чтобы использовать их снова.

Чтобы создать виртуальный диск из папки в Windows 10,

Шаг 1: Откройте новый экземпляр командной строки или PowerShell от имени Администратора.

Шаг 2: Введите следующую команду: subst <диск:> path\путь\к папке

Шаг 3: Замените часть <диск:> буквой, которую вы хотите назначить виртуальному диску. Буква не должна использоваться никаким реальным или виртуальным диском, включая съемные устройства, подключенные к вашему ПК.

создать виртуальный диск из папки в Windows 10,

Шаг 4: Замените путь к папке \путь\к папке полным путем к исходной папке, которую вы хотите смонтировать как диск, я использую папку Files которая находится на диске D.

Шаг 5: Теперь откройте проводник и откройте папку «Этот компьютер». Вы увидите новый диск там.

виртуальные диски, созданные с помощью Subst

С помощью subst вы можете быстро найти виртуальные диски, доступные в текущем сеансе пользователя.

Найти виртуальные диски, созданные с помощью Subst.

Шаг 1: Откройте новую командную строку.

Шаг 2: Введите subst без параметров и нажмите клавишу Enter.

Найти виртуальные диски, созданные с помощью Subst

В выводе вы увидите список виртуальных дисков, созданных с помощью subst.

Все!

Как удалить диск, созданный с помощью subst.

Шаг 1: Откройте новую командную строку.

Шаг 2: Введите следующую команду: subst <диск:> /D

Как удалить диск, созданный с помощью subst.

Замените  часть <диск:> фактической буквой виртуального диска, который вы хотите удалить.

Шаг 3: Нажмите клавишу Enter. Диск удален.

Совет: Windows 10 можно подключить к виртуальному диску каждый раз, когда вы входите в свою учетную запись. Это может быть полезно, если у вас есть программное обеспечение, которое ищет файлы в некоем жестком месте, которое недоступно на вашем ПК. Вот как.

Создание виртуального диска с Subst при запуске Windows 10

Шаг 1: Создайте новый .BAT файл со следующим содержимым: @subst F: d:\Data\Files

Автоматически создать виртуальный диск из папки в Windows 10.

Шаг 2: Исправьте букву диска и путь к папке в соответствии с вашими требованиями.

Шаг 3: Нажмите Win + R, чтобы открыть диалоговое окно «Выполнить».

папка автозагрузки

Шаг 4: Введите следующие командe:  shell:Startup

Шаг 5: Это откроет папку автозагрузки. Переместите созданный пакетный файл туда.

Каждый раз, когда вы входите в Windows 10, Будет создан виртуальный диск из указанной папки и назначена ему соответствующая буква диска.

Как добавить команду «Создать диск из папки» в контекстное меню Проводника

Шаг 1: Откройте текстовый редактор «Блокнот»

Шаг 2: Скопируйте и вставьте в него следующие строки:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Mount R\command]
@=»subst r: \»%1\»»

Шаг 3: Сохраните его с расширением *.reg

Как добавить команду «Создать диск из папки» в контекстное меню Проводника

Шаг 4: Запустите созданный файл выполнив слияние, подтвердите запрос системы на внесение изменений в реестр. Все, Теперь откройте проводник кликните правой кнопкой мыши на папку из которой будет создан виртуальный диск и выберите в контекстном меню «Mount R».

Как добавить команду «Создать диск из папки» в контекстное меню Проводника

Перейдите в «Этот компьютер» Здесь вы найдете созданный диск. Все!

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Как узнать x64 или x86 windows 10
  • Easy context menu для windows 11
  • Команда удалить каталог windows
  • Windows movie maker windows media
  • Exif viewer for windows