
Note * The value 3 applies to Windows domain controllers only. The operating system is not in Safe Mode. The following table lists the modes for values of the InitSafeBootMode variable. A device driver can examine these settings to determine whether the operating system is running in Safe Mode. InitSafeBootMode points to a ULONG variable that contains the Safe Mode settings that are currently in effect. The Microsoft Windows operating system kernel exports a pointer named InitSafeBootMode.


This topic also describes how to prevent a driver from operating in Safe Mode. This topic describes how a device driver can determine whether the operating system that it is running on was started in Safe Mode. Determining Whether the Operating System Is Running in Safe Mode
