error: ... is not a valid Windows image..

June 2, 2011 at 15:03:17
Specs: Windows XP
the application or dll c:\windows\system32\DNSAPI.dll is not a valid Windows image...
This message appears and then I get a black screen with only the mouse curser showing.
Computer is unusable.

See More: error: ... is not a valid Windows image..

Report •

June 3, 2011 at 20:34:31

That is a tough error when your computer only shows a black screen…:-(

Doing a >System Restore using the Recovery Console< is an option.
Do you have a Windows XP CD?

If you have a recovery disk set like the ones from an HP or Compaq computer, they will not work for this.

Also, this process is not a cure for every problem, and some systems will not boot all the way into Windows. It will also only work if you had System Restore enabled.

If you have an XP CD and want to try a System Restore from the Recovery Console, let us know.

Otherwise, if this procedure doesn't work, then your next step is to repair/reinstall Windows.

Report •

June 6, 2011 at 08:27:18
Thanks for the reply. If I re-install XP will all of my programs still be their after the installation.

Report •

June 6, 2011 at 08:33:01
First, see if this works:

Start your computer.
Tap the F8 key before Windows starts, to bring up the Windows Advanced Options menu

Use the arrow keys to select Last Known Good Configuration (The most recent settings that worked)
Press: Enter

If you are unable to get into the XP Windows Advanced Options Menu as the computer is booting into Windows, turn it off pressing the on/off button on the computer case for about 4 to 5 seconds.

Now, turn the computer on, once again.
Windows should notice that the computer did not successfully boot the last time, and show the Windows Advanced Options Menu.

From the Windows Advanced Options Menu, select the Last known good configuration. (Highlight and press enter to load)

The computer should restart and load into Windows.

Let us know how it goes.

Report •

Related Solutions

June 6, 2011 at 08:54:35
Thanks again, but I still get the same result when I boot from "last known good connection". It boots up to windows and I get the bad image message and a black screen. The mouse curser is moving ok, but the entire screen is black. I've tried clicking on areas of the screen to see if anything happens, but nothing does.

Report •

June 6, 2011 at 13:49:29
What kind of computer is this? (Brand, Model/Number)

Doing a repair install should keep your prograns and files.

However, if something unexpected goes wrong, there may be problems. With computers, most times nothing is 100% guaranteed. Most repair install operations go OK, though.

Report •

June 6, 2011 at 14:02:04
It's a Dell Dimension 2400 and I have the XP disc that came with the computer which says this was preloaded at the factory. It sounds like that is my next option.

Report •

June 6, 2011 at 14:35:00
If you have the XP disk, it would be a good idea if you went to the Dell website and got some specific info on how to restore your computer to factory settings.

Report •

June 6, 2011 at 14:41:08
Ok, thank you for your help. I'll take it from here.

Report •

Ask Question