Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. General Discussion
  3. Option to restart the Veyon Service on Clients from the Master

Option to restart the Veyon Service on Clients from the Master

Scheduled Pinned Locked Moved General Discussion
16 Posts 9 Posters 2.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DrewLoker
    wrote on last edited by
    #2

    You can restart from the Master. However, I remove that button from the configuration app because one click and you have accidentally restarted a client. Maybe you turned it off and didn't realize it.

    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.

    S 1 Reply Last reply
    0
    • S Offline
      S Offline
      Sanny
      replied to DrewLoker on last edited by
      #3

      @DrewLoker Hi, I am not referring to restarting a client but the VeyonService on it - e.g. using SC to start/restart the service. Thank you.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobydox
        wrote on last edited by
        #4

        @Sanny you can try to press "F5" in Veyon Master which will close and re-open connections to all shown computers. Besides that you should only see red screens if something is wrong on a client so we'd better figure this out. Which version of Veyon are you using on master and client computers? Logon or keyfile authentication? Are you using access control rules?

        S 1 Reply Last reply
        0
        • S Offline
          S Offline
          Sanny
          replied to tobydox on last edited by
          #5

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

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobydox
            wrote on last edited by
            #6

            @Sanny thanks for the information! Can you try to upgrade both clients and master to 4.2 RC (4.1.92) to see if the problem still persists?

            S 1 Reply Last reply
            0
            • S Offline
              S Offline
              Sanny
              replied to tobydox on last edited by
              #7

              @tobydox We intended to go to 4.2 when it comes out. Anyway, will try your suggestion. However, it will not be in the next couple of weeks as we have upgrades to our systems and re-allocation of resources going on. Thank you.

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DrewLoker
                wrote on last edited by
                #8

                @tobydox Hello, Do you know if the need for a confirmation on the Restart on the Master Toolbar can be addressed? Thanks!

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobydox
                  wrote on last edited by
                  #9

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

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    dbarry722
                    replied to Sanny on last edited by
                    #10

                    @Sanny

                    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

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jonesscruzz
                      wrote on last edited by
                      #11

                      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.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jonesscruzz
                        wrote on last edited by tobydox
                        #12

                        I would like to put the restart button back, but need to have a prompt intercepting an accidental click.

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          lalkelalke04
                          wrote on last edited by
                          #13

                          Can you try to upgrade both clients and master to 4.2 RC (4.1.92) to see if the problem still persists?

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            lalkelalke04
                            wrote on last edited by admin
                            #14

                            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.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mota1122q
                              wrote on last edited by
                              #15

                              You can restart from the Master. However, I remove that button from the configuration app because one click and you have accidentally restarted a client. Maybe you turned it off and didn't realize it.

                              1 Reply Last reply
                              0
                              • V Offline
                                V Offline
                                vocalkeny
                                wrote on last edited by
                                #16

                                Can you try to upgrade both clients and master to 4.2 RC (4.1.92) to see if the problem still persists?

                                1 Reply Last reply
                                0

                                Powered by NodeBB | Contributors
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups