LPTHW - terminal error

Viewed 44

I am seeing this when I open my windows terminal. As far as I can tell everything is working. Jupyter-lab and Geany. Not sure this is an error or the intended outcome.

I did a quick google and found a possible solution, but do not want to fix something if its not broken.

The bots answer is open terminal as an admin then run:
"Set-ExecutionPolicy RemoteSigned -Scope CurrentUser"

FYI, I did exercise 0 as me and not admin.

I did attach a screen shot of the error. Not sure it is going to download. Let me know if it does not and I will find another way to send you the error.

Error gist: profile.ps1 cannot load because running scripts is disabled.

Uploading...

Hi, I am getting the same message every time I open Powershell. Would love to clear it if possible, any advice on this would be appreciated..

2 Answers

I just put it into chatgpt and it told me what to do to clear it

I have not had a response from anyone or thing on this issue.

This is from Grok and is working for me:

Recommended fix (current user only)
In the same PowerShell window, run:
PowerShellGet-ExecutionPolicy -List
Then set a policy that allows local scripts:
PowerShellSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Type Y if prompted. Close PowerShell and open it again.
RemoteSigned lets locally created scripts run. Scripts downloaded from the internet still need a trusted signature or to be unblocked. You do not need admin for -Scope CurrentUser.
Confirm with:
PowerShellGet-ExecutionPolicy
Get-ExecutionPolicy -List

Mark, Would you be able to post the answer here. Thanks