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.
_________________________