Wintellisys’ Blog
Wintellisys AVD Sessions Manager – User Sessions Management Tool
December 5, 2022 / Azure Cloud, Azure Virtual Desktop, Azure Virtual Desktop, Windows Virtual Desktop, WVD / By Nirmal Ratawa
What is AVD Sessions Manager and Features
AVD Sessions Manager allows you to manage sessions for all host pools. You can add multiple tenants in AVD Sessions Manager and manage all sessions for the selected AVD tenant. Below are the supported features for AVD Sessions Manager:
- Multi-Tenant Support: You can add as many AVD tenants as you want under the management of the AVD Sessions Manager.
- List all User Sessions in an AVD environment for all Host Pools:
- Action: Log off Session
- Action: Remove Session
- Action: Remove All Stale Sessions
- Action: Remove All Disconnected Sessions
- Action: Shadow a Session quickly
- Find out if a user is logged on to more than one Sessions Host.
- Quick Action: Be able to find all logging traces for a user.
- Easily search for a user in the Sessions List
- Shows if a user is in a stale session or a normal session
- Shows the Logon Count for each user.
- Filter Sessions by Host Pools
Understanding the AVD Sessions Manager User Interface
AVD Sessions Manager interface is very user-friendly. The interface helps you understand the overall status of all sessions of opened AVD tenants.
Action Bar
The action bar contains actions that you can take against an AVD Session.
Grid Showing All User Sessions
The ATOS AVD tenant is opened in the tool, which shows the list of sessions available in the AVD tenant. The data that is shown in the grid is explained below:
- Check: Allows you to check and uncheck a session.
- Log Off: Allows you to log off a session.
- Remove: Allows you to remove a session.
- User Principal Name: Shows the user principal name of the user.
- ADUserName: Shows the AD Username of the connected session.
- CreateTime: Shows session creation time.
- SessionID: Shows Session ID.
- HostPoolName: Shows the host pool name of the user.
- SessionHostName: Shows the session hostname to which the user is connected.
- SessionState: Shows the session state for the user.
- ResourceGroup: Shows the resource group of the host pool.
- Host Status: Shows session host status. Host Status will be “VM Turned Off” or “VM Turned On.”
- Account Type: Shows if the account type is a normal connection or a stale session.
Note: Any account will have a normal connection if the Session Host is turned on. The account type will be shown as a “Stale Session” if the session state is active and the VM is turned off.
- Logon Count: Logon Count shows how many Sessions hosts the user has logged onto. If you find two or more numbers for a user, then the user is connected to more than one session host.
Available Actions on the Interface
- Remove Selected: Only selected sessions in the Grid will be actioned, and sessions will be removed.
- Logoff Selected: Only selected sessions will be logged off.
- Logoff Disconnected: All disconnected sessions will be logged off.
- Remove Disconnected: All disconnected sessions will be removed forcefully from the grid.
- Shadow Selected Session: Allows you to shadow a selected session.
- Quick User Action: Allows you to take a quick action for a single session.
Ready to Take the Next Step?
Check if a User Is Logged Onto Multiple Session Hosts
If you want to check if a user is logged on to multiple session hosts, you have two options to check: you can check in the grid and look at the “Logon Count” column that will be shown if a user is using two or more session hosts.
Checking Using Quick Action
Quick Action also allows you to check if a user is logged on to multiple session hosts. You need to enter the target user’s UPN in the “Enter UPN” field and then click on the “Check” button. When you click on the “Check” button, the process will:
- Check the user in the AVD tenant and its status.
- Check if a user is logged on to multiple hosts.
If the process finds that the user is logged onto multiple session hosts, all user entries with the session host will be listed in the grid’s “Found In Other Host Pools or Hosts” section.
Here, you can select the session in the grid and then take actions such as Force Logoff and Remove Session.
Here, you can select the session in the grid and then take actions such as Force Logoff and Remove Session.
Check if There Are Stale Sessions in the AVD Tenant
AVD Sessions Manager allows you to check if there are stale sessions in the AVD Tenant. A session is considered stale if the user state is “Active” and the Session Host VM is turned off. A Stale Session is not useful as the session is already disconnected from the Session Host, but AVD data still shows that the user is active.
In this case, you need to ensure that the stale session has been removed from the grid. To remove the stale sessions, select all stale sessions and then click on the “Remote Selected” button found on the Action Bar.
In this case, you need to ensure that the stale session has been removed from the grid. To remove the stale sessions, select all stale sessions and then click on the “Remote Selected” button found on the Action Bar.
Using AVD Sessions Manager – Shadowing Current Session
A shadowing session can be used if you would like to shadow a session and help users with issues. However, please note that shadowing is available only for “Active” sessions. To use the shadow feature, follow the below steps:
- Click on a user in the grid that is “Active.” Look at the Sessions State column and check the session state for the user.
- Then, click on the “Shadow Selected Session” button found on the action bar.
There are two choices: You can take control of the remote session WITH USER PERMISSION or WITHOUT USER PERMISSION. By default, “Without User Permission” is selected. Click on the “Take Control” button to take control of the remote session. The process will connect to a remote session and then show the user's desktop screen.