- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-02-2024 11:46 AM
We already have Elevetage privilege in CMD and checked the child process and upon opening cmd, it opens with administrator privilege. But We are not able to perform iisreset command through cmd. The error message is "Access denied, you must be an administrator of the remote computer to use this command. Either have your account added to the administrator local group of the remote computer or to the domain administrator global group."
Attached is a screenshot for reference.
The reason to restart the server using cmd is that sometimes we get an error from the IIS console while resetting. Attached is an image for reference.
10-02-2024 03:08 PM
If you go into explorer.exe and go to the IISRESET.exe and right click and run as admin, simple it should appear as an event in the epm console and then add it to policy that way? then you can probably run it from an elevated cmd or non elevated cmd even. Try both.
10-02-2024 02:02 PM
Hi @Kailash Bohara
Providing admin access on the CMD will allow users to run any commands, which would be not be the best practice. You may need to create an elevation policy for the iisreset command to run in EPM.
Hope it helps !
10-02-2024 03:08 PM
If you go into explorer.exe and go to the IISRESET.exe and right click and run as admin, simple it should appear as an event in the epm console and then add it to policy that way? then you can probably run it from an elevated cmd or non elevated cmd even. Try both.
10-02-2024 03:08 PM
If you go into explorer.exe and go to the IISRESET.exe and right click and run as admin, simple it should appear as an event in the epm console and then add it to policy that way? then you can probably run it from an elevated cmd or non elevated cmd even. Try both.
10-10-2024 02:01 AM
Hi @Kailash Bohara
Since several community members answered your question, could you kindly share if any of these solutions resolved your issue?
If so, could you please mark the appropriate answer as "Select as Best" to assist other community members.
If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.
Thank you, Liad
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

