zdarma
(Getting the hang of it)
2003-01-20 10:37 AM
Deactivate Service

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.


JochenAdministrator
(KiX Supporter)
2003-01-20 11:23 AM
Re: Deactivate Service

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.


zdarma
(Getting the hang of it)
2003-01-20 02:06 PM
Re: Deactivate Service

Thanks, worked like a charm.

Z.


Sealeopard
(KiX Master)
2003-01-20 05:51 PM
Re: Deactivate Service

See also the UDF Forum, e.g. WMIService()!