Cabinet Files : System Files with .cab File Extension

Cabinet Files : System Files with .cab File Extension

Essential core system files are often attacked and corrupted by viruses. No need to worry, you can restore them from the Windows CD. Here is how to do that.

Let’s say that your Notepad is corrupted and it behaves unexpectedly. You want to fix it.

This TechPuffs tutorial is not only about Notepad. It broadly explains how to restore any Windows system file that is corrupted due to any reason.

You will need your Windows CD for this tutorial. Keep it ready with yourself before you proceed.

How to Restore a Corrupted System File by using Windows CD?


Here is the step by step extensive TechPuffs guide which explains how to use your Windows CD to recover corrupted system files damaged by whatever reasons.

  • First of all insert Windows CD in your CD drive.
  • Now, we will have to search for Notepad in the Windows CD. Original system file is named as NOTEPAD.EXE but the CD contains NOTEPAD.EX_ which means the last character of the file extension is replaced by underscore (_) in the CD. So we will search for the file NOTEPAD.EX_ in the CD. When the file that you need comes in the search result, then note the location of that file in the CD drive. Now open command prompt. Type the command as suggested below and hit enter.
    EXPAND FILE_PATH_IN_CD DESTINATION_PATH
    For example :
    EXPAND D:\SETUP\NOTEPAD.EX_ C:\WINDOWS\NOTEPAD.EXE

    If any of location paths contain spaces then enclose the path inside double quotes (“”).

  • Sometimes you may not be able to find a particular file in the Windows CD. If suppose the file you were searching inside the CD is not found, then search the file with actual name i.e. NOTEPAD.EXE, note that we have not used underscore (_) this time. Chances are the file you are searching for is not independent file but embedded in a CAB (.cab) file. Windows considers a CAB file like a folder. Most of the time we’ll need just one file embedded inside a CAB file and not the whole CAB file. What to do in that situation? In command prompt. Type the command as suggested below and hit enter.
    EXTRACT /L DESTINATION_PATH CAB_FILE_PATH_IN_CD REQUIRED_EMBEDDED_FILENAME
    For example :
    EXTRACT /L C:\WINDOWS D:\I386\DRIVER.CAB NOTEPAD.EXE

    Once again, if any of location paths contain spaces then enclose the path inside double quotes (“”).

This tutorial describes altering the core system files, which if not done in the correct way, can be fatal for your operating system. So, use the information at your own risk.