Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



User immediatly logs off after entering username and password

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-12-2007
David
 
Posts: n/a
User immediatly logs off after entering username and password

Hi there! I'm having the following problem:

My WinXP Pro startup goes on normaly until it asks me to choose my user
account and I enter my password.

Immediatly after entering my password, when XP should log in, it does logoff
instead and goes back to the screen where I must choose my user account.

Does it mean that someone has entered a shortcut to "shutdown.exe" in
startup folder? If so, how can I solve this? Can it be anything else?

Best regards.

David - Pt

Reply With Quote
  #2  
Old 04-12-2007
smlunatick
 
Posts: n/a
Re: User immediatly logs off after entering username and password

On Dec 3, 1:28 pm, David <Da...@discussions.microsoft.com> wrote:
> Hi there! I'm having the following problem:
>
> My WinXP Pro startup goes on normaly until it asks me to choose my user
> account and I enter my password.
>
> Immediatly after entering my password, when XP should log in, it does logoff
> instead and goes back to the screen where I must choose my user account.
>
> Does it mean that someone has entered a shortcut to "shutdown.exe" in
> startup folder? If so, how can I solve this? Can it be anything else?
>
> Best regards.
>
> David - Pt


Have you tried a different account?

You may have to use the "Administrator" account in order to check the
"Startup" folders (user account AND the All Users one.)
Reply With Quote
  #3  
Old 04-12-2007
nass
 
Posts: n/a
RE: User immediatly logs off after entering username and password



"David" wrote:

> Hi there! I'm having the following problem:
>
> My WinXP Pro startup goes on normaly until it asks me to choose my user
> account and I enter my password.
>
> Immediatly after entering my password, when XP should log in, it does logoff
> instead and goes back to the screen where I must choose my user account.
>
> Does it mean that someone has entered a shortcut to "shutdown.exe" in
> startup folder? If so, how can I solve this? Can it be anything else?
>
> Best regards.
>
> David - Pt


It could be a damaged/corrupt user account ( Admin account or Admin group!).

What happen if you tried Safe Mode, does it work?.
If it did you may have Bad Hardware/driver causing this issue, see the
Device manager in safe mode and the Event Viewer for error messages,, that
can help in solving or knowing the culprit in your case.

You may experiencing a profile corruption, try to create a new profile (as
Admin) and copy the data from one of these profile to the new and test to see
if it will work.
If it did work then you know it is a profile corruption, after making sure
you copied all the Data from the Old Profile to the new one, you can safely
delete the old corrupted one, the same with other account.
How to Identify a Damaged User Profile and Create a New Profile
http://support.microsoft.com/kb/811151
How to copy data from a corrupted user profile to a new profile
http://support.microsoft.com/kb/811151
HTH.
nass
-------
http://www.nasstec.co.uk
Reply With Quote
  #4  
Old 04-12-2007
John John
 
Posts: n/a
Re: User immediatly logs off after entering username and password

Often a sign of malware replacing the userinit file or registry entries
at the Winlogon userinit value. It can also occur if the boot volume
drive letter assignment was changed in the Registry's MountedDevices
database. Does your computer have a floppy diskette drive? How many
hard disks does the computer have? How many partitions and how many
operating systems on the drives and partitions? Is the computer
networked? Do you have another Windows XP computer available?

John

David wrote:

> Hi there! I'm having the following problem:
>
> My WinXP Pro startup goes on normaly until it asks me to choose my user
> account and I enter my password.
>
> Immediatly after entering my password, when XP should log in, it does logoff
> instead and goes back to the screen where I must choose my user account.
>
> Does it mean that someone has entered a shortcut to "shutdown.exe" in
> startup folder? If so, how can I solve this? Can it be anything else?
>
> Best regards.
>
> David - Pt

Reply With Quote
  #5  
Old 04-12-2007
nospam
 
Posts: n/a
RE: User immediatly logs off after entering username and password

=?Utf-8?B?bmFzcw==?= <nass@discussions.microsoft.com> wrote in
news:64408569-B203-43E3-9753-0AA2D70E1F04@microsoft.com:

> "David" wrote:
>
>> Hi there! I'm having the following problem:
>>
>> My WinXP Pro startup goes on normaly until it asks me to choose my
>> user account and I enter my password.
>>
>> Immediatly after entering my password, when XP should log in, it does
>> logoff instead and goes back to the screen where I must choose my
>> user account.
>>
>> Does it mean that someone has entered a shortcut to "shutdown.exe" in
>> startup folder? If so, how can I solve this? Can it be anything else?
>>
>> Best regards.
>>
>> David - Pt

>
> It could be a damaged/corrupt user account ( Admin account or Admin
> group!).
>
> What happen if you tried Safe Mode, does it work?.
> If it did you may have Bad Hardware/driver causing this issue, see the
> Device manager in safe mode and the Event Viewer for error messages,,
> that can help in solving or knowing the culprit in your case.
>
> You may experiencing a profile corruption, try to create a new profile
> (as Admin) and copy the data from one of these profile to the new and
> test to see if it will work.
> If it did work then you know it is a profile corruption, after making
> sure you copied all the Data from the Old Profile to the new one, you
> can safely delete the old corrupted one, the same with other account.
> How to Identify a Damaged User Profile and Create a New Profile
> http://support.microsoft.com/kb/811151
> How to copy data from a corrupted user profile to a new profile
> http://support.microsoft.com/kb/811151
> HTH.
> nass
> -------
> http://www.nasstec.co.uk


Another possibility is an invalid/missing TEMP folder, or one where the
permissions have been set to not allow the user access.
Reply With Quote
  #6  
Old 05-12-2007
David
 
Posts: n/a
Re: User immediatly logs off after entering username and password

This problem occurs with all user accounts.

The computer does not have a floppy disk drive.

It has one hard drive, single partition and with a single OS - Win XP

It's a laptop

I have another computer with XP available

It has a network connection.


Thanks!

David



"John John" wrote:

> Often a sign of malware replacing the userinit file or registry entries
> at the Winlogon userinit value. It can also occur if the boot volume
> drive letter assignment was changed in the Registry's MountedDevices
> database. Does your computer have a floppy diskette drive? How many
> hard disks does the computer have? How many partitions and how many
> operating systems on the drives and partitions? Is the computer
> networked? Do you have another Windows XP computer available?
>
> John
>
> David wrote:
>
> > Hi there! I'm having the following problem:
> >
> > My WinXP Pro startup goes on normaly until it asks me to choose my user
> > account and I enter my password.
> >
> > Immediatly after entering my password, when XP should log in, it does logoff
> > instead and goes back to the screen where I must choose my user account.
> >
> > Does it mean that someone has entered a shortcut to "shutdown.exe" in
> > startup folder? If so, how can I solve this? Can it be anything else?
> >
> > Best regards.
> >
> > David - Pt

>

Reply With Quote
  #7  
Old 05-12-2007
John John
 
Posts: n/a
Re: User immediatly logs off after entering username and password

If the laptop is part of a network you can access it and modify the
registry by one of the means mentioned in this article:

Unable to log on if the boot partition drive letter has changed
http://support.microsoft.com/kb/249321/

Your problem might be caused by a boot drive letter change but I kind of
doubt that that is the problem, nonetheless it's easy enough to verify
and eliminate that possibility. In addition to the above also see:

How to restore the system/boot drive letter in Windows
http://support.microsoft.com/kb/223188/

As I already mentioned, I rather doubt that your problem is drive letter
related, I think that this looks like yet another one of those pests
that changes the userinit value at the Winlogon key in the registry.
Incorrectly changing the userinit value typically results in the
computer rebooting and returning to the logon screen when it cannot find
the associated userinit entries.

The Userinit entry is at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Here is the description of the value:

[quote]

Specifies the programs that Winlogon runs when a user logs on. By
default, Winlogon runs Userinit.exe, which runs logon scripts,
reestablishes network connections, and then starts Explorer.exe, the
Windows user interface.

