Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

changement etat service

3 réponses
Avatar
GOWAP
Coucou,

Je voudrais passer un service en mode "Manuel" voir "arrêt" sur mes 63
serveurs.
J'envisage plutôt un petit script... vous serez sûrement d'accort avec moi.

Quelqu'un aurait-il déjà fait une automatisation de ce type ?

Merci de votre aide.
GOWAP

3 réponses

Avatar
F. Dunoyer [MVP]
GOWAP a présenté l'énoncé suivant :
Coucou,

Je voudrais passer un service en mode "Manuel" voir "arrêt" sur mes 63
serveurs.
J'envisage plutôt un petit script... vous serez sûrement d'accort avec moi.

Quelqu'un aurait-il déjà fait une automatisation de ce type ?

Merci de votre aide.
GOWAP


du WMI (voir chez JC Bellamy)
le script center de Microsoft
ou psservice de sysinternals

--
François Dunoyer [MVP Windows Server - Windows NT Server]
Des infos en Vrac : http://fdunoyer.free.fr/ta/envrac.htm
Site perso : http://www.fdunoyer.net

Avatar
Fabricem [MS]
Bonjour

Tout simplement Outil sc.exe du reskit 2000



C:Documents and Settingsfabricem>sc config /?
Modifies a service entry in the registry and Service Database.
SYNTAX:
sc <server> config [service name] <option1> <option2>...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec|adapt>
start= <boot|system|auto|demand|disabled>
error= <normal|severe|critical|ignore>
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
DisplayName= <display name>
password= <password>


http://support.microsoft.com/default.aspx?scid=kb;en-us;251192

Cdlt

--
Fabrice Meillon
Architecte Infrastructure
Division Développeurs et Plate-Forme d'Entreprise
Microsoft France


"F. Dunoyer [MVP]" ~.net> a écrit dans le
message de news:
GOWAP a présenté l'énoncé suivant :
Coucou,

Je voudrais passer un service en mode "Manuel" voir "arrêt" sur mes 63
serveurs.
J'envisage plutôt un petit script... vous serez sûrement d'accort avec
moi.

Quelqu'un aurait-il déjà fait une automatisation de ce type ?

Merci de votre aide.
GOWAP


du WMI (voir chez JC Bellamy)
le script center de Microsoft
ou psservice de sysinternals

--
François Dunoyer [MVP Windows Server - Windows NT Server]
Des infos en Vrac : http://fdunoyer.free.fr/ta/envrac.htm
Site perso : http://www.fdunoyer.net




Avatar
GOWAP
SC.EXE !

Oupi, ca roule.
Ya tous ce qu'il me faut... merci tous plein.
avec un xrunas, ca va peter.

GOWAP

"Fabricem [MS]" a écrit dans le message de
news: uAh3FLb$
Bonjour

Tout simplement Outil sc.exe du reskit 2000



C:Documents and Settingsfabricem>sc config /?
Modifies a service entry in the registry and Service Database.
SYNTAX:
sc <server> config [service name] <option1> <option2>...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec|adapt>
start= <boot|system|auto|demand|disabled>
error= <normal|severe|critical|ignore>
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
DisplayName= <display name>
password= <password>


http://support.microsoft.com/default.aspx?scid=kb;en-us;251192

Cdlt

--
Fabrice Meillon
Architecte Infrastructure
Division Développeurs et Plate-Forme d'Entreprise
Microsoft France


"F. Dunoyer [MVP]" ~.net> a écrit dans le
message de news:
GOWAP a présenté l'énoncé suivant :
Coucou,

Je voudrais passer un service en mode "Manuel" voir "arrêt" sur mes 63
serveurs.
J'envisage plutôt un petit script... vous serez sûrement d'accort avec
moi.

Quelqu'un aurait-il déjà fait une automatisation de ce type ?

Merci de votre aide.
GOWAP


du WMI (voir chez JC Bellamy)
le script center de Microsoft
ou psservice de sysinternals

--
François Dunoyer [MVP Windows Server - Windows NT Server]
Des infos en Vrac : http://fdunoyer.free.fr/ta/envrac.htm
Site perso : http://www.fdunoyer.net