Let's be sure about the PC. Some older models do this and you use the PS2 mouse and keyboard to get in and reset/remove mouse/kbd drivers in Device Manager.
Remember that the stock Windows drivers are all we ever use at the office and have so for decades. I have yet to encounter a mouse and keyboard that needs other than the driver that came with windows.
Why reinstall? Why not reset W10? How is on the web but often folk forgot or didn't know we can do a reset and keep all files by booting our W10 USB install and repair stick.
It's on the screen as you boot. Look for the word repair and click that. Then reset and keep files.
More at picture you'll see using the repair option when you booted the W10 repair and install stick.
Use the Keep My Files.
Two of my family members have brought me pc's that they claimed "Do not boot". They do boot up into Windows 10, however, the keyboard and mouse do not work with either of them. The keyboards and mice do work with all other pc's, they work in ubuntu live, and in the Windows 10 media. I believe it to be a driver issue at this point, but I do not know of any way to delete the current drivers so Windows can download them on restart.
Here is what I have tried:
-Running PnPUtil.exe from CMD in Win10 media
-Enabling legacy USB
-DevCon in CMD (Win10 Media)
I would like to avoid a fresh install on both of these pc's. Does anyone know a way to delete or replace drivers from CMD, Ubuntu, or anything else?
Would be nice to find a solution.