If you need to run a command file in the background without a window opens, simply use the command START.
To do this use the following command line:
START / B file_name.cmd
Other parameters are available, combining this command in a command file and the startup folder, you will then be possible to automate actions in the background. A good alternative to the services poorly adapted to the script!