Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Autoruns
  New Posts New Posts RSS Feed: Fixing disabled userinit.exe entry
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Fixing disabled userinit.exe entry

 Post Reply Post Reply
Author
Message
  Topic Search Topic Search  Topic Options Topic Options
redhawk View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 14 September 2005
Location: United Kingdom
Online Status: Offline
Posts: 1049
  Quote redhawk Quote  Post ReplyReply Direct Link To This Post Topic: Fixing disabled userinit.exe entry
    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).
These instructions assume C: as the drive holding the Operating System in question. This may change depending on BIOS settings and dual boot configurations.

Open a cmd shell or DOS prompt and type the following:

(rename the current registry files just incase you want to rename them back)
ren c:\windows\system32\config\software *.old
ren c:\windows\system32\config\system *.old

(access the System Restore backup copies of the registry files)
c:
cd\system volume information
cd _restore*
dir
and then: cd RP?? e.g. cd RP63 (pick the latest Restore Point folder it should be the highest numerical value from the directory list)
cd snapshot (if this folder is missing "File not found" you need to pick another recent RP folder)



(replace the system registry files using the backup copies)
copy _REGISTRY_MACHINE_SOFTWARE c:\windows\system32\config\sofware
copy _REGISTRY_MACHINE_SYSTEM c:\windows\system32\config\system

Now reboot Windows should be running back to normal.

Richard S.

Edited by redhawk - 19 April 2008 at 6:28am
Back to Top
GrofLuigi View Drop Down
Senior Member
Senior Member


Joined: 18 January 2006
Online Status: Offline
Posts: 163
  Quote GrofLuigi Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
trexmgd View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2009
Location: SoCal
Online Status: Offline
Posts: 12
  Quote trexmgd Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
redhawk View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 14 September 2005
Location: United Kingdom
Online Status: Offline
Posts: 1049
  Quote redhawk Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
trexmgd View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2009
Location: SoCal
Online Status: Offline
Posts: 12
  Quote trexmgd Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
trexmgd View Drop Down
Newbie
Newbie
Avatar

Joined: 13 February 2009
Location: SoCal
Online Status: Offline
Posts: 12
  Quote trexmgd Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2009 at 9:42pm
Originally posted by redhawk

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.
 
OK... heading over there
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Privacy Statement