You can change the value of this entry to add or remove programs. For
example, to have a program run before the Windows Explorer user
interface starts, substitute the name of that program for Userinit.exe
in the value of this entry, then include instructions in that program to
start Userinit.exe. You might also want to substitute Explorer.exe for
Userinit.exe if you are working offline and are not using logon scripts.

[end quote]

http://www.microsoft.com/technet/pro....mspx?mfr=true

Some spyware and other pests can make use or exploit the userinit entry
to load their trash before the user GUI starts. If you remove spyware
and other such pests without removing them from the registry at the
above mentioned location you might experience the reboot behaviour such
as the one you are now experiencing. At other times the value may have
been completely removed, in which case you have to recreate it, the key
normally contains the following entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Value name: Userinit

Value data: C:\WINDOWS\system32\userinit.exe,

*Note the comma at the end of the value string*

Windows Log on and Log off immediately.
http://support.microsoft.com/kb/555648

At other times some of these pests simply highjack the userinit.exe file
itself to do their dirty deeds, they remove the valid userinit.exe file
and place their malware (renamed as userinit) at the valid location,
then there maybe no changes made to the registry value itself but when
the key is read and when userinit is executed the operating system is
actually executing the pest itself instead of the valid userinit.exe.
If your AV/Antispyware tools remove the impostor without placing the
valid file back to its original location then you may also experience
the reboot behaviour. See here for typical information on how to remove
invalid files and how to restore the registry value:

You cannot log on to Windows XP after you remove Wsaupdater.exe
http://support.microsoft.com/kb/892893

John


David wrote:

> This problem occurs with all user accounts.
>
> The computer does not have a floppy disk drive.
>
> It has one hard drive, single partition and with a single OS - Win XP
>
> It's a laptop
>
> I have another computer with XP available
>
> It has a network connection.
>
>
> Thanks!
>
> David
>
>
>
> "John John" wrote:
>
>
>>Often a sign of malware replacing the userinit file or registry entries
>>at the Winlogon userinit value. It can also occur if the boot volume
>>drive letter assignment was changed in the Registry's MountedDevices
>>database. Does your computer have a floppy diskette drive? How many
>>hard disks does the computer have? How many partitions and how many
>>operating systems on the drives and partitions? Is the computer
>>networked? Do you have another Windows XP computer available?
>>
>>John
>>
>>David wrote:
>>
>>
>>>Hi there! I'm having the following problem:
>>>
>>>My WinXP Pro startup goes on normaly until it asks me to choose my user
>>>account and I enter my password.
>>>
>>>Immediatly after entering my password, when XP should log in, it does logoff
>>>instead and goes back to the screen where I must choose my user account.
>>>
>>>Does it mean that someone has entered a shortcut to "shutdown.exe" in
>>>startup folder? If so, how can I solve this? Can it be anything else?
>>>
>>>Best regards.
>>>
>>>David - Pt

>>


Reply With Quote
  #8  
Old 06-12-2007
Ramesh, MS-MVP
 
Posts: n/a
Re: User immediatly logs off after entering username and password

Addendum:

If this is an "userinit" issue, you can fix this via BartPE's boot environment.

How to edit the registry offline using BartPE boot CD ?:
http://windowsxp.mvps.org/peboot.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"John John" <audetweld@nbnet.nb.ca> wrote in message news:u$$xCg2NIHA.4948@TK2MSFTNGP02.phx.gbl...
If the laptop is part of a network you can access it and modify the
registry by one of the means mentioned in this article:

Unable to log on if the boot partition drive letter has changed
http://support.microsoft.com/kb/249321/

Your problem might be caused by a boot drive letter change but I kind of
doubt that that is the problem, nonetheless it's easy enough to verify
and eliminate that possibility. In addition to the above also see:

How to restore the system/boot drive letter in Windows
http://support.microsoft.com/kb/223188/

