In one of the module in my application, I need to call WTS32api : WTSEnumerateSessions which returns Error Code 5.
Here is the question on SO regarding that :
As per suggestion provided there, I want to check, whether particular group/user do have 'Query Information' permission enabled or not.
I could check that on Windows Server 2008 with the help of this documentation.
On the RD Session Host server, open Remote Desktop Session Host Configuration. To open Remote Desktop Session Host Configuration, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Session Host Configuration.
Under Connections, right-click the name of the connection, and then click Properties.
In the Properties dialog box for the connection, on the Security tab, configure the permissions as appropriate for your environment, and then click OK.
In my case, 'Security' Tab, clicked on 'Advanced' and then Edit the permission of particular.
But on machine where I am facing the problem, there is Windows 10 installed.
How can I check this on Windows 10?