I just found an article about how to extend a windows service’s functionality so that the service can register itself in windows service control using command line switches like /register or /unregister…..