"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

windows service remote starten/stoppen

Redphex 19.11.2002 - 16:08 466 10
Posts

Redphex

Legend
RabbitOfNegativeEuphoria
Avatar
Registered: Mar 2000
Location: Kadaverstern
Posts: 11812
im sinne von "net start [service]@[host]" über commandline

hat wer a idee wie man des bewerkstelligen könnt?

HP

Legend
Moneymaker
Registered: Mar 2000
Location: Wien
Posts: 21812
warum nicht ueber mmc arbeiten?

Redphex

Legend
RabbitOfNegativeEuphoria
Avatar
Registered: Mar 2000
Location: Kadaverstern
Posts: 11812
weil ich die net in a batch einbaun kann.

HP

Legend
Moneymaker
Registered: Mar 2000
Location: Wien
Posts: 21812
dacht ich ma auch grad :D

HP

Legend
Moneymaker
Registered: Mar 2000
Location: Wien
Posts: 21812
ah weiss schon: in dem ressource server kit, sind kleine tools dabei, mit denen du per commandline prozesse starten und killn kannst. rkill und sc nennen sich die, glaub ich.

Redphex

Legend
RabbitOfNegativeEuphoria
Avatar
Registered: Mar 2000
Location: Kadaverstern
Posts: 11812
ah top. mal technet check0rn

Maxx666

Kitemaniac
Avatar
Registered: Sep 2001
Location: Longshore / West..
Posts: 712
PsService v1.01 - local and remote services viewer/controller
Copyright (C) 2001 Mark Russinovich
Sysinternals - Pstools

PsService lists or controls services on a local or remote Win2K/NT system.

Usage: psservice [\\Computer [-u Username [-p Password]]] <cmd> <optns>
Cmd is one of the following:
query Queries the status of a service
config Queries the configuration
start Starts a service
stop Stops a service
restart Stops and then restarts a service
pause Pauses a service
cont Continues a paused service
depend Enumerates the services that depend on the one specified
find Searches for an instance of a service on the network

metH-

broadband geek =]
Registered: Jun 2000
Location: 217.196.80.129
Posts: 648
psexec :)

Redphex

Legend
RabbitOfNegativeEuphoria
Avatar
Registered: Mar 2000
Location: Kadaverstern
Posts: 11812
thx @maxx des ding is komfortabler als sc :cool:

metH-

broadband geek =]
Registered: Jun 2000
Location: 217.196.80.129
Posts: 648

Redphex

Legend
RabbitOfNegativeEuphoria
Avatar
Registered: Mar 2000
Location: Kadaverstern
Posts: 11812
stimmt scho. wemma aber seine anforderungen auf service definiert und entsprechend sucht, schauts anders aus mit den results.

anyway - what shalls.
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz