@echo off chcp 65001 >nul title 强制清理旧后端(自动申请管理员权限) REM === 自提权:非管理员则以管理员重新运行本脚本 === net session >nul 2>&1 if %errorlevel% neq 0 ( powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs" exit /b ) powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0tools\force_kill_admin.ps1" echo. pause