This question already has an answer here:
I have 3 partitions. One for Windows 7, one for Ubuntu and one for my files. So, how do I go about un-installing ubuntu? I did not install it using Wubi.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
its simple, just boot using your bootable usb or any other bootable device
after that delete the partition containing ubuntu..
then start windows7 -> right click my computer -> manage -> disk management --- then u will see unused space --> create a new Drive..
Hope that solves ur problem ..
I went through this myself and it was very harrowing to find all the information. It took me almost three hours of continuous testing to finally get it done. It was in February this year. But now I am quite used to it.
This is how I went about in Windows XP and it should work the same in Windows 7 too but I am not sure.
These are the steps for uninstalling any Linux distribution from your computer:
type in the password you want
and type in the password at the prompt
now use the following command:
and once the installation is complete and the prompt returns then type in:
Once done you will get the message in the terminal something like:
Once you see this, reboot and you should be able to boot into Windows XP directly.
I don't know if the instructions for Windows 7 are exactly same but hopefully other forum members can help you with the specifics but these are the critical steps. Make sure you have a Ubuntu USB handy as without this I don't think you can fix the MBR.
I have done this a couple of times on my Windows XP machine and it works perfectly fine.
Alternatively if you have a Windows 7 DVD, or rescue disk, you can use that to restore the original Windows 7 MBR. The steps about will reinstall lilo instead of restoring the original bootloader.
boot in your windows and open application that is for that stuffs like disk utility in ubuntu (dont know what is name for that in windows) and simply empty that partition, or delete that partition at all if you not need it anymore.