CmdID

CmdID / Commands

eventcreate

Enables an administrator to create a custom event in a specified event log. Windows commands reference

On Windows File eventcreate.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Enables an administrator to create a custom event in a specified event log. IMPORTANT: Custom events can't be written to the security log.

eventcreate [/s <computer> [/u <domain\user> [/p <password>]] {[/l {APPLICATION|SYSTEM}]|[/so <srcname>]} /t {ERROR|WARNING|INFORMATION|SUCCESSAUDIT|FAILUREAUDIT} /id <eventID> /d <description>
eventcreate /t ERROR /id 100 /l application /d "Create event in application log"
eventcreate /t INFORMATION /id 1000 /d "Create event in WinMgmt source"
eventcreate /t ERROR /id 201 /so winword /l application /d "New src Winword in application log"
eventcreate /s server /t ERROR /id 100 /l application /d "Remote machine without user credentials"
eventcreate /s server /u user /p password /id 100 /t ERROR /l application /d "Remote machine with user credentials"
eventcreate /s server1 /s server2 /u user /p password /id 100 /t ERROR /d "Creating events on Multiple remote machines"
eventcreate /s server /u user /id 100 /t WARNING /d "Remote machine with partial user credentials"
/s <computer>Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.
/u <domain\user>Runs the command with the account permissions of the user specified by <user> or <domain\user>. The default is the permissions of the current logged on user on the computer issuing the command.
/p <password>Specifies the password of the user account that is specified in the /u parameter.
/l {APPLICATION | SYSTEM}Specifies the name of the event log where the event will be created. The valid log names are APPLICATION or SYSTEM.
/so <srcname>Specifies the source to use for the event. A valid source can be any string and should represent the application or component that is generating the event.
/t {ERROR | WARNING | INFORMATION | SUCCESSAUDIT | FAILUREAUDIT}Specifies the type of event to create. The valid types are ERROR, WARNING, INFORMATION, SUCCESSAUDIT, and FAILUREAUDIT.
/id <eventID>Specifies the event ID for the event. A valid ID is any number from 1 to 1000.
/d <description>Specifies the description to use for the newly created event.
/?Displays help at the command prompt.

Windows

from tldr-pages, CC BY 4.0

Create custom entries in the event log. Event IDs can be any number between 1 and 1000.

Create a new event with a given ID (1-1000) in the log

eventcreate /t success /id 1..1000 /d "message"Identify
/tSpecifies the type of event to create. Windows commands reference
/idSpecifies the event ID for the event. Windows commands reference
/dSpecifies the description to use for the newly created event. Windows commands reference

Create an event in a specific event log

eventcreate /l log_name /t type /id event_id /d "message"Identify
/lSpecifies the name of the event log where the event will be created. Windows commands reference
/tSpecifies the type of event to create. Windows commands reference
/idSpecifies the event ID for the event. Windows commands reference
/dSpecifies the description to use for the newly created event. Windows commands reference

Create an event with a specific source

eventcreate /so source_name /t type /id event_id /d "message"Identify
/soSpecifies the source to use for the event. Windows commands reference
/tSpecifies the type of event to create. Windows commands reference
/idSpecifies the event ID for the event. Windows commands reference
/dSpecifies the description to use for the newly created event. Windows commands reference

Create an event in a remote machine's event log

eventcreate /s hostname /u username /p password /t type /id event_id /d "message"Identify
/sSpecifies the name or IP address of a remote computer (do not use backslashes). Windows commands reference
/uRuns the command with the account permissions of the user specified by or . Windows commands reference
/pSpecifies the password of the user account that is specified in the /u parameter. Windows commands reference
/tSpecifies the type of event to create. Windows commands reference
/idSpecifies the event ID for the event. Windows commands reference
/dSpecifies the description to use for the newly created event. Windows commands reference