.NET self-registering Windows Service

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

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.. Logo_Microsoft_VisualStudio_2010

Continue reading

Deleting a Windows Service – did you know it’s so easy?

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Whenever i had to delete an orphaned Windows Service, i started RegEdit.exe and navigated to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Then i searched for the Service and removed the whole registry key including all subkeys. Then i rebooted the system. Yes, i know, don’t tell me that this a horrible way, that’s why i want to share this post with you.. Logo_cmd

Continue reading