How to delete OEM Partition
This post will cover how to delete an OEM Partition. OEM partitions can be made by Dell or Lenovo. If you use the GUI Disk Management tools you’ll notice you can’t delete the OEM Partition. In order to delete the OEM partition you are going to need to use a command line tool called Diskpart.
First of all this is probably what you are currently looking at:
If you hit “DELETE” on the OEM Partition you can’t delete it like other partitions. If you right click on the OEM partition you will notice you don’t have the same options.
Normally you’d see:
To delete the OEM partition you are going to need to hit “Windows Key” + “R”. This will open the run dialogue box. Type “diskpart” and hit “OK”.
This will open a black command prompt like window. Type “list disk”. This will display all the disks.
You can verify which disk you want to edit using the “Disk Management Tools”. The Disk management tools can be found by Right Clicking Computer and selecting “Management”.As you can tell from the first screen shot in this post the OEM partition is located on Disk 2.
You must now select the disk with the OEM partition on it. Again in my case it is “Disk 2”. To select the disk you must type “select disk 2”.
You can now type “list partition” to list all the partitions on the disk just in case you want to verify you absolutely have the right disk selected.
You must now select the partition. In my case it is “Partition 1”. To do this you must type the command “select partition 1”.
Now type “delete partition override”.
Once you do that you have officially removed the OEM partition on the drive! Congratulations!

