Quantcast
Channel: Security Vulnerability
Viewing all articles
Browse latest Browse all 317

Access Denied when using ASP.NET to run PowerShell

$
0
0

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 ASP.NET (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


Viewing all articles
Browse latest Browse all 317

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>