Re: XP Logging on then immediately logging off

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you for taking the time to respond. I would like to understand the why
of this solution before I do it. How is the drive letter incorrect? Slaving
the drive to another machine shows that it has two logical drives: G and H.
How could it be set up this way if it is incorrect? Please explain. Also, I
have already attempted to edit the registry of this H drive using a host
machine. I searched the H drive for the Regedit.exe program, double clicked
it and I navigated to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon\. Upon viewing the entries in the right hand
pane, I see my name and the name of the host machine. Does this not mean I
am editing the registry of my host machine and not the H drive? Thanks
again,

Rip

"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message
news:%23hoUKwu2IHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
See below.

"RipperT @nOsPaM.nEt>" <<RiPpErT> wrote in message
news:%233rV%23Uu2IHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
I have an HP Pavillion desktop w/ XP (don't know if it's Home or Pro) that
logs off as soon as it logs on. I get welcome screen, logon screen,
desktop wallpaper, then logoff. This happens with the only account on the
machine, the same account in safe mode and the admin account in safe mode.
My research points to a corrupt userinit.exe file in Windows\system32.

*** It's rare that this file gets corrupted. In most cases Windows
*** is simply unable to locate it.

I removed the HDD to another computer and replaced the userinit.exe file
with a known good one, then returned the drive to its host machine, but
no change.

*** This is entirely expected.

Further research suggests that a registry key may still point to a wrong
userinit.exe file or wrong path, and I would like to check the registry
to see if this is true. The key is supposed to be:

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

*** It is actually HKLM/Software/Microsoft/Windows NT/Current
Version/Winlogon/Userinit

The value is supposed to be (on a machine with Windows installed to C):
C:\WINDOWS\system32\userinit.exe,

*** Yes.

This computer is not on my network, so I can't connect to it's registry
via the network. I've booted into recovery console and it asks me to
choose between these two installs:
1. H:\MiniNT
2. H:\I386
I am confused by this because I think there is usually a C:\Windows
option here, or in this case, an H:\Windows.

*** Here is your answer: The system drive letter is incorrect, hence
*** Windows cannot find userinit.exe.

Looking at this drive's folder structure on another computer, it has a
G:\ drive and an H:\ drive. The H drive has a Windows folder with an I386
folder inside that. The G drive I believe is the recovery partition and
has the MiniNT folder and an I386 folder at it's root. No Windows folder.

I don't know which installation to select and I don't know what commands
to enter to open or check the registry values to see if the key is
correct. The HP recovery utility says that I will have to reinstall all
apps that didn't come with the machine if I use it and I'd like to avoid
that. Can anyone help?
Many thanks,

Rip

Editing the registry from the Recovery Console, if at all possible,
would be painful. It's much easier to connect the problem disk
temporarily as a slave disk to another WinXP PC, then to edit
the "System" registry file with regedit.exe on that machine.
Simply rename HKLM\SYSTEM\MountedDevices\H: to
HKLM\SYSTEM\MountedDevices\C:



.



Relevant Pages

  • Re: Slow access time with Seagate SATA HDD
    ... but displayed the folder tree on the second one ... I've not been able to come across any specific Registry ... drives only, ... "The government is best which governs least" - Thomas ...
    (microsoft.public.windowsxp.general)
  • Re: Slow access time with Seagate SATA HDD
    ... The only thing that might track with your Registry change might be ... display a folder tree. ... I've been led to believe this is for IDE drives only, ... "The government is best which governs least" - Thomas Jefferson ...
    (microsoft.public.windowsxp.general)
  • Re: I can share files on D: but not on C: on combined Wireless and
    ... files on both drives. ... that I setup on drive C: are seen by the other two computers in Network ... Events/System folder in Computer Management There are several Error events ... registry also turned up no results. ...
    (microsoft.public.windowsxp.network_web)
  • Re: XP Logging on then immediately logging off
    ... Is this where I find the system registry ... reported to carry the folder c:\Windows) and jot down ... Run regedit and load the System hive of the problem disk, ... logical drives: G and H. How could it be set up this way if it is ...
    (microsoft.public.windowsxp.general)
  • Re: autorun configuration
    ... the value in the registry is 0x95. ... DRIVE_UNKNOWN, DRIVE_REMOVEABLE, and DRIVE_REMOTE don't use AutoPlay ... How to Enable or Disable Automatically Running CD-ROMs ... |I cannot figure out to turn off autorun for my USB drives under Windows XP. ...
    (microsoft.public.windowsxp.basics)