Option to restart the Veyon Service on Clients from the Master
-
@tobydox We are on 4.1.4 with Master & Clients. We use Logon Authentication. The red screens we see on the Master usually appears to be either the Veyon Service is not running or somehow is not responding to the Master. Restarting the service would bring things back to normal. We have tried delay auto-start for the Veyon Service which seems to reduce the frequency of this happening.
-
@DrewLoker this is already possible - simply enable the "Show confirmation dialog for potentially unsafe actions" option in the master configuration page in Veyon Configurator - see https://docs.veyon.io/en/latest/admin/reference.html#behaviour for details.
-
Hi. Not sure if this helps but we experience the same issue from time to time and to assist our ICT Teacher, we use this vbs script. All you need to supply it with is the name of the workstation. Its not foolproof but does our job.
Copy the code below into notepad the save it as 'VeyonServiceRestart.vbs' and run it. It will ask you for the workstation name and if workstation is on, it will attempt to restart the service.
Regards
Declan
' StartService.vbs
' Sample vbscript script to Restart Veyon Remote Desktop Service
' -------------------------------------------------------'
Option Explicit
Dim objWMIService, objService
Dim strService,strComputer,waitTime
strService="VeyonService"
waitTime=10000
strComputer = InputBox ("Computer Name", "Restart Veyon Remote Desktop Service")
Set objWMIservice = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "\root\cimv2")
For Each objService In objWMIService.ExecQuery("Select * from Win32_Service Where Name = '"_
&strService&"'")
objService.StopService
WSCript.Sleep waitTime
objService.StartService
Next
WScript.Echo "Your "& strService & " service has Restarted"
WScript.Quit -
I was hoping to see if you were asking for a confirmation prompt. I would like to put the restart button back, but need to have a prompt intercepting an accidental click.
-
I would like to put the restart button back, but need to have a prompt intercepting an accidental click.
-
Can you try to upgrade both clients and master to 4.2 RC (4.1.92) to see if the problem still persists?
-
Hi. Not sure if this helps but we experience the same issue from time to time and to assist our ICT Teacher, we use this vbs script. All you need to supply it with is the name of the workstation. Its not foolproof but does our job.