@echo off
color 0a
cls
echo.
echo III TTTTT SSSSS AAAAA K K OOO RRRRR TTTTT AAAAA
echo I T S A A K K O O R R T A A
echo I T SSS AAAAA KKK O O RRRRR T AAAAA
echo I T S A A K K O O R R T A A
echo III T SSSSS A A K K OOO R R T A A
echo.
echo.
echo -----------------------------------------
echo - The Master 'itsakorta' -
echo -----------------------------------------
echo ============================================
echo Script is running... Please wait.
echo ============================================
:: Script to stop and disable the "DFServ" service, then restart the computer
:: Check if the service exists
sc query "DFServ" >nul 2>&1
if %errorlevel% neq 0 (
echo [!] The service "DFServ" does not exist on the system.
pause
exit /b 1
)
:: Stop the service if it is running
echo [*] Stopping the "DFServ" service...
net stop "DFServ" >nul 2>&1
if %errorlevel% equ 0 (
echo [+] The "DFServ" service has been stopped successfully.
) else (
echo [-] The "DFServ" service is not running or failed to stop.
)
:: Disable the service
echo [*] Disabling the "DFServ" service...
sc config "DFServ" start=disabled >nul 2>&1
if %errorlevel% equ 0 (
echo [+] The "DFServ" service has been disabled successfully.
) else (
echo [-] Failed to disable the "DFServ" service.
)
echo ============================================
echo All commands executed successfully.
echo ============================================
:: Restart the computer
echo [*] Restarting the computer...
shutdown /r /t 10 /c "The computer will restart in 10 seconds..."
echo [!] The computer will restart in 10 seconds.
pause