View Full Version : [wubi] Solution: Ubuntu (Wubi) won't uninstall. bcdedit entry error.

March 20th, 2010, 04:16 PM
Please take extreme care while following my solution.

I have been playing around with Ubuntu and Windows lately and I gave Wubi a shot. When I decided to uninstall Ubuntu (Wubi), I was given the error that the uninstaller couldn't delete the entry from bcdedit.exe as it was missing.


I had manually deleted the boot entry myself before-hand by accident and therefore made a mistake. The way I managed to get around this was fairly simple. I'm going to share my solution with you.

Step 1: Try and uninstall Ubuntu via Wubi and note down the part of the error shown in the image above.

Step 2: Download EasyBCD 2.0 (Google (http://www.google.co.uk/#hl=en&q=EasyBCD+2.0)), install it and create a boot entry. To do this, launch EasyBCD and goto Add/Remove Entries. Now click the Linux/BSD tab and set the Type to "Wubi" and give it the name "Ubuntu". Finally, click "Add Entry".


Step 3: Now close EasyBSD and enter "cmd.exe" in the Windows search box on the start menu. Right click cmd.exe and select "Run as Administrator". Now, type "bcdedit.exe" into the Command Prompt window and hit enter.

It will spew a lot of writting into the Command Prompt but we want the end of it (Real-mode Boot Sector). Find the entry named "Ubuntu" and note down the identifier.


Step 4: Close cmd.exe and now search for "regedit.exe" the same way as we did cmd.exe. Now goto Edit > Find and then search for the bit of text we took note of in the error at the beginning.

If all is well you should get a screen like the one shown below. We are going to edit the "VistaBootDrive" entry. Right click on it and select "Modify". Now delete the text shown in the box and replace it with the identifier you took note of from the Command Prompt earlier and click OK.


Step 5: Now attempt to uninstall Ubuntu via Wubi again and all should be well.


I hope this has helped you :D. Now go and install Ubuntu for real!

You may copy this solution and publishit on your blog/website but please link back to the original one here.

March 27th, 2010, 01:12 PM
Thanks for the guide but it does not seem to be working with windows 7 and EasyBCD2.0 build 90


Shot at 2010-03-27

March 29th, 2010, 01:47 AM
Have you tried searching regedit.exe until you find VistaBootDrive on the right? You may need to use "Find Next" until you find it.

EDIT: I noticed you searched for the identifier from the Command Prompt and not the identifier from the error message. Try search for "723ed23a-140e-11df-84cb-a1e8bb1b8261" without the quotes. Notice the a and not the b.

March 29th, 2010, 02:30 AM
To remove an entry from bcdedit in Vista or 7.

Code: bcdedit delete { indentifier number }

So find the one with wubblder or something close to that and that is the on that attached itself
to the Windows boot manager and run that code and it is gone.

Happens sometimes when a user uses ADD and REMOVE programs to delete a WUBI install instead of using the uninstall in the WUBI folder in C: drive like they are suppose to. No big
deal that is how I learned at one time by goofing it up.

September 24th, 2010, 08:35 AM
Hi can u take few minutes and look at this one http://ubuntuforums.org/showthread.php?t=1577524
This is my Ubuntu installation error.
Any help will appreciate.

PS. I believe it's relative to bcdedit entry but don't know how to solve it.

January 17th, 2011, 04:27 PM
Having the same problem as dstar. searching for both the initial error text and the text from the cmd brings the same screen up in regedit. And by the way, i'm running windows 7, can anybody please help? formatting didn't solve this problem, no luck till now...

February 21st, 2011, 08:53 PM
thank you so much minecraft stopped working on my windows 7 so i needed to fix ubuntu because im useing all my partitions

March 3rd, 2012, 06:12 AM
FYI: Someone needs to reupload the wubiuninstallfix4.jpg image. It's no longer on Imageshack.

March 3rd, 2012, 05:51 PM
Closed, necromancy.