Re: login then log out upon boot



mesg wrote:

"John John" wrote:


mesg wrote:


"John John" wrote:



yes. i would like to attempt to edit the registry. as i am currently with out additional hardware items (not at home), and would like to get this done before the weekend if at all possible

Without additional harware? What are you now using to post to the newsgroups? You need to create a boot cd to fix this, you need a Windows XP cd and a cd burner. You can create a Bart's PE disk and include a registry editor plug-in with it or you can use the Ultimate Boot CD for Windows:

http://www.nu2.nu/pebuilder/
http://www.ubcd4win.com/

Let us know if you can create one of these live disks.

John




yup downloaded and created..i`m currently in my office...corporate locked hardware.. sux but i am unable to access any hardware resources, going to pick up an aditional portable usb drive @ best buy..walmart tommorrow to hopefully mount the drive extenally and borrow a laptop to safe the data.

Now that you have created the boot cd just boot the computer with it and use the registry plug-in utility to edit the offline registry. The registry files are located in the following folder:

\WINDOWS\system32\config

The hive that you need to load and edit is the SOFTWARE hive, the one without an extension.

Go to the following key and check the userinit value and make sure that it contains only the information as shown below:

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*

The value at the userinit value is often changed by virus or other such pests. Run virus and spyware scans on the machine to make sure that it is free of pests.

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

http://groups.google.com/group/microsoft.public.windowsxp.general/browse_frm/thread/75436a01ed79e2eb/adc14c8b577b2edb?lnk=st&q=#adc14c8b577b2edb

John



i take it..?? that i remove the comma?? the string appears to be intack when opened in the editor. i have removed the coma the saved the edit, and rebooted, with no change to the start-up login/logout

No, the comma *must* be present! If the userinit value is exactly as shown then there is a possibility that the userinit.exe file itself might have been removed by malware. Extract the file from the Windows XP cd and place it in the \windows\system32\ folder.

If the user still cannot logon after ensuring that the file is present and in its proper location and that the registry entry is correct, then another possibility is that the boot partition drive letter has been changed. See here for more information on how to go about fixing this problem:

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

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

Note that KB249321 provides several solutions, only one need be performed. With your PE disk you have already gained access to the registry of the non booting installation so most of the steps there do not need to be carried out. Using FDISK /MBR can be simple method to use on computers with single disks and single partitions.

John
.



Relevant Pages

  • Re: Boot up problem... with a difference
    ... You should not be touching the Registry. ... What Windows XP CD do you have? ... Safe mode boot is fine. ... Event Type: Error ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: ntoskrnl.exe problem HELP
    ... option when you go to try to boot into safe mode, ... I hope I don't see anything like this ever again, messing with the registry ... access the installation as a simple data disk and use a suitable ... from the working Windows installation ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: ntoskrnl.exe problem HELP
    ... option when you go to try to boot into safe mode, but whenever I copied another boot.ini file to it, any additional options other than the different variations of "Safe" mode disappeared. ... I hope I don't see anything like this ever again, messing with the registry isn't one of those things I like to do, but in this particular case, I didn't really have any choice. ... 2- Mount the disk in another Windows NT type computer and use the "Load Hive" feature in Regedit or Regedt32. ... 3- Access the broken installation via a "Parallel" or proper "Dual Boot" installation on the same computer and use the "Load Hive" feature in Regedit or Regedt32. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: ntoskrnl.exe problem HELP
    ... Now check the option on the Windows Boot Menu. ... access the installation as a simple data disk and use a suitable ... registry editor. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: ntoskrnl.exe problem HELP
    ... option when you go to try to boot into safe mode, ... I hope I don't see anything like this ever again, messing with the registry ... access the installation as a simple data disk and use a suitable ... from the working Windows installation ...
    (microsoft.public.windowsxp.help_and_support)