Boot.ini

The Safe-mode boot modes and corresponding switches include:

  • Mode: Safe Mode
    Switch: /safeboot:minimal /sos /bootlog /noguiboot
  • Mode: Safe Mode with Networking
    Switch: /safeboot:network /sos /bootlog /noguiboot
  • Mode: Safe Mode with Command Prompt
    Switch: /safeboot:minimal(alternateshell) /sos /bootlog /noguiboot
  • Mode: Enable Boot Logging
    Switch: /bootlog
  • Mode: Enable VGA Mode
    Switch: /basevideo
  • Mode: Directory Services Restore Mode (Domain Controllers Only)
    Switch: /safeboot:dsrepair /sos
  • Mode: Debugging Mode
    Switch: /debug

Example:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional Safe Mode" /fastdetect /safeboot:minimal /sos