Created
February 4, 2015 11:20
-
-
Save wictorwilen/e9baad3d405b2d790ad4 to your computer and use it in GitHub Desktop.
Secure Channel logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://support.microsoft.com/kb/260729 | |
# 0x0000 0 Do not log | |
# 0x0001 1 Log error messages | |
# 0x0002 2 Log warnings | |
# 0x0004 4 Log informational and success events | |
Set-ItemProperty HKLM:\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL -Name "EventLogging" -Value "4" | |
Write-Host -ForegroundColor Red "You need to reboot the server" | |
Restart-Computer -Confirm | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment