Restart Rhythmyx 6.5 automatically using batch file

I tried to use the batch file (with net start and net stop Rx service) using the Window Scheduler. Whenever it’s executed, the new window is popped up and the current window isn’t closed and hence keep accumulating command windows in the end.

How is it feasible to gracefully restart Rx service using batch file without having so many popped command windows?

Thanks in advance for your help!

We stop, copy, then restart our Rhythmyx 6.5.2 servers automatically twice a week. I set it up using separate scheduled tasks for each step, allowing it 15 minutes to stop before copying. Even then, Rhythmyx sometimes fails to stop properly.

I allow enough time between Rx stop and Rx start in a single script. Rx still restarts properly, however, pops up command window upon every restart.