Posted September 12, 2025

1. Delete all the Linux partitions (with e.g. Windows Disk Management or diskpart).
2. Go to your BIOS/UEFI settings and remove the boot entry for Linux that Linux installation had created there, separate from the Windows boot entry.
Same steps, regardless if the Linux installation is on the same hard drive (on a separate partition), or a totally different hard drive.
In the old MBR/BIOS times, IIRC it used to be harder because Linux injected its boot configurations and whatnot to the Windows boot partition (MBR?), and apparently the right way to wipe it out was to boot your PC from a Windows setup CD and run some command to wipe the MBR (some command with a /fixmbr option I think...). That, in addition to removing the Linux partition(s).
Then again even if you failed to do that, the only "problem" you would have was that you would get the grub boot menu every time you boot your PC, letting you select whether to boot to Windows or (now removed) Linux. Booting to Windows from that menu still worked fine IIRC. I think I was stuck with that on one PC because I didn't have an actual Windows installation CD, Windows was pre-installed on that PC. Oh well, I had that unneeded grub boot menu until I wiped everything out and reinstalled Windows from a scratch.
Post edited September 12, 2025 by timppu