Add drive letter windows 10

Change a drive letter

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

If you don’t like the drive letter assigned to a drive, or if you’ve got a drive that doesn’t yet have a drive letter, you can use Disk Management to change it. To instead to mount the drive in an empty folder so that it appears as just another folder, see Mount a drive in a folder.

If you change the drive letter of a drive where Windows or apps are installed, apps might have trouble running or finding that drive. For this reason we suggest that you don’t change the drive letter of a drive on which Windows or apps are installed.

Here’s how to change the drive letter:

Open Disk Management with administrator permissions. To do so, select and hold (or right-click) the Start button, and then select Disk Management.

In Disk Management, select and hold (or right-click) the volume for which you want to change or add a drive letter, and then select Change Drive Letter and Paths.

If you don’t see the Change Drive Letter and Paths option or it’s grayed out, it’s possible the volume isn’t ready to receive a drive letter, which can be the case if the drive is unallocated and needs to be initialized. Or, maybe it’s not meant to be accessed, which is the case of EFI system partitions and recovery partitions. If you’ve confirmed that you have a formatted volume with a drive letter that you can access and you still can’t change it, unfortunately this topic probably can’t help you, so we suggest contacting Microsoft or the manufacturer of your PC for more help.

To change the drive letter, select Change. To add a drive letter if the drive doesn’t already have one, select Add.

Select the new drive letter, select OK, and then select Yes when prompted about how programs that rely on the drive letter might not run correctly.

Источник статьи: http://docs.microsoft.com/en-us/windows-server/storage/disk-management/change-a-drive-letter

How to Change Drive Letter in Windows 10

By default, Windows 10 automatically assigns drive letters to connected drives, including internal and external drives. You might want to change these letters. Here is how it can be done.

Windows 10 assigns an available drive letter to a new drive connected to the computer. The operating system goes through the alphabet from A to Z to find the first available letter to assign it to various drives. Historically, it reserves the drive letters A and B for floppy drives.

Modern Windows versions assign the C letter to the system partition which Windows is installed on. Even in a dual-boot configuration, Windows 10 displays its own system partition as C:.

Changing drive letters will allow re-arranging drives in the This PC folder. This can be useful after you add an extra drive or create a new partition. For example, you might want to change its drive letter to display it before the DVD drive. Also, when you change the drive letter of a USB drive, it will be assigned permanently. Often Windows 10 randomly changes the drive letter for external drives when you connect them, so this way you can make this process more predictable.

There are a number of methods you can use to change the drive letter of a drive in Windows 10. Let’s review them.

To change the drive letter in Windows 10, do the following.

  1. Press the Win + X keys together.
  2. In the menu, select Disk Management.
  3. In Disk Management, right-click on the partition whose drive letter you would like to change. Select Change Drive Letter and Paths in the context menu.
  4. In the next dialog, click on the Change. button.
  5. Select Assign the following drive letter and choose the desired letter in the drop down list. Confirm the change.

You are done. The drive will appear in File Explorer under the letter you’ve chosen.

Change the drive letter in the command prompt

  1. Open an elevated command prompt.
  2. Type diskpart .
  3. Type list volume to see all drives and their partitions.
  4. Look at the ### column in the output. You need to use its value with the command select volume NUMBER . Substitute the NUMBER portion with the actual partition number for which you want to change the drive letter.
  5. Type the command assign letter=X to change the drive letter. Substitute the X portion with a desired letter. Note: If the new drive letter you are trying to use is not available, you will get an appropriate error message.

Change the drive letter in PowerShell

  1. Open an elevated PowerShell instance.
  2. Type Get-Partition to see the list of your partitions.
  3. Note the drive letter and type the next command:

For example, the command can look as follows:

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

About Sergey Tkachenko

Sergey Tkachenko is a software developer from Russia who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

1 thought on “ How to Change Drive Letter in Windows 10 ”

Really thank you
this steps very helpful

Источник статьи: http://winaero.com/change-drive-letter-windows-10/

How to Assign and Remove Drive Letter with Diskpart in Windows 10, 8, 7?

This post will demonstrate 2 tools for assigning a drive letter in Windows 10,8,7. You can change drive letter with Windows Diskpart or a users-friendly software — AOMEI Partition Assistant.

By Cherry / Last Updated October 23, 2020

Windows OS users know that they have two amazing tools for managing the disks and partitions—Disk Management and Diskpart. The Disk Management tool in Windows gives you an easy-to-use graphical interface which can manage disk only with mouse-clicking. While Diskpart is a tool that you can manage your disk or partition on the command prompt quickly. To assign letter to drive, you can use both Disk Management and Diskpart. If you want to change the drive letter quickly, the Diskpart utility makes it easy.

Assign drive letter with CMD

To assign, change, or remove a drive letter, you can use the Windows interface of Disk Management, or use the command line on the prompt of Diskpart. Diskpart is a built-in tool that you can use to manage your hard drive, like format disk partition, create partition, delete partition, etc. well, how to assign drive letter with Diskpart?

Step 1. To use a command line, you need to open the command line first. Click Start, type “cmd” at the search box and right click the program, select “Run as Administrator”, or press “WIN+R”, type “cmd” and press Enter. Then, type “diskpart” to start.

Step 2. Type list volume and press Enter. Here you should know the number of the simple volume whose drive letter you want to assign, change, or remove.

Step 3. Select volume n and press Enter. Here you can select the volume whose drive letter you want to assign, change, or remove.

Step 4. Then, if you want to assign or change the drive letter, type “assign letter=R”.

If you want to remove the drive letter, type “remove letter=R”.

Therefore, you have already assign, change, or remove a drive letter. And you can type list volume to see the details.

Actually, you may assign drive letter when you create a new one. For that, you need to create partition first. After create partition, type “assign letter=?” to that partition. Or, if there is some volume hidden, it will not have the drive letter, to unhide it, you need to assign a drive letter for it. Thus, Diskpart may have a little bit complex. Fortunately, there is another easier and simpler way, which could save a lot of steps.

Easier to Assign drive letter with AOMEI Partition Assistant

AOMEI Partition Assistant is a great powerful partition manager which you assign drive letter with easy-to-use graphical interface. Since AOMEI Partition Assistant 5.8 Edition released, it added the partassist.exe utility, which you can use it to manage disk and partition with command line. To assign drive letter with partassit.exe, here are the steps you can follow.

Secure Download

Step 1. Install AOMEI Partition Assistant to your computer. Open the command prompt by clicking Start, typing “cmd”, and right-clicking the program, then selecting “Run as Administrator”, or pressing “WIN+R”, typing “cmd” and press Enter. Then, type “cd C: \Program Files \AOMEI Partition Assistant Standard Edition 5.8”, press Enter. To assign a drive letter, you can use the parameters “ partassist.exe /hd:0 /setletter:0 /letter:F”. Here, we take an example for assigning a drive letter to a hide volume.

Step 2. Type: partassist.exe /list. Press Enter. It will list all disks on your computer.

Step 3. Type: partassist.exe /list:1, then press Enter, it will show you all the volumes on disk 1.

Step 4. Type: partassist.exe /hd:1 /fmt:H /fs:fat32 /label:xbox

Press Enter, and wait till the progress reaches 100%. Actually, you can also use this syntax to change drive letter for other volumes. But if you want to remove a drive letter, you can use the following parameters:

Remove a drive letter, type: partassist.exe /hd:0 /setletter:0 /letter:*

How to assign drive letter with GUI interface?

AOMEI Partition Assistant provides you another way to assign drive letter much easier. that is using GUI. people can assign drive letter or remove drive letter without Diskpart command nor Partition Assistant command line.

>Launch AOMEI Partition Assistant, it will show you all storage devices in the main interface. you can see the removable drive doesn’t have a drive letter. If you want to assign a drive letter for the drive, here you need to right click it, select Advanced-> Change Drive Letter.

>Then, select a drive letter for the drive.

>Click Apply to submit the task.

AOMEI Partition Assistant supports almost all Windows operating systems, like Windows 10, 8, 7. It has many editions for different OSes. The AOMEI Partition Assistant Server edition is for Windows Server 2003/2008(R)/2012(R); the Standard and Professional edition is for Windows PC OS, like Windows XP/Vista/7/8/8.1/10. Both Diskpart and AOMEI Partition Assistant can manage disk with command line, but AOMEI is more flexible, and easier and simpler.

Although the system drive letter can be changed, do not do it because that would make system unable boot.

Источник статьи: http://www.diskpart.com/diskpart/assign-drive-letter-4125.html