Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NET STOP AVLDataService 2>&1|FIND "2182"
- IF errorlevel 1 goto :sub_already_stoped
- @echo off
- title Service Uninstaller
- color 0A
- set blank=
- set service=blank
- :start
- echo.
- echo.
- echo.
- SET /P service=Enter the name of the service you want to uninstall:
- IF "%service%"=="" (ECHO Nothing is entered
- GoTo :start)
- cls
- echo.
- echo.
- echo.
- echo We will delete the service: %service%
- ping -n 5 -w 1 127.0.0.1>nul
- ::net stop %service%
- ping -n 2 -w 1 127.0.0.1>nul
- sc delete %service%
- pause
- :end
Advertisement
Add Comment
Please, Sign In to add comment