My computer contracted a virus and I shut it down before fixing the problem. Unfortunately, Windows XP now logs me off automatically before I finish logging on. I have browsed this site in search of help and I found several topics about the same problem, but they haven't helped yet. I can't tell whether it is because of something else that is wrong or something I did in trying to fix it.
Dell Dimension 3000 desktop
Windows XP home edition
Intel Pentium 4
I have installed Windows XP onto the machine again on a separate partition. (If I've done something wrong, it's probably this) Through the second partition, I have used the command prompt to overwrite wsaupdater.exe with userinit.exe. This did not fix the problem, so I checked the registry and added a string per this advice:
"I found out that the the entire string value [Userinit REG_SZ C:\Windows\System32\userinit.exe] was missing from the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\ registry key. So I had to create a new string value and enter in the correct information."
I created a new key, named it "Userinit", and modified it to say C:\Windows\System32\userinit.exe .
Is there something I have missed? Have I done something I should not have?