Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Cant login XP


  • Please log in to reply

#1
lfethe3rd

lfethe3rd

    New Member

  • Member
  • Pip
  • 8 posts
I deleted userinit out of my regegistry by mistake. I exported it before i deleted it. How do i get back in to fix it?
Any Ideas? I have windows xp pro
  • 0

Advertisements


#2
rshaffer61

rshaffer61

    Moderator

  • Moderator
  • 34,114 posts
put your winxp pro cd in cd drive and reboot your system
when promted to push any key to boot to cdrom then click a key
Click R to enter recovery console

type the following

expand d:\i386\userinit.ex_ c:\windows\system32\
click enter

once it says
1 file copied
then type exit
and click enter
system will reboot
make sure to remove winxp pro cd before it boots up
let it boot fully
Windows should start normally

If not post with result

Edited by rshaffer61, 02 April 2009 - 08:43 PM.

  • 0

#3
lfethe3rd

lfethe3rd

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
i dont have my win xp pro cd is there a way i can fix it with out it?
  • 0

#4
lfethe3rd

lfethe3rd

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
i booted from cd and userinit is in system32.
The boot cd was not a xp pro cd and doesnt have regedit on it.
what got deleted was the registry entry.
I have another xp pro system, if i put hard drive from thedamaged system in this one would i be able to repair the registry?
  • 0

#5
rshaffer61

rshaffer61

    Moderator

  • Moderator
  • 34,114 posts
You have no win xp pro cd?
Am I misunderstanding?
You have xp pro installed? How is that possible without the genuine microsoft cd?
  • 0

#6
lfethe3rd

lfethe3rd

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
My system came preloaded with windows xp pro. i didnt get a cd with it was a used computer.
As for the boot cd i used it was one created with magic iso as per instuctions of Logs on and off topic.
it did allow me to boot to a recovery console and i extracted userinit.exe to system32.
Still having same proplem. I am missing the registry key for userinit not the file itself.
Can I add the registry key i need to the iso?
  • 0

#7
wannabe1

wannabe1

    Tech Staff

  • Technician
  • 16,645 posts
Hello lfethe3rd...

Have you tried to start the machine using "Last known good configuration" from the Advanced Boot Options (Safe Mode)?

wannabe1
  • 0

#8
lfethe3rd

lfethe3rd

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
yes i have tried last known good configuration and safe mode.
thanks for the suggestion.
  • 0

#9
wannabe1

wannabe1

    Tech Staff

  • Technician
  • 16,645 posts
Boot from the RC.iso CD...and enter Recovery Console as you did before.

When you get to the recovery console prompt:
  • Type cd \ and press "Enter".
  • Type cd system~1\_resto~1 and press "Enter".
  • Type dir and press "Enter".
After you press enter you will see a list of folders (like rp1, rp2) If the list of restore points has more than one page then press the "Enter" key until you reach the end of the list
  • Type cd rp {number of the third to last folder in the list} and press "Enter". (Example: Type cd rp8 if rp10 is the last restore point.)
  • Type cd snapshot and press "Enter".
  • Type copy _registry_machine_system c:\windows\system32\config\system and press "Enter".
  • Type copy _registry_machine_software c:\windows\system32\config\software and press "Enter".
  • Type exit and press "Enter".
Your PC will reboot.

Allow it to try to start normally.

If you get an access denied error when doing the above, then do the following at the recovery console:
  • Type cd \ and press "Enter".
  • Type cd windows\system32\config and press "Enter".
  • Type ren system system.bak and press "Enter".
  • Type exit and press "Enter".
Your PC will reboot, go back into the Recovery Console and start from the beginning.
  • 0

#10
lfethe3rd

lfethe3rd

    New Member

  • Topic Starter
  • Member
  • Pip
  • 8 posts
Thant did the trick. finally its fixed. Thank you for all the help.
  • 0

#11
wannabe1

wannabe1

    Tech Staff

  • Technician
  • 16,645 posts
Glad to help... :)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP