Jump to content

Command Line


Ray Wimberly

Recommended Posts

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 comment
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 comment
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.

Link to comment
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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...