Fix PowerShell

Experiencing issues with PowerShell when running your Microsoft Activation Scripts (MAS)? This guide provides straightforward solutions to common PowerShell errors. We'll help you diagnose and fix problems that prevent your scripts from executing correctly, ensuring a smooth activation process.

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.

Download Microsoft Activation Scripts (MAS) v3.11

Run MAS_AIO.cmd directly, or download the ZIP archive if your browser blocks the script.

PowerShell one-liner (recommended):

irm https://get.activated.win | iex

If the download or the script doesn't work, please temporarily disable your antivirus (including Windows Defender real-time protection) and try again. Activation tools are commonly flagged as false positives.

Microsoft Activation Scripts — Open source on GitHub