MeshCentral icon indicating copy to clipboard operation
MeshCentral copied to clipboard

Prevent lock while using MeshCentral

Open CCWTech opened this issue 4 years ago • 3 comments

Is there a way to prevent the remote computer from locking (to the login screen) while you are logged in with MeshCentral?

I wouldn't want this as default, but an option you can select when you are working on a remote computer where there are pauses in the work but you need to keep it unlocked so you can monitor progress, etc.

CCWTech avatar May 28 '20 22:05 CCWTech

As far as I know, there's nothing built-in yet. Normally I'd say use powershell/cmd to change the power settings, but this may not work in domain environments where the sleep policy is set via GPO and settings locked, so I used to use a program that simply moved the mouse 1 pixel left, then 1 pixel right every 30 seconds when I needed to do this. It is enough to keep the computer "active" but not enough to really be noticeable during use. I haven't needed to in a while (and some A/V's detected the program as a false positive).

I believe powershell can move the mouse now, so something similar could be achieved with a script / custom mesh core / plugin, as long as the OS would still consider that powershell directive as actual user-movement to keep it awake. If not, @krayon007 's got some fun things (GenericMarshal) in the MeshAgent that could be used to perform a similar task using direct Windows API's if no one else has a better suggestion.

ryanblenis avatar May 28 '20 22:05 ryanblenis

Thanks... Feature request?

Please do not send a new request for help to this email, the response may be delayed.

Need support? Please email mailto:[email protected] for a faster response.

Need a simple, effective & advanced Veterinary Clinical Management Platform? http://www.vetastic.com  Paying too much for bad phone service? We now offer VOIP phone services.

Allen Crist, CEO

CCW Technology I.T. Services Veterinary I.T. Specialists Serving Small and Medium Business since 2008

(801)410-0203 x5002

http://www.ccwtech.com

http://www.facebook.com/CCWTechnology

---- On Thu, 28 May 2020 16:51:27 -0600 ryanblenis [email protected] wrote ----

As far as I know, there's nothing built-in yet. Normally I'd say use powershell/cmd to change the power settings, but this may not work in domain environments where the sleep policy is set via GPO and settings locked, so I used to use a program that simply moved the mouse 1 pixel left, then 1 pixel right every 30 seconds when I needed to do this. It is enough to keep the computer "active" but not enough to really be noticeable during use. I haven't needed to in a while (and some A/V's detected the program as a false positive).

I believe powershell can move the mouse now, so something similar could be achieved with a script / custom mesh core / plugin, as long as the OS would still consider that powershell directive as actual user-movement to keep it awake. If not, https://github.com/krayon007 's got some fun things (GenericMarshal) in the MeshAgent that could be used to perform a similar task using direct Windows API's if no one else has a better suggestion.

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/Ylianst/MeshCentral/issues/1429#issuecomment-635649591, or https://github.com/notifications/unsubscribe-auth/ABJ2TJ276SEZCJYP4SQAHBTRT3TG7ANCNFSM4NNQFPUQ.

CCWTech avatar May 28 '20 22:05 CCWTech

you mean you want a mouse jiggler? click an icon by the rest of the icons and when clicked, enable the mouse jiggler, then unclick to disable the mouse jiggler

si458 avatar Feb 14 '24 14:02 si458