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

Popular posts from this blog

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -

java - Play! framework 2.0: How to display multiple image? -