After the master image virtual machine (VM) is created, but before converting it into a published image in Horizon Cloud, you customize the guest Windows Server operating system (OS) to install and configure all of the things you want to have in your end users' RDS desktops. At this time, you install all of the third-party applications you want available in the RDS desktops or available for assignment as remote applications. Also at this time, you perform any other customizations in the Windows guest operating system, such as installing special drivers required by your organization's needs, applying wallpaper, setting default colors and fonts, configuring taskbar settings, and other such OS-level items.

About this task

After the Imported VMs page indicates that your master image virtual machine (VM) has its DaaS agent active, you connect to it using your RDP software and install the applications into the underlying Windows server operating system.

For Microsoft's best practices about installing applications directly on to an RDSH server, see the TechNet Magazine article Learn How to Install Applications on an RD Session Host Server.

Prerequisites

Verify the Imported VMs page indicates the DaaS agent is active for the VM.

Obtain the VM's IP address as displayed on the Imported VMs page.

Note:

When using the Microsoft Remote Desktop Client as your RDP software to connect to the master VM, ensure it is the most up-to-date version. For example, the default RDP software in the Windows 7 operating system is not at a high enough version. The version must be version 8 or higher.

Verify you have the credentials (user name and password) for the local administrator account that was specified in the Import Image wizard when this master image VM was created. You need those credentials to log in to the VM's guest Windows Server operating system. See Create a Master Virtual Machine from the Microsoft Azure Marketplace.

Procedure

  1. Use the VM's IP address in your RDP software to connect to the RDS-enabled Windows server operating system.
    • If the master image VM was created with a public IP address, you can use that IP address in your RDP software

    • If the master image VM has a private IP address, you must RDP into it by one of these two methods:

      • Using another VM in your Microsoft Azure subscription that does have a public IP address and doing an outbound RDP into the master image VM.

      • Use your VPN and RDP into the master image VM over your corporate network

    Note:

    To access a VM that is running the Horizon agent and DaaS agent, the version of the Remote Desktop Client must be version 8 or later. Otherwise, the connection fails. Using the most up-to-date Remote Desktop Client is recommended.

  2. Log in to the RDS-enabled Windows server operating system using the user name and password that was specified in Import Image wizard when the master image VM was created.

    Enter the username as \username.

  3. When you are logged in to the operating system, follow these steps to install the third-party applications or drivers that you want available to run in the multi-user RDS desktop environment.
    1. In the Windows Server operating system, open a command prompt as an administrator by right-clicking the Start and clicking Command Prompt (Admin).


      Windows Server 2012 Admin Command Prompt


    2. In that command prompt, determine the server's current install mode of the server by issuing the command change user /query.


      Response in command prompt to change user /query command


      The response Applicaton EXECUTE mode is enabled indicates the server is in RD-Execute mode.

    3. In that command prompt, switch the server into RD-Install mode by issuing the command change user /install.


      Windows Server 2012 admin command prompt with change user /install command


      As described in the Microsoft best practices document, RD-Install is a special install mode to install applications so they can run in a multi-user environment.

    4. Install the third-party user applications you want to provide to your end users in their RDS desktops or as remote applications.
    5. When you are finished installing the applications, return to the command prompt window and switch the server into RD-Execute mode by issuing the command change user /execute.


      Windows Server 2012 command prompt showing change user /execute command


  4. In the operating system, install any custom drivers you want in the RDS desktops.
  5. Make any customizations or configurations you want to have in the RDS desktops, such as add a custom wallpaper, set default fonts or colors or themes, adjust the taskbar default settings, and so on.
  6. When you are done adding your finishing touches to the VM's guest operating system, sign out of the operating system.
    Important:

    Use Sign Out. Do not shut down the Windows operating system.

What to do next

Convert the master image VM to an assignable image, using the steps described in Convert a Configured Master Virtual Machine to an Assignable Image.