windows xp blue screen on startup urlmon.dll

The title says it all, when I start XP here's the exact message I get

STOP: c0000221 [bad image checksum]
the image urlmon.dll is possibly corrupt. the header checksum does not match the computed checksum.

I know it's an IE file. I can't start the PC with the XP cd in order to get to recovery to change the file name. With the XP cd I still get the same blue screen with that error message. I've tried F8 and using safe mode, and all the other options as well, no results.

Does anyone have any suggestions?

Thanks in advance

Who is Participating?
Joseph NyaemaIT ConsultantCommented:
One more thing....

urlmon.dll is not an IE file.
Its a OLE32 Extensions for Win32

You can try and replace it with the original file from the XP installation CD.

Say the drive letter of your cd-rom drive is D.

start recovery console with the steps I outlined above
type the following

CD c:\windows\system32
del urlmon.dll
copy d:\i386\urlmon.dll
Start up in safemode.
Rename the urlmon.dll to something else.
Uninstall IE
Reinstall IE
should sort it.
Tap F8 at system startup to get into safemode btw :)
Cloud Class® Course: MCSA MCSE Windows Server 2012

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).

EiihvlAuthor Commented:
i can't start it in safe mode. I've tried that but it returns to the same blue screen when it reboots.
In that case get a sbootdisk (win98) from

Just rename the bugger through DOS.
If non of the above suggestions work try getting to the Windows file system by booting up with a Knoppix (Linux) CD. It will bypass the Windows OS and you should be able to navigate to the file you are trying to repair and then you can tryout what KneH suggested.
My concern is that you say you can't boot with the XP CD without getting the same error.  That shouldn't be possible (not wishing to insult but are you definately booting from the CD at that point?).  If you are, then is this a recent installation of XP?  If so, did you use the disk you're trying to boot from, cos it could be corrupt/knackered....

Have you run an update recently?  In which case something as simple as 'Last Known Good Configuration' could be enough to resolve your issue and get you to a point where you can start investigating the cause.  

Alternatively you can try booting with something like NTFSPRO ( and replacing the file with a known good copy from another machine.
To resolve this behavior, use one of the following methods.

Note: pls use urlmon.dll in place of User32.dll

Method 1: Extract a New Copy of the User32.dll File from the Windows XP CD
Extract a new copy of the User32.dll file from the Windows XP CD to the drive:\Windows\System32 folder on your hard disk, where drive is the drive on which Windows is installed: 1. Insert a Microsoft Windows Millennium Edition (Me) or Microsoft Windows 98 Startup disk into your computer, and then restart the computer.

NOTE: For additional information about what to do if you do not have a Windows Millennium Edition or Windows 98 Startup disk, click the following article numbers to view the articles in the Microsoft Knowledge Base:
How to Create a Windows 98 Startup Disk from MS-DOS
How to Create a Startup Disk in Windows Me  
2. When the Windows Startup menu appears, use the ARROW keys to select Start Computer with CD-ROM Support, and then press ENTER.  
3. Make a note of the drive letter of your CD-ROM drive.
4. Rename the User32.dll file to User32.old. To do so, type the following lines at the command prompt, pressing ENTER after each line, where Drive is the drive on which Windows is installed:
cd windows\system32
ren user32.dll user32.old
5. Insert the Windows XP CD into your CD-ROM or DVD-ROM drive.
6. Extract a new copy of the User32.dll file from the Windows XP CD to the Windows\System32 folder on your hard disk. To do so, type the following lines at a command prompt, pressing ENTER after each line, where CDROMDrive is the drive letter of the CD-ROM or DVD-ROM drive that contains the Windows XP CD-ROM, and Drive is the drive on which Windows is installed:
extract CDROMDrive:\i386\user32.dl_ Drive:\windows\system32\user32.dll
For example, if your CD-ROM is drive E and Windows is installed on drive C, type extract e:\i386\user32.dl_ c:\windows\system32\user32.dll, and then press ENTER.
7. Remove the Windows 98 or Windows Millennium Edition startup disk from your computer, and then restart the computer.

Method 2: Remove or Replace the Faulty RAM
Remove the memory modules that are installed in your computer, leaving enough RAM for the computer to start and run Windows. Restart the computer, and then run Setup again.

For additional information about Windows XP RAM requirements, click the following article number to view the article in the Microsoft Knowledge Base:
314865 System Requirements for Windows XP Operating Systems
If the issue is not resolved, remove a different memory module. To identify the specific memory module that is not working correctly, you may have to restart your computer more than one time.

For information about how to add and remove RAM to the computer, contact the manufacturer of the computer, or view the documentation that is included with your computer.
Method 3: Install Windows to a Different Folder
NOTE: Before you install Windows to a different folder, first try the troubleshooting procedures in the following article in the Microsoft Knowledge Base:
310064 HOW TO: Troubleshoot Windows XP Setup Problems During Installation When You Upgrade from Windows 98 or Windows Me
If the issue is not resolved by using the troubleshooting procedures in 310064, install Windows to a different folder. For more information about how to do this, see the "Installing to a New Folder" section of the following article in the Microsoft Knowledge Base:
316941 HOW TO: Install Windows XP
 Back to the top

or check the below link;en-us;326687&Product=winxp

Joseph NyaemaIT ConsultantCommented:
Could it be that you are overlooking the fact that your file system could be corrupt.

To Enter Recovery Console...

1) Insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.
2) Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted.
3) When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
4) If you have a dual-boot or multiple-boot computer, select the installation that you must access from the Recovery Console.
5) When you are prompted, type the Administrator password. If the administrator password is blank, just press ENTER.

To fix the corrupted volume type

chkdsk c: /P /R

type exit to quit recovery console

Nyaema might just be on to something, however he left out an important step.  Once the chkdsk utility is finished, it may be helpful to repair the boot.ini file, as it may simply be a corrupt line of code in the bootfile.  to do this, you simply type

fixboot c:

Answer yes to the questions and it should fix it.  This should fix your problem as it appears that something has edited your bootfile and made it load the dll file at startup, which should not happen.

If this doesn't fix it, you may have to reinstall windows to overwrite the corrupted dll file.  In order to do this without losing your files, you just tell it to leave the current partition as it is and to just delete the old system files.  This will delete the system files, but your programs in Program Files and any other files on the C:\ will be fine, however, you may lose any files in your My Documents folder, which could be a serious setback if you have any important files located there.
We don't even know for sure whether this is NTFS or FAT - either way its not uncommon for files to get corrupted for many reasons.... recent update, disk space issues, viruses etc.  If its FAT just boot to DOS and update the file, if its NTFS follow the link I posted above, download the (NTFSPRO) file boot to the NTFS partition and replace the file.  Its unlikely that chkdsk will actually fix the file - although it will probably stop it happening again (if that's the issue to start with).

If replacing the file doesn't work then follow nikpegler's advice and re-install (without formatting).
Joseph NyaemaIT ConsultantCommented:
Meant to type

CD c:\windows\system32
del urlmon.dll
expand d:\i386\urlmon.dl_ urlmon.dll

EiihvlAuthor Commented:
well I got past the urlmon.dll message, i ended up starting with an xp disk, and renamed it to urlmon.old. I then got a new file with the same blue screen wininet.dll so i changed that one to, wininet.old. After changing both of those i got to the desktop, .....BUT all i see is the desktop wallpaper......nothing else, no icons, no taskbar.

so far I've tried running explorer.exe from task manager.....I get an unable to locate content error dialogue box, because it couldn't find WININET.dll.

anyone have any suggestions?

...and THANK YOU for all your help so far :)

EiihvlAuthor Commented:
Nyaema's solution did work. I copied urlmon.dll and wininet.dll to the system32 folder from the a: drive (I used another computer running xp and used the files from it)

Now I'm having another issue.....I have the desktop along with the icons and task bar. But I can't open any programs.

For example if i click on control panel, the icons and taskbar disappear and reappear again, and that's it, control panel never opens. It does this for everything i click on
Joseph NyaemaIT ConsultantCommented:
I am glad to here that Eihvl :-)

It looks like a couple of files got corrupted.
Or there could be version conflicts. I suspect you replaced the files using differnet versions

Hope you ran chkdsk as earlier explained.

Are you able to run any other programs directly? i.e. from windows explorer or the run dialogue box.

If you can use the run dialogue box, run chkdsk if you did not already do this.
chkdsk /f /x

If you can't, then if you have not already done so follow my earlier suggestions.

To try and fix this run Windows XP Service Pack 2.
You can download it from

or you can try and install the current service pack applied to your system.
And then Install Internet Explorer version 6 SP1

All the same I recommennd SP2
NB:SP2 includes Internet Explorer Version 6  SP2.

If you can't perform this actions
EiihvlAuthor Commented:
well i did end up fixing it. I actually removed SP2 which was recently downloaded and I believe corrupted the registry. I chose Nyaema's solution because that got me started on the path to resolving the issue. There could have been a few other solutions not as drastic as removing SP2 but it worked. Here's the links to the solution in case any of you are interested.
I am also having similar kind of problem (Bad Image Checksum. urlmon.dll is corrupted).
 I am trying to follow the steps mentioned by Eiihyl. Here is where I am stuck up. When I ran "chkdsk c: /R", it just hung up(?) at 74%. It is already 3 1/2 hours I started. Is it ok to stop the chkdsk forcefully and proceed just with copying the .dll files
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.