Does a Windows reset also reset what you did to the hardware?

Back then, I "overwrote" my hardware ID using a program because of a game ban… since then, I've had the problem that every two minutes, the game freezes for about five seconds… I would like to undo this, I have been trying to do this for a long time but have not managed to do…