Starting mosquitto server without administrator privileges


I look for a way to start the mosquitto server directly in “exec” node of node-red but I d’ont know the command to write because when I test with "net start mosquitto " I have a system error 5.
I have the same result if I run this command in command windows without as administrator but if write this command in command windows as admnistrator, it works well. I conclude the error is due to administrator privileges but in this case, is there a specific command to start the broker without administrator privleges?

Hi Jim,

Using net start mosquitto interacts with the system services, so it’s no real surprise that it requires admin privileges. To start manually, run C:\Program Files\mosquitto\mosquitto.exe -c C:\Program Files\mosquitto\mosquitto.conf

You can of course provide your own path to a config file.