DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on

(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
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

Top comments (0)