Windows Millennium EditionTo restore a version of the Msvcrt.dll file on a computer that is running Windows Millennium Edition, follow these steps:
- Start your computer in Safe Mode. To do this, restart your computer, press and hold down the CTRL key after your computer completes the Power On Self Test (POST), and then choose Safe Mode from the Startup menu.
- Click Start, point to Programs, point to Accessories, point to System Tools, and then click System Information.
- To start the System Configuration Utility, click System Configuration Utility on the Tools menu.
- In the System Configuration Utility, click Extract File.
- In the Extract one file from installation disk dialog box, type Msvcrt.dll, and then click Start.
- In the Restore from box, type c:\windows\options\install, or type the custom location of the installation files.
Note Type c:\windows\options\install if you installed a Windows Millennium Edition retail product, or type c:\windows\options\cabs if your computer manufacturer installed Windows Millennium Edition.
- In the Save file in box, type c:\.
- Click OK to extract the file, and then click Yes to create a folder for the extracted file.
- Drag the extracted file from the folder on drive C to the C:\Windows\System folder, and then click Yes to overwrite the file.
- Restart your computer.
Windows 98 or Windows 95To restore a version of the Msvcrt.dll file on a computer that is running Windows 98 or Windows 95, follow these steps:
- Click Start, click Run, type SFC in the Open box, and then click OK.
- In the System File Checker dialog box, click Extract one file from installation disk.
- In the Specify the system file you would like to restore box, type Msvcrt.dll, and then click Start.
- In the Restore from box, browse to your Windows 98 or Windows 95 installation CD.
Note If you have an original equipment manufacturer (OEM) installation of Windows 98 or of Windows 95, the installation files may be stored in the following location:C:\WINDOWS\OPTIONS\CABS
- In the Save file in box, type C:\, and then click OK. You receive the following message:
- Click OK.
- Close the System File Checker dialog box.
- Restart the computer in MS-DOS mode. To do this, click Restart in MS-DOS mode in the Shut Down Windows dialog box, and then click OK.
- At the command prompt, type the following command, and then press ENTER:Rename C:\Windows\System\Msvcrt.dll Msvcrt.old
- At the command prompt, type the following command, and then press ENTER:Copy C:\Msvcrt.dll C:\Windows\System
- Restart the computer.
When you extract the Visual Studio 6.0 SP6 files, version 6.0.9782.0 of the Msvcrt.dll file is in the \os\system\ folder or in the VS6sp61.cab file. Specify this file in step 6 of the "Windows Millennium Edition" section or in step 4 of the "Windows 98 or Windows 95" section instead of using the installation files.
Article ID: 895959 - Last Review: 29 Mar 2017 - Revision: 4