About 51 results
Open links in new tab
  1. How to create Windows EventLog source from command line?

    Jan 15, 2009 · Try "eventcreate.exe" An example: eventcreate /ID 1 /L APPLICATION /T INFORMATION /SO MYEVENTSOURCE /D "My first log" This will create a new event source named …

  2. EventCreate.exe creates a "CustomSource" value, what does it mean?

    Jan 17, 2018 · The command-line EventCreate.exe tool registers a user-defined event source in the Registry for the Windows Event Log Viewer to use, like this: eventcreate /t INFORMATION /ID 100 /L …

  3. Write to Windows Event Viewer from log file - Super User

    Mar 11, 2019 · Is there any way to write them in Windows Events Viewer? You can write custom events to event logs using EventCreate. For a working example see my answer Windows event id for …

  4. cmd - Use Variable in eventcreate batch file? - Stack Overflow

    Sep 8, 2022 · I need to tweak an eventcreate statement in an existing, but antique, batch file, to include a variable in the event log. I've tried multiple ways but can't get it to work. The statement currently ...

  5. Create event with the batch files - Stack Overflow

    Feb 24, 2010 · First, the cmd /k operation should return an errorlevel of 0 if it was launched correctly, so your call to eventcreate should occur before your exit command, not after your :Stoppd label as you …

  6. Create event log entry with powershell and fill in user

    Jun 20, 2013 · I need to create entry to Windows Event Log (e.g. application log). I know how to do all the stuff beside filling in the user who performed the action. Example: I need to create a script, that wri...

  7. copy - Batch File to write to event viewer - Stack Overflow

    Aug 19, 2010 · I have a batch file that runs a richcopy program, I am wanting to monitor the errorlevel so far i have got this IF (%ERRORLEVEL% == 0) goto OK else IF (%ERRORLEVEL% == 3010) goto …

  8. impact of Windows Eventcreate.exe eventsource 'keywords'

    Apr 11, 2011 · impact of Windows Eventcreate.exe eventsource 'keywords' Asked 15 years ago Modified 15 years ago Viewed 2k times

  9. NodeJS - Logging to Windows Event Log? - Stack Overflow

    Apr 9, 2019 · At any rate, I strongly recommend against using node-windows for logging because it exec() s a new child process for every log call. This is highly inefficient on Windows: it has to spawn …

  10. Is there a way to write to the windows event log in C?

    Jul 4, 2011 · Is there a library I can use to write event log entries to the windows event log without using eventcreate.exe? Or do I have to modify it to be compiled as a c++ program?