Possible virus help.Recently added some software to detect autorun files and viruses on flash disks.The problem now is that my computer wont let me log in.When i reach the log on part it logs me off.Cnt do anything.Tried reapiring my XP files but still no change.

Dani AI

Generated

— the suggestions from , and are good first steps. Safe Mode, a restore to a pre-install point, or trying a fresh account can isolate whether this is a corrupt user profile or something deeper. Below are focused, actionable checks that address the single-most common causes when XP accepts credentials and then immediately logs the user off.

Windows often logs a user off immediately when the shell or the userinit process has been replaced or broken (sometimes by autorun/USB malware). Boot to Safe Mode with Command Prompt (F8) and run regedit. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Confirm these values:

  • Shell = explorer.exe
  • Userinit = C:\Windows\System32\userinit.exe,
    Export the Winlogon key first (File -> Export) before changing anything. If Shell or Userinit point to other .exe files, restore them to the values above.

If you cannot access Safe Mode, the XP CD Recovery Console can restore core files. Replace D: with your CD drive and adjust C:\Windows if your install folder is different:

expand D:\i386\userinit.ex_ C:\Windows\System32\userinit.exe

Also check removable drives for autorun.inf (use a working system or a Safe Mode prompt):

attrib -h -s -r X:\autorun.inf
del X:\autorun.inf

After restoring registry/files, run an offline rescue scan (bootable rescue CDs from major AV vendors) to remove rootkits or autorun-based infections before normal boot. If cleanup fails or system files are badly damaged, back up personal data and consider a repair install or full reinstall. Always export the registry before editing, avoid plugging unknown USB sticks, and disable autorun once the system is clean.

Recommended Answers

All 3 Replies

Hi,
Try creating another user and logging in on that, if it works delete your first and chaange the name of the new one to the old.

Have you tried booting in safe mode, that might allow yuo to login in correctly then delete any files that may be cause the problem

have you tried a system restore back to before you added the software package?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.