Addon to this "PowerShell" tip:
– replace C:ProgramData with $env:ProgramData
– if you created subfolders, you should use -recurse
– if you untick "for all users", you need to clean up $env:LocalAppDataMicrosoftEvent ViewerExternalLogs
To do this even faster, simply remove the whole folders:
( get-item "$env:programdataMicrosoftEvent ViewerExternalLogs" ).Delete( $True )
( get-item "$env:LocalAppDataMicrosoftEvent ViewerExternalLogs" ).Delete( $True )
Event Viewer will happily recreate them if required.