Windows Err Msg: Cannot Find a Device File that May Be...Last reviewed: November 23, 1994Article ID: Q90750 |
The information in this article applies to:
SYMPTOMSThe following error message may be displayed when you attempt to start Windows in enhanced mode:
Cannot find a device file that may be needed to run Windows in 386 Enhanced Mode.In Windows 3.0 and 3.0a, the message is followed by a "run Setup again" message. In Windows 3.1, the message is followed by a "You need to run the Setup program again" message, and may specify the device filename.
CAUSEThe above error indicates that an entry specified in the [386Enh] section of the SYSTEM.INI file is invalid or cannot be located. There are two different types of device files that can be specified in the [386Enh] section on a DEVICE= line: internal and external. Internal device drivers are specified by an asterisk (*) before the device name, and are internal to the core Windows files (namely WIN386.EXE). External device drivers are usually specified by a .386 extension, and are located in the Windows SYSTEM subdirectory or in the path specified on the DEVICE= line. External virtual device drivers can be provided by Windows or by third- party products.
WORKAROUNDIn general, reinstalling Windows is the best solution. This ensures the proper location of device drivers internally and externally provided by Windows. If a third-party device driver is causing the error, you need to reinstall the third-party program as well or rename SYSTEM.INI before reinstalling Windows so that the third-party product's changes are preserved.
MORE INFORMATIONThe following are specific problems and their solutions.
EBIOS=X:*EBIOSIn some cases, you will get this error message due to the following line in the [386Enh] section of the SYSTEM.INI file:
ebios=x:*ebiosTo correct this problem, remove the "x:" from this line. The "x:" is used in the SETUP.INF file to refer to the disk containing the file WIN386.EXE. In some cases, this "x:" gets copied to the SYSTEM.INI during installation and is never removed.
Windows 3.0 Files in a Windows 3.1 InstallationIf the device driver causing the error is one or more of the following:
VTDAPI.386 INT13 WDCTRL BLOCKDEV KRNL386.EXEthe error possibly indicates that Windows 3.1 has found core Windows 3.0 or 3.0a files in the WINDOWS or WINDOWS\SYSTEM subdirectory. Remove any core Windows 3.0 or 3.0a files (specifically, WIN386.EXE) from these directories, and replace them by expanding the appropriate 3.1 files.
PC Tools Version 7.0During PC Tools installation, version 7.0 of Central Point Software's PC Tools modifies the SYSTEM.INI file. It changes two DEVICE= statements in the [386Enh] section. After PC Tools installs, two device statements are changed from
device=*vdmad device=*vfdto:
device=vdmad.386 device=vfd.386There are two ways to correct this problem:
WINDEBUG.386If you installed the Windows Software Development Kit (SDK) for version 3.0 or 3.1, you may receive this error as well. It indicates that Windows is unable to find the WINDEBUG.386 device driver because it is not in the path. This device is added by SDK Setup and is referenced by the DEVICE=WINDEBUG.386 line in the [386Enh] section of SYSTEM.INI. To resolve this problem, use a text editor such as Notepad to edit your AUTOEXEC.BAT file and add the SDK directory to the MS-DOS PATH. The default SDK directory is WINDEV. PCTools is manufactured by Central Point Software, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.
SMARTDrive /X SwitchThis error message may appear if you use the SMARTDrive /X switch (which ships with Microsoft MS-DOS version 6.2). Deleting the /X switch resolves the problem.
|
KBCategory: kbenv kberrmsg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |