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
3.89k stars 529 forks source link

Windows Server (2019) Core-Install and CTRL-ALT-DEL #3452

Open JSuenram opened 2 years ago

JSuenram commented 2 years ago

When sending CTRL-ALT-DEL to Windows Core Server installation, nothing happens. So Login to Desktop is not possible. BUG?

image

krayon007 commented 2 years ago

To inject ctrl-alt-del, I use the MSFT SAS API, but that doesn't exist on Windows Core. In some windows server versions (which also don't have sas api) you can work around this by manually copying sas.dll, but I'm not sure if this will work on windows Core.

JSuenram commented 2 years ago

To inject ctrl-alt-del, I use the MSFT SAS API, but that doesn't exist on Windows Core. In some windows server versions (which also don't have sas api) you can work around this by manually copying sas.dll, but I'm not sure if this will work on windows Core.

Ok I understand. Other Remote-Control-Software does not have this issue.... we will try to place sas.dll on the servers, however I guess this is not the final solution. Just a workaround....

krayon007 commented 2 years ago

Yes, I'm in the middle of a rewrite using the desktop duplication API. I'll check to see if that has it's own way to inject ctrl-alt-del.

dinger1986 commented 9 months ago

Works fine for me @si458

si458 commented 9 months ago

@dinger1986 not this problem still exists, just tried it here, install server 2019 standard (without desktop ui) you cant CTRL+ATL+DEL on the login screen, but as explained in other linked post, its because the SAS API isnt part of the server core editions anymore!

dinger1986 commented 9 months ago

Ah ok, I thought I have used it but maybe on 2016

si458 commented 9 months ago

amazingly using this post works! https://github.com/Ylianst/MeshCentral/issues/3182#issuecomment-960252235 simply copy the sas.dll from a remote from a server 2019 machine in system32 to ur system32, and copy sas.dll from syswow64 to ur syswow64, restart computer, CTRL+ALT+DEL then works! I HAVE ATTACHED A ZIP FILE WHICH INCLUDE BOTH DLLS IF PEOPLE WANT TO TRY IT sas.zip

(DIRECTLY COPIED FROM FRESH INSTALL OF 2019 ISO)