Remote desktop connection on startup

We're planning on going fully virtual desktops and using Windows RDS. What would be the easiest / most cost effective way of allowing users to log into their session after they've booted up the PC?

We're planning on using Thin PC OS from Microsoft, but I honestly believe we're not seeing the full picture here and I am looking for your guys opinion and experience on the matter.

EDIT thanks for your suggestions everyone! So far a solution we've found a batch file that runs at start up [edited the registry key shell to open this file instead of the explorer.exe]

echo off
CLS
:start
echo DO NOT CLOSE THIS WINDOW
start /wait c:\windows\system32\mstsc.exe c:\connect.rdp
shutdown -l

Over all it's working well we just have some kinks to work out. It's not a pretty solution however.

I have a HP Thin Client PC, which is connected to VMware ESXI host with two virtual machines. The thin client connects to the virtual machines through Remote Desktop. I would like the thin client to start the remote desktop to start automatically when it boots up. Is there anyway to do this?

2

This article describes how to specify a program to start on connection by using Microsoft Remote Desktop Connection.

  • Remote Desktop Protocol [RDP] client such as the Microsoft Remote Desktop Connection client [MSTSC.exe].
  • Additional configuration on the XenApp Server to accept these connection requests.
Launching applications through RDP can be used for troubleshooting purposes, such as, to compare the behavior of RDP with ICA protocol.

For example, an application displays an error message when accessing through the Citrix ICA protocol. You can use RDP to compare the behavior of the application.

This option works only if you are connecting to a Terminal Server or Remote Desktop Services. This Microsoft Windows role is installed on each Citrix Presentation Server or XenApp server.

To specify a program to start a connection using Microsoft Remote Desktop Connection, complete the following procedure:

  1. Open Start > Programs or All Programs > Accessories > Communications > Remote Desktop Connection.


 

  1. Click Options in the lower left corner to display additional tabs.

  2. On the General tab, specify the XenApp server hostname, Fully Qualified Domain Name [FQDN] or IP address.

  3. Activate the Programs tab.

  4. Select the Start the following program on connection: option.

  5. Type the path to the executable and the folder as shown in the following screen shot:

  1. Click Connect.

  2. Complete the Windows authentication if prompted.

NOTE : For newer versions of OS, refer  //support.citrix.com/article/CTX218256 You might receive the following error messages:

To resolve this error, complete the following steps:

 Presentation Server 4.5 or XenApp 5 on Windows Server 2003

  1. Click Start > Programs or All Programs > Administrative Tools > Terminal Services Configuration.

  2. Right-click on RDP-Tcp listener in the Connections hive.

  3. Select Properties.

  4. Activate the Citrix Settings tab.

  5. Clear the Non-Administrators only launch published applications option.

 XenApp 6.x on Windows Server 2008 R2

  1. Open the Citrix AppCenter management console.

  2. Select Policies under the farm.

  3. Activate the User tab.

  4. Add a new or modify an existing user policy.

Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.

  1. In the Edit Policy Window, on the Settings tab, open ICA settings.

  2. Enable the Launching of non-Administrator programs during client connection option.

  1. Ensure that the policy is filtered properly to the user that is used for the RDP connection.

Note: You can edit the Unfiltered User Policy to ensure that it is applied for all users to all servers.

Ask a question

Quick access

  • Forums home
  • Browse forums users
  • FAQ

Search related threads

  • Remove From My Forums

Asked by:

  • 0

    Sign in to vote

    Hi,

    You can consider of applying this via group policy - Start a program on connection. This Group Policy settings is located in the following locations:

    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

    Specify a Program to Start Automatically When a User Logs On:
    //docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc770821[v=ws.11]

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .

    • Proposed as answer by Eve WangMicrosoft contingent staff Monday, March 26, 2018 2:03 AM

    Tuesday, March 20, 2018 7:38 AM

  • 0

    Sign in to vote

    Hi,

    Is there any update?

    Please click “Mark as answer” if any of above reply is helpful. It would make this reply to the top and easier to be found for other people who has the similar problem.

    Best Regards,
    Eve Wang

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact .

    Thursday, April 5, 2018 2:21 AM

  • Chủ Đề