How to give permission to a registry key for a iis user

Zohaib Ali 0 Reputation points
2023-02-02T19:09:22.49+00:00

i am trying to run openfiles query on cmd through process.start in iis Manager. This one working working fine on local machine . But after deploying on iis , this one stop working

Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yurong Dai-MSFT 2,666 Reputation points Microsoft Vendor
    2023-02-03T03:15:06.3+00:00

    Hi @Zohaib Ali,

    This may be a permission issue, which the app runs under the configured identity for your web site (ApplicationPoolIdentity) rather than under your own account locally. If you are sure you have deployed the project correctly on IIS, you can try to select a high-privilege account as your application pool identity (such as local system or network system).


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

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

    Best regards,

    Yurong Dai