I have a file on my Desktop named 3390.rdp, complete with all login credentials. I'm trying to use it to connect to a Ubuntu installation on WSL2. When I open the Ubuntu "app" manually, and click the rdp, it connects just fine. However, when I try to run the following batch script:
start /wait "" "C:\Users\ingen\OneDrive\Desktop\Ubuntu_24.04.1_LTS.lnk"
mstsc "C:\Users\ingen\OneDrive\Desktop\3390.rdp"
it gives the following error:
Remote Desktop can't connect to the remote computer for one of these reasons:
1) Remote access to the server is not enabled
2) The remote computer is turned off
3) The remote computer is not available on the network
Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.
My best guess is that this is a problem with the rdp somehow not launching correctly. Can anyone shed any light on this?
.lnkpointing to here?