Hello
I want publish a RDP Connection to a Windows Server which is not member of the Domain (Active-Directory).
The RAS Client (VDI / RAS …) can installed local without pushing through the RAS-Console.
I can create an Domain\User to get Access to the RAS Portal but then when I want to start the RDP Session to that Server I can´t figure out how to get connection with different (Server\LocalUser) User Credentials.
Is there any possibility like run as mtsc or any other idea for me?
RAS will use the same user name as the one that logged in. In general, the username can NOT be changed.
However, there are a number of workarounds that you can try:
Add a hop between the user and the machine: Publish an mstsc/rdp file which will be run on a domain-joined RDSH. This rdp file should be preconfigured to connect to the user you want to connect to. Alternatively, RAS Client with a standard RDP desktop connection shortcut on the desktop can be used for the same effect. This is a bit clunky though.
If using the Windows client AND the server is accessible from the client machine, then a solution using 2XRemoteExec could be tried out. It is still a bit clunky though.
You could try passing only the username (OR if needed, a username like this “.\username”). The RAS Server will need to be configured so that the option to “Force clients to use NetBIOS credentials” is disabled. If publishing a desktop, this should allow you to use the same username but a different actual user account. Publishing applications from such non-domain joined servers is a different story and probably NOT officially supported due to security restrictions for domain accounts.
The solution for me was to publishe a preconfigured rdp-file on the SessionHostServer. This is working fine.
In the first time I tried to publish this rdp file from a different location (file-server) but thats not working - the way over the SessionHost (Terminalserver) is working as expected … mabe thats also logically