-
-
Save chinhvo/01eb828210c6be4888b9ed12005fa830 to your computer and use it in GitHub Desktop.
install, uninstall, start, stop a window service via command prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install window service | |
| serviceName /i ( via cmd) | |
| or | |
| Installutil servicename (via Visual studio cmd prompt) | |
| start window service via command prompt | |
| net start servicename ( via cmd) | |
| stop window service via command prompt | |
| net stop servicename ( via cmd) | |
| uninstall window service | |
| Installutil /u servicename (via Visual studio cmd prompt) | |
| diable window service | |
| servicename /u ( via cmd) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment