• 11 odgovora
  • 7.421 pregleda
w2k service 03.04.2002. u 04:02 · pre 298 meseci #1
Kako se postavljaju i brisu servisi iz w2k ?
Re: w2k service 03.04.2002. u 09:13 · pre 298 meseci #2
Start -> Settings -> Control Panel -> Admin Tools -> Services. Tamo možeš da podesiš posebno svaki servis da li i kada želiš da ti se diže (automatski, da ga dižeš ručno ili da ga sistem diže po potrebi, ili da ga potpuno isključiš).
Potpis
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
Re: w2k service 04.04.2002. u 00:50 · pre 298 meseci #3
More hocu da dodam novi service a ne da startujem neki. Znam odlicno sta tamo ima u control panelu. Meni treba kako da dodam novi service i kako da obrisem neki stari.

Citat:
random:
Start -> Settings -> Control Panel -> Admin Tools -> Services. Tamo možeš da podesiš posebno svaki servis da li i kada želiš da ti se diže (automatski, da ga dižeš ručno ili da ga sistem diže po potrebi, ili da ga potpuno isključiš).

Re: w2k service 04.04.2002. u 15:04 · pre 298 meseci #4
Citat:
flylord:
More hocu da dodam novi service a ne da startujem neki. Znam odlicno sta tamo ima u control panelu. Meni treba kako da dodam novi service i kako da obrisem neki stari.

Jedino rucno, koliko mi se cini, nisam sad stigao da ispitam, ali trazeci po google-tu na reci "how to run program as service windows" jedna od stranica je i :
http://www.electrasoft.com/srvany/srvany.htm
gde ti je objasnjeno kako to rade oni, samo ne znam da li je taj program prilagodjen za bilo koji program, ali ti pogledaj...
Adekvatno se i brise (iz registry-ja).
Potpis
Kad sve ostalo zakaže, pročitaj uputstvo...
Re: w2k service 04.04.2002. u 20:38 · pre 298 meseci #5
Imaš u zipu sc.exe koji služi za manipulisanje servisima. Verzija je za XP ali radi dobro i na Win 2000.

Primer:

sc \myserver create NewService binpath= c:windowssystem32NewServ.exe
sc create NewService binpath= c:windowssystem32NewServ.exe type= share start= auto depend= "+TDI Netbios"

Pogledaj sc.exe /? za detalje.

Re: w2k service 05.04.2002. u 09:58 · pre 298 meseci #6
Ima vise mogucnosti za podizanje servisa...jedna od mogucnosti je i MMC konzola.....kada bi bio malo konkretniji po pitanju servisa koji bi zeleo da dignes mozda bi i mogao da ti kazem sta i kako!!!
Re: w2k service 05.04.2002. u 13:18 · pre 298 meseci #7
Evo sta pise u w2k help-u:
____
To start the RunAs service

Open Services.
Click RunAs, click Action, and then click Properties.
Under Service status, click Start.
Notes

To open Services, click Start, point to Settings, and then click Control Panel. Double-click Administrative Tools, and then double-click Services.
If you want to use Run as or the runas command frequently, you can configure the RunAs service to start automatically when the system starts. On the General tab in the RunAs Properties dialog box, change Startup type to Automatic.
____
...a u helpu za net start komandu pise :"This command will also start network services that are not provided with Windows 2000." ako te to zanima
Potpis
We look into the net, and the net is growing wide and wider.
Re: w2k service 05.04.2002. u 13:25 · pre 298 meseci #8
Molim posetioce da pažljivo pročitaju poruke u temi pre nego što pošalju odgovor.
Re: w2k service 05.04.2002. u 13:55 · pre 298 meseci #9
Ah,da,bio sam brzoplet i predpostavio sam da sa komandom runas moze da se pokrene proces kao servis, medjutim sada kada sam probao vidim da nema sanse.
Sad me zanima da li postoji nacin da se neki proces pokrene pod SYSTEM default profile? (onda bi proces radio sve vreme jer je system default profile ucitan i kada niko nije ulogovan).
Potpis
We look into the net, and the net is growing wide and wider.
Re: w2k service 05.04.2002. u 18:38 · pre 298 meseci #10
Registruješ taj program kao servis pomoću gore pomenutog programa sc.exe., a za account postaviš šta ti treba.
Re: w2k service 06.04.2002. u 00:59 · pre 298 meseci #11
A da li moze da se brisu servisi pomocu SC.exe-a? Poenta je sto imam neke servere koje bi zeleo da dodam kao servise ali isto tako ponekad zelim da obrisem one koji mi vise ne trebaju. Probao sam da brisem preko registrija i nesto nisam bio uspesan:)
Kad samo pomislim kako se ove stvari rade u Linuxu:)
Re: w2k service 06.04.2002. u 01:42 · pre 298 meseci #12
USAGE:
sc <server> [command] [service name] <option1> <option2>...

The option <server> has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
Commands:
query-----------Queries the status for a service, or
enumerates the status for types of services.
queryex---------Queries the extended status for a service, or
enumerates the status for types of services.
start-----------Starts a service.
pause-----------Sends a PAUSE control request to a service.
interrogate-----Sends an INTERROGATE control request to a service.
continue--------Sends a CONTINUE control request to a service.
stop------------Sends a STOP request to a service.
config----------Changes the configuration of a service (persistant).
description-----Changes the description of a service.
failure---------Changes the actions taken by a service upon failure.
qc--------------Queries the configuration information for a service.
qdescription----Queries the description for a service.
qfailure--------Queries the actions taken by a service upon failure.
delete----------Deletes a service (from the registry).
create----------Creates a service. (adds it to the registry).
control---------Sends a control to a service.
sdshow----------Displays a service's security descriptor.
sdset-----------Sets a service's security descriptor.
GetDisplayName--Gets the DisplayName for a service.
GetKeyName------Gets the ServiceKeyName for a service.
EnumDepend------Enumerates Service Dependencies.

etc.
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme