@echo off :: ============================================================================ :: Un-Intels Official Administrator Launcher :: Narotech India | https://narotech.in :: ============================================================================ title Un-Intels Administrator Launcher color 0B cd /d "%~dp0" :: Check for Administrator Privileges net session >nul 2>&1 if %errorLevel% equ 0 goto :RUN_ADMIN :: Request Administrator Privileges via Windows UAC (Clean unquoted argument string) echo ========================================================================= echo Un-Intels: Requesting Windows Administrator Elevation (UAC)... echo ========================================================================= echo. powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process cmd -ArgumentList '/k cd /d %~dp0 && python un_intels.py' -Verb RunAs" exit /b :RUN_ADMIN title Un-Intels - Local AI & Microsoft Office Bridge (Administrator) color 0B cd /d "%~dp0" echo ========================================================================= echo [v] Running Un-Intels with Full Administrator Privileges echo ========================================================================= echo. python un_intels.py if %errorLevel% neq 0 ( py un_intels.py ) if %errorLevel% neq 0 ( echo. echo [!] Error executing un_intels.py. Press any key to close. pause >nul )