How to properly start a windows service from vbs?
I have a service which I want to have started with a specific priority assigned to the executable. This has been difficult so far but what I’ve done is set up a scheduled task which uses cscript.exe to launch a vbs file. This VBS file will then launch a bat file that checks to see if the service is running and if not, it will launch it with net start. The purpose of the vbs file is to launch the service with no console. I don’t want that popping up every 5 minutes. Afterward it would call wmic to set the priority on the executable.