Stop/Start a program running on a server with a script


  1. Posts : 2
    Windows 7 Professional
       #1

    Stop/Start a program running on a server with a script


    Have a licensing server running on a Windows 2012 R2 server that hangs on sessions. The only way to free up the sessions is to restart the licensing server. Is it possible to create a batch file or script to stop and start the licensing server from a desktop on the network?
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    A batch file using

    net stop servicename
    set start servicename


    might do the trick for you.
      My Computer


  3. Posts : 2
    Windows 7 Professional
    Thread Starter
       #3

    Thank you for the input, but the vendor came back with alternative solution.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:54.
Find Us