Hi, i’m trying to get a bat file working to automatically register the checkmk agent.
Does anyone know how I could skip this part that asks y/n to automatically select y?

The code i’m using is just this:
cd
cd C:\Program Files (x86)\checkmk\service
check_mk_agent.exe updater register -H %computername% -U username -P Password
cmk-agent-ctl.exe register -H %computername% -s “IP” -i site -U username -P password