Page 1 of 1 1
Topic Options
#72658 - 2003-01-20 10:37 AM Deactivate Service
zdarma Offline
Getting the hang of it

Registered: 2002-10-08
Posts: 83
I need to deactivate a service in NT4. I do not want to remove it, because once I'm done installing what I have to install, I need to start it up again.

I know how to stop, start, pause, or query a service, but I do not know how to deactiavate it.

Is it possible to deactivate a service?

Thanks in advance,
Z.

Top
#72659 - 2003-01-20 11:23 AM Re: Deactivate Service
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Z.

try xnet.exe shipped with Kixtart !

sample (no code !!!)

--------

shell 'xnet stop \\Server\service >nul'

Error check !!!

shell 'xnet modify \\Server\Service /s:disable >nul'

Error check !!!

---------

J.
_________________________



Top
#72660 - 2003-01-20 02:06 PM Re: Deactivate Service
zdarma Offline
Getting the hang of it

Registered: 2002-10-08
Posts: 83
Thanks, worked like a charm.

Z.

Top
#72661 - 2003-01-20 05:51 PM Re: Deactivate Service
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11163
Loc: Boston, MA, USA
See also the UDF Forum, e.g. WMIService()!
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 271 anonymous users online.
Newest Members
proprzemo, Lolica12, perices, Relakz, Hopeman
17847 Registered Users

Generated in 0.052 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org