1. Home
  2. Windows

How to find the disk and volume GUID on Windows 10

Disks and volumes on Windows 10 have a unique identifier called a GUID. The GUID for volumes is stored somewhere in the registry but you’d have to go digging around to find it. If you need to find either or both the disk and volume GUID on Windows 10, and you prefer the simplest method possible, you can use the Diskpart utility and a simple PowerShell command.


Open Command Prompt with admin rights and enter the following. If you need to find the GUID for an external drive, connect it first.


This will run the Diskpart utility. You now need to list all the disks connected to your system with the command below

list disk

You will get a list of disks that are connected and each disk will be assigned a number. The number is how you will reference a disk in a command so, if you want to find the GUID for disk 0, you need to select it with the command;

select disk number

Once the disk has been selected, run this command to find its GUID.

uniqueid disk

Volume GUID

The easiest way to find the GUID of a volume on your system is to go through PowerShell.

Open PowerShell with admin rights and run the following command. You do not need to modify it in any way. The command will return a list of all volumes and their GUIDs.

GWMI -namespace root\cimv2 -class win32_volume | FL -property DriveLetter, DeviceID

Running the commands listed in the above two sections will not result in any sort of data loss. You can run them for your system’s disk while it is still in use. If you’re apprehensive about running commands from Command Prompt or PowerShell, you can always find an app that can read this data from your system.

It’s also important to mention here that volumes are not the same as drives. A drive may have multiple volumes, and Windows 10 doesn’t assign a GUID to drives. It instead assigns them to volumes. If you run the PowerShell command in the volume GUID section of this article, you will see that the results return more than one GUID for the C and D drive. This is because while the disk in question only had two drives, those drives were divided into multiple volumes.

Once you have the GUID for the disk and volumes on your system, use them wherever you need to.

Leave a comment