Last week a lot of users start to complain that they can´t access my TS Server, where there are several Remote Apps published in my TS Gateway server. Everything was fine in the last 3 years.
We´re investigating an issue related to the Oracle IDM application, maybe the reconcilliantion process is enabling the "Deny this user permissions to logon to a Remote Desktop Session Host Server" option, without our permission
But the investigation of the problem will take longer, so, i need a method to remove the checkbok of the option, via script or automated method, while we´re investigating the issue, because the users calls, we uncheck the option and everything is fone again, but several hours later, the checkbos appears checked (on) again
I could´t find the option in powershell, nor ADSIEdit/Attribute editor.
I even couldn´t find the name of the field
I need to create a qucik-script to sweep the AD, and uncheck the optin, automatically, untill the problem is solved