| View previous topic :: View next topic |
| Author |
Message |
3rRoR Newbie
Joined: 28 Aug 2005 Posts: 3
|
Posted: Sun Aug 28, 2005 5:16 pm Post subject: stop and disable XP services |
|
|
Hello all, I'm pretty new to VDS, but know some about it, as I've made a few programs. I was wondering what I need to put in the code to stop and disable windows services? I like to tweak XP after a fresh install and thought this would be faster for me. Thanks for any help that you might have.
Maybe I'm not too clear on what I want to do. All I need to know is, is there a comand like NETSTOP to stop, but one that will disable a service? OR is that something you have to do in the reg? |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Aug 28, 2005 11:55 pm Post subject: |
|
|
You might want to check into the DOS command NET. You can use this
command to, for example, stop the Messenger service by using
"NET STOP Messenger", or to start it by using "NET START Messenger".
You can also execute these DOS commands using VDS. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
3rRoR Newbie
Joined: 28 Aug 2005 Posts: 3
|
Posted: Mon Aug 29, 2005 1:49 am Post subject: |
|
|
the NET command works good. The only problem is, it only stops the services until I reboot....then they're running again. I want to disable then for good if possible?
Thanks,
Eric |
|
| Back to top |
|
 |
kOt Contributor

Joined: 19 Jan 2004 Posts: 89 Location: Fyffe, AL
|
Posted: Tue Aug 30, 2005 5:13 am Post subject: |
|
|
| Code: | | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services |
*^ Holds a list of all services
| Code: |
DisplayName = Friendly Name
Start = AUTO\MANUAL\DISABLED - 2\3\4
Meaning 2 = Auto, 3 = Manual, and 4 = Disabled
|
Just use NET STOP "SERVICENAMETOSTOP"
and NET START "SERVICENAMETOSTART"
to start and stop your services
| Code: |
NET START THEMES
NET STOP THEMES
|
The values of the Start entries are DWORD so when changing from VDS use
| Code: |
%%regname = Themes
%%regstatus = 4
REGISTRY WRITE,HLM,SYSTEM\CurrentControlSet\Services\%%regname,Start,%%regstatus,DWORD
|
For lots or registry info head to WinGuides.com _________________ Visual Dialogscript 5 |
|
| Back to top |
|
 |
3rRoR Newbie
Joined: 28 Aug 2005 Posts: 3
|
Posted: Tue Aug 30, 2005 3:32 pm Post subject: |
|
|
ahhh...there we go...thanks alot for the info k0t
Eric |
|
| Back to top |
|
 |
|