HOW TO: Boot Windows 2000-Based Computers When You Use a Debugger Program (295553)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q295553

SUMMARY

This article describes the commands that you can issue from a kernel debugger so that you can initiate reboots of your computer while it is in Safe mode.

back to the top

Restart Windows While in Safe Mode

When you remotely debug Windows 2000-based computers, you may want to boot the computer into some variation of Safe mode to observe if the operating system can perform either a boot or a different task. To initiate reboots while your computer is in Safe mode:
  1. From the kernel debugger, press CTRL+K to request an initial kernel breakpoint, and then type: .reboot.
  2. When the computer restarts, type: .reload, and then type: ed NT!InitSafeBootMode X (use the values 1, 2, or 3 for X). The definitions of these values are:

    Mode                Value
    ----------------------------------
    SAFEBOOT_MINIMAL    1
    SAFEBOOT_NETWORK    2
    SAFEBOOT_DSREPAIR   3 (Windows domain controllers only)
    						

back to the top

Modification Type:MinorLast Reviewed:1/27/2006
Keywords:kbhowto kbHOWTOmaster KB295553 kbAudITPro