How to run IIS program as administrator??

YoungChul Choi 1 Reputation point
2020-12-30T00:08:18.93+00:00

How to run IIS program as administrator??

When executing a WCF website in IIS, the CMD window is not executed as an administrator when executing the CMD window with administrator privileges as an internal code.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,447 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,231 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Peng Ding-MSFT 91 Reputation points
    2020-12-30T02:40:51.977+00:00

    Hi, @YoungChul Choi , Here are the steps:

    52144-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2020-12-30-103419.png

    52134-%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-2020-12-30-103616.png

    Enter the local administrator name and password.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Peng Ding


  2. Duane Arnold 3,216 Reputation points
    2020-12-30T07:10:17.653+00:00

    I don't think you can run the desktop exe program with admin rights unless the exe program itself is using a .NET manifest with the manifest configured to use a domain user admin account, or the admin user account has been established on the machine that is hosting IIS that in turn is hosting the ASP.NET Web program, which the exe program would be using through a .NET manifest.

    0 comments No comments