We help IT Professionals succeed at work.

Windows XP Stop: c000021a during boot

thegoo
thegoo asked
on
Medium Priority
1,368 Views
Last Modified: 2012-05-06
All right. I went to boot up my laptop (running windows xp pro sp2 i believe) the other day. I'm savy with computers etc. But for some reason during the windows xp boot sequence..my laptop shut off. I then restarted it to get the lovely BSOD with STOP: c000021a fatal error and so on. Bear with me on this. The laptop is issued from college however their tech support consists of re-ghosting the machine regardless. So I would love to avoid this, Not to mention I have work due on tuesday. I tried the XP repair cd but it asks me for admin password even though I am the ONLY user on the machine as administrator but my password fails ( forget that way.) So I burned a copy of Ubuntu (from my external hd and a friends PC)d and booted the pc from that. I can access the laptops HDD via Ubuntu and back up what I need. What I am wondering is..how can I repair this problem via linux? I know I could just have them ghost the drive but I dont want to do this. I dont have another system at this time to work from. I know it has something to do with a corrupted file that was "corrupted" when the laptop pre-maturely shut off. Working with computers for 13 years, I've never had this problem. Any help would be GREAT. I know this is possible but I would like the steps via linux. Also, is there any linux software to diagnose problems etc on an xp drive?

Thanks,
Scott

I've looked at a few other posts and discussions regarding this but nothing related to "via linux" only.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Dear Thegoo,

I don't think reinstall with ghost will repair the issue.

You could try to test your ram for bad ram with any Linux cd.

Best Regards

Author

Commented:
It has nothing to do with either. A re-ghost would work but I need to avoid this. They have a image file they re-ghost with that would bring this pc back to it's original state. They don't fix anything..they just re-ghost it. I know this and I don't want to deal with it. Id rather replace the corrupted files etc. The pc ran fine..matter of fact I just had it re-ghosted 2 weeks ago for a fresh start for the new semester. It has nothing to do with.NET or any of that. On startup, then abruptly shutting off corrupted one or many of the files used to boot windows.

And no my ram is not bad. It's been tested and I'm running linux on the same pc right now.

Commented:
Then see if this MS article helps, while investigation continues ...
How to troubleshoot a "STOP 0xC000021A" error:
http://support.microsoft.com/default.aspx?scid=kb;en-us;156669

Commented:
Have you considered a repair install >

How to Perform a Windows XP Repair Install:
http://www.michaelstevenstech.com/XPrepairinstall.htm

Commented:
Also found this link in rather a hurry, but see if the comments (particularly by "guidway") will help>

Message on bootup - stop c000021a {fatal system error} the windows logon process system process terminated unexpectedly:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_20885893.html

Author

Commented:
Ok. Re-read the post. I tried a repair but for some reason it asks for admin password. HOWEVER i am the ONLY user on the PC and I am the ADMINISTRATOR but it wont accept my password. Invalid password everytime. I'm not sure if the school has a background password but that would be pointless and almost impossible considering there is one USER and it is ME..admin.. The invalid password could possibly have something to do with xp comparing the password using the "corrupted" file and just returning it as invalid.

Author

Commented:
I can access the XP drive via linux. I'm looking for possibly which files, dlls, etc would bring this error. ( csrss.exe, msgina.dll, etc)

Author

Commented:
c000021a  and 0x00000034
CERTIFIED EXPERT
Commented:
Ok then you could reset the password and unlock the account with :

http://home.eunet.no/pnordahl/ntpasswd/

If it's not working, we will try another solution.

Best Regards

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
i suggest to download Darts, and boot from it
once you logon with it, you have the options to repair or restore the pc to an earlier date.
also - if you find any minidumps, post them; rename to **.txt
http://www.microsoft.com/downloads/details.aspx?familyid=5D600369-0554-4595-8AB4-C34B2860E087&displaylang=en
Commented:
Hello

About Linux to repair XP? YES (just an idea, backup first if you want too)


IDEA 1:
Boot to Linux, be sure windows OS partition is mounted with read/write access.
Go to \Windows\System32\Config
Delete Security, Software, System
Rename software.sav to software, system.sav to system
Leave the security deleted.

Restart computer, Boot to Windows.


IDEA 2:
To the other OS
1. Boot Linux to different windows machine.
2. Make Windows directory, with folders system32 and system in Linux mounted partition.
3.Copy *.exe and *.dll from windows, windows\system32, windows\system TO Linux mounted partition.
4. Copy Finished?

To your OS
1. Boot to linux, be sure windows partition has been mounted with read/write access.
Go to \Windows, delete all *.exe,*.dll; go to \windows\system32, delete all *.exe,*.dll; go to \windows\system, delete *.exe,*.dll
2. Copy the files(*.exe, *.dll from your mounted linux partiton) TO \Windows, \windows\system32, \windows\system.

Restart computer, Boot to Windows.



Great is our GOD.
:)
rionroc
Top Expert 2006

Commented:
Your sam file is the problem is system restore turned on in this machine? If it is you can get copies of the registry from inside the system volume file and replace them as sort of stated here
IDEA 1:
Boot to Linux, be sure windows OS partition is mounted with read/write access.
Go to \Windows\System32\Config
Delete Security, Software, System
Rename software.sav to software, system.sav to system
Leave the security deleted.

Only thing i would add to that is to replace the files from the system volume information folder.  If you have never looked inside the folder it will be layed out in rp1 rp2 and so on with the largest number being the latest restore.  Just look for one dated before the problem and replace the security, software, and system files.  shouldn't have a problem after that.

The problem you are having now is directly related with the SAM because of what you stated here:
 tried a repair but for some reason it asks for admin password. HOWEVER i am the ONLY user on the PC and I am the ADMINISTRATOR but it wont accept my password.
That is usually an indication that the sam is acting up.

Author

Commented:
ok this is where I stand. I've tried removing the security, software system etc..doing just errors saying cannot find software.sav etc. Just reading around the 0x00000034 code is Initialization of the Windows   2000 Executive failed during phase 1 (during phase 4 of system startup). There might be a problem with a device driver. Could possibly a device driver have been corrupted during the unexpected power off during boot up?

Any other ideas are greatly appreciated. I appreciate everyone's help and advice.
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
if you try darts, you can run a system restore from there...no problems

Author

Commented:
nobus: Alright. At the time this is the only system I own (have available). I tried running the msi ( to get the ISO) for Darts today but unfortunately this person was running ''wonderful'' Vista and it would not run the MSI. I'll get it burned to a cd one way or another. Thanks.

They should just provide the damn ISO file.  
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
it is the old and proven ERD commander

Author

Commented:
Ok. Well I just ended up saving what I could and just re-ghosting the machine. It's fixed minus having to reinstall apps etc. I appreciate everyone's help. I know for a fact that some of the possible solutions would work. So I will award them as needed. Thanks!

Author

Commented:
Thanks for the advice. I'm sure if I had more resources the solutions would have worked ( I know they would've) Thanks again.

Commented:
Ops!

Also delete the pagefile.sys, before idea2.


Thanks.
Good Luck!


Great is our GOD.
:)
rionroc
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.