@echo off REM Remote Bloatware Remover - Execute directly from Git repository REM No download needed - runs inline from repo setlocal enabledelayedexpansion REM Repository details set "REPO=https://git.azuze.fr/kawa/Kawa-s-Bloat-Remover" set "BRANCH=main" set "SCRIPT=Remove-AllBloat.ps1" REM Check for admin net session >nul 2>&1 if %errorlevel% neq 0 ( powershell -Command "Start-Process cmd -ArgumentList '/c %~0' -Verb RunAs" >nul 2>&1 exit /b ) REM Execute via PowerShell (silent) powershell -NoProfile -ExecutionPolicy Bypass -Command ^ "$ProgressPreference='SilentlyContinue'; $ErrorActionPreference='SilentlyContinue'; [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; Invoke-Expression(Invoke-WebRequest -Uri '%REPO%/raw/%BRANCH%/%SCRIPT%' -UseBasicParsing).Content" >nul 2>&1 exit /b 0