How To Repair Msvcrt.dll on Windows XP

by Ruri Ranbe

Msvcrt.dll provides a collection of library functions to programs using Microsoft Visual C++, or MSVC. If msvcrt.dll is corrupted or infected with a virus, error messages related to the _resetstkoflw function will appear. In that case, programs that use msvcrt.dll will not run properly, and your system may become unstable.

To repair errors related to msvcrt.dll, you can overwrite the corrupted or infected file with the msvcrt.dll file stored on your Windows XP CD.

1

Insert your Windows XP CD into your computer's CD or DVD drive, then restart your computer. Press any key to boot from your optical drive.

2

Press \"R\" when the Welcome screen appears. Log in as an administrator.

3

Type \"cd system32\" and hit \"Enter.\" Type \"ren msvcrt.dll msvcrt.bak\" and hit \"Enter\" again.

4

Type \"<CD drive>:\", replacing \"<CD Drive>\" with the drive letter corresponding to your optical drive. Hit \"Enter.\"

5

Type \"cd \\i386\" and hit \"Enter.\" Type \"expand msvcrt.dl_ <Local drive>:\\windows\\system32.\" Replace \"<Local drive>\" with the drive letter corresponding to your computer's local hard drive. Usually the drive letter is designated as \"C.\"

6

Press \"Enter.\" Type \"exit\" and press \"Enter.\" Restart your computer and remove the Windows XP CD from your computer. Boot to Windows XP as normal.

Video of the Day

Brought to you by Techwalla
Brought to you by Techwalla

Items you will need

About the Author

Ruri Ranbe has been working as a writer since 2008. She received an A.A. in English literature from Valencia College and is completing a B.S. in computer science at the University of Central Florida. Ranbe also has more than six years of professional information-technology experience, specializing in computer architecture, operating systems, networking, server administration, virtualization and Web design.

More Articles

Photo Credits