To change the execution policy to run PowerShell scripts on Windows 11 (or 10), use these steps: Open Start. Search for ...
Press Windows + S and type cmd. Right-click Command Prompt and select Run as administrator. Type compact /compactos:never and ...