Categories
Technology - Tips

Cannot be Loaded Because the Execution of Scripts is Disabled on this System

Cannot be Loaded Because the Execution of Scripts is Disabled on this System

Hi friends in this post we will discuss about error: Cannot be Loaded Because the Execution of Scripts is Disabled on this System, or Enabling Execution of PowerShell on your System, How to enable execution of PowerShell scripts, Script cannot be loaded because running scripts is disabled on this System.

Earlier we had learnt How To Connect FTP Through Command PromptHow To Enable and Disable XP_CMDSHELL Using SP_CONFIGUREHow To Delete Backup Files Older Than n DaysHow to Encrypt and Password Protect Your Gmail MessagesDedicated administrator connections are not supported via SSMS as it establishes multiple connections by design.

Recently I am trying to run a Powershell script on my system, but ended up with this error:

Script cannot be loaded because running scripts is disabled

To overcome this issue you have to set execution policy on your system, to do this run below mentioned script on your powershell window and you are done.

Set-ExecutionPolicy RemoteSigned