Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Repair Missing or Corrupt Files
 

If you experience a problem on Windows NT such as a missing or corrupt crucial file, you might find the Microsoft Windows NT Server 4.0 Resource Kit's Repair utility useful. This utility uses an Emergency Repair Disk (ERD) to repair NT installations. If you don't have an ERD, the Repair utility can also use the \repair folder to restore a system. The utility scans a system's disks, finds the NT installations, and locates the \repair folder under the \%systemroot% folder.

Because you can install NT in any folder, you might wonder how the Repair utility determines whether a folder includes an NT installation. To locate an NT installation, the utility searches a system's folders for the microkernel file ntoskrnl.exe.

If the file ntoskrnl.exe is missing, the Repair utility can't find the NT installation. However, if you have a FAT boot partition, you can work around this problem. Boot the system from a DOS or Windows 9x system disk. (Alternatively, you can boot from a second NT installation.) Use the Cd command to change the current directory to the NT folder. Then, navigate to the system32 folder. Create an ordinary file called ntoskrnl.exe. To create this file, go to the command prompt and enter

C:\>copy con ntoskrnl.exe

Then, press F6. Finally, run the Repair utility again. The utility will locate ntoskrnl.exe, determine that the file is corrupt, and replace the file, along with any other missing or corrupt files.

In Windows 2000, Windows File Protection (WFP) monitors ntoskrnl.exe and other crucial files. WFP replaces missing or corrupt files with files from the file cache in realtime, thus avoiding the need for a repair process. In addition, Win2K's Recovery Console gives you read/write capability from a command prompt, even on NTFS partitions.







Reader Comments

I have been trying to download "True Poker.com" but cannot install as i keep getting an ERROR BOX stating that i have a corrupt install file. My system is windows XP home edition. Can you please help me to find a way to correct this?. Sincerely,

Nickolas Petrovich -October 16, 2003

sorry my system is window 2000 now the ntoskrnl.exe is corrupted and missing so my Window can not start How can i repair my system can you show me clearly ??? thank you very much

Peter -March 16, 2004

Please tell me where to find a missing file= wdskctl.exe and where I can go to find other missing files. Thanks.

Steve -May 05, 2004
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement