Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 9th, 2003, 08:00 AM
MatthewClark's Avatar
MatthewClark MatthewClark is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: San Angelo, Texas (USA)
Posts: 286 MatthewClark User rank is Corporal (100 - 500 Reputation Level)MatthewClark User rank is Corporal (100 - 500 Reputation Level)MatthewClark User rank is Corporal (100 - 500 Reputation Level)MatthewClark User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 48 m 16 sec
Reputation Power: 8
Send a message via ICQ to MatthewClark Send a message via AIM to MatthewClark Send a message via Yahoo to MatthewClark
Question Modifying Windows Services

I am an advanced Windows user (been working as a Windows network system administrator for a few years), but one thing I've never learned is how to edit the properties for services.

I know where to find each service in the registry, but there are a couple of services I'd like to modify and I'd like to know if there's a tool anyone knows of that can help. If you can tell mehow to do it manually, that'd be fine as well.

I'll be more specific: among other reasons, I ran the mysqld executable with the --install option. If you specify a name after the option, that name will be used as the service name. For example:
Code:
mysqld --install "MySQL v4.0.15"

The above command will install MySQL as a service and name it "MySQL v4.0.15". There is a problem with this: it also created the command for the service as "C:\Program Files\MySQL\bin\mysqld" "MySQL 4.0.15" which will not work.

I can fix this problem fine in the registry, but it got me wondering if such a tool exists that could help in editing services. If anyone has any useful input, I'd greatly appreciate it. In the mean-time, if I find out the answer to my own question I will post it here.
__________________
InLesserTerms.net
Sometimes it takes a little cussin' to get things done right.

Reply With Quote
  #2  
Old October 11th, 2003, 10:43 PM
raklet's Avatar
raklet raklet is offline
Perl Hacker turned Farmer
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2003
Location: Idaho Boondocks
Posts: 1,455 raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level)raklet User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 13 h 51 m 58 sec
Reputation Power: 81
Take a look at sc.exe. It is a command line tool that allows you to start, stop, create, delete, and configure services. There are versions available for NT, 2000, and XP. It is installed by default on XP. The XP version can be used on 2K. The XP/2K version will not work on NT. NT has its own version available in the NT
Resource Kit. The NT version will also work on 2K and XP

Do a search for "create service sc.exe" on google and you will get several relevant links that provide useful information.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > Modifying Windows Services


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT