Question Locked

Auto Logoff

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

A client's computer is automatically logging off as soon as windows logs on (shows desktop background, then logs off), muchlike: http://www.computing.net/answers/security/logonlogoff-virus/14265.html#postfp
or
http://support.microsoft.com/kb/555648

For a while of searching now, I guess what I'm mainly asking is how would I manage to change this registry key (if that realy is the proble), if all accounts (admin, user, everything) will not login even within safemode?

need ansers asap, if anyone would be abliged to help.

13 replies

by rob miners

https://www.techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=305004&messageID=3040343

Enter the Recovery Console

Boot the system using the Windows XP CD-ROM. In the first screen when the Setup begins, read the instructions press "R" (in the first screen) enter the Recovery Console.

1: C:\WINDOWS

Which Windows Installation would you like to log on to
(To cancel, press ENTER)?
After you enter the number for the appropriate Windows installation, Windows will then prompt you to enter the Administrator account password.

Note If you use an incorrect password three times, the Windows Recovery Console closes. Also, if the Security Accounts Manager (SAM) database is missing or damaged, you cannot use the Windows Recovery Console because you cannot have correct authentication. After you enter your password and the Windows Recovery Console starts, type exit to restart the computer.

Type the following command and press Enter.

CD SYSTEM32
(If that does not work, try CHDIR SYSTEM32)
At the prompt type in
COPY USERINIT.EXE WSAUPDATER.EXE

Quit Recovery Console by typing EXIT and restart Windows.

You'll be able to login successfully as you've created the wsaupdater.exe file (now, a copy of userinit.exe)

"WARNING MODIFYING REGISTRY INFORMATION IS DANGEROUS"
Backup the Key before making changes.

Now, change the USERINIT value in the registry
Click Start, Run and type Regedt32 and press Enter.

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

In the right pane you will see that the value of the Userinit key is incorrectly set to "wsaupdater.exe,"

In the right-pane, change the value of Userinit to C:\WINDOWS\system32\userinit.exe,

Type the above value exactly as given, including the comma. Also, change the path to userinit.exe appropriately if Windows is installed in a different drive.

Close Registry Editor and restart Windows.

by ferasdour

I belive I managed to miss that one. I found alot of such things telling me just the point of using the registry part, however, thank you, it shall be tried.

You proved of great help.

by ferasdour

"COPY USERINIT.EXE WSAUPDATER.EXE" in system32 while in the recovery consol (had to put in new cd drive to get it going), said file specified not found. any ideas?

by rob miners

Insert the XP CD and reboot the computer. You may need to configure your computer to boot from the CD-ROM drive.
When the Windows XP Setup has started, press "R" to "repair the Windows XP installation using Recovery Console".
Select the Windows installation to repair (generally this is C:\Windows) by typing its number and then pressing ENTER.
Type the Administrator password and press ENTER.
Type the following commands: and press Enter after each.
D:
CD I386
EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32
NOTE: If your CD-ROM drive has a different letter assigned to it, enter "X:" instead, where X is the appropriate drive letter.
After entering "EXPAND USERINIT.EX_ C:\WINDOWS\SYSTEM32" you should see the text "1 file(s) copied".

Remove the Windows XP CD, type "EXIT" and press ENTER to restart your computer. You should now be able to log on as normal.

by older mycroft

In case you unexpectedly start using another Thumb !! :^0 :^0 :^0

by ferasdour

and so of what am I do now? I you would be could you give me more of an explanation?

of course, like a fool i'm doing several projects at once, so I simply want to find help instead of doing it myself. but, that was said before did prove of help to some extent, just not to solve my problem.

by rob miners

Follow the steps below with the System started and restarted in Safe Mode with Networking. Running in Safe Mode loads a minimal set of drivers for the Operating System. You can use these options to start Windows so that you can modify the registry or load or remove drivers.

Removing malware from System Restore points
To remove the malware, you must first disable System Restore, then scan the system with up-to-date antivirus software - allowing it to clean, delete, or quarantine any viruses found. After the system has been disinfected, you may then re-enable System Restore. The steps for disabling System Restore vary, depending on whether the default Start Menu or the Classic Start Menu is being used.

Default Start Menu XP
If using the default Start Menu, click Start | Control Panel | Performance and Maintenance | System. Select the System Restore tab and check "Turn off System Restore".

Classic Start Menu XP
If using the Classic Start Menu, click Start | Settings | Control Panel and double-click the System icon. Select the System Restore tab and check "Turn off System Restore".

Vista
Start, right mouse click Computer and select Properties. Select Advanced System Properties, click contine and then System Protection. Untick the box nect to Local Disk C: and click on Turn System Restore off.

After scanning the system and removing the offending malware, re-enable System Restore by repeating the steps, this time removing the check from "Turn off System Restore".

Download Malwarebytes Anti-Malware, install it and update it.

Malwarebytes

* Double-click mbam-setup.exe and follow the prompts to install the program.
* At the end, be sure a checkmark is placed next to Update Malwarebytes' Anti-Malware and Launch Malwarebytes' Anti-Malware, then click Finish.
* If an update is found, it will download and install the latest version.
* Once the program has loaded, select Perform Quick Scan, then click Scan.
* When the scan is complete, click OK, then Show Results to view the results.
* Be sure that everything is checked, and click Remove Selected.

If you encounter any problems while downloading the updates, manually download them from here and just double-click on mbam-rules.exe to install.
mbam-rules

I would keep scanning with it until it is clean by closing out and rebooting and running it again.

From another PC download and install Spybot, update it and copy the the installed folders to a USB Stick.

Restart the PC in Safe Mode, navigate to the USB stick and run Spybot.

Download Spybot - Search & Destroy and install it. Update it.

Spybot

With the new strains of Virus that have been created you may find it necessary to rename the executable files so that they will work. Rename mbam-setup.exe and then navigate to the install folder and rename mbam.exe. Do not change the files extension from .exe. Do the same with Spybot.

Also run this Rootkit Revealer GMer
Gmer

FAQ
FAQ

BleepingComputer
bleepingcomputer

How to check the Host file

Step 1: Click the Start button and select Run. Now type the following text in that Run box and press Enter:

notepad c:\WINDOWS\system32\drivers\etc\hosts

Step 2: You will see a new notepad window on your screen containing some information. You should have a single entry of 127.0.0.1 localhost. If there are any other entries in there it means that those sites are being blocked and it is probably due to an infection. Unless you made the extra entries delete them all but 127.0.0.1 localhost.

Just to be on the safe side when you finish do an online scan with Bitdefender. Or Google for an online scanner.

bitdefender

Update your Antivirus software.

by ferasdour

i ran it when connecting it to a testbed, it found nothing. nor did ZA, or avg, or the stuff i've got running in bart PE. but i can't get into safe mode, so as soon as i can i'll try it.

by ferasdour

Alright, I booted into bartPE, snagged a copy of userinit.exe from that, and it booted to it. ^_^

btw, this computer can't have been put together much after 2000, so well, while trying to load the recovery console even, sometimes it worked, other times it rebooted. the cd drive wouldn't recognize my good copies of xp, but would my oldest one i could find: long story short, in safe mode now, thank you for your continued help.

This discussion is closed to new replies.