I am trying to make an event logger for my cmd application. However, I get this error when she tries to create a log for the first time.
Source not found, but some or all event logs could not be found. Unreachable Logs: Security.
So, I found that this is because of windows 7 and some new security. Therefore, right now I have to grant .exe administrator rights.
Is there any way around this so that it does not need administrator rights? I donβt know if people will feel too good if they have to constantly run my application with administrator rights.
I plan to put this later on a Windows 2008 machine, so I assume that it will suffer from the same problem.
c # windows-7 windows-server-2008 event-log
chobo2
source share