r/WindowsServer • u/Effective-Duck-4099 • Jan 26 '24
RDP FROM 2022 Core
Does anybody know if you can RDP FROM a Server 2022 Core install? MSTSC is not available on the server. I am looking at using it as a jump box to locked down servers which are only contactable from this server, but I am not sure it is possible to run an RDP session from 2022 core to another server. I can do it in 2016 but I am guessing MS removed the functionality? Any ideas Reddit Geniuses?
Google has given me many many results. All telling me how to install the RDP service. Yeah, I know that bit Google, my search was about something different :-)
2
u/Shoddy_Pound_3221 Jan 26 '24
If I understand this right..
You want to RDP to a CORE server, to RDP to another server in the same vnet? I think this is possible but not needed
Other solutions
Drop a Bastion server in the vnet
Use AVD instead
Set roles per resource and use WAC
1
u/Effective-Duck-4099 Jan 26 '24
That is correct! Looking at ways of locking the DC's right down. Just seeing what options are out there and one was to have a jump box locked right down and is the only one accessible to the DC for RDP. I could look at the AVD too, see if that can work with my needs.
6
u/Shoddy_Pound_3221 Jan 26 '24
No one should be RDPing into DCs. Only Admin\GA should have access. And that should be very limited.
1
u/Effective-Duck-4099 Jan 29 '24
I didn't quite explain. The idea is this is a jump box to get on to a machine with the RSAT installed. We're not logging on to a DC at all in this process. There's other security going on too. But this was really just about the core install part.
4
u/OpacusVenatori Jan 26 '24
All your DCs should / can be run on Core to begin with; no reason to log into them with RDP. Use RSAT or Windows Admin Center to perform the necessary tasks, from other systems.
1
u/AdminSDHolder Jan 26 '24
This!
If using RSAT/PowerShell, run it from a Secure Access Workstation to retain root of trust. Do not use a daily driver PC with runas. If you must use a bastion host, make sure it's T0 only and logging on to it requires coming from a SAW/PAW and/or you have implemented MFA (smart card and WHfB are the only MFA Windows uses natively) and that you have validated that this works and continues to work as expected.
If using Windows Admin Center to manage DCs (and other Tier0 assets, it needs to be a separate T0 instance of WAC.
1
1
u/ambscout Jan 26 '24
Probably with some voodoo. I think I ran chrome on a core install in a lab environment for literally no reason. I just launched it from cmd
1
u/Effective-Duck-4099 Jan 26 '24
The mstsc.exe isnt sitting in the Windows folder, so while I could launch it, I am having issues getting it on there. I figured it was just MS removing it as I have a 2016 box in Core and I can run it on there, but I know 2022 is a different beast.
1
u/BlackV Jan 27 '24
So to be clear you are butchering your core server config can do something silly partially defeating the point of core in the first place
0
1
u/Safe_Interview_1052 Jan 26 '24
you can run alot of Apps with gui in core, but why would you...its pure pain
1
u/Effective-Duck-4099 Jan 29 '24
You're not wrong there my friend! It's great but a bit more of a pain to work on.
2
6
u/dreniarb Jan 26 '24
This worked for me in Server Core 2019. Copy these files from another system to the same location:
c:\windows\System32\mstsc.exe
c:\windows\System32\mstscax.dll
c:\windows\System32\msacm32.dll
c:\windows\System32\d2d1.dll
c:\windows\System32\d3d11.dll
c:\windows\System32\dxgi.dll
c:\windows\System32\en-US\mstsc.exe.mui
c:\windows\System32\en-US\mstscax.dll.mui