Windows Service Error Code 2
This is most likely because you are trying to remove a Windows Service service by display name rather than its “real” or Key name.
I experienced this with Confluence and was trying to remove it by its display name (“Apache Tomcat confluence”), rather…