As I already mentioned, I rather doubt that your problem is drive letter
related, I think that this looks like yet another one of those pests
that changes the userinit value at the Winlogon key in the registry.
Incorrectly changing the userinit value typically results in the
computer rebooting and returning to the logon screen when it cannot find
the associated userinit entries.

The Userinit entry is at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Here is the description of the value:

[quote]

Specifies the programs that Winlogon runs when a user logs on. By
default, Winlogon runs Userinit.exe, which runs logon scripts,
reestablishes network connections, and then starts Explorer.exe, the
Windows user interface.

You can change the value of this entry to add or remove programs. For
example, to have a program run before the Windows Explorer user
interface starts, substitute the name of that program for Userinit.exe
in the value of this entry, then include instructions in that program to
start Userinit.exe. You might also want to substitute Explorer.exe for
Userinit.exe if you are working offline and are not using logon scripts.

[end quote]

http://www.microsoft.com/technet/pro....mspx?mfr=true

Some spyware and other pests can make use or exploit the userinit entry
to load their trash before the user GUI starts. If you remove spyware
and other such pests without removing them from the registry at the
above mentioned location you might experience the reboot behaviour such
as the one you are now experiencing. At other times the value may have
been completely removed, in which case you have to recreate it, the key
normally contains the following entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Value name: Userinit

Value data: C:\WINDOWS\system32\userinit.exe,

*Note the comma at the end of the value string*

Windows Log on and Log off immediately.
http://support.microsoft.com/kb/555648

At other times some of these pests simply highjack the userinit.exe file
itself to do their dirty deeds, they remove the valid userinit.exe file
and place their malware (renamed as userinit) at the valid location,
then there maybe no changes made to the registry value itself but when
the key is read and when userinit is executed the operating system is
actually executing the pest itself instead of the valid userinit.exe.
If your AV/Antispyware tools remove the impostor without placing the
valid file back to its original location then you may also experience
the reboot behaviour. See here for typical information on how to remove
invalid files and how to restore the registry value:

You cannot log on to Windows XP after you remove Wsaupdater.exe
http://support.microsoft.com/kb/892893

John


David wrote:

> This problem occurs with all user accounts.
>
> The computer does not have a floppy disk drive.
>
> It has one hard drive, single partition and with a single OS - Win XP
>
> It's a laptop
>
> I have another computer with XP available
>
> It has a network connection.
>
>
> Thanks!
>
> David
>
>
>
> "John John" wrote:
>
>
>>Often a sign of malware replacing the userinit file or registry entries
>>at the Winlogon userinit value. It can also occur if the boot volume
>>drive letter assignment was changed in the Registry's MountedDevices
>>database. Does your computer have a floppy diskette drive? How many
>>hard disks does the computer have? How many partitions and how many
>>operating systems on the drives and partitions? Is the computer
>>networked? Do you have another Windows XP computer available?
>>
>>John
>>
>>David wrote:
>>
>>
>>>Hi there! I'm having the following problem:
>>>
>>>My WinXP Pro startup goes on normaly until it asks me to choose my user
>>>account and I enter my password.
>>>
>>>Immediatly after entering my password, when XP should log in, it does logoff
>>>instead and goes back to the screen where I must choose my user account.
>>>
>>>Does it mean that someone has entered a shortcut to "shutdown.exe" in
>>>startup folder? If so, how can I solve this? Can it be anything else?
>>>
>>>Best regards.
>>>
>>>David - Pt

>>


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "User immediatly logs off after entering username and password"
Thread Thread Starter Forum Replies Last Post
Need help for getting the DSL username and password Road-Runner Networking & Security 4 03-12-2010 04:18 PM
Send an email to a user logs Captain Carrot Networking & Security 4 08-04-2010 04:50 PM
net user username password problem Banjiji Networking & Security 3 28-07-2009 07:21 PM
Login script doesn't run when user logs into computer in other dom PanTzeR Active Directory 3 08-04-2008 06:08 AM
backup to a network drive is asking for username and password...whatusername and password? Lisa Hetherington Vista Help 7 04-02-2008 08:05 PM


All times are GMT +5.5. The time now is 10:09 PM.