FG
💻 Software

Why setting Powershell to set-executionpolicy remotesigned fails?

Fresh7 days ago
Mar 15, 202645853 views
Confidence Score0%
0%

Problem

Using Win7-32bit and Powershell ISE I tried to run a just saved script (let's say containing a simple cls). I got the error, that execution of scripts is forbidden with the usual "get-help about_signing" advice. When using "set-executionpolicy remotesigned" to solve I got a dialogoue to verify whet…

Error Output

acces to registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" denied
    + set-executionpolicy <<<<  remot…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why setting Powershell to set-executionpolicy remotesigned fails?

Low Risk

You need to run powershell as an administrator to set the execution policy. Once you've set it to remotesigned, you can run powershell as a regular user.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment