summaryrefslogtreecommitdiff
path: root/docs/fix_powershell.md
blob: 91292b68fe855f8bb933398a7d56365477c5d8a7 (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).