Powershell execution setting is overridden by a policy

Slayer2122 1 Reputation point
2022-07-24T02:43:53.07+00:00

Idk what to do anymore but until i figure out how to run it im kinda locked from doing anything else involving steam.

224063-unknown.png

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

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 129.5K Reputation points MVP Volunteer Moderator
    2022-07-24T08:03:24.66+00:00

    Hi @Slayer2122 ,

    did you try to run the command from an elevated PowerShell (as an administrator).
    Clear-Content will delete the contents of an item/file. I am not sure a "normal user" has "write access" in C:\Program Files (x86)\ .

    At least the error message points to missing permissions Access to path .... is denied .

    ----------

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

    Regards
    Andreas Baumgarten


Your answer

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