Jump to content

Hello! 👋

These forums are now archived (read only).

Join us on Discord.

Command Line


Recommended Posts

Ray Wimberly

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? :?

Link to post
Share on other sites
Lyndsay Weitzel

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.

Link to post
Share on other sites
Ray Wimberly

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.

Link to post
Share on other sites
Lyndsay Weitzel

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.

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
×
×
  • Create New...