Quantcast
Channel: Robin Hobo – robinhobo.com
Viewing all articles
Browse latest Browse all 187

How to setup Microsoft Azure RemoteApp with a custom image (step-by-step)

$
0
0

In this blog I will guide you step-by-step on how to setup Microsoft Azure RemoteApp with a custom image. First I will create a custom image with a few custom applications installed on it. In the following steps I will show you how to import this image to RemoteApp, publish the applications and give users access to these applications. For this blog I will use a clean Azure environment (with nothing configured yet) and keep everything basic. For the user provisioning I have validated my robinhobo.com domain and manually created a test user. You can find these step-by-step instructions in my previous blog (click here).

At this moment Azure RemoteApp is only available within the Classic Azure portal, however, most parts of the preparation can be made from the new portal, so if possible, I will use the new Azure Portal for this blog.

Step 1 : Create a Resource Group

The first step is to create a Azure Resource Group. Within this resource group we will create a Virtual Network and a Virtual Machine in later steps.
Login to the Microsoft Azure portal ( https://portal.azure.com/ ) and open the Resource groups page.

How to setup Microsoft Azure RemoteApp with a custom image 01

Click the Plus (Add) button in the upper left corner.

How to setup Microsoft Azure RemoteApp with a custom image 02

Fill in a Resource group name (anything you like). Select a Subscription and a Resource group location. Click Create.

 Step 2 : Create a Virtual Network

The second step is to create a Virtual network. For this blog I keep it simple and apply all the default settings but we have to make sure we build this Virtual network for the Classic Azure environment so we can easily use the images we are going to create for RemoteApp in the next few steps. Therefor open the Virtual networks (classic) page.

How to setup Microsoft Azure RemoteApp with a custom image 03

Click the Plus (Add) button in the upper left corner.

How to setup Microsoft Azure RemoteApp with a custom image 04

Fill in a Name (anything you like), I leave the Name, Address space, Subnet name and Subnet address default. Select the Resource Group we created in step 1. Click Create.

Step 3 : Create a Storage Account

Just like in step 2 with the Virtual Network, we need to create a Storage Account in the Classic environment of Azure. Therefore open the Storage accounts (classic) page.

How to setup Microsoft Azure RemoteApp with a custom image 05

Click the Plus (Add) button in the upper left corner.

How to setup Microsoft Azure RemoteApp with a custom image 06

For this blog I keep it simple and as cheap as possible 🙂 Make sure you select the Classic Deployment model and that you select the Resource group created in step one. Click Create.

Step 4 : Create a Virtual Machine (for master image)

In this step I will create the Virtual Machine used for creating the custom image. Open the Virtual Machines (classic) page.

How to setup Microsoft Azure RemoteApp with a custom image 07

Click the Plus (Add) button in the upper left corner.

How to setup Microsoft Azure RemoteApp with a custom image 08

Search for remote or RemoteApp and select Windows Serer Remote Desktop Session Host with Microsoft Office 365 proPlus or Windows Server Remote Desktop Session Host on Windows Serer 2012 R2 (without Office pre-installed).

How to setup Microsoft Azure RemoteApp with a custom image 09

Make sure the Classic deployment model is selected and click Create

How to setup Microsoft Azure RemoteApp with a custom image 10

Fill in a Host Name, User Name and a Password

By default the Standard D3 pricing Tier is selected. For this blog I select a cheaper one, the A2 Basic.

How to setup Microsoft Azure RemoteApp with a custom image 11

Select Optional Configuration (Network, Storage, diagnostics) > Network (Review default settings)

How to setup Microsoft Azure RemoteApp with a custom image 12

Select Virtual Network and then select the existing virtual network created in step 2

How to setup Microsoft Azure RemoteApp with a custom image 13

Select Subnet and then select the existing subnet created in step 2

For this blog I keep the domain name default and leave the IP address set to dynamic

How to setup Microsoft Azure RemoteApp with a custom image 14

Select Storage Account and select the existing storage account created in step 3 and click OK

How to setup Microsoft Azure RemoteApp with a custom image 15

Click Create

Step 5 : Customize the master image

The next step is to customize the base/master image. For this blog I will install FileZilla and Notepad++ on it.

How to setup Microsoft Azure RemoteApp with a custom image 16

After a few minutes the server created in step 4 is up and running. Open the Virtual machines (classic) page to see if the serer status is Running.

If that is the case, double click on it.

How to setup Microsoft Azure RemoteApp with a custom image 17

Take a look at the DNS name, in my case this is “ra-master1.cloudapp.net”. In the first place you don’t need to remind this name, but I got some errors when connecting to this server (see next steps) when clicking on the Connect button. So I had to connect with a alternative method. Click Connect to see if it works for you.

How to setup Microsoft Azure RemoteApp with a custom image 18

After entering the User account information to logon I got this error message; The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license. Please contact the server administrator.

How to setup Microsoft Azure RemoteApp with a custom image 19

Open a run dialog and run the following command; mstsc /admin

How to setup Microsoft Azure RemoteApp with a custom image 20

Connect to your server DNS name, in my case ra-master1.cloudapp.net

How to setup Microsoft Azure RemoteApp with a custom image 21

Login with the created user account and you will see that you now can logon successful.

How to setup Microsoft Azure RemoteApp with a custom image 22

If you check the installed application, you see that Adobe Reader XI and Microsoft Office (including Visio) is already installed.

 How to setup Microsoft Azure RemoteApp with a custom image 23a

Now is the time to install some custom applications. For this blog I have installed the FileZilla Client and Notepad++ (just for testing)

How to setup Microsoft Azure RemoteApp with a custom image 24a

If you are done installing and configuring apps double click the PowerShell ValidateAzureRemoteAppImage located on the desktop

How to setup Microsoft Azure RemoteApp with a custom image 25

Press Y by the question to launch Sysprep

After Sysprep is completed, the system will be shut down.

How to setup Microsoft Azure RemoteApp with a custom image 26

After a few minutes the server status will change to Stopped. When that is the case, double click on it.

How to setup Microsoft Azure RemoteApp with a custom image 27

Click on Capture. Fill in a Image name and Image Label and select I’ve run Sysprep on the virtual machine.

Click OK

How to setup Microsoft Azure RemoteApp with a custom image 28

After a few minutes the status will change to Success

Step 6 : Import the customized image to RemoteApp

Click on the RemoteApp collections menu item. This will launch the Azure Classic portal. After login, the RemoteApp page is displayed.

How to setup Microsoft Azure RemoteApp with a custom image 29a

Open the Template Images tab and click on Import or upload a template image

How to setup Microsoft Azure RemoteApp with a custom image 30

Click on Import an image from your Virtual Machines library (recommended).

How to setup Microsoft Azure RemoteApp with a custom image 31

Select the custom image and select I confirm that I followed these steps to create my image. Click on the arrow to the right.

How to setup Microsoft Azure RemoteApp with a custom image 32

Give it a name and click the checkmark

How to setup Microsoft Azure RemoteApp with a custom image 33

After a while the Import is complete.

Step 7 : Create a RemoteApp Collection

The last step before we can test the custom image is to create a Microsoft Azure RemoteApp Collection with the custom image.

How to setup Microsoft Azure RemoteApp with a custom image 34

Open the RemoteApp Collections tab and click Create A RemoteApp Collection

How to setup Microsoft Azure RemoteApp with a custom image 35

Select Create with VNET. Give the collection a name, select een PLAN and select the correct Virtual Network and Subnet.

Click the Checkmark

How to setup Microsoft Azure RemoteApp with a custom image 36

Click on the arrow to the right next to the Collection name when the status is changed to Input Required

How to setup Microsoft Azure RemoteApp with a custom image 37

Click Link a template image

How to setup Microsoft Azure RemoteApp with a custom image 38

Click on Link an existing template image

How to setup Microsoft Azure RemoteApp with a custom image 39

Select the custom image imported in step 6 and click the checkmark

How to setup Microsoft Azure RemoteApp with a custom image 40

The collection will now be provisioned. Click on the big arrow to the left in the upper left corner.

How to setup Microsoft Azure RemoteApp with a custom image 41

The Provisioning of the Azure RemoteApp Collection can take up to one hour.

How to setup Microsoft Azure RemoteApp with a custom image 42

Click on the arrow to the right next to the Collection name when the status is changed to Active

How to setup Microsoft Azure RemoteApp with a custom image 43

Click on Publish RemoteApp programs

How to setup Microsoft Azure RemoteApp with a custom image 44

Select the applications you want to publish and click the checkmark

How to setup Microsoft Azure RemoteApp with a custom image 45

After a few minutes the applications are published. Open the User Access page.

How to setup Microsoft Azure RemoteApp with a custom image 46

Add the users you want to give access to your published applications and click Save

Step 8 : Test the Azure RemoteApp collection

In this final step I will test the Azure RemoteApp Collection. To do this, download the Microsoft Azure RemoteApp app : https://www.remoteapp.windowsazure.com/en/clients.aspx

How to setup Microsoft Azure RemoteApp with a custom image 47

Login with a user you added in the previous step.

How to setup Microsoft Azure RemoteApp with a custom image 48

The published apps are now displayed. For the test I will launch Notepad++

How to setup Microsoft Azure RemoteApp with a custom image 49

The application is starting up..

How to setup Microsoft Azure RemoteApp with a custom image 50

..and started without any problems.


Viewing all articles
Browse latest Browse all 187

Trending Articles