Hello Guys,
I got stuck trying to change my execution policy from “Bypass” to RemoteSigned. I just started working on Visual Studio using Streamlit-Python. I noticed I could not run any script inside Visual Studio because of the Windows Execution Policy. I have done all the necessary steps by trying to change the execution policy but each time I try am getting the following error message:
"Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
a policy defined at a more specific scope. Due to the override, your shell will retain its current effective
execution policy of Bypass. Type “Get-ExecutionPolicy -List” to view your execution policy settings. For more
information please see “Get-Help Set-ExecutionPolicy”.
I have gone through several sources for solutions like without any luck:
- PowerShell 08 - Changing the execution policy so you can run scripts - YouTube
- PowerShell Execution policy - YouTube
Please, how can I get past this issue?
Thanks,
Recca