Skip to content

Instantly share code, notes, and snippets.

@wictorwilen
Created February 4, 2015 11:20
Show Gist options
  • Save wictorwilen/e9baad3d405b2d790ad4 to your computer and use it in GitHub Desktop.
Save wictorwilen/e9baad3d405b2d790ad4 to your computer and use it in GitHub Desktop.
Secure Channel logging
# 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