VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Hi,

    every time I open Visual Studio Code -> Terminal in Windows there is an error:

    Unable to load the file C:\Users\Familie\Documents\WindowsPowerShell\profi le.ps1, because the script is prohibited on this system."
    + CategoryInfo : SecurityError: ( [],PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

    Actually I installed VSC in D: disk. Is it the reason of this error?
    Quote Quote  
  2. Run PowerShell as Administrator:

    Set-ExecutionPolicy RemoteSigned

    Say Y when prompted.

    Restart VS Code → the profile should load.

    If that doesn't work then run this and show us the output:

    Get-ExecutionPolicy -List
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!