I have a windows service that I was wondering if it is possible to display a custom error dialog if a user attemts to start the service exe from the command line by accident. As of now is shows "cannot start service from the command line or a debugger bla bla bla". Can this be avoided, maybe just start the main program instead?