How to set time limit for Azure Virtual Desktop Users ?

R-Admin228 0 Reputation points
2024-04-28T13:00:39.1766667+00:00

I want to allocate a time limit for Azure Virtual Desktop (AVD) users by the number of hours they can use AVD in each month.

For example, I want to set User A only able to use Azure Virtual Desktop for total of 10 hours each month.

Is there a way to accomplish this?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,376 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 54,731 Reputation points
    2024-04-28T16:16:32.92+00:00

    Hello,

    There is no such solution that is native to AVD that will do this for you. The only thing you can do with Windows is restrict the time for users using Parental Controls or restrict using cmd prompt.

    Parental Controls

    Navigate to Start, then go to Settings followed by Accounts. In the Accounts section, select Family & other users to begin customizing parental controls.

    net user command

    net user user.account /time:M-F,9AM-5PM

    (User can only login Monday to Friday from 9AM to 5 PM)

    You will likely need to look for a third party solution that will add a software layer to your Azure Virtual Desktop instances.

    If this is helpful please accept answer.

    0 comments No comments