How to check in CMD for hard disk is MBR or GPT?
To check the partition style (GPT or MBR) of a disk using Command Prompt, you can use the DiskPart tool with the following commands:
- Open Command Prompt as Administrator:
- Press
Win + X
and select Command Prompt (Admin) or Windows PowerShell (Admin).
- Press
- Enter DiskPart:
- Type
diskpart
and press Enter.
- Type
- List Disks:
- Type
list disk
and press Enter. This will show all disks connected to your system.
- Type
- Check the Partition Style:
- In the list of disks, you’ll see a column labeled GPT.
- If there is an asterisk (
*
) under the GPT column for a disk, it means that disk is using the GPT partition style. - If there is no asterisk under the GPT column, it means that disk is using the MBR partition style.
- Exit DiskPart:
- Type
exit
to close DiskPart.
- Type