summaryrefslogtreecommitdiff
path: root/docs/fix_powershell.md
blob: 0c69b351134486f44fdf58ef0674eecdac2fcf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Fix PowerShell

Scripts may show an error related to PowerShell not working.

---

## ConstrainedLanguage

-  If the script is showing `ConstrainedLanguage` in error output then open Command Prompt as administrator and enter:

```
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "__PSLockdownPolicy" /f
```

-  Retry the script, the error should be fixed.

---

## Other Errors

Please connect with us [here](troubleshoot.md).