summaryrefslogtreecommitdiffstats
path: root/site/blog/removing_a_service_manually_in_windows_server_2008.org
diff options
context:
space:
mode:
Diffstat (limited to 'site/blog/removing_a_service_manually_in_windows_server_2008.org')
-rw-r--r--site/blog/removing_a_service_manually_in_windows_server_2008.org22
1 files changed, 22 insertions, 0 deletions
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...