Jump to content

Error: vgaoem.fon Is Missing or Corrupt

  • PrintPrint
This document pertains to computers with Windows XP.
The following error displays when trying to start the computer:
Windows could not start. The following file is missing or corrupted \windows\system\vgaoem.fon
This error is more likely to occur after upgrading a computer from Windows 98 or Me to Windows XP.
To resolve the error, use the following steps to restore the missing or corrupted file from a command prompt:

Step 1: Opening a command prompt

Because this error prevents Windows XP from opening, the file must be restored from a command prompt environment.
Use the following steps to open a command prompt environment:
  1. Turn on the computer and press the F8 key repeatedly when the first screen displays.
    The Windows Advanced Options menu displays.
  2. Use the Up Arrow , Down Arrow , and Enter keys to select Return to OS choices .
  3. Select Microsoft Windows Recovery Console .
    NOTE:If Microsoft Windows XP Recovery Console is not listed, restart the computer with a Windows XP CD, Recovery Console CD, or Recovery Tools CD in the top CD or DVD drive and open Microsoft Windows Recovery Console. If a Windows XP Setup screen displays when using Recovery Console CDs, press the R key to open the Recovery Console.
    NOTE:If Microsoft Windows XP Recovery Console is not listed and you do not have a CD with Recovery Console, try the following:
    Turn on the computer, and press the F10 key repeatedly at the first screen.
    At the Recovery screen, click Advanced Options .
    Press the Alt + D keys at the same time to open a command prompt window and skip to Step 5.
  4. When the login prompt displays, press the number next to the Windows version (minint or Windows) and type the logon password. If you do not know the password, try pressing Enter.
  5. At the command prompt, type the following: diskpart
  6. Press Enter , and do one the following:
    If a table of volume names displays, remember the drive letter next to the main drive volume name (usually D or H next to HP_PAVILION or PRESARIO) and press the Esc key.
    If a diskpart prompt displays, type list volume , press Enter , remember the drive letter next to the main drive volume name (usually D or H next to HP_PAVILION or PRESARIO), type exit when done, and then press Enter .
    NOTE: If the main drive volume name does not display in the list, the computer needs to be recovered. For more information, see Performing a Full System Recovery in XP .

Step 2: Replacing the file from a backup folder

Use the following steps to find and replace the missing file from the command prompt environment:
  1. Type the following at the command prompt:
    cd X:\i386 (where X is the main drive letter)
  2. Press the Enter key.
    If the error The system cannot find the path specified displays, type the following paths, in order, until the error does not occur:
    • cd X:\Windows\i386 (where X is the drive letter)
    • cd c:\i386
    • cd c:\Windows\i386
  3. Type the following at the command prompt:
    expand vgaoem.fo_ X:\windows\system (where X is the drive letter)
  4. Press Enter and type the following at the command prompt:
    cd X:\windows\system (where X is the drive letter)
  5. Press the Enter key, and type the following at the command prompt:
    attrib vgaoem.fon -r
  6. Press Enter and type the following at the command prompt:
    rename vgaoem.fon vgaoem.bak
  7. Press Enter and type the following at the command prompt:
    rename vgaoem.fo_ vgaoem.fon
  8. Press Enter and type the following at the command prompt:
    exit
  9. Press Enter . The computer restarts without the error. If the error persists, continue to the next step to perform a full system recovery.

Step 3: Recovering the computer

If the error continues, recover the computer .