chocolatey/chocolatey — Issue #20: Installation fails: "execution of scripts is disabled"
Author: dbb
Created: 2011-10-24 02:41:36+00:00
State: open

When I first tried to install chocolatey, I got this error in Powershell:

```
chocolateyInstall.ps1 cannot be loaded because the execution of scripts is disabled on this system.
```

After seeing the rcommended `get-help about_signing` (which is several pages long), I turned to DuckDuckGo and found this solution:

```
Set-ExecutionPolicy RemoteSigned
```

Now scripts can be executed from Powershell and the installation finishes successfully. Perhaps this information would be helpful to other users new to Powershell who want to install chocolatey. I did not see any mention of it in the installation section of the documentation.