Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.16k stars 557 forks source link

Active user sometimes shows blank when PC is in use #4044

Open cgb opened 2 years ago

cgb commented 2 years ago

Hey there,

I've occasionally seen where MeshCentral's console reports no active user on a PC, but when I remote control, I find a user is logged in and active on the PC.

STR-W-10-0017

Not working: image

Neighboring PC shows active user: image

If I was to remote control that first screenshot PC, I will see the user is definitely logged in and active. I can also see via the CLI tool 'qwinsta' that a console session is active:

image

This isn't a major issue but wondered if it had been seen or reported before and any ideas on what the issue is? I think restarting MeshCentral server or the agent fixes it, but I haven't been able to easily reproduce it to pinpoint what resolves it.

Thanks!

openncomp commented 2 years ago

I have observed this when a user is connected to the server via RDP. At the moment when the user's RDP connection window is minimized, I cannot connect to his session. When the window is expanded, then I can connect to its session on the server.

krayon007 commented 2 years ago

I noticed that a while ago. When the rdp session is minimized, the OS does not allow screen capture. I think it's a limitation/optimization on how windows renders rdp sessions.

When the rdp session is minimized the screen capture process terminates, and when I try to respawn it, I get a security exception.

cgb commented 2 years ago

In my instance, the PC is a Windows 10 desktop and the user is logged in via console.