Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

May 20, 2002 12:00 AM

Repair Missing or Corrupt Files

Windows IT Pro
InstantDoc ID #24864
Rating: (4)

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.

Related Content:

ARTICLE TOOLS

Comments
  • Steve
    8 years ago
    May 05, 2004

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

  • Peter
    8 years ago
    Mar 16, 2004

    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

  • Nickolas Petrovich
    9 years ago
    Oct 16, 2003

    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,

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.