Enable Schannel event logging in Windows and Windows Server
This article introduces how to enable schannel event logging in Windows and Windows Server.
Original product version: Windows 7, Windows 8, Windows 10, Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019
Original KB number: 260729
When you enable Schannel event logging on a machine that is running any version of Windows listed in the Applies to section of this article, detailed information from
Schannel events can be written to the Event Viewer logs, in particular the System event log. This article describes how to enable and configure Schannel event logging.
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
This registry key is present already in Windows and Windows Server.
Start Registry Editor. To do this, click Start, click Run, type
regedit, and then click OK.
Locate the following key in the registry:
Double-click the EventLogging key or right-click it and select Modify.
- Value Name:
- Data Type:
See "Logging options" table below
- Value Name:
Exit Registry Editor.
Reboot the machine (Logging does not take effect until after you restart the computer).
The default value for Schannel event logging is 0x00000001 in Windows, which means that error messages are logged. Additionally, you can log multiple events by specifying the hexadecimal value that equates to the logging options that you want. This is a combination DWORD, which combines individual values for the desired result. For example, to log error messages (0x00000001) and warnings (0x00000002), set the value to 0x00000003.
|Do not log
|Log error messages
|Log warnings and error messages
|Log informational and success events
|Log informational, success events and error messages
|Log informational, success events and warnings
|Log informational, success events, warnings, and error messages (all log levels)
Schannel event logging is different from schannel logging. Use schannel logging to enable Windows products to log debug information using the checked version of Schannel.dll.
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- Windows Server 2008 R2
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019