in cmd, 'Query Session' command is returning,
Error 5 getting sessionnames
Error [5]:Access is denied
on Windows 10 Remote desktop - Administrator user.
we have set, AllowRemoteRPC
's value to 1
under this HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
But still problem persists.
Questions:
- what does
AllowRemoteRPC
actually do and how it's value is being used. - what to do to make Query Session command work.
Query Session
on cmd. This is case in client's machine and their user is added in Administrator Group (and cmd is opened as Administrator) - So not direct local Admin. But I have tried the same on my network with guest (standard) user and command is working fine. I am doing this via connecting to the machine using remote desktop.