Im in the Powershell Admin but cant run a command, saying permissions are denied and i need to be in admin ??? anyone know the issue/fix?

Tiarnan McNulty 1 Reputation point
2022-12-06T10:30:26.46+00:00

267735-image.png1

Windows for business Windows Server User experience PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-12-06T10:36:49.353+00:00

    Hio @Tiarnan McNulty ,

    • Ensure you are logged into the computer with local administrator rights.
    • Right-click or hold “Shift” and select “Windows PowerShell“ > “Run as administrator“.
    • Run PowerShell as admin
    • Now try to run the same set-executionpolicy command to change the execution policy. It should complete successfully

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
    Regards
    Stoyan Chalakov

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.