This is an old revision of the document!


Windows blocks the execution of remote signed PowerShell scripts by default. If your execution policy still has this setting, you might see this error message:

C:\Users\test-user\Downloads\Install.ps1 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
+ .\Install.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Just run the following command as Administrator within a PowerShell console:

set-executionpolicy remotesigned
  • windows/windows-tutorials/allow-remote-signed-ps-scripts.1728473047.txt.gz
  • Last modified: 2024/10/09 13:24
  • by Zyzonix