delete a service via cmd code example
Example 1: delete service in windows using command prompt
SC DELETE shortservicename
Example 2: uninstall service cmd
sc delete "service name"
SC DELETE shortservicename
sc delete "service name"