I found my answer. I needed to set the local Group Policy
Set local Group Policy :”Local Computer Policy-Administrative Templates-Windows Components-Remote Desktop Session Host-Connections Allow remote start of unlisted programs <Enabled>”.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Access is denied while logging through RDP and automatically starting a program (Windows server 2022 - with Remote Desktop Services configured)
We're upgrading from Windows Server 2008R2 to WIndows Server 2022. Users had:
When I try to RDP to WIndows Server 2022 and automatically start a program using alternate shell:s: in the RDP client file, I get "Access is Denied. This initial program cannot be started:<path><program>"
I found my answer. I needed to set the local Group Policy
Set local Group Policy :”Local Computer Policy-Administrative Templates-Windows Components-Remote Desktop Session Host-Connections Allow remote start of unlisted programs <Enabled>”.
Hello Timothy Graham
The user account you are using to connect via RDP does not have the necessary permissions to run the specified program.
You may check the security settings and permissions on the program executable and its parent folders.
Kind regards,
Karlie