"Error Loading Keyboard.drv" Error Message When You Start Windows (305650)



The information in this article applies to:

  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition

This article was previously published under Q305650

SYMPTOMS

When you attempt to start Windows, you may receive the following command-line error message:
Error loading Keyboard.drv. You must reinstall Windows.
When you attempt to start Windows in Safe mode, you may receive the following message:

It is now safe to turn off your computer.

-or-

The computer may automatically shut down.

CAUSE

This behavior can occur if the keyboard driver file, Keyboard.drv, is missing or damaged.

RESOLUTION

To resolve this issue, extract a new copy of Keyboard.drv from your Windows compact disc to the Windows\System folder. To do this, follow these steps:
  1. Insert a Windows 98 Startup disk, and then start the computer.
  2. Select Start computer with CD-ROM support on the Microsoft Windows 98 Startup menu, and then press ENTER.
  3. Note the drive letter assigned to the CD-ROM drive. For example, E.
  4. Insert the Windows 98 compact disc into the computer's CD-ROM or DVD-ROM drive.
  5. At the command prompt, type Ext, and then press ENTER.

    Microsoft Extract Command Line Helper starts.
  6. At the Please enter the path to the Windows CAB files (a:) message, type drive:\win98 (where drive is the drive letter that you noted in step 3), and then press ENTER. For example:

    E:\win98 <ENTER>

  7. At the Please enter the name(s) of the files(s) you want to extract message, type Keyboard.drv, and then press ENTER.
  8. At the Please enter the path to extract to ("Enter" for current directory) message, type C:\Windows\System, and then press ENTER.
  9. At the Is this okay? (y/n) message, type y, and then press ENTER. If you receive the following message

    Overwrite C:\Windows\System\Keyboard.drv (Yes/No/All)?

    type y, and then press ENTER. The file is extracted.
  10. Remove the Windows 98 Startup disk, and then restart the computer.

Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kberrmsg kbprb KB305650