@echo off title SABAI - Desinstalar inicio automatico del agente cd /d "%~dp0" echo ===================================================== echo DESINSTALAR INICIO AUTOMATICO echo Agente de Impresion - SABAI echo ===================================================== echo. set BAT_DESTINO=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\INICIAR_AGENTE_IMPRESION.bat if not exist "%BAT_DESTINO%" ( echo El agente no estaba configurado para inicio automatico. ) else ( del /f "%BAT_DESTINO%" >nul 2>&1 if %errorlevel% neq 0 ( echo ERROR: No se pudo eliminar el archivo. ) else ( echo OK - Inicio automatico eliminado correctamente. ) ) echo. echo El agente ya no arrancara al encender la computadora. echo Para volver a activarlo, ejecuta INSTALAR_INICIO_AUTOMATICO.bat echo. pause