windows uninstall service command line code example Example: uninstall service cmd sc delete "service name"