” Windows cannot be installed to this disk, the selected disk is of gpt partition style ” is a common error displayed when trying to install Windows especially Windows 10.
This is because some hard disks may be configured for UEFI mode yet the computer uses the legacy BIOS version or the other way round.
This article explains how to convert a hard disk to support UEFI mode.
In the solution, we shall be using the Windows command line interface.
This will wipe off all the data on the hard disk. Operations done with this guide cannot be undone therefore you should be conscious while performing these operations.
Disclaimer: WindowsMaven won’t take responsibility for any lost data. Therefore make sure all data is backed up better continuing.
How to solve Windows cannot be installed to this disk, the selected disk is of gpt partition style
Insert the Windows installation medium (either a CD or a flash drive) and make sure its recognized by the system.
Then shut down the computer.
Switch back on the computer and open the boot manager to locate the windows installation medium.
To do this, Press the power on button and press either Esc, Delete, F1, F2, F10, F11, or F12. Various computers use different key combinations to display the boot manager.
When the boot manager is opened, select your installation medium and press Enter.
However most of the times, after pressing the appropriate key, the system loads the windows files right away.
When the blue screen for installing windows is displayed, Click on Repair Computer at the bottom left of the window.
Next, click on Troubleshoot PC
Click on Command prompt
From the command prompt;
Type diskpart and hit the Enter. This will open the diskpart utility
Type list disk and press Enter. This will list the disks with their respective disk numbers.
Identify the primary disk(disk with the larger size) and type select disk <number> and press Enter. This will select and subject the disk to the next operations.
Type clean and press Enter. This will wipe off all data from the disk.
Once the cleaning is done, a message will be displayed saying “Diskpart succeeded in cleaning the disk”
Type exit and press Enter to close diskpart
Type exit again to close the command prompt and turn off the PC.
Boot the computer back pressing the appropriate button as explained in step 2 to open the boot manager. Select your installation media.
On the screen for installing windows, click Install.
Follow the steps at How to install windows on a computer to complete the installation.
After cleaning the hard disk, it will be restored to factory format without any partitions therefore you’ll have to create new partitions.
On the screen that displays the disks, click on the disk(unallocated space) and click on new at the bottom of the window. Enter the size in MBS that you want for that partition.
Click on the remaining unallocated space and click new to allocate it as well.