Great guide. I was trying to delete an OEM partition on an old Dell drive to repurpose it and it had me stumped.
Simple, clear & concise.
Handy guide which helped me have a 75GB USB drive instead of 73GB
What happens with the diskspace on the deleted partition? Is it added to one of the remaining partitions.
Is it possible to assign the freed diskspace to a particulair partition on the same drive?
Appreciate your wise reply
Unfortunately no it does not automatically add the now free space to the primary partition. You would need to use a partitioning program like Partition Magic. I’ve never tried this program but have heard great reviews on it. http://partitionlogic.org.uk/ If you use it let me know. It’s a free alternative
simple and easy for novice like myself.
only question i have is why it happens (OEM) re apears after restart.
Not sure. Have you verified in Disk manager before you reboot that the OEM partition has actually been deleted?
yes.
even formatted it and added some files but just goes OEM again.
Very Helpful, searched around many sites before I found the correct directions
Thanks!
just wanted to add that after you do the diskpart…you go back into disk management and right click on the main partition (you will see unallcoated partion you just overrided) and select extend volume…. it will then walk you through it to reclaim that space into 1 partition…
I have been battling this for weeks,, simple solution that the help feature made seem very complicated and potentially dangerous,, THANK YOU
what will happens when i delete that oem partition can it cause an error or something to my computer
a few notes that people might have trouble with.
1. the disk has to be a simple (not dynamic) or at least thats what it told me.
2. the disk has to be online, otherwise it gives a write protected error.
3. its a smart idea to do a system backup before attempting, since hitting the wrong number (i.e partition 2 instead of 1) you can wipe out your computer.
Excellent guide, just started to work with Windows 7 and was getting pissed until I found your guide.
Thanks
Not sure if anyone’s still reading this thread, but…
My OEM partition was corrupted during a failed install of Ubuntu, and I had to re-format that partition as well as the main one where I reinstalled Windows 7. I want to delete the OEM partition and reclaim that space before I try to install Ubuntu again, but I am concerned because in disk management the OEM partition has no drive name, letter, or file system listed (although it is listed as healthy). I get the “help” option when I right-click. Diskpart > List disk only shows one drive, but I can select the OEM partition further down the chain. Thanks
If everything is all backed up I would recommend using DBAN (Derek’s Boot and Nuke). This will completely blow away EVERYTHING including partitions. Once you let it run just boot up with Ubuntu. It’s like going back to comepletely fresh drive. Hope this helps.
i wanna know about the OEM partition……What is it?
The size of OEM partition in my lenovo notebook is 14 GB.
should i delete this partition or not? what will not damage by deleting it?
when i want to create new volume of unallocated disk, it shows some error like(this volume cannot be because you have created max. number of partition). so what should i do for this????
The OEM Partition is where providers put a Factory image of your computer. If you ever have to restore the idea is that it can be easily done. I tend to find that they aren’t that great and most of the companies make these partitions way too big.
I found a link that might help your particular issue: http://www.winvistatips.com/cannot-create-new-primary-partition-only-2-primary-partitions-disk-t283373.html
i am not satisfied with your link
plz tell me any other solution. plz remember that the partition in my notebook are only two(C & D)…………even after it shows errors…..
Fantastic so simple really many many thanks
I cannot thank you enough for this easy to understand instruction, on how to delete OEM partitions. I had 6 Drives (from old machines) all with OEM partitions, it’s great to finanly get rid of them! thank you again
Great job!
Cool. Really is simple and easy to follow lol… I just have one question do i HAVE to use a partitioning program to regain the free space? Just want clarification because if thats the case then inna sense i dont really have to go and delete the OEM right now….
Yes you need to use a partitioning program to regain the free space.
Thank you very much, the TechGuys have been cheesing me off for ages. Fantastic instructions, and so simple to follow, you ever thought about writing manuals for electrical equipment? Thanks again.
I’d love to wrtie manuals. I get cheesed off as well. Glad I could help.
You should subscribe to my RSS feed for other great tips and tutorials.
Your support is greatly appreciated. It took me 5 minutes and am now able to Ghost an image that was short .4 GB.
Thank you very much!
I would like to know the consequences if I delete the OEM partition…and why is it used…??
I have a OEM partition of 14.75GB…which is 100% free….should I delete the partition? as I want to extend the D: drive which is currently 30GB…C: is 187GB..
Thanks…
The OEM drive is normally used for one of two things. Holding the system restore files (Most home computers get you to make restore disks). That information that goes onto those disks is normally from this partition. Some manufacturers only give you the option of restoring from that partition. Unfortunatelly that is something you would need to ask your OEM. I have seen where some OEM’s just partition the drive into two separate partitions. One for system the other for Data. I am wondering if that is something that you have with your machine? As always it’s best to consult your OEM for more specific details.
Excellent, thank you so much. I was loking all over for this solution.
Now I need to get back the other partition I accidentally deleted with diskpart :0 hehheh
For data restoration I like software from this company – Easeus/
Excellent stuff.
Works like a charm on a Toshiba OEM partition.
Thanks for that.
thanks,thanks,thanks
I have deleted my OEM partition now i cant get that partition space i have deleted to my primary drive! HELP!!!!!!
You need to use a partitioning software to extend the drives free space. http://www.partition-tool.com/ should help. Please subscribe to my RSS feed
Great. Thanks for the help.
Thanks!
OMG, many thanks!!!!!!!!
I have the same problem with a Dell OEM partition. All was going well until “delete partition override” which returned…
“Virtual Disk Service Error:
The operation is not supported by the object.”
Any ideas?
Thank you for this. Very helpful.
You just made my life a whole lot easier today.
Thank you much!
Thanks mate. i had one 14.5gb.
No Problem.
You rock. In the past I used to resort to a really, really old-school DOS debug script. Your way is about a hundred times easier. Thanks!
i just accidentally deleted my oem partition while i’m reformatting it, do you now how could retrieve it back?
reformatting my new dell 14r laptop =)
Hi,
I cannot select to delete at partition during windows 7 installation. please help.
Thanks
You can get the error Virtual Disk Service Error: The operation is not supported by the object. When you try to delete a OEM partition on a dynamic disk. You must first convert you’re dynamic disk back to a basic disk by using diskpart:
select disk 0
convert basic
Outstanding, been a long time since I’ve really messed with Windows and this was very helpful. Simple, direct and to the point, Thanx!
Thank you!
You made it very easy! (The only problem I had was spelling – “delete partition override” doesn’t work if you spell “override” with one “r”). Thank you again.
Thanks!
It solved my troubles (0x8007007B) in Windows Backup in Windows 7. After deleting the OEM partition it ran without any problem.
Thanks Jared! (and thanks Google for pointing me here)
Great job. Very clear..great screenshots.
Added to my bag of tricks!
Mate,
Great help…you are genious I just solved my problem. Being a pain in the ass for a week.
Keep it up.
My OEM partition does not come up when I type “list disk”. What do I do then?
Thank you,
Someone had put a Acer OEM hard drive in a Gateway the operating system would not even see the hard drive. This cured it I am installing now Thanks again.
You must have missed a step.
Thx, you solved a problem f**king Dell support could not.
I have tried your solution here and it isn’t working for me – I am getting a error that says:
Virtual Disk Service Error
The operation is not supported by the object.
The specified command or parameters are not supported by this system.
This is a hard drive I took out of my last system (HP) and it does have a OS on it, but not the one I am using on this new system (Gateway).
Any suggestions on how to circumvent this?
Ok – so I have a chicken and the egg situation here – I have a OEM partition on an extra, dynamic HD, I cannot delete it using diskpart, or the Computer Management GUI, nor can I covert it to a basic disk. Diskpart says I cannot delete the partition on a dynamic disk until it’s converted to a basic disk, but I cannot convert it to a basic disk until I delete the OEM partition…
There has to be an answer here, but I cannot find it – I have searched the tech forums for Microsoft, and they all just give circular advice, but nothing really helpful for this specific instance…
Any ideas?
Thanks, fantastic clear precise and exactly what I wanted…
little thanks to google too for spot direction to this site..
Thanks again
For an OEM partition which is dynamic, simply enter command ‘convert basic’ after selecting the partition, then ‘delete partition override’ will work.
Thank You!
Thanks brilliant, that did it
Thanks to GOOGLE and Jared Heinrichs for this solution.
I was trying for hours to delete the “OEM” partition from my SATA drive – Neither WinXP nor WIN7 Computer Management would do it. Nor any of the ‘old’ DOS utils I had on hand.
Great Article Jared!!!!!
Glad I could help. Add my RSS feed. URL for it is just my domain name. I am sure there are other articles that you might like. Have a great day!
Tanks alot!
You Rock! Worked and it was simple. Thanks!
Simple, straightforward and effective. Thank you so much!
Thank you! Work as a charme!
Thanks Jared Heinrichs for your efforts.
I was trying for hours to delete the OEM partition from my SATA drive and when I´m just to desist I try google and bingo! With the WINDOWS 7 Computer Management it was impossible to do it, I feel very frustraded.
Thanks for save my day and to add some Gb to my HD Jared!!!!!
thanks – very simple instructions that actually work.
Many thanks! I used this technique to recover an sd card that I had written an image file to. Used “disk management” to format back to fat 32. Good advice!
Thank you VERY much.. Just what I needed and so well set out a chimp (and even I) could follow the instructions..
GR8
Thank you again
Regards
Chris
Thanks, it works !
Thanks very much for that.
They say you learn something everyday and this is by far the best thing I’ve learnt for a long time.
Brilliant Jared Heinrichs you are a lifesaver.
So easy to follow and works spot on
Excellent
Very cool, I was reusing an old hard drive in the same machine (I upgraded the existing one to a 2TB). Very concise instructions but a bit scary if you are not sure what you are doing, I had to double (triple) check before I hit the Enter key to delete the partition.
Thanks
//*eggbox
Absolutely fantastic. You, Sir, are a Star. Thank you.
It is just such a pity you aren’t in charge of product development at Microsoft…
Thanks for the Movember donation! Cancer can be cured!
This was very helpful. Freakin’ amazing to see the lock disappear on that nonsense OEM partition.
Jared, you might want to add that the disk needs to be a basic instead of a dynamic disk. If you try the steps with a dynamic disk you get this:
Virtual Disk Service Error
The operation is not supported by the object.
thank you thank you thank you …. i thought my external hard drive is doomed thanks again a million dude i love you
)
jeesh!!! so simple, many thanks for you help!!!
Thank You So Much, it’s work and easy, good Job
1000 thumbs up for You, So Many Thanks
Thanks…. was looking for hours for this solution
)
Many Thanks! Great instructions and a great solution.
I tried to delete the oem partition in a few different ways, and it didn’t work. After adding “override” to the last line command it finally worked. Thank you for posting this solution.
Hi, I tried the methods as described but I keep getting this message: “Virtual Disk Service error: Delete is not allowed on the current boot, system, pagefile, crashdump or hibernation volume.”
I only have 1 SSD on the laptop. However the disk is split up to 5 partitions, which 2 are an extended type and logical type respectively. My objective is to get rid of these 2 so that I can extend the primary partition to utilize the freed up space.
Please help.
Thank you.
Outstanding guide! couldn’t have been clearer! Thanks!!
Many thanks for the fix. Great display of steps. You saved me after hours of searching and scratching my head. Thanks for putting in the effort.
Hi,
I have a Dell XPS with one physical disk and 3 partitions: OEM (101 MB, offset 31 KB), Recovery (19 GB, offset 104 MB) and OS (679 GB, offset 19 GB).
I actually have two questions:
1. This is supposed to be a 750 GB hard drive, any ideas what happened (there’s no unallocated space), apart from Dell not delivering?
2. What I would like to do is get rid of the OEM partition and the recovery partition, create one big partition and then repartition in an OS/Programs part (C-drive) and a DATA partition (D:). Do you think this is feasible without actually reinstalling Windows? I have Partition Magic software for XP (same file system, right?). If necessary I’m willing to buy a new version or use another partition manager.
I know I’m asking a lot. Any help would be appreciated.
Thanks,
Albert.
Thanks for this, didn’t know about this win feature, duly noted and thanks again
Thanks a lot! Very helpful guide!
Worked perfect! Thanks!
thanks
Wow, you sir, are awesome. Thank you.
Thanks Jared great guide well explained.
hey.. nice guidance….
it worked for me….
thanx…
Just what I needed. Best step-by-step instructions I have ever had the pleasure to use!
Thanks, Michael
Thank very much!!
Thank you very much…worked like a charm!
This is great. On my E6420, Dell used 39gb of a 500gb drive for their OEM partition. Only 11gb was actually used for “system volume information”. So I have 28gb of addition space. Two things…
I can’t use Bitlocker on this new 39gb drive. It says the volume is too small. Could that be correct?
Can I reformat this partition? I have the Dell Windows 7 disk that came with the computer.
Thanks again.
Thanks for the simpe ccure. Unfortunately it didn’t work for me since DISKPART did not show any OEM partitions even though there was some 11 GBytes missing from my 160 GByte drive and not available as free space. Try as I might I could never find an OEM partition although I know it existed on this ACER that had Vista on it before somebody or something wiped it out.
Was able to load Win7 on the 149 GBytes remaining but then lost 25 GBytes (11 for Vista and 14 for Win7 as expected). DISKPART Version V 6.1.7600 could be invoked but did not show any OEM Partitions, only the Primary. Any suggestions?
Thank you for the clear instructions
thanks you this post is helpful
I USE ACER OEM ITS WORKS.ITS AWESOME.MILLION THANKS
U are the man..
Simple yet effective guide..
thanks…
top class guide, saved as a book mark
This is brilliant. Concise and perfect for the problem.
Many thanks.
This could have taken ages but with your guide it was simplicity itself.
Im using windows 7 on an acer, I followed the steps but it says delete is not allowed on the current boot,system,pagefile,crashdump or hibernation volume. ????
This worked like a charm! I will be sharing with my friends. Much better than running a Win 7 setup and deleting from the install screens! Thanks a mint!
thanks, nice post
but I have problem with built-up computer’s partition. There are two partition, OEM and C.
My C can’t to be resized. I’ve try many tools (windows disk manager, easeus, partition magic, and I have tried to boot up under winPE. but nope.
how to resize that partition without mess up my data?
o ya, my computer is Lenovo.
thanks
Worked awesome for me …Thanks a million, it had our IT guys a work stumped.I Used this method on a Hitachi Drive out of an Acer Notebook. Now its just a portable storage drive, and I have full capacity.
Thanks a lot. Have a nice 2012
Hello Great tutorial but could someone please tell me how to copy that partition as it is to a ssd and make sure that it works incase the OS fails and start recovery options !!!!
Argghh! Why didn’t I think of that…so close but yet…..!!
Thanks so much!
Thank you. Finally got rid of oem partition. Had to first “delete” the non oem part, then that allowed me to convert it back to a basic drive and from there I could finish it off!
thnks yaar i finally i hv got rid frm hidden partition after 4 year in lenovo y410
Thanks! I was going nuts looking through the [Help] in the Computer Management about ‘deleteing the OEM partition’ and eventually it said in the help section “You cannot rename or delete the OEM partition” I’m thinking ‘bull crap!’ something(body) put it on there via software command so there’s a way to remove it via software command… found it! boo-yah! 1 hard drive… 1 partition and no OEM partition, 35 MB’s but still 1 OS and don’t need a fake ‘duel boot’ screen with the other leading to no where….
Thank you, I have 8 Hard drive with OEM partitions on them, I thought that you could not get rid of them until i found your site! works great and very easy to complete…… Thank you again
Hi, I bought a new hard drive for my 2007 power spec desk top pc. I’m now trying to install the os but the pc doesn’t see the hard drive. Please tell me what are the steps for this process. Thank You
Hey this worked GREAT! Thanks alot
DISKPART> delete part override
DiskPart has encountered an error: Access is denied.
See the System Event Log for more information.
Great guide, thanks!
Thanks that worked great.
Thanks!
getting error which says “assigning or removing drive letters on the current boot or pagefile volume is not allowed” wat to do… plz help me..
Just want to say thanks! I’m Recycling an old Dell HDD and that 55MB OEM partition was pissing me off!
mine, offset says 697GB, which is like all my hard disk. Is it safe to delete?
Thanks.
Great! Thanks.
Great article. Helped a ton!!!
Worked great, Thanks for this really simple, effective guide, Helped me out a lot..
You are the man! Why can every guide be as clear and concise as this!
THANK YOU!
I was looking for a way to delete the OEM partiton on my Lenovo 300GB Sata HDD (took it from a Netbook), because I want to use that drive in another PC. Several forums suggested me to do “this, download that, tweak this” etc. – I am glad I found this guide before doing any of the suggested. The guide provided on this page is simpel, direct and gets the job done in 1-2 minutes!
Thank you for posting this!
I deleted the hidden partition, how do I recover that HD space because it does not show up anywhere? (60GB) Or how can I format the full HD to install Windows 7 and have everything all the space on C: ?
Any Idea: I can remove it from my LAp and format it conecting it to another, I have th cables and everythig but when I connect it to the other pc, it only show the same C: (50GB) D:(10GB) and the other 60 GB are gone… what can I do?
Sure wish that all tutorials on the web were as clear, concise, and accurate as this. This worked perfectly!!
Thanks for this Jared. Great instuctions and refresher
thanks. worked like a charm
Excellent instructions; easy to follow. Allowed me to free up 5 GB of unknown OEM stuff on an Acer laptop. Thanks, Jared!!
You save me !
Great guide. Thank you
I just deleted all the partitions and had the OEM to deal with and this helped me allot. When I went to command prompt and deleted the OEM and went back to Computer Management and I had the hole Unallocated drive and the OEM is gone. This is great if you buy an refurbished drive and they didn’t clean it before the resold it.
thanks its working fine……………
Thanks! =)
Just a Thank you
Thank you! Great guide
Thanks for the awesome post
Thanks for the instructions, super helpful this weekend while helping my mother in law refresh her aging PC with a SSD.
Excellent article. Thank you, good Sir.
Thank you so much for this great help
Thank you verymuch….. sir
Thanks man very cool and simple…. also i like to use cmd!
Wooowwww… thanks a lot Mr.
I had little bit tension about this before.
It’s a very good tutorial for me… I have deleted my OEM Partition according to your instructions.
Thanks