cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aplrich
Engaged Sweeper III
Hi Guys

Here is a custom action I made that kills any pre existing VNC service running on the target machine. I made this because the remote control utility in Lansweeper cannot run if there is an existing vnc service running.

Create a .bat file with the following and place in the {actionpath} folder.

taskkill /IM winvnc4.exe /s %1

Create a custom action entry in the database config with the following:

{actionpath}killvnc.bat {computer}

Now just select this action from the web console and it will kill the vnc service on the remote machine, allowing you to run the remote control tool.

Note:
In the above example 'winvnc4.exe' was the name of the process running on the machines in our environment, this may vary with version of VNC running so double check and amend accordingly.

EDIT:
As a side thought, this should also work with any other process you want to kill. Just change the name.
1 ACCEPTED SOLUTION
Hemoco
Lansweeper Alumni
Try upgrading to the latest lsremote.exe, this version kills winvnc*.exe before connecting.

View solution in original post

1 REPLY 1
Hemoco
Lansweeper Alumni
Try upgrading to the latest lsremote.exe, this version kills winvnc*.exe before connecting.