You can use this command. I hope you'll not face any error and it'll work as you desired. You need to correct some mistakes causing the error. /accepteula -> -accepteula c:\windows\config.xml -> "c:\windows\config.xml" echo %DATE%-%TIME% Installing Sysmon && "%SPLUNKPATH%\etc\apps\your_sysmon_app\bin\sysmon.exe" -accepteula -i "c:\windows\config.xml" | Find /c "Sysmon installed." 1>nul && echo %DATE%-%TIME% Install complete! && exit
... View more