MeshCentral
MeshCentral copied to clipboard
Secure desktop issues on windows 10
Hello,
Using meshcentral 0.9.16 installed as service, I noticed that I loose desktop control when the local computer requests secure desktop.
Steps to reproduce using KeyPass:
- Install keyPass 2.4x
- Open Tools > Security > check "Enter master key on secure desktop"
- Create a new password DB
- Close KeyPass
- Open KeyPass
- Open created password DB
- Lost remote access
This happens on Windows 10 20H2, also happened on 1903, probably on others. Hope you guys can plumb something so meshcentral stays in control when this happens.
Best regards.
@deajan I encountered this problem with KeePass as well earlier today. It turns out that you can close the Secure Desktop prompt by simply pressing ESC.
Good to know ;) Nevertheless, this might happen with other secure desktop apps which might not be usable. I'll try the same with my other remote control tomorrow to see whether it works.
Wow, really forgot to update this one ;( Today, I've tried again opening KeePass via meshcentral 0.9.61 with the agent installed as service. Once again, the screen turned black, whereas I was able to interact with the secure desktop using SimpleHelp 5.3 remote control software on the same computer (also installed as service).
Hope you guys can find some time to investigate those issues.
Try this:
Go to the console tab, and type: uac interactive
Then connect the desktop, and see if your usage works...
You can change it back by typing: uac secure
Also, when you connect the desktop, are you connected to the local desktop, or an RDP session? Normally, I've seen the secure desktop is remoted fine, if you are connecting the desktop to the local desktop, but not an RDP session. For that scenario, I added the uac command to the console tab.
I've tried the command in console tab, then reconnected to the desktop. It doesn't do any difference. Notice that usual UAC elevation prompt work (eg elevate CMD.exe).
I've also checked whether I did the right command
> uac get
UAC mode: Interactive Desktop
I am connecting to a console of a Windows 10 Pro x64 20H2 computer, which is my main workstation. I don't have any RDP sessions on that one. Anything I can add to the diag ?
That's very interesting. The UAC prompt normally uses the secure desktop, so if that works, it wierd that the keypass thing doesn't. I'll have to look into this scenario.
any news ?
Not yet. I'll retest this when I finish the remote desktop overhaul on windows.
Thanks for the answer, I'll stay tuned, and willing to conduct tests ;)
Any update on this?
Not yet. But so far I am working on the screen capture aspect using the desktop duplication API. It's still using SendInput for remote injection. So in order for secure desktop to work while not running as Local system, I'll have to see if there is a remote injection API as part of desktop duplication.
Otherwise, it will still need to have a temporary service started to spawn a LocalSystem process.
Issue seems resolved since v1.0.6x series for me. Thanks.