the instruction at 0x00000000" referenced memory at "0x00000000". the memory could not be written"

JasonBrownlee
JasonBrownlee used Ask the Experts™
on
I get this error when the machine boots into windows XP. When Xp comes up it first says an error about userinit.exe failing with the above error. It gives the same error for anything I try to run. I can't get the machine to allow me to log into any of the users on the machine. I do get it to boot into safe mode but it won't bring command prompt up and when I try to run anything through task managers run option it just crashes task manager and doesn't bring up the program I tried to bring up. Any ideas for the error? I'd like to solve the error without having to format the machine.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Trying running memtest just to make sure that the memory module(s) haven't gone bad.

Author

Commented:
Woops... forgot to mention I've tried replacing the memory with different sticks and have had no change. Would running the memory test confirm in the slots on the motherboard are bad?
I don't think memtest will do that for you. It's probably a corrupt install. You could try running windows in repair mode and see if that solves the issue.
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Commented:
Has anything been installed on the computer prior to this error? I would try a system restore and see if that changes anything.

Author

Commented:
I can't actually get system restore to come open. Going into safe mode I can bring task manager up but when I try to open a command prompt so that I can run system restore from there it crashes task manager. No start menu's come up either.

Commented:
Can you boot into safemode with command prompt option? If so then when the command prompt comes up type in C:\Windows\System32\Restore\rstui.exe

Author

Commented:
When I try to boot into safe mode with command prompt it boots up but the command prompt never comes up. I try to open task manager and use the run option through that to start command prompt but it just crashes task manager whenever I hit enter.

Commented:
Can you boot to the CD? If so then go into the recovery console and try running a chkdsk /r at the prompt.

Author

Commented:
Tried the chkdsk and there are no changes.

Commented:
How about "Last Known Good Configuration." This can be found when you hold F8 at startup. It should be an option in the list of choices.

Author

Commented:
That should have no affect on this situation. The system actually boots into windows. It's getting past the logon screen that it the problem.

Commented:
I've had computers that could boot into windows but still crashed when running certain things. Although not all of the time, last know good configuration has helped in some of the situations.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial