Solution 1:

I understand that you have erased Windows and installed instead Linux, but would like to reverse the process and return to Windows.

It's unlikely that you have left anything to repair for returning to Windows, and it's not recommended to to whatever leftovers of Windows that still exist.

I would recommend instead to start from a fresh installation of Windows. If you had previously had Windows 10 installed on the computer, the Microsoft licensing servers would still have recorded the digital entitlement of your computer, so that Windows activation will be automatic.

So what I suggest:

  • Leave Linux in place and use it to create a Bootable Window 10 media. There are many methods for doing so, so here are a few. Use the one that suits best your Linux, paying attention to the variants that pertain to UEFI or BIOS, or to 64-bit (your recent computer is certainly not 32-bit):

    • How to Create a Bootable Windows 10 USB in Linux
    • How to Easily Create Windows 10 Bootable USB on Ubuntu or Any Linux Distro
    • How to Create a Bootable Windows 10 USB on Ubuntu
  • Boot the Windows media and delete all the existing partitions, leaving it all as one Unallocated space.

  • Let Windows install itself to the disk and allocate all the required partitions. If asked to enter a serial number, skip this step.

  • When the installation is done, remove the boot media and boot normally.