From a2f077cf13d307c4d9d862028f459b783ede53cc Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 10 Dec 2012 02:22:18 +0100 Subject: Add some blog posts Also an index page that automatically generates a list of all the posts available. --- ...g_a_service_manually_in_windows_server_2008.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 site/blog/removing_a_service_manually_in_windows_server_2008.org (limited to 'site/blog/removing_a_service_manually_in_windows_server_2008.org') diff --git a/site/blog/removing_a_service_manually_in_windows_server_2008.org b/site/blog/removing_a_service_manually_in_windows_server_2008.org new file mode 100644 index 0000000..02447b5 --- /dev/null +++ b/site/blog/removing_a_service_manually_in_windows_server_2008.org @@ -0,0 +1,22 @@ +#+TITLE: Removing a service manually in Windows Server 2008 +#+DATE: 2009-11-09 12:24 +#+TAGS: services windows + +I was writing a test Windows Service and accidentally removed it +through the Programs and Features dialog, which removes the files, but +doesn't actually remove the service from the service list. So when I +tried to install the 2nd version of this test service it was +complaining that it already existed. + +I looked around a little and found that I could delete the Service +from the registry in +~HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[YourService]~. I +deleted the key (the little folder thingy) and it did show some +change, but my service was still there and the newer version still +wouldn't install. + +After a little more looking around I found out that to fix it I could +use ~sc delete [YourService]~ to fix it. And it did! + +Next time, though, I really should use the installer I used to install +it to remove it... -- cgit v1.2.3-54-g00ecf