Sunday, July 8, 2007

Resolving Missing File or File Corrupt Errors


In Windows XP
In Windows 98 or Windows Me
If Windows XP cannot start
If Windows 98 or Me cannot start

This document pertains to HP and Compaq PCs using Windows 98, Me, or XP.
If a critical file is deleted or changed, a variety of error messages may appear and software can fail to start (including Windows). Some of the possible error messages include the following:

The following file is missing or corrupt: MFC42.DLL
SYS is missing or corrupt
DLL is linked to missing export MFC42.DLL
DLL missing or corrupt

Write down the full name (and path, if given) of the missing or corrupt file from the error message. Perform the steps from one of the following sections to replace the missing or damaged file, depending on the version of Windows and how the computer is affected.

In Windows XP
Windows XP protects system files very well and it may be impossible to replace a system file version without performing an entire system restore. If a system file is missing, perform the following steps first:
Start the PC in Safe Mode. For more information, refer to the HP support document Starting

Windows XP in Safe Mode .
Click Start, My Computer, and then double-click the C: Drive.
Use the following steps to view hidden or system files:
Click Tools, and then click Folder Options.
Click the View tab.
Remove the checkmarks from Hide extensions for known file types, and Hide protected operating system files.Click Yes to confirm displaying the files.
Select Show hidden files and folders under Hidden files and folders.
Click Apply, and then click OK. The Folder Options window closes.
From the C:\ window, double-click the Windows folder, double-click the System32 folder, and then double-click the dllcache folder.
Find the missing system file, right-click the file icon, and then select Copy.
NOTE:
If the file cannot be found in the dllcache folder, use the search tool to find the file:
Click Start, Search, and All files and Folders
Click More advanced options and select Search system files, Search hidden files and folders, and Search subfolders if they are not already selected.
Select Local Hard drives in the Look in dropdown box.
Type the filename in the All or part of the file name field and click the Search button.
Right-click the file found in the right window and select copy.
Browse to the file's working directory. This will probably be one of the following paths:
C:\Windows
C:\Windows\System
C:\Windows\System32
Right-click an empty area inside the directory window and select Paste. If a Confirm File Replace window opens, click Yes.
The file should appear inside the window.
If the file copies into the directory, restart Windows and test for the error message.
If a message appears stating that the file is in use and cannot be removed or replaced, try using Microsoft System Restore to set all system files back to a previous time. For more information, refer to the HP support document Using Microsoft's System Restore .
If the error message goes away, or you want to set the viewing options back to default, use the following steps:
Click Tools, and then click Folder Options.
Click the View tab.
Click the Restore Defaults button and click OK.
In Windows 98 or Windows Me
Start Windows and use the following steps to replace missing or corrupt system files:
Click Start, and then click Run.
In Windows 98, type sfc in the Open field and click OK.
In Windows Me, type msconfig in the Open field and click OK.
In Windows 98, select Extract one file from installation disk.
In Windows Me, click the Extract File button.
Type the full name of the file to restore. For example, mfc42.dll or himem.sys.
Click the Start button in the Extract one file from installation disk window.
Click the Browse button next to the Restore From field.
Browse to the following path: C:\Windows\Options\CABS.
Click the CABS folder, and then click OK.
Click the Browse button next to the Save in field.
Browse to the file's working directory. Use the path from the error message (if one was given). This is probably one of the following paths:
C:\Windows
C:\Windows\System
C:\Windows\System32
Click the name of the folder, click OK, and then click OK again.
If a Backup Files window appears, click OK.
If a window displays "The backup folder does not exist. Do you want to create it?", click Yes.
When successful, a window appears stating that the file has been successfully extracted. Click OK.

If Windows XP cannot start
Use the following steps to replace system files from a command prompt in Windows XP:
Turn on the PC and press the F8 key repeatedly when the first screen displays.
In the Windows Advanced Options Menu screen, select Safe Mode with Command Prompt, press Enter and press Enter again to select Windows XP Home Edition.
Select Administrator, enter a password (if applicable) and wait until the command prompt window displays.
Type CD C:\ at the command prompt.
At the C:\ prompt, type expand, then the path of the compressed system file, and then the destination path (including the filename).. Use the Asterisk (*) character to represent any character when typing. For example, to restore a system DLL file that starts with mmsystem to the system32 folder, type the following:
expand c:\i386\mmsystem.dl_ c:\windows\system32\mmsystem.dll
NOTE:
In Windows XP, compressed system files are stored at C:\i386. These compressed files have the same filename as regular system files, but the last letter in their three character extensions are replaced by an underscore (_).
Type Type shutdown -i to restart the PC.
If Windows 98 or Me cannot start
Use the following steps to replace the missing files when Windows cannot start.
Turn the computer on and place the first recovery disc into the top drive.
After inserting the disc, turn the computer off, wait about ten seconds, and turn the computer on again.

If an HP Recovery screen displays "Press any key to continue...", press the spacebar.
To continue, read the warning screen and click OK.
Click Advanced Options at the top of the screen.
Click Selective Recovery.
Read the Select Files to Restore window that appears.
Type the name of the file. For example, if the error message is MNYUTIL.DLL is linked to missing export MFC42.DLL, type MFC*.DLL.
Click OK. If there is more than one recovery disc, it may be necessary to insert another disc when prompted.
When the recovery process has finished copying files, remove the disc and restart the computer. If problems, persist it may be necessary to perform a system restore or a non-destructive recovery.

1 comment:

Subhadeb said...

Nice Website

Check mine
http://subhadeb.hpage.com/

भारतीय कॉमिक्स का चलचित्र उद्यम

 कोशिश... हर पहला कदम नामुमकिन सा लगता है हर पल ठोकर से मंजिल दूर होता लगता है जरूरी नहीं की हर पल बुलंदी कदम चूमे हौसला रखना अपना फर्ज होता...