Windows 10 How to remove unallocated partition in Windows

tck13

New Member
Joined
Feb 12, 2016
Messages
12
I have a laptop that I installed an ssd(had to swap the hdd and merge the ssd over) however whenever I do a cold boot I have to go into the bios in order to boot.

I'm assuming my issue lies with how many partitions I have and their order. I saw that I have an unallocated partition and Cannot delete it using the default partition manager. So I installed a third party partition app and to delete the partition, but I am unable to. I provide some screenshots to help with troubleshooting. Any help is much appreciated, I do not care about the contents on my ssd (recently formatted it) so all solutions welcome ;)
 

Solution
You can't at least not in Windows. You might be able to move the partitions in a live Linux disc or USB with gparted, but it is risky to move them. The safest method would be to format the disk and reinstall Windows.
post
 

 

I tried making the unallocated space a new simple volume, and when I do that and try to extend my C drive the extend is greyed out
 

You can't at least not in Windows. You might be able to move the partitions in a live Linux disc or USB with gparted, but it is risky to move them. The safest method would be to format the disk and reinstall Windows.
 

Solution
to reinstall, do I need a key? I imagine I would put windows 10 on a usb drive and then boot from that but i'm not sure what I need for authentication purposes
 

Yes you would need your key
 

You can get your key like so...
  • Open an elevated powershell prompt
  • Type $(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
 

Last edited:
You can get your key like so...
  • Open an elevated powershell prompt
  • Type $(Get-WmiObject -query 'select * from SoftwareLicensingSerivce').OAxOriginalProductKey
hmm says SoftwareLicensingService is an invalid class
 

Shouldn't be are you sure you typed the command exact? you could even copy and paste everything in bold

There was a missing 3 in the property name, fixed, but that wouldn't throw an invalid class exception
 

yeah copy and pasted
 

Should I be in a particular directory or does it not matter?
 

No it shouldn't matter.

An image from 'How to remove unallocated partition in Windows'. PowerShell command querying Windows for the original product key from licensing service.
 

Last edited by a moderator:
Get-WmiObject : Invalid class "SoftwareLicensingSerivce"

weird
 

You misspelled Service
 

you misspelled service :)
 

Indeed
 

how to format disk with windows on it?
 

formatted and reinstalled windows removing my unallocated space. but still from cold boot I get a default boot device missing
 

Back
Top