RESOLUTION
To troubleshoot this behavior, view the following articles
in the Microsoft Knowledge Base:
242495 Troubleshooting Advanced Power Management in Windows 2000
246243 Troubleshooting STOP 0x9F Error Messages in Windows 2000
If none of these articles helps you resolve the
shutdown behavior, use the steps in the following sections to help you find the
device driver or service that is causing the shutdown behavior.
This
article contains the following sections:
- How to start your computer in Safe mode
- How to save a copy of the drivers that are
running
- How to save a copy of the services that are
running
- How to compare the drivers that are running
- How to create a second profile for driver issues
- How to troubleshoot problems with services
- How to create a second profile for service
issues
- How to use a parallel installation to identify the driver
or program that is causing the shutdown behavior
How to Start Your Computer in Safe Mode
NOTE: The following procedure assumes that you can shut down your
computer when it is in Safe mode. Sometimes a driver may become a lower or
upper filter driver for a driver that loads in Safe mode; this can also prevent
your computer from shutting down when it is in Safe mode. If the problem is
with a service, start your computer in Safe mode, following the steps in the
"How to Save a Copy of the Services That Are Running" section, and then follow
the steps in the "How to Troubleshoot a Service Problem" section in this
article.
Start your computer in Safe mode and log on with
administrative privileges. To start your computer in Safe mode, restart your
computer, press and hold down the F8 key, and then choose
Safe Mode on the Windows 2000
Startup menu.
If you receive a "STOP: 0x0000001e
KMODE_EXCEPTION_NOT_HANDLED" error message when you try to start your computer
in Safe mode, view the following article in the Microsoft Knowledge Base:
261807 DirectCD 3.01 Prevents Starting in Safe Mode in Windows 2000
How to Save a Copy of the Drivers That Are Running
To save a copy of the drivers that are running:
- Right-click the My Computer icon on your desktop, and then click Manage to open Computer Management.
- Under System Tools, expand System Information.
- Expand Software Environment, and then click the Drivers folder.
- Click the Name column to sort the drivers by name, and then click the State column to sort the column by state. Note that all drivers that
are running are displayed in alphabetical order.
- Export the list of drivers:
- On the Action menu, click Export list.
- In the File name box, type
drivers.
- In the Save as type box, click
Text (Comma Delimited) (*.csv).
- Save the file on a floppy disk or in another location,
and then verify that the file is saved as Drivers.csv.
How to Save a Copy of the Services That Are Running
To save a copy of the services that are running:
- Right-click the My Computer icon on your desktop, and then click Manage to open Computer Management.
- In Computer Management, locate and expand Services
and Applications.
- Click Services, and then click Details on the View menu.
- Click the Status column, and then click the Status column again to sort the services by status with the started
services at the top of the list.
- Export the list of services:
- On the Action menu, click Export list.
- In the File name box, type
services.
- In the Save as type box, click
Text (Comma Delimited) (*.csv).
- Save the file on a floppy disk or in another location,
and then verify that the file is saved as Services.csv.
- Shut down your computer.
How to Compare the Drivers That Are Running
To compare the drivers that are running to the drivers that were
running in Safe mode:
- Restart your computer, log on, and then follow steps 1
through 5 in the "How to Save a Copy of the Drivers That Are Running" section
in this article.
- Compare the drivers that are running to the drivers that
were running when you started your computer in Safe mode:
- Start Microsoft Excel or another spreadsheet program
that can open comma-delimited text (.csv) files, and then open the Drivers.csv
file that you saved when you started your computer in Safe mode. Note that you
may want to print this file on another computer if your computer does not have
a spreadsheet program installed.
- Compare the list of drivers that are running on your
computer with the list of drivers that were running on your computer in Safe
mode. Note that any third-party drivers that are running on your computer that
were not running when your computer was in Safe mode may be causing this
shutdown behavior.
- If you can identify any third-party OEM drivers that
are running, try to uninstall the device drivers. You can also uninstall or
disable the device in Device Manager. Note that if you uninstall a Plug and
Play device in Device Manager, Windows 2000 may redetect the device when you
restart your computer. You may need to physically remove the hardware or rename
the OEM installation .inf file for that device.
When you install an
OEM driver, the Windows Installer program copies the OEM
oemsetup.inf file to the %SystemRoot%\INF folder,
and then renames the oemsetup.inf file to
OEM#.inf, where # is an
incremental number for each OEM driver that is installed.
After you
install the OEM driver, start Windows Explorer, and then temporarily move any
%SystemRoot%\INF\Oem#.inf and
Oem#.pnf files (where #
is a number) to an another location. If you want to identify a specific
Oem#.inf file, you can open the file in
Notepad.For additional information about device drivers, click the
article numbers below to view the articles in the Microsoft Knowledge Base: 199276 How to Manage Devices in Windows 2000
268852 How to Force Windows 2000 to Use Standard VGA Compatible Driver
- After you uninstall or disable the device that is causing
the shutdown behavior, restart your computer several times to verify that it
shuts down correctly, and then contact the OEM manufacturer to report the
behavior and ask if there are updated drivers available for the
device.
NOTE: If you use the device that is causing the shutdown behavior only
occasionally, you can create a new hardware profile in which you can start your
computer with the device enabled or disabled. You can set the device as
disabled in your default hardware profile, and set the problem device as
enabled for the new hardware profile.
How to Create a Second Profile for Driver Issues
To set the device as disabled in your default hardware profile
and then set the problem device as enabled in the new hardware profile:
- Click Start, point to Settings, and then click Control Panel.
- Double-click System, and then click Hardware Profiles on the Hardware tab.
- Click Copy, type no-shutdown in the To box, and then click OK to save a copy of the profile.
- On the Hardware tab, click Device Manager.
- In Device Manager, right-click the device that is preventing your computer from
shutting down, and then click Properties.
- In the Device usage box, click Do
not use this device in the current hardware profile
(disabled).
When you do this, your computer does shut down normally when
you start it with the default profile. When you want to use the device that
causes the shutdown behavior, start your computer with the new, no-shutdown
profile that has the device enabled.
If the shutdown problem is not
caused by a device driver, the behavior may be caused by a third-party service.
Troubleshoot the services in the same way that you troubleshot the drivers.
How to Troubleshoot Problems with Services
To troubleshoot a problem that your computer is having with a
service:
- Restart your computer, log on, and then compare the
services that are running with the services that were running when you started
your computer in Safe mode:
- Right-click the My Computer icon on your desktop, and then click Manage to open Computer Management.
- Locate and expand Services and
Applications.
- Click Services, and then click Detail on the View menu.
- Click the Status column, and then click the Status column again to sort the services by status with the started
services at the top of the list.
- Start Excel or another spreadsheet program that can
open comma-delimited text files, and then open the Services.csv file that you
saved. Note that you may want to print this file on another computer if your
computer does not have a spreadsheet program installed.
- Compare the list of services that are running on your
computer with the list of services that were running in Safe mode. Note that
any third-party services that are running on your computer that were not
running when your computer was in Safe mode may be causing this shutdown
behavior.
- If you can identify third-party OEM services that are
running, try to uninstall or disable the service.
- After you uninstalled or disable the service that is
causing the shutdown behavior, restart your computer several times to verify
that it shuts down correctly, and then contact the OEM vendor to report the
behavior and ask if there is an update available to resolve the shutdown
behavior.
NOTE: If you only use the service that is causing the shutdown
behavior occasionally, you can create a new hardware profile in which you can
start your computer with the service enabled or disabled. You can set the
service as disabled in your default hardware profile, and set the problem
device as enabled for the new hardware profile.
How to Create a Second Profile for Service Issues
To create a second profile, set the service as disabled in your
default hardware profile, and then set the problem device as enabled for the
new hardware profile:
- Click Start, point to Settings, and then click Control Panel.
- In Control Panel, double-click System.
- Click Hardware Profiles on the Hardware tab.
- Click Copy, type no-shutdown in the To box, and then click OK to save a copy of the profile.
To disable a service in the default profile:
- Click Start, point to Search, and then click For Files or Folders.
- In the Search for files or folders named
box, type services.msc.
- In the Look in box, click Local Harddrives, and then click Search Now.
- Double-click the Services.msc file.
- In the Services dialog box, right-click the service that is causing the shutdown
behavior, and then click Properties.
- Click Disable on the Log On tab to disable the service in the default profile.
When you do this, your computer does shut down normally when
you start it with the default profile. When you want to use the device that
causes the shutdown behavior, start your computer with the new, no-shutdown
profile that has the device enabled.
How to Use a Parallel Installation to Identify the Driver or Program That Is Causing the Shutdown Behavior
Install a new copy of Windows 2000 on a separate partition on
your computer. After you install the new copy, install third-party drivers (or
programs that install or start services) one at a time on your parallel
installation. Restart your computer several times each time that you install a
new driver or program. When the parallel installation exhibits the same
shutdown behavior, the last driver or program that you installed is the driver
or program that is causing the shutdown behavior. To resolve this behavior,
remove the driver or program from the original installation. After you do this,
delete the parallel installation.