Ray Wimberly

Command Line

3 posts in this topic

Does anyone know of any ways to kill the server from the command line? I'm looking to write a "stop" batch script that will automatically stop the server and close the application. Every time I issue a Taskkill command forcefully for every process of synergy it denies permission for a couple of the processes. The only successful kill is with the main application. Probably because this is running by default from the installation as a Windows Service, right? :?

Share this post


Link to post
Share on other sites

net start for a list of running services

 

net stop synergy to stop it

net start synergy to start it

 

You'll need elevated privileges, so run the command prompt as administrator.

Share this post


Link to post
Share on other sites

Running this in a elevated command prompt still seems to have no effect ultimately. The server stops according to the command return but the server is still actively running.

If it matters, I am starting the server with a batch file. So the server is actively running and logging within a command shell.

 

Also when running 'net start', I do not see any listings for Synergy.

Share this post


Link to post
Share on other sites

If it's not listed when you manually run net start, it's probably running from another means.

 

Maybe a reinstallation, so that you know how's it configured, would help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now