You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-desktop/deploy-windows-server-virtual-machine.md
+49-27Lines changed: 49 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,56 +4,78 @@ description: How to deploy and configure Windows Server edition virtual machines
4
4
author: ravibak
5
5
ms.author: ravibak
6
6
ms.service: virtual-desktop
7
-
ms.topic: how-to#Required; leave this attribute/value as-is.
8
-
ms.date: 03/18/2022
9
-
ms.custom: template-how-to#Required; leave this attribute/value as-is.
7
+
ms.topic: how-to
8
+
ms.date: 08/18/2022
9
+
ms.custom: how-to
10
10
---
11
11
12
-
# Deploy Windows Serverbased virtual machines on Azure Virtual Desktop
12
+
# Deploy Windows Server-based virtual machines on Azure Virtual Desktop
13
13
14
14
>[!IMPORTANT]
15
15
>This content applies to Azure Virtual Desktop with Azure Resource Manager Azure Virtual Desktop objects. If you're using Azure Virtual Desktop (classic) without Azure Resource Manager objects, see [this article](./virtual-desktop-fall-2019/deploy-windows-7-virtual-machine.md).
16
16
17
-
The process to deploy Windows Server based Virtual Machines (VM) on Azure Virtual Desktop is slightly different than for VMs running other versions of Windows such as Windows 10 or Windows 11. This guide will walk you through the steps.
18
-
19
-
Azure Virtual Desktop Host pool supports running Windows Server 2012 R2 and above editions.
17
+
The process for deploying Windows Server-based virtual machines (VMs) on Azure Virtual Desktop is slightly different than the one for VMs running other versions of Windows, such as Windows 10 or Windows 11. This guide will walk you through the process.
20
18
21
19
> [!NOTE]
22
-
> - Azure AD Join session host scenario is not supported with Windows Server editions.
20
+
> Windows Server scenarios support the following versions of Azure Active Directory (AD)-joined session hosts:
21
+
>
22
+
> - Windows Server 2019
23
+
> - Windows Server 2022
24
+
>
25
+
> However, Windows Server scenarios don't support the following versions of Azure AD-joined session hosts:
26
+
>
27
+
> - Windows Server 2012
28
+
> - Windows Server 2016
23
29
24
30
## Prerequisites
25
31
26
-
Running Windows Server based host virtual machines on Azure Virtual Desktop requires Remote Desktop Services (RDS) Licensing Server.
32
+
Before you get started, you'll need to make sure you have the following things:
33
+
34
+
- Azure Virtual Desktop host pools support running Windows Server 2012 R2 and later.
35
+
36
+
- Running Windows Server-based host VMs on Azure Virtual Desktop requires a Remote Desktop Services (RDS) Licensing Server. This server should be a separate server or remote VM in your environment that you've assigned the Remote Desktop Licensing Server role to.
37
+
38
+
For more information about licensing, see the following articles:
39
+
40
+
-[Operating systems and licenses](prerequisites.md)
41
+
-[License your RDS deployment with client access licenses](/windows-server/remote/remote-desktop-services/rds-client-access-license)
27
42
28
-
For more information, refer [Operating systems and licenses](prerequisites.md)
43
+
If you're already using Windows Server-based Remote Desktop Services, you probably already have a licensing server set up in your environment. If you do, you can continue using the same license server as long as the Azure Virtual Desktop hosts have line-of-sight with the server.
29
44
30
-
Use the following information to learn about how licensing works in Remote Desktop Services and to deploy and manage your licenses.
45
+
- Your Windows Server VM should already be assigned the Remote Desktop Session Host role. Without that role, the Azure Virtual Desktop Agent won't install and the deployment won't work.
31
46
32
-
[License your RDS deployment with client access licenses](/windows-server/remote/remote-desktop-services/rds-client-access-license)
47
+
## Configure Windows Server-based VMs
33
48
34
-
If you're already using Windows Server based Remote Desktop Services, you'll likely have Licensing Server setup in your environment. You can continue using the same provided Azure Virtual Desktop hosts has line of sight to the Server.
49
+
Now that you've fulfilled the requirements, you're ready to configure Windows Server-based VMs for deployment on Azure Virtual Desktop.
35
50
36
-
## Configure Windows Server based Virtual Machines
51
+
To configure your VM:
37
52
38
-
Once you've done the prerequisites, you're ready to configure Windows Server based VMs for deployment on Azure Virtual Desktop.
53
+
1. Follow the instructions from [Create a host pool using the Azure portal](create-host-pools-azure-marketplace.md) until you reach step 6 in [Virtual machine details](create-host-pools-azure-marketplace.md#virtual-machine-details). When it's time to select an image in the **Virtual machine details** field, either select a relevant Windows Server image or upload your own customized Windows Server image.
39
54
40
-
1. Follow the instructions from [Create a host pool using the Azure portal](create-host-pools-azure-marketplace.md).
55
+
2. For the **Domain to join** field, you can select either **Active Directory** or **Azure Active Directory**.
56
+
57
+
>[!NOTE]
58
+
>If you select **Azure Active Directory**, you should not select the **Enroll VM with Intune** option, as Intune doesn't support Windows Server.
41
59
42
-
1. Select relevant Windows Server image or upload your own customized image based on Windows Server edition at **Step 6** under **Virtual machine details** section.
60
+
3. Connect to the newly deployed VM using an account with local administrator privileges.
43
61
44
-
1. Select **Active Directory**as an option under **Domain to Join** at **Step 12**of **Virtual machine details** section.
62
+
4. Next, open the **Start**menu on your VM Desktop and enter **gpedit.msc**to open the Group Policy Editor.
45
63
46
-
1. Connect to the newly deployed VM using an account with local administrator privileges.
47
-
1. Open the Start menu and type "gpedit.msc" to open the Group Policy Editor.
48
-
1. Navigate the tree to **Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing**
49
-
1. Select policy **Use the specified Remote Desktop license servers** and set the policy to point to the Remote Desktop Licensing Servers FQDN/IP Address.
50
-
2. Select policy**Specify the licensing mode for the Remote Desktop Session Host server** and set the policy to Per Device or Per User, as appropriate for your licensing eligibility.
6. Once you're at **Licensing**, select **Use the specified Remote Desktop license servers**, then set the policy to point to the Remote Desktop Licensing Servers FQDN/IP Address.
67
+
68
+
7. Finally, select**Specify the licensing mode for the Remote Desktop Session Host server** and set the policy to **Per device** or **Per user**, depending on your licensing eligibility.
51
69
52
70
> [!NOTE]
53
-
> -You can also use and apply Domain based GPO and scope it to OU where Azure Virtual Desktop Hosts resides in Active Directory.
71
+
> You can also use and apply a domain-based group policy object (GPO) and scope it to the Organizational Unit (OU) where the Azure Virtual Desktop hosts are located in your Active Directory.
54
72
55
73
## Next steps
56
-
Now that you've deployed Windows Server based Host VMs, you can sign in to a supported Azure Virtual Desktop client to test it as part of a user session. If you want to learn how to connect to a session, check out these articles:
57
74
58
-
-[Connect with the Windows Desktop client](user-documentation/connect-windows-7-10.md)
59
-
-[Connect with the web client](user-documentation/connect-web.md)
75
+
Now that you've deployed Windows Server-based Host VMs, you can sign in to a supported Azure Virtual Desktop client to test it as part of a user session. If you want to learn how to connect to a session using Remote Desktop Services for Windows Server, check out our [list of available clients](/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients).
76
+
77
+
If you'd like to learn about other ways to create VMs for Azure Virtual Desktop, check out these articles:
78
+
79
+
- To set up a VM automatically as part of the host pool setup process, see [Tutorial: Create a host pool](create-host-pools-azure-marketplace.md).
80
+
- If you'd like to manually create VMs in the Azure portal after setting up a host pool, see [Expand an existing host pool with new session hosts](expand-existing-host-pool.md).
81
+
- You can also manually create a VM with [Azure CLI, PowerShell](create-host-pools-powershell.md), or [REST API](/rest/api/desktopvirtualization/).
0 commit comments