This is an uninformed guess, but were you using a wireless keyboard and mouse, with a transceiver that plugs into a USB port?
If so, you might have avoided the problem if you had temporarily used a PS2 keyboard and mouse during the reinstall.
Alienware 17 R4 2017 review
Is this the future of VR and AR?
Best iPad buying guide 2017
Comment regarder le Bureau des Légendes en ligne ?