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. Help & Troubleshooting
  3. If monitors are powered down, can't get a connection

If monitors are powered down, can't get a connection

Scheduled Pinned Locked Moved Help & Troubleshooting
3 Posts 2 Posters 218 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.
  • M Offline
    M Offline
    mayers
    wrote on last edited by
    #1

    In our school's computer lab the the monitors will go into power save mode. When this happens, I can see the computers in Veyon Master but when I try to take control all I see is a black screen and the remote connection won't work, it just gets stuck with a black screen.

    It would really help if, when a remote control is started, for Veyon to wake up the monitor so the remote session works. Kids bring their own keyboards and mice to class (for covid), so it is a pain to wake up the monitors manually when there are no mice or keyboards attached.

    I don't know if this makes any difference, there is only one monitor but it is plugged into a Quadro p1000 graphics card and not the intel integrated graphics port, maybe with the monitor off the Veyon client is choosing the incorrect display device?

    Thanks for any advice!

    Stewart

    I 1 Reply Last reply
    0
    • I Offline
      I Offline
      ITGuy
      replied to mayers on last edited by
      #2

      @mayers

      This can be done with PowerShell.

      Create the batch file wakemon.bat with the commands below.

      = = = = = = = = = = = = = = = = = = = = = = = =
      @ECHO OFF

      powershell -NoProfile -NoLogo -Command "(Add-Type '[DllImport("user32.dll")]public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,-1)"

      powershell -NoProfile -NoLogo -Command "$x=Add-Type '[DllImport("kernel32.dll")]public static extern void SetThreadExecutionState(uint esFlags);' -name System -namespace Win32 -passThru; $x::SetThreadExecutionState([uint32]"0x03"); Sleep 5; $x::SetThreadExecutionState([uint32]"0x40");"

      :END
      = = = = = = = = = = = = = = = = = = = = = = = =

      Copy wakemon.bat to each computer's C:\Windows folder.

      Use Veyon's 'Run program' feature to wake the monitors of your selected computers by entering C:\Windows\wakemon.bat.

      I 1 Reply Last reply
      0
      • I Offline
        I Offline
        ITGuy
        replied to ITGuy on last edited by
        #3

        @itguy

        You could instead copy the wakemon.bat file to a shared network folder then use 'Run program' to run the batch file from the shared folder:

        \\servername\sharename\veyon\wakemon.bat

        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