Mistake in the registry locked me out

G

Guest

In my effort to clean a trojan, i did by mistake delete a value in the
registry, i believe it is the following:

userinit : C:\windows\system32\userinit.exe

under
HKEY_LOCAL_MACHINE->Software->Microsoft->WindowsNT->CurrentVersion->Winlogon

and this had as an effect that when i login to an account the account log's
off automatically, so i end up in the login screen, without entering the
windows xp enviroment.

Is there a way to fix the registry without logging onto windows?

i've already tried the recovery console(but executes only predefined
commands) and i've tried to boot from some dos disks but the reg.exe file
executes only from the windows xp command line.

Anyone, any idea? Thanks for reading this, and most of all thanks to anyone
who has any suggestion
 
R

Ramesh, MS-MVP

nezos,

Use Bart's:
http://windowsxp.mvps.org/peboot.htm

--
Ramesh, Microsoft MVP
Windows XP Shell/User

Windows XP Troubleshooting
http://www.winhelponline.com


In my effort to clean a trojan, i did by mistake delete a value in the
registry, i believe it is the following:

userinit : C:\windows\system32\userinit.exe

under
HKEY_LOCAL_MACHINE->Software->Microsoft->WindowsNT->CurrentVersion->Winlogon

and this had as an effect that when i login to an account the account log's
off automatically, so i end up in the login screen, without entering the
windows xp enviroment.

Is there a way to fix the registry without logging onto windows?

i've already tried the recovery console(but executes only predefined
commands) and i've tried to boot from some dos disks but the reg.exe file
executes only from the windows xp command line.

Anyone, any idea? Thanks for reading this, and most of all thanks to anyone
who has any suggestion
 
C

cquirke (MVP Windows shell/user)

On Thu, 29 Dec 2005 05:46:02 -0800, "nezos"
In my effort to clean a trojan, i did by mistake delete a value in the
registry, i believe it is the following:
userinit : C:\windows\system32\userinit.exe

and this had as an effect that when i login to an account the account log's
off automatically, so i end up in the login screen, without entering the
windows xp enviroment.
Is there a way to fix the registry without logging onto windows?

I'd fix this from a Bart CDR boot, using RunScanner plugin and
Regedit, or by manually binding the HD's hives to HKLM in Regedit.

You prolly don't have Bart, and MS haven't provided that sort of
functionality. This case is an example of why you need such things.


---------- ----- ---- --- -- - - - -
Don't pay malware vendors - boycott Sony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top