![]() |
Fixing disabled userinit.exe entry |
Post Reply
|
| Author | ||||
markj99
Newbie
Joined: 05 February 2010 Location: California Online Status: Offline Posts: 1 |
Post Options
Quote Reply
Topic: Fixing disabled userinit.exe entryPosted: 05 February 2010 at 10:44am |
|||
|
Here it is, years after the first post, and I find myself here, because I did it too: I shot myself in the foot, by un-checking 'userinit.exe' (in autoruns.exe), on my Windows XP Pro sp2 system.
And I did it despite having read the warning that "Users won't be able to log in". I thought that just meant that I'd temporally have a single-user Windows XP system, until I re-enabled it. But as you, and I now know, the warning means that un-checking that box will result in a zero user system. And I soon discovered I couldn't boot Windows XP Pro, not even into "safe mode". Reverting to the Last Known Good Configuration" didn't help. The recovery console was no help. Oh, that cold, sinking feeling. Gulp. I found several solutions on the internet, but none of them are very pretty. Redhawk's most recent suggestion to "Download and burn a copy of Microsoft Diagnostics and Recovery Toolset" was the most palatable, but as of this date (2/2010) it appears that Microsquash allows only OEM-type people to download that software. Fortunately though, this (Redhawk's) solution works. And it's (relatively) painless, especially if you already have a BartPE boot CD. ![]() But I'd like to add a couple of observations: 1) Be sure you cd into the most recent _restore directory. It's possible to have several _restore directories. If so, " Instead, first use "dir /od" to find the most recent '_restore...' directory, and 'cd" into that. 2) You probably just need to restore the "software" hive. If you are doing all this just because you used autoruns.exe, and mistakenly unchecked userinit.exe, then you only screwed up the "software" hive. That means you means you probably need only to restore the 'software' registry file: You can safely SKIP the step That's what I did, and it worked just fine for me. But I'm an idiot -- after all, I unchecked 'userinit.exe'. ![]() So you probably should ignore everything I say, except "Thank you, Redhawk!" |
||||
![]() |
||||
trexmgd
Newbie
Joined: 13 February 2009 Location: SoCal Online Status: Offline Posts: 12 |
Post Options
Quote Reply
Posted: 13 February 2009 at 9:42pm |
|||
OK... heading over there
|
||||
![]() |
||||
trexmgd
Newbie
Joined: 13 February 2009 Location: SoCal Online Status: Offline Posts: 12 |
Post Options
Quote Reply
Posted: 13 February 2009 at 9:41pm |
|||
|
One (BIG) issue I'm having is that my HDs are in a RAID_0 configuration, so at recovery even when I hit f6 and load the raid driver, I'm not really seeing the C: drive.
|
||||
![]() |
||||
redhawk
Moderator Group
Joined: 14 September 2005 Location: United Kingdom Online Status: Offline Posts: 1220 |
Post Options
Quote Reply
Posted: 13 February 2009 at 9:37pm |
|||
|
Bad timing trexmgd I was in the process of changing the instructions for something less complicated than copying files about. :)
For now could you please refer to this post for help. Richard S. Edited by redhawk - 13 February 2009 at 9:39pm |
||||
![]() |
||||
trexmgd
Newbie
Joined: 13 February 2009 Location: SoCal Online Status: Offline Posts: 12 |
Post Options
Quote Reply
Posted: 13 February 2009 at 8:59pm |
|||
|
When I attempt this to recover from unchecking the userinit.exe in Autoruns via this method, I get the message "Access is Denied" when I try the rename (ren) commands.
Ideas? |
||||
![]() |
||||
GrofLuigi
Senior Member
Joined: 18 January 2006 Online Status: Offline Posts: 185 |
Post Options
Quote Reply
Posted: 28 August 2006 at 8:13pm |
|||
|
Ingenious!
But print spooler service may be also set to manual/disabled... Nevertheless, it may save someone's a**. GL |
||||
![]() |
||||
redhawk
Moderator Group
Joined: 14 September 2005 Location: United Kingdom Online Status: Offline Posts: 1220 |
Post Options
Quote Reply
Posted: 28 August 2006 at 6:45pm |
|||
|
In the interest of everyone I've removed the original post using the spooler trick because as it turns out this only worked with XP SP1 and not SP2.
I do have another method for restoring XP back to a workable state which I hope would be of some use. Because it involves moving and copying system files basic knowledge of MS-DOS commands would be an essential requirement. Every time you add drivers or install / uninstall software Windows creates copies of the system registry as a series of snapshots for the System Restore tool. The method of recovering from a disabled userinit.exe is basically to grab the latest backup copies of the system registry files and to manually swap them with the current ones. To do this you need access to the Windows file system with the aid of a boot Disk/CD such as: BartPE (requires XP SP1/SP2 install CD) Avira's freeware NTFS driver via a DOS boot disk Windows install CD 2K/XP console recovery or slaving the hard drive with a bootable Operating System. Note that Avira NTFS4DOS doesn't support long filenames and would make it hard to identify certain files (use only as a last resort).
Open a cmd shell or DOS prompt and type the following: (rename the current registry files just incase you want to rename them back)
(access the System Restore backup copies of the registry files)
(replace the system registry files using the backup copies)
Now reboot Windows should be running back to normal. Richard S. Edited by redhawk - 19 April 2008 at 6:28am |
||||
![]() |
||||
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |