ICaramba

Miguel Castro's blog about .NET and its effect on National Security, the Eco-system, and his daughter's sleeping patterns.


News

My Stats

  • Posts - 120
  • Comments - 69
  • Trackbacks - 145

Twitter












Recent Comments


Recent Posts


Archives


Image Galleries



Blogs I read


Links


Microsoft DCCs



You know, I gotta tell you, for the most part I have the upmost admiration for the developers in Redmond.  What they've done with the .NET Framework is fantastic, but once in a while I wonder if instead of free soda, they get free ganja!

It seems there is no easy way to add a description to a Windows Service; you know the description column in the service administrator?

The description can be inserted into the registry and I found a Code Project (they rock) article that shows you how to hack it in code; and it really isn't that dirty.

http://www.codeproject.com/dotnet/dotnetscmdescription.asp


posted @ Thursday, September 08, 2005 10:06 AM |

Comments

Gravatar # re: Ever wonder how to add a Description to a Windows Service?!?
Posted by The_RadMan on 5/30/2008 9:29 PM
I found a simpler way to enter the description by adding a
'string value' to the HiveKey for a service to the registry in Windows RegEdit. I found in XPpro that the HKEY was located at

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

but that entry name was tricky;
I had to switch between
the administration SERVICES.MSC page "service name" and the 'display name' in the registry section to get a match. I noticed that for the SERVICES that have blank description fields, the 'string value' "Description" was missing , so I added one, changed the Value to describe the service thing, and it appeared once a "cycled" or stop/started that service.

Ha.
not sure if this could corrupt so each time I attempt to do stuff with registry, I export whole thing (mine is like near 130megs now) FIRST, then frig around, and if it dont work, the revert back to the "before picture" or saved version.
frigging around with the registry has always been love/hate for me ever since i shook hands with BillG at the Toronto ComDex in 1995 right after he announced Win95 (or so it would seem) I am sure he was thinkin, wait till they experience that beeHive I left them and get stung...
Gravatar # re: Ever wonder how to add a Description to a Windows Service?!?
Posted by Jason on 11/3/2009 4:20 PM
I found a much easier way the writing to the registry. If you are using .Net, just set the property on the ServiceInstaller Object.

http://msdn.microsoft.com/en-us/library/system.serviceprocess.serviceinstaller.description.aspx
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: