c# - Enable Windows Event Log by Managed Code (.NET) / Command Line -
is there programmatic way allows me enable eventlog if disabled default? in short, need know if can enable specific eventlog can use events programmatically.
thanks
to enable windows event log use wevtutil
in particular enable word pad log following:
wevtutil sl "microsoft-windows-wordpad/admin" /e:true
Comments
Post a Comment