To uninstall Ubuntu, there's a procedure to follow not to render your computer unbootable. You will need a Windows repair disc or installation disc or some other similar disc to fix your MBR.
- Create a Windows repair disc. Boot Windows, search for System Repair Disc. Follow instructions.
- Boot Ubuntu and backup your files on the Linux partition if there's anything you do not want to loose.
- Boot from the repair disc. Choose the command prompt option and run
bootrec /fixmbr and
bootrec /fixboot. At this point Ubuntu is no longer bootle even though everything is there except the bootloader.
- Reboot your PC. It should boot directly into Windows.
- Recover the space occupied by the Ubuntu partions. Right-click My Computer select Manage, then Disk Management. Delete the Ubuntu partitions (main and swap). Then, either create a new partition in their place or enlarge your current partition. What is possible and how you do this depends on your current partition table. The easiest and safest way is to simply create a new partition instead of the two left behind by Ubuntu.