Unable to login to win xp, Fix registry without logging in?

When cleaning up a computer from spyware I am no longer able to login to Windows XP. I get to the login screen and click on any username, it acts like it is logging in but then it will say saving settings and logging out.

I have tried copying userint.exe to wsaupdate.exe through the recover console but that didn't help. While the computer was on the login screen I tried connecting to the registry by using registry editor and "connect network registry" on another computer but that didn't work. I also can't get into safe mode probably because of a device driver is preventing me from getting to the login screen. I used Hijack This and I think I deleted a registry value that is needed.

I backuped up the registry before trying to remove all the spyware but now I can't access it to restore it. Is there a way to restore the backup registry or be able to edit the registry from the recovery console or another means that is not logging onto the computer?

I can try doing a repair install but I don't want to risk deleting files or making programs inoperable. What options do I have to fix the registry or be able to login?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Have you tried Last Known Good configuration?

The disk has an offline reg editor as well password utility.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
How to recover from a corrupted registry that prevents Windows XP from starting
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

jsfaldAuthor Commented:
Yes I tried last good known configuration and that didn't help. I did see that KB article but it wasn't exact so I was looking for a different solution. I will try those steps if necessary.  I'll try the bootdisk solution first and go from there. Thanks.
jsfaldAuthor Commented:
I am having problems with the bootdisk/registry editor. I can't browse the registry and I am unable to find any help with the commands. I am trying to browse to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run and
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
jsfaldAuthor Commented:
I figured out how to use the bootdisk/registry editor but it doesn't seem to be working when I add a new key (nk Userinit) and hit enter the next command prompt line never comes up. Any other ideas?
jsfaldAuthor Commented:
I fixed my previous problem but now I have another one. My problem was I need to add a new value and not a key. The reason it is logging out immediatly is because the Userinit value is not there. Even though it looks like it is saving when I reboot the computer and try to login I am immediatly logged out. When I reboot using the bootdisk and look for the Userinit value it is no longer there.

Is there a way a saved corrupt registery gets loaded and overwrites my changes at startup?
jsfaldAuthor Commented:
I Fixed it! I tried to do Iateacricket's idea by following the KB but that didn't work because I didn't head the warning in the KB to use the OEM disk instead of my own Win xp disk. I didn't want to go to my friend and say it is worse off now than when you gave it to me. But after following the KB I couldn't get to the login screen and I couldn't get to the recover console, just like the KB warned.

 I decided to backup the data on my friends computer onto mine by hooking up his hard drive to my system as a slave. After backing it up I thought I should try the steps from the KB execpt just use a command prompt instead of the recover console. The steps worked and I didn't have to fess up to my friend that I messed up this computer and don't know how to fix it without reinstalling everything.

I'll give michk some points because the idea was good and it was probably more of my inability to get it to work than the method.But in the end it was Iateacricket's idea that lead me to the solution.
Good job.  Thanks for the points.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.