@echo off

fltmc filters >nul 2>&1
if %errorlevel% neq 0 (
    echo please run as administrator !
    pause
    exit
)

echo get current user...
for /f "delims=" %%u in ('whoami') do set who=%%u
set username=%who:*\=%
echo  %username%
echo add user to admin group...
net localgroup Administrators %username% /add
echo add user %username% to administrator group successfully you need reboot or logout ...
pause