md tmp
copy n:\windows\system32\config\system n:\windows\tmp\system.bak
copy n:\windows\system32\config\software n:\windows\tmp\software.bak
copy n:\windows\system32\config\sam n:\windows\tmp\sam.bak
copy n:\windows\system32\config\security n:\windows\tmp\security.bak
copy n:\windows\system32\config\default n:\windows\tmp\default.bak
del n:\windows\system32\config\system
del n:\windows\system32\config\software
del n:\windows\system32\config\sam
del n:\windows\system32\config\security
del n:\windows\system32\config\default
copy n:\windows\repair\system n:\windows\system32\config\system
copy n:\windows\repair\software n:\windows\system32\config\software
copy n:\windows\repair\sam n:\windows\system32\config\sam
copy n:\windows\repair\security n:\windows\system32\config\security
copy n:\windows\repair\default n:\windows\system32\config\default
*where n represents the drive that contains the Windows XP system files.
One day I’ll make a .bat file for this. Just too lazy, for now.


fasted computer