Hi,
I am writing a PowerShell / ASP.NET application to enumerate, disconnect, and log off a user's Terminal Server sessions. I can enumerate them just fine, but I am receiving an Access Denied message when I try to disconnect the user from an ASP.NET page (from a PowerShell window it works just fine).
I have set both the identity of the application pool in use, as well as the identity of the web site to a known domain administrator. I have also added the user to the local IIS_IUSRS group.
I am *not* using PoSh Remoting.
Does any one have an idea of what the problem might be?
Thanks!
Sam