Deploy a Windows 7 virtual machine on Azure Virtual Desktop (classic)
This content applies to Azure Virtual Desktop (classic), which doesn't support Azure Resource Manager Azure Virtual Desktop objects. If you're trying to manage Azure Resource Manager Azure Virtual Desktop objects introduced in the current version of Azure Virtual Desktop, see this article.
The process to deploy a Windows 7 virtual machine (VM) on Azure Virtual Desktop is slightly different than for VMs running later versions of Windows. This guide will tell you how to deploy Windows 7.
Before you start, follow the instructions in Create a host pool with PowerShell to create a host pool. After that, follow the instructions in Create host pools in Azure Marketplace to assign one or more users to the desktop application group.
Configure a Windows 7 virtual machine
Once you've done the prerequisites, you're ready to configure your Windows 7 VM for deployment on Azure Virtual Desktop.
To set up a Windows 7 VM on Azure Virtual Desktop:
Sign in to the Azure portal and either search for the Windows 7 Enterprise image or upload your own customized Windows 7 Enterprise (x64) image.
Deploy one or multiple virtual machines with Windows 7 Enterprise as its host operating system. Make sure the virtual machines allow Remote Desktop Protocol (RDP) (the TCP/3389 port).
Connect to the Windows 7 Enterprise host using the RDP and authenticate with the credentials you defined while configuring your deployment.
Add the account you used while connecting to the host with RDP to the "Remote Desktop User" group. If you don't do this, you might not be able to connect to the VM after you join it to your Active Directory domain.
Go to Windows Update on your VM.
Install all Windows Updates in the Important category.
Install all Windows Updates in the Optional category (excluding language packs). This installs the Remote Desktop Protocol 8.0 update (KB2592687) that you need to complete these instructions.
Open the Local Group Policy Editor and navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment.
Enable the Remote Desktop Protocol 8.0 policy.
Join this VM to your Active Directory domain.
Restart the virtual machine by running the following command:
shutdown /r /t 0
Follow the instructions here to get a registration token.
Open the Azure Virtual Desktop Agent installer and follow the instructions. When prompted, give the registration key you created in step 12.
Open the Azure Virtual Desktop Agent Manager and follow the instructions.
Optionally, block the TCP/3389 port to remove direct Remote Desktop Protocol access to the VM.
Optionally, confirm that your .NET framework is at least version 4.7.2. This is especially important if you're creating a custom image.
Your Azure Virtual Desktop deployment is now ready to use. Download the latest version of the Azure Virtual Desktop client to get started.
For a list of known issues and troubleshooting instructions for Windows 7 on Azure Virtual Desktop, see our troubleshooting article at Troubleshoot Windows 7 virtual machines in Azure Virtual Desktop.