473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XP logs off immediately after log on.

harshadd
176 100+
Background:
I'm running XP Pro SP2. I use AVG free, and mCafee as antivirus, windows deffendar to protect malwares.
Problem is :
Machine starts up normally, goes to the XP login screen. I enter username and password, and it starts logging into the profile, as soon as the wallpaper comes up, it immediately logs back out to the welcome screen. shows logging off screen and come back on login prompt. When I second time logs in It logs in properly.
Dec 24 '07
51 66518
Nepomuk
3,112 Expert 2GB
I agree with AmbrNewlearner, that the word used was not appropriate in this Forum, although of course I can understand harshadd's point. So I've replaced it with another word, which isn't seen as so vulgar, but still makes the point.

Greetings,
Nepomuk (Moderator)
Oct 11 '08 #51
harshadd
176 100+
Solution for XP logs off immediately after longing in and again go back to login prompt

Let us end this thread with final solution.
This is the sequence:

LOGON SCREEN
USER LOGGING ON BY PROVIDING USERNAME AND PASSWORD
LOADING PERSONAL SETTINGS
LOGGING OFF
SAVING YOUR SETTINGS
LOGON SCREEN again <loop>

Now highest possibilities are

1. C:\WINNT\system32\userinit.exe , this file is currupt or invalid or infected.
2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\userinit, This registry key is tempered by virus/spyware.


To get your originil userinit.exe back in place do following:

Boot with bootable XP CD............
Enter password when asked for ........
Now in command prompt type
expand F:\i386\userinit.ex_ c:\windows\system32

assuming F: is CD drive path.............


If above could not help, that means your registry key value is changed/invalid

This will cause the issue that you are having. To fix it, simply change it back. Of course you will not be able to do this by logging on. You can use another machine (computer A) on the same network (or borrow a friends computer to network with A) and use regedit.exe to remote connect to the machine with the problem (computer B) and make the change that way. Just make sure that the Remote Registry service on machine A is running. That same service may have to be running on computer B (can't remember) but you can start it using Computer Management and remoting from A to B as well. Anyway, that is a bit of a different subject and there are many messages regarding that.

Secondly you can do this by editing registry manually, presently I will prefer to manually edit registry files to solve this problem OR using Offline XP password and Registry editor (although even I have never tried this program personally). or any software that allows you to access windows registry without logging in, such s/w are listed on net. google for it. Certainly You do not need to do Yaaahoooooo when you find it on google. ;)


Hope this helps,


Good luck...HND (HarshadD)
Oct 12 '08 #52

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Joe | last post by:
Hello: I've been examining IIS logs downloaded from my web host's server, and I noticed that entried that they should have been created by me going to my own site minutes before are not there....
9
by: Neurocon | last post by:
Hey everyone -- I've been having this problem for a couple weeks and was hoping maybe someone can help out a little bit. Synopsis: This SQL agent job contains code to perform a full...
2
by: Peter Sands | last post by:
Hi, I am testing out some restores to a stand-by server, by roll-forwading the logs. I have this setup. There is no user-exit, but logretain is on, for archive logging. I have 2 DB's on...
6
by: divya | last post by:
I have a page name edit.asp which should expire immediately .The user cannot open this page directly he has to provide a password for entering this page.thus when the user enters edit.asp , it has...
4
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the...
4
by: Brian D | last post by:
In MS SQL 2005 when you do a Full Backup does it also backup and truncate the transaction logs or do I need to back the transaction logs up separately? Thanks. Brian
1
by: =?Utf-8?B?S3VsamVldA==?= | last post by:
Hi everbody, Today i face one prob in windows xp in my laptop. whenever i m trying to log in from the user name and password screen. i cant. whenever i m giving the password and pressing enter,...
41
by: pbd22 | last post by:
Hi. I know my windows service works when i run it in debug mode on my dev machine. It also works in release mode on my dev machine. But, when I move the service to a production server, it...
0
by: shorti | last post by:
We are running DB2 UDB 8.1 fp 14 on AIX using archival logging and online backups. I was running some disaster tests and found my database restore was not restoring to the latest active log. ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.