How to set time limit for Azure Virtual Desktop Users ?

R-Admin228 20 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,582 questions
{count} votes

Accepted answer
  1. Dillon Silzer 57,446 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

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.