Kaseya Community

Disable local mouse and leyboard during remote control

  • Hi,

    It woud be great to be able to lock the local keyboard and mouse
    during an remote control session. Some users just continue to try
    and work on their machines whilst you are trying to solve a problem...

    I thinks vnc supports it but I'm not sure.

    Just my 2 cents

    Legacy Forum Name: Disable local mouse and leyboard during remote control,
    Legacy Posted By Username: pdepuydt
  • Latest version of KVNC does indeed support it. I'm not sure about VNC Free Edition.

    One of those things that should be an option without a tech having to try wrestle mouse control away to turn it on

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: Charles.IN
  • I see the "View Only" mode for WinVNC and K-VNC, but that disables my keyboard and mouse control. Where's the option to disable theirs?

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: GreyDuck
  • You actually have to have connected to the machine already. Right click on their VNC Server option, Click Options, then check the box for "Disable Local Input"

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: Charles.IN
  • So, connecting with K-VNC and I'm bringing up the options (via right-clicking on the VNC window's title bar) and... I'm not seeing anything for disabling local input. Though I do notice that if I close out of my local old-VNC daemon before establishing a K-VNC connection, the new options dialog is MUCH cooler (and there's an RDP-like menu that slides in and out at the top of the remote screen when the mouse is over it). That's something, anyway.

    I'm feeling dumb, here. I'm used to that, though... :-)

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: GreyDuck
  • UNTESTED but it should work. To reverse it, set the value to 0

    Script Name: Disable Local Inputs for VNC
    Script Description: This script will disable the local input of a target machine when using VNC or K-VNC to control it remotely.

    IF Test Registry Key
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4
    Exists :
    THEN
    Set Registry Value
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4\DisableLocalInputs
    Parameter 2 : 1
    Parameter 3 : REG_DWORD
    OS Type : 1
    ELSE


    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: CeruleanBlue
  • Initial testing here indicates that THIS IS AWESOME. It works on-the-fly so you can run this and the companion "enable" script as needed, and if you close the VNC window then the workstation regains keyboard/mouse control immediately regardless of the registry setting.

    My shame here is that I didn't think of this first. *grin*

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: GreyDuck
  • *Smacks Head*

    Here's another good one (shamelessly taken from above with slight editing):


    Script Name: Enable Wallpaper VNC
    Script Description: This script will enable wallpaper on a target machine when using VNC or K-VNC to control it remotely.

    IF Test Registry Key
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4
    Exists :
    THEN
    Set Registry Value
    Parameter 1 : HKEY_LOCAL_MACHINE\SOFTWARE\RealVNC\WinVNC4\RemoveWallpaper
    Parameter 2 : 0
    Parameter 3 : REG_DWORD
    OS Type : 1
    ELSE


    Combine that with view only mode and you can quickly peak on a machine without disturbing the user. Haven't tested it with K-VNC though.

    I also added a popup message to the local input disable script as to not startle and confuse people. Smile

    Now to find some resolution and dual screen fixes... hmmm.

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: jeremyj
  • Very nice script to disable local inputs. That will come in handy from time to time.
    Is there a similar setting that will disable/blank the local video output so that the end user cannot see the screen?

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: kentschu
  • Yeah, its called RDP!

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: boudj
  • CeruleanBlue,

    Thanks, and like others I whish I thought of it first, but then again
    being the first insn't the most important, others are helped
    and greatfull aswell so,

    Maybe next time I'll beat you Big Smile

    Thanks again

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: pdepuydt
  • pdepuydt
    Maybe next time I'll beat you Big Smile


    Eek

    Oh, wait, you didn't mean what I thought you meant...

    Big Smile

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: GreyDuck
  • You guys are more than welcome. Maybe someone should PM an admin/mod and have this thread moved to the scripts forum?

    Legacy Forum Name: Virtual Systems Administrator Core Functionality,
    Legacy Posted By Username: CeruleanBlue