Microsoft KB Archive/302756

= Error Message When You Start Windows: C:\Windows\System\Msvcrt.dll Is Corrupt =

Article ID: 302756

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q302756



If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:

315854 Windows 98 and Windows Me Error Message Resource Center



SYMPTOMS
When you attempt to start Microsoft Windows, you may receive an error message similar to the following:

C:\Windows\System\Msvcrt.dll is corrupt.

-or-

Explorer

This program has performed an illegal operation

and will be shut down.

If the problem persists, contact the program

vendor.

If you click the Details button, the following information is displayed:

EXPLORER caused an invalid page fault in module EXPLORER.EXE at 0167:

You may then be unable to start Windows.



CAUSE
This issue can occur in the following situation:
 * Microsoft Internet Explorer 5.5 is installed on the computer.

-and-
 * The Msvcrt.dll file is damaged.



RESOLUTION
To resolve this issue, extract a new copy of Msvcrt.dll from your original Windows CD to the Windows\System folder. To do this, follow these steps:  Insert a Windows 98 Startup disk, and then restart your computer to a command prompt. Select Start computer with CD-ROM support. Record the drive letter assigned to the CD-ROM drive. For example, E:. Insert the Windows 98 CD into the CD-ROM or DVD-ROM drive. At the command prompt, type C:, and then press ENTER. Type CD\Windows\System, and then press ENTER. Type Rename msvcrt.dll msvcrt.old, and then press ENTER.</li> Type A:, and then press ENTER.</li> Type Ext, and then press ENTER.</li> At the Please enter the path to the Windows CAB files (a:) prompt, type :\win98 (where   is the drive letter that you recorded in step 18), and then press ENTER. For example:

E:\win98 <ENTER>

NOTE: If you have an original equipment manufacturer (OEM) installation of Windows, the CAB files may also be located in the following folder:

C:\WINDOWS\Options\Cabs

</li> At the Please enter the name(s) of the files(s) you want to extract prompt, type Msvcrt.dll, and then press ENTER.</li> At the Please enter the path to extract to (&quot;Enter&quot; for current directory) prompt, type C:\Windows\System, and then press ENTER.</li> At the '''Is this okay? (y/n)''' prompt, type Y, and then press ENTER. The file is extracted.</li> Remove the Windows 98 Startup disk, and then restart the computer.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

129605 How to Extract Original Compressed Windows Files

186049 How to Troubleshoot Invalid Page Faults in Internet Explorer

188438 Windows 98 and Windows Me Error Message Resource Center

CD-ROM Directory Listing (11 of 14)&quot;/>

Keywords: kberrmsg kbinvalidpagefault kbprb KB302756

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.