Sign in with
Sign up | Sign in
Your question
Solved

XP Safe Mode boot hangs after load of KDCOM.DLL

Last response: in Windows XP
Share
November 12, 2010 9:41:04 PM

My lan connection stopped working. Not finding anything obviously wrong I rebooted XP. It hung during the boot.

I saw:
- Intel splash screen
- Sony splash screen
- black screen with a blinking "dash" cursor
- cursor went down one line
- cursor went down another line
- hung on an even blacker screen

I tried a safe mode boot and saw the above sequence. Just before going to the "even blacker" screen the following messages appeared (this somewhat frrom memory)

Multi(0)disk(0)rdisk(0)partition(1)/windows/sytem32/ntoskrnl.exe
Multi(0)disk(0)rdisk(0)partition(1)/windows/sytem32/hal.dll
Multi(0)disk(0)rdisk(0)partition(1)/windows/sytem32/kdcom.dll

Everything hung after the display about kdcom.dll.

To see if memory was involved I removed both memory cards (500 MB each) and booted using twice, using just one card of memory at a time. Both safe mode boots failed as above.

I am stuck at this point. Any help would be much appreciated.

Best solution

November 13, 2010 5:46:37 PM
Share

I am currently repairing a dell that has that exact same issue. That kdcom.dll file seems to be the issue. This is what I did to fix. I'm sorry that it's long but hang in there. If you're tech savvy, just skip through what ever you already know.

Boot From Disk
Insert your Windows XP disc and boot from it. If you don't know how to boot from a disc, during the Sony splash there is, hopefully, a legend that pop's up briefly (most often at the top right of the screen but not always). It will usually say two things: SETUP and BOOT MANAGER. Next to those will be the keys to press to start either. Press the one for the BOOT MANAGER. Unfortunately its not the same for every computer, but usually its something like F10 or F12.

Enter Repair
So once your fully booted into the XP disc, you'll have three options. Choose the REPAIR option by pressing R.

Select Installation
Recovery Console is command based. You'll be asked for the drive that your Windows is installed on. Typically its "1" unless you have multiple installs.

CD Drive Letter
When you get to the prompt C:\WINDOWS>, you will need to figure one thing out before moving on and that's what your CD drive letter is. Try typing "D:" without quotes. When D:\> comes up, type "DIR" without quotes. If a list comes up that has "I386" in it, then remember your drive letter is "D." If not then replace "D" in the above directions with "E."

The Repair
Once you have found your disc drive letter, follow each of the following commands line by line.

C:\WINDOWS\>CD system32
this will move you to the system32 folder

C:\WINDOWS\system32>COPY kdcom.dll C:\
this copy is a backup in case things don't work

C:\WINDOWS\system32>DEL kdcom.dll
this will delete the original not the backup

C:\WINDOWS\system32>COPY D:\I386\kdcom.dl_
replace the D if you have to with whatever your disc drive letter was above. the kdcom.dl_ is not a typo either.

C:\WINDOWS\system32>REN kdcom.dl_ kdcom.dll
renames kdcom.dl_ you copied to kdcom.dll

C:\WINDOWS\system32>EXIT
reboots your computer.


If all is right in the world, you should be able to boot right up without issue.

I'll keep watching this over the next few days to see if you post back. Please reply if you have any questions, if the repair worked, or if it didn't work. I found your post right before I did the repair on my clients computer and just copied as I went so I hope it does work for you.
November 13, 2010 7:09:03 PM

BRILLIANT! I feel awful that others had this - yet Gilliosa - your instructions worked to a T. Thank you very much. :pt1cable: 

914034,2,762907 said:
I am currently repairing a dell that has that exact same issue. That kdcom.dll file seems to be the issue. This is what I did to fix. I'm sorry that it's long but hang in there. If your tech savvy, just skip through what ever you already know.

Related resources
November 15, 2010 5:10:46 AM

You're welcome and what a relief. I was worried that it would be hard to follow the instructions.
I do have one question though, now that your computer can boot into Windows, is your internet working? That dell I was working on still couldn't connect.
November 16, 2010 2:10:00 AM

Gilliosa -

Hey there...found your posts via Google for "freezes on kdcom.dll". REALLY appreciate the instructions. Worked like a charm! Cheers to good people like yourself!

Todd W
Monkton, Maryland
November 16, 2010 9:21:32 AM

