
A.- Use Disk Manager in Windows to delete the Ubuntu partitions.
B.- Boot off your Windows XP CD and at the Recovery Console's command prompt type "fixmbr", then confirm.
C.- Reboot. You're done, the boot sector has been restored. Full details:
Uninstall Ubuntu using Windows
https://answers.launchpad.net/ubuntu…+question/1800
Suppose you are running Windows. If so, follow these steps:
1) In Windows, launch Disk manager and remove every partition used by Ubuntu (root partition, swap, …)
2) Reboot with your Windows CD. When asked, choose “repair” and launch fixmbr. This command replaces GRUB with Windows bootloader.
3) Reboot again and you have done.
Once you are done, it you want to recover the space for Windows that was once used by Ubuntu. You can use the steps outlined above (going the the Disk Manager, etc). To create a new NTFS partition and assign it as something like the D: drive (or some other letter) to be used for data and so forth.
How to use Disk Manager
http://support.microsoft.com/kb/309000
To start Disk Management:
1. Log on as administrator or as a member of the Administrators group.
2. Click Start, click Run, type compmgmt.msc, and then click OK.
3. In the console tree, click Disk Management. The Disk Management window appears. Your disks and volumes appear in a graphical view and list view. To customize how you view your disks and volumes in the upper and lower panes of the window, point to Top or Bottom on the View menu, and then click the view that you want to use.
NOTE: Microsoft recommends that you create a full back up of your disk contents before you make any changes to your disks or volumes.