Then, you would need to remove the Ubuntu partitions. To remove Ubuntu from a Ubuntu/Windows dual boot system, you will first need to replace the GRUB bootloader with the Windows bootloader. If you have a single-boot system with only Ubuntu installed, you can install Windows directly and override Ubuntu completely.