Guest User

Untitled

a guest
Jul 13th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. NET STOP AVLDataService 2>&1|FIND "2182"
  2. IF errorlevel 1 goto :sub_already_stoped
  3.  
  4. @echo off
  5. title Service Uninstaller
  6. color 0A
  7.  
  8. set blank=
  9. set service=blank
  10.  
  11. :start
  12. echo.
  13. echo.
  14. echo.
  15. SET /P service=Enter the name of the service you want to uninstall:
  16.  
  17. IF "%service%"=="" (ECHO Nothing is entered
  18. GoTo :start)
  19.  
  20. cls
  21. echo.
  22. echo.
  23. echo.
  24. echo We will delete the service: %service%
  25.  
  26. ping -n 5 -w 1 127.0.0.1>nul
  27.  
  28. ::net stop %service%
  29. ping -n 2 -w 1 127.0.0.1>nul
  30.  
  31. sc delete %service%
  32. pause
  33.  
  34. :end
Advertisement
Add Comment
Please, Sign In to add comment