what a great thread! this has been a pain for me as well. everything in the instructions work perfectly until the very end: i get an error message that says "parameter is not valid". after re-entering the same line again and again i got frustrated and rebooted my computer. unfortunately the problem got worse since i forgot to re-enter the file i copied in case something went wrong.
any tips on a remedy to my situation would be appreciated. thank you.
November 16, 2010 3:26:44 PM

Gilliosa:

Thanks for the great info. Unfortunately my Sony did not come with a boot CD and it does not appear to have Recover Console enabled/installed (I am still checking with this). As I understand it your idea was to replace the existing kdcom.dll with a good one. Lacking the boot CD I went to BootDisk.com and downloaded a CD .iso that would boot a minimal DOS with CDROM drivers. Using a free ISO builder I was able to incorporate extra files on the boot CD. I added a kdcom.dll that I hoped was good.

Well replacing kdcom.dll worked, so that's great! HOWEVER the XP boot in Safe Mode did not complete! Instead it went further but it stalled on agp440.sys (a driver). I got what I hoped was a good agp440.sys but the XP boot still stalled at the same place. So now I am in search of a better copy of agp400.sys!

I will post again with my results.

Thanks again for a very handy posting.

November 17, 2010 4:15:56 AM

circawhen said:
everything in the instructions work perfectly until the very end: i get an error message that says "parameter is not valid".



circawhen,
I would be glad to help you out but I am going to need a little more information. The thing about running commands is that they can only be input one way. If you can tell me what you were typing that was giving you a bad parameter message, I'll verify what your typing and tell you if you need to change anything.

THIS GOES FOR ANYONE:
The commands that I put in are in CAPS. Every command has parameters or instructions. If you get stuck on anything like a "parameter is not valid" message, you can always get help at the command line. This is achieved by typing the command followed by a /? next to it. For example, this is what you get from help with the rename command:

>REN /?
Renames a file or files.

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

Note that you cannot specify a new drive or path for your destination file.


If in the end you still need help, post it.
November 17, 2010 4:43:16 AM

THANK YOU FOR YOUR RESPONSE:
REN kdcom.dl_ kdcom.dll This is the line i wrote that says, "the parameter is not valid" then says, "try /? for help"

i greatly appreciate all your help, not just for myself, but for others in this mess!
thank you!!
November 17, 2010 4:49:42 AM

tps95 said:
Well replacing kdcom.dll worked, so that's great! HOWEVER the XP boot in Safe Mode did not complete! Instead it went further but it stalled on agp440.sys (a driver).



tps95,
I'm sorry to hear that you are having more issues. Unfortunately, that system file is not on the XP disk.
I just did a little research and may have a solution. That driver is actually a graphics card driver so you might have to reinstall the driver but the solution can be found on Microsoft's support site. This is the link. Just scroll down to the Resolution tab and follow the instructions, using your recovery disk in the place of the Windows Disk.

Please keep me informed. If it works for you, it may work for others, too.
November 17, 2010 5:05:50 AM

circawhen said:
THANK YOU FOR YOUR RESPONSE:
REN kdcom.dl_ kdcom.dll This is the line i wrote that says, "the parameter is not valid" then says, "try /? for help"



circawhen,
It looks like everything is good but here are a couple things to try.
1. Make sure that "kdcom.dl_" is in the folder by typing DIR. This is going to tell you EVERYTHING in the folder, and let me tell you, it is a lot. But fortunately its alphabetical. By hitting the space bar, you will be able to scroll a page at a time. Just make sure you don't pass it or you will have to re-enter the DIR command and start over (done it countless times). Hitting ESC on the keyboard will quit the scrolling and bring you back to the command line. If you don't see it in there, re-copy it. If you do:

2. Instead of REN type RENAME which is the same thing but might make a difference.

There is one thing I noticed that I forgot to state, or clarify rather. I'm going to make an edit above but do make sure that your command line reads:

C:\WINDOWS\system32

Where C: is whatever your Windows install is on.
November 17, 2010 5:41:21 AM

thank you thank you i found the file in the directory: KDCOM.DL_
it's in capitals and everything else is lowercase.
does that make a difference? i did try to use the entire word "RENAME" to no avail. should i try to lower case the kdcom.dl_ file?
look forward to hearing from you soon. much appreciated
November 17, 2010 7:44:30 PM

circawhen said:
thank you thank you i found the file in the directory: KDCOM.DL_
it's in capitals and everything else is lowercase.
does that make a difference? i did try to use the entire word "RENAME" to no avail. should i try to lower case the kdcom.dl_ file?
look forward to hearing from you soon. much appreciated



Changing the case should not make a difference but you can try it. I just copied the kdcom.dl_ file to my desktop and renamed it kdcom.dll through command prompt. The kdcom.dl_ is all caps but when I rename it kdcom.dll, it's all lowercase. One thing you might try is deleting the file kdcom.dl_, make sure it is gone using the DIR command again, re-copy it from the disk, and then try renaming it again.

There is one other thing I you could try if that doesn't work.

Again start with deleting the kdcom file from system32.
C:\WINDOWS\system32>del kdcom.dl_

Next you need to get to the root of the drive.
C:\WINDOWS\system32>cd..
C:\WINDOWS>cd..
C:\>

Now let's go to your desktop. You will have to use quotes on when ever there is a folder name with spaces.
C:\>cd "documents and settings"

C:\Documents and Settings>dir
this will show you your user account name. you need to type it into the next command as you see it

C:\Documents and Settings>cd "username/desktop"
replace username with your account name

You should be at your desktop now. This is a long way of going about this but it will help insure that all the names of folders are right. Now, copy the kdcom.dl_ file:

>copy D:\i386\kdcom.dl_
verify the copy with the DIR command

>ren kdcom.dl_ kdcom.dll
hopefully this works this time. verify with the DIR command again

>move kdcom.dll C:\WINDOWS\system32
if the move command doesn't work, replace it with COPY. again you can verify with DIR but this time you will do it as follows

>dir C:\WINDOWS\system32
if things work then finish with:

>EXIT


Let me know what happens
November 17, 2010 8:36:01 PM

C:\WINDOWS\system32>cd..
C:\WINDOWS>cd..

does it require the "cd.." with the two periods at the end? when i add the periods it does not work.
thanks ahead for your response.
November 17, 2010 9:14:08 PM

please disregard my previous post regarding the "cd.." LOL
i am disoriented from this ordeal and can't even do a basic command now...LOL
anyway, after several attempts of trying to get to "documents and settings" i keep getting a accessed denied message, which is ridiculous since i'm logged as administrator.
any help would be greatly appreciated THANK YOU ThANK YOU
November 18, 2010 5:48:32 PM

circawhen said:
after several attempts of trying to get to "documents and settings" i keep getting a accessed denied message



That's odd. I'm not sure why you're denied. I guess using the desktop is out. Try just using the root of your drive C:\. I usually have access issues there. If you copied the old kdcom file to there just rename it to kdcom.bk and then copy the one from your windows disk there. Try renaming it to the kdcom.dll. If the renaming works then copy it to the system32 folder (>copy kdcom.dll c:\windows\system32)

In the mean time, I'll look for other solutions.
November 18, 2010 6:09:03 PM

circawhen wrote :

after several attempts of trying to get to "documents and settings" i keep getting a
accessed denied message

-----------------------------------------------------------------------------------

In Windows Vista and Windows 7 things have been moved around. You are clicking on a shortcut to "documents and settings" that was created for program compatibility --- BUT you are not allowed to click on it :bounce: 

Try:

c:\Users\<userid>\Desktop
November 19, 2010 2:20:05 AM

i think i blew it. i erased the kdcom.dll by accident out of the root c folder. i tried getting it back off the disc but to no avail. it seems nothing worked in the end. if there is a remedy to getting the kdcom.dll file back i'd love to hear it.
this has been frustrating.
November 23, 2010 12:04:29 AM

Gilliosa - YOU ARE MY HERO..........

The process worked like a charm!!!!
:bounce: 
:bounce: 
:bounce: 





Gilliosa said:
I am currently repairing a dell that has that exact same issue. That kdcom.dll file seems to be the issue. This is what I did to fix. I'm sorry that it's long but hang in there. If you're tech savvy, just skip through what ever you already know.

Boot From Disk
Insert your Windows XP disc and boot from it. If you don't know how to boot from a disc, during the Sony splash there is, hopefully, a legend that pop's up briefly (most often at the top right of the screen but not always). It will usually say two things: SETUP and BOOT MANAGER. Next to those will be the keys to press to start either. Press the one for the BOOT MANAGER. Unfortunately its not the same for every computer, but usually its something like F10 or F12.

Enter Repair
So once your fully booted into the XP disc, you'll have three options. Choose the REPAIR option by pressing R.

Select Installation
Recovery Console is command based. You'll be asked for the drive that your Windows is installed on. Typically its "1" unless you have multiple installs.

CD Drive Letter
When you get to the prompt C:\WINDOWS>, you will need to figure one thing out before moving on and that's what your CD drive letter is. Try typing "D:" without quotes. When D:\> comes up, type "DIR" without quotes. If a list comes up that has "I386" in it, then remember your drive letter is "D." If not then replace "D" in the above directions with "E."

The Repair
Once you have found your disc drive letter, follow each of the following commands line by line.

C:\WINDOWS\>CD system32
this will move you to the system32 folder

C:\WINDOWS\system32>COPY kdcom.dll C:\
this copy is a backup in case things don't work

C:\WINDOWS\system32>DEL kdcom.dll
this will delete the original not the backup

C:\WINDOWS\system32>COPY D:\I386\kdcom.dl_
replace the D if you have to with whatever your disc drive letter was above. the kdcom.dl_ is not a typo either.

C:\WINDOWS\system32>REN kdcom.dl_ kdcom.dll
renames kdcom.dl_ you copied to kdcom.dll

C:\WINDOWS\system32>EXIT
reboots your computer.


If all is right in the world, you should be able to boot right up without issue.

I'll keep watching this over the next few days to see if you post back. Please reply if you have any questions, if the repair worked, or if it didn't work. I found your post right before I did the repair on my clients computer and just copied as I went so I hope it does work for you.

November 24, 2010 10:25:03 PM

You're THE MAN Gilliosa! I just ran into this problem and was able to fix it in two minutes following your instructions. Thanks!
Anonymous
December 6, 2010 9:50:19 PM

To tps95:
I did replaced the kdcom.dll using ubuntu live cd with a good one from another pc. When I tried to restart my pc in safe mode, it froze ina .sys (don't remember which one). But it was juast a matter of time... While I was searching for the new problem, the pc continued booting... so I suggest to give 10 more minutes to your pc.

tps95 said:
Gilliosa:

Thanks for the great info. Unfortunately my Sony did not come with a boot CD and it does not appear to have Recover Console enabled/installed (I am still checking with this). As I understand it your idea was to replace the existing kdcom.dll with a good one. Lacking the boot CD I went to BootDisk.com and downloaded a CD .iso that would boot a minimal DOS with CDROM drivers. Using a free ISO builder I was able to incorporate extra files on the boot CD. I added a kdcom.dll that I hoped was good.

Well replacing kdcom.dll worked, so that's great! HOWEVER the XP boot in Safe Mode did not complete! Instead it went further but it stalled on agp440.sys (a driver). I got what I hoped was a good agp440.sys but the XP boot still stalled at the same place. So now I am in search of a better copy of agp400.sys!

I will post again with my results.

Thanks again for a very handy posting.

December 22, 2010 1:23:40 PM

Best answer selected by tps95.
December 22, 2010 1:34:38 PM

I kept discovering more files that needed to be repaired. Eventually I did an "update in place" or "repair install" (not to be confused with the "repair with recovery console" option. I chose "Install" when booting from the XP CD and was then asked if I wanted to update the XP that was already installed. I did and that apparently fixed most of the corrupted files. Unfortunately the final reboot at the end of the update did not complete. So I sent the machine off to a repair shop.

The repair shop says it is fixed, am not convinced. I will pick the machine up tomorrow and see.

My (very negative) thinking is that the hard disk is failing and corrupting some I/Os. Most I/Os seem to work but when doing a reboot or an install/update something always winds up being corrupted....

I will update this thread one more time once I know what is going on.

Bottom Line: Using the Recovery Console to repair individual corrupted OS files works. Using an XP Install and selecting "update existing copy of XP" works for situations where more than a few files are corrupted. In my case I may have a bad disk.
January 21, 2011 3:40:53 PM

i have the same problem with my netbook. same kdcom.dll. safe mode does not work. no set up cd. netbook has firmware but can't access it.
January 21, 2011 6:21:56 PM

I was able to buy an XP CD from a local repair shop for a small fee. I needed my Windows XP code/key. That was found on a Microsoft certificate of authenticity sticker found of the back of my PC.
January 21, 2011 6:24:58 PM

Final comment: My disk does have a bad sector and that seems to cause a lot of logical problems that are caught by chkdsk. I will first use chkdsk to repair the problem. If subsequen problems arise I will buy a new disk.

April 13, 2011 11:45:57 PM

Excellent response! after i did the fix, i was able to load windows and find that the Vundo trojan was the cause of the problem. Combofix found the rootkit, malwarebytes and an avast boot time scan cleaned up the trash. I then ran hijackthis and cleaned up the random other pieces left behind. a CCleaner run just for good measure and now back in normal operation! Thanks a million!!
April 16, 2011 5:44:41 PM

Gilliosa said:
That's odd. I'm not sure why you're denied. I guess using the desktop is out. Try just using the root of your drive C:\. I usually have access issues there. If you copied the old kdcom file to there just rename it to kdcom.bk and then copy the one from your windows disk there. Try renaming it to the kdcom.dll. If the renaming works then copy it to the system32 folder (>copy kdcom.dll c:\windows\system32)

In the mean time, I'll look for other solutions.


ok so a fake internet security scanner just outta nowhere started running a fake scan, i couldnt open anything because of it so i did a system restore, it restarted, to a black screen, nothing, than when i try to run safe mode, these 3 files pop up, or i mean the name of them and the location from the hard drive, kdcom.dll ntoskrnl.exe and hal.dll
I think those files got lost or corrupted I dont have the windows XP disc I cant find it the only one I have is the recovery disc but when I try to run that this pops up File\i386\halaacpi.dll cant be found or something like that. What can I do?
April 22, 2011 2:47:12 PM

I need help so badly please someone!! I mean I have the 3 files I need on another computer on the desktop is there anyway I can put them onto my troubled computer!?! Thank you in reply! Remember I dont have the Windows disc! And no money to purchase a replacement. Im 19 and my life is pretty much in my PC. Again thanks in reply!
August 30, 2012 5:15:15 PM

will this work with a recovery disk I created from another windows machine? I do see the kdcom.dll file. Can I copy to the system32 folder as is?
August 30, 2012 5:17:32 PM

coldclone02 said:
I need help so badly please someone!! I mean I have the 3 files I need on another computer on the desktop is there anyway I can put them onto my troubled computer!?! Thank you in reply! Remember I dont have the Windows disc! And no money to purchase a replacement. Im 19 and my life is pretty much in my PC. Again thanks in reply!


I am trying to create a recovery disk from another computer which gives me access to the files on my downed computer. You can try that. I am no expert but I kind of have the same problem.
December 5, 2012 3:22:09 PM

Gilliosa said:
I am currently repairing a dell that has that exact same issue. That kdcom.dll file seems to be the issue. This is what I did to fix. I'm sorry that it's long but hang in there. If you're tech savvy, just skip through what ever you already know.

Boot From Disk
Insert your Windows XP disc and boot from it. If you don't know how to boot from a disc, during the Sony splash there is, hopefully, a legend that pop's up briefly (most often at the top right of the screen but not always). It will usually say two things: SETUP and BOOT MANAGER. Next to those will be the keys to press to start either. Press the one for the BOOT MANAGER. Unfortunately its not the same for every computer, but usually its something like F10 or F12.

Enter Repair
So once your fully booted into the XP disc, you'll have three options. Choose the REPAIR option by pressing R.

Select Installation
Recovery Console is command based. You'll be asked for the drive that your Windows is installed on. Typically its "1" unless you have multiple installs.

CD Drive Letter
When you get to the prompt C:\WINDOWS>, you will need to figure one thing out before moving on and that's what your CD drive letter is. Try typing "D:" without quotes. When D:\> comes up, type "DIR" without quotes. If a list comes up that has "I386" in it, then remember your drive letter is "D." If not then replace "D" in the above directions with "E."

The Repair
Once you have found your disc drive letter, follow each of the following commands line by line.

C:\WINDOWS\>CD system32
this will move you to the system32 folder

C:\WINDOWS\system32>COPY kdcom.dll C:\
this copy is a backup in case things don't work

C:\WINDOWS\system32>DEL kdcom.dll
this will delete the original not the backup

C:\WINDOWS\system32>COPY D:\I386\kdcom.dl_
replace the D if you have to with whatever your disc drive letter was above. the kdcom.dl_ is not a typo either.

C:\WINDOWS\system32>REN kdcom.dl_ kdcom.dll
renames kdcom.dl_ you copied to kdcom.dll

C:\WINDOWS\system32>EXIT
reboots your computer.


If all is right in the world, you should be able to boot right up without issue.

I'll keep watching this over the next few days to see if you post back. Please reply if you have any questions, if the repair worked, or if it didn't work. I found your post right before I did the repair on my clients computer and just copied as I went so I hope it does work for you.


I tried this three different times using my original system disk and it didn't work. I can't boot in regular OR safe mode and when I try to do a repair installation of Windows it hangs up. Ideas?
!