@echo off REM One-click wrapper for set-appcompat.ps1. REM REM Bypasses the PowerShell execution policy for this run only (it does not change any REM machine setting), passes through any arguments such as -Remove or -WhatIfOnly, and REM keeps the window open so the result is readable. REM REM To cover every account on the machine, right-click this file and choose REM "Run as administrator". powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0set-appcompat.ps1" %* echo. pause