summaryrefslogtreecommitdiff
path: root/docs/fix_powershell.md
blob: 62667c323ff43bea0bbbd1a2b1785b5589c5aa29 (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 the command prompt as admin 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).