Not really.
You could delete the registry, and have it restore from a backup, but I doubt that would work right. You'd still be left with all the ini and inf files, as well as dlls.
What settings did he change? Maybe it can be fixed.
You don't have to format the computer to install win98, just rename the windows directory and re-run setup.