(Solved): PhpStorm Terminal UnauthorizedAccess Error in Windows 10/11

themodernpk

Pradeep Kumar

Posted on January 8, 2022

(Solved): PhpStorm Terminal UnauthorizedAccess Error in Windows 10/11

If you are receiving error similar to :

[...] cannot be loaded. The file [...] is not digitally signed. You cannot run this 
script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ vaah cms:t
+ ~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Enter fullscreen mode Exit fullscreen mode

Simply run following command in the phpstorm terminal:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
themodernpk
Pradeep Kumar

Posted on January 8, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related