Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

File.RunAs Access Denied

$
0
0
Hi, I'm trying to run some powershell and vbs scripts which I beleive require administrataor permissions.

However when I try to use File.RunAs and provide an admin account credentials, I receive back an Access Denied error code, I know that the username and password that I'm providing to this function are correct, so I do not know why I'm getting an access denied error.

It should be mentioned that the installer I've created is being launched silently from a service which is running with local system account, on a Windows 10 machine.


Viewing all articles
Browse latest Browse all 2105

Trending Articles