SXI Forum

A place to collect usefull tips, tricks and implementation strategies.

You are not logged in.

#1 22-11-2018 07:11:41

SeanR
Administrator
Registered: 20-11-2018
Posts: 150

A DOS Script for Setting Service Startup

This script relies on a utility called sc.exe and can be found here

REM
REM A trivial script to set ALL the XLayer services startup "automatic"

sc config X-Asset Client    start=auto
sc config X-EventCollector  start=auto
sc config X-FileTX          start=auto
sc config X-HBChecker       start=auto
sc config X-Notify          start=auto
sc config X-Scheduler       start=auto
sc config X-ServiceBroker   start=auto
sc config XPressDispatch    start=auto
sc config XPressStation     start=auto
pause

REM To adapt the script for setting the services "manual", change the "auto" to "demand"

Offline

#2 22-11-2018 08:23:46

SeanR
Administrator
Registered: 20-11-2018
Posts: 150

Re: A DOS Script for Setting Service Startup

Or a slight variation where A service that must be manually started.

REM
REM A trivial script to set ALL the XLayer services startup “manual”

sc config X-Asset Client start=demand
sc config X-EventCollector start=demand
sc config X-FileTX start=demand
sc config X-HBChecker start=demand
sc config X-Notify start=demand
sc config X-Scheduler start=demand
sc config X-ServiceBroker start=demand
sc config XPressDispatch start=demand
sc config XPressStation start=demand
pause

Offline

Board footer

Powered by FluxBB