Hi,
at one of my customers, I have the problem that a selected group of users have to run large amounts of data or long import batch jobs on their virtual desktop (dynamic instant clones), so the sign-off has to take place 2 days after the disconnect.
A separate pool for these users is not conceivable as the resources are fully utilized.
I have set the Log Off After Disconnect for the pool to 2880 minutes.
How can I ensure that I log out all other users who are not in the group in question after 2 hours instead of 2 days?
What I have already tried:
RDP GPOs are only taken into account for terminal servers and not for desktops.
The registry key
SOFTWARE\Policies\VMware, Inc.\VMware VDM\Agent\Configuration\VDIDisconnectTimeout
which is set with Item-level targeting: Security Group in the user context works, but only after the first login, as the key is only set by policy then.
If I load it into the computer context when starting the desktop, it applies to every user, which should only be replaced for a specific group.
The idea of doing it with a Powershell script from the outside doesn't work either,
because I don't get the user information with the Powershell function Get-HVMachineSummary (from VMware.HV.Helper .psm1) (actually this is intended).
Who has an idea how to solve this?
Best regards
Michael Modro