My question is why on earth would you want to use IIS? Far far far faaaaar simpler to run Node-RED as a service (search NSSM on this forum) e.g: Running Multiple Instances of Node-red using NSSM - #2 by Steve-Mcl
Start node-red using the node-red
command and pass in the -u
of your choice.