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/autoscale-create-assign-scaling-plan.md
+43-12Lines changed: 43 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -323,26 +323,57 @@ Here's how to create a scaling plan using the Az.DesktopVirtualization PowerShel
323
323
324
324
## Configure a time limit policy using Microsoft Intune
325
325
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.
327
327
328
-
To configure the policy using Intune, follow these steps:
328
+
# [Microsoft Intune](#tab/intune)
329
329
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:
339
331
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.
0 commit comments