Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 519 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
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
    • M mayers

      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 Offline
      I Offline
      ITGuy
      wrote 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 ITGuy

        @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 Offline
        I Offline
        ITGuy
        wrote 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        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