Skip to content

Commit f00f9c1

Browse files
Added Group Policy
1 parent 7c2b023 commit f00f9c1

File tree

1 file changed

+43
-12
lines changed

1 file changed

+43
-12
lines changed

articles/virtual-desktop/autoscale-create-assign-scaling-plan.md

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -323,26 +323,57 @@ Here's how to create a scaling plan using the Az.DesktopVirtualization PowerShel
323323

324324
## Configure a time limit policy using Microsoft Intune
325325

326-
You can configure a time limit policy that will sign out all disconnected users to reduce the [used host pool capacity](autoscale-glossary.md#used-host-pool-capacity).
326+
You can configure a time limit policy that will sign out all disconnected users once a set time is reached to reduce the [used host pool capacity](autoscale-glossary.md#used-host-pool-capacity). Select the relevant tab for your scenario.
327327

328-
To configure the policy using Intune, follow these steps:
328+
# [Microsoft Intune](#tab/intune)
329329

330-
1. Sign in to the [Microsoft Intune admin center](https://intune.microsoft.com/).
331-
2. Select **Devices** and **Configuration**. Then, select **Create** and **New policy**.
332-
3. In **Profile type**, select **Settings catalog** and then **Create**. This will take you to the **Create profile** page.
333-
4. On the **Basics** tab, enter a name for your policy. Select **Next**.
334-
5. On the **Configuration settings** tab, select **Add settings**.
335-
6. In the **Settings picker** pane, select **Administrative Templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Session Time Limits**. Then select the checkbox for **Set time limit for disconnected sessions**.
336-
7. The settings to enable the time limit will appear in the **Configuration settings** tab. Select your desired time limit in the drop-down menu for **End a disconnected session (Device)** and change the toggle to **Enabled** for **Set time limit for disconnected sessions**.
337-
8. On the **Assignments** tab, select the group containing the computers providing a remote session you want to configure, then select Next.
338-
9. On the **Review + create** tab, review the settings, then select **Create**.
330+
To configure a time limit policy using Microsoft Intune:
339331

332+
1. Sign in to the [Microsoft Intune admin center](https://endpoint.microsoft.com/).
333+
334+
1. [Create or edit a configuration profile](/mem/intune/configuration/administrative-templates-windows) for **Windows 10 and later** devices, with the **Session Time Limits** profile type.
335+
336+
1. In the settings picker, browse to **Administrative templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Session Time Limits**.
337+
338+
1. Check the box for **Set time limit for disconnected sessions**, then close the settings picker.
339+
340+
1. Expand the **Administrative templates** category, then toggle the switch for **Set time limit for disconnected sessions** to **Enabled**, then select a time value from the drop-down list.
341+
342+
1. Select **Next**.
343+
344+
1. *Optional*: On the **Scope tags** tab, select a scope tag to filter the profile. For more information about scope tags, see [Use role-based access control (RBAC) and scope tags for distributed IT](/mem/intune/fundamentals/scope-tags).
345+
346+
1. On the **Assignments** tab, select the group containing the computers providing a remote session you want to configure, then select **Next**.
347+
348+
1. On the **Review + create** tab, review the settings, then select **Create**.
349+
350+
1. Once the policy applies to the computers providing a remote session, restart them for the settings to take effect.
351+
352+
# [Group Policy](#tab/group-policy)
353+
354+
To configure a time limit policy using Group Policy:
355+
356+
1. Open the **Group Policy Management** console on device you use to manage the Active Directory domain.
357+
358+
1. Create or edit a policy that targets the computers providing a remote session you want to configure.
359+
360+
1. Navigate to **Computer Configuration** > **Policies** > **Administrative Templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Session Time Limits**.
361+
362+
1. Double-click the policy setting **Set time limit for disconnected sessions** to open it.
363+
364+
1. Select **Enabled**, select a time value from the drop-down list, then select **OK**.
365+
366+
1. Ensure the policy is applied to the computers providing a remote session, then restart them for the settings to take effect.
367+
368+
---
340369

341370
## Edit an existing scaling plan
342371

372+
Select the relevant tab for your scenario.
373+
343374
### [Portal](#tab/portal)
344375

345-
To edit an existing scaling plan:
376+
To edit an existing scaling plan using the Azure portal:
346377

347378
1. Sign in to the [Azure portal](https://portal.azure.com).
348379

0 commit comments

Comments
 (0)