.secure (Activate Secure Mode)

The .secure command activates or displays the status of Secure Mode.

.secure 1 
.secure 

Environment

Secure Mode can only be enabled while the debugger is dormant. Secure Mode applies only to kernel-mode sessions because, by definition, Secure Mode prevents user-mode debugging operations.

Modes

kernel mode only

Targets

live, crash dump

Platforms

all

Additional Information

For details, see Secure Mode.

Remarks

To activate Secure Mode, use the command .secure 1 (or .secure followed by any nonzero value).

The command .secure will show whether Secure Mode is currently active.

Send comments about this topic to Microsoft