[ flylord @ 03.04.2002. 04:02 ] @
Kako se postavljaju i brisu servisi iz w2k ? |
[ flylord @ 03.04.2002. 04:02 ] @
[ random @ 03.04.2002. 09:13 ] @
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š).
[ flylord @ 04.04.2002. 00:50 ] @
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š). [ Jbyn4e @ 04.04.2002. 15:04 ] @
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). [ Mihailo @ 04.04.2002. 20:38 ] @
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. [ BrainBug @ 05.04.2002. 09:58 ] @
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!!!
[ WinterMute @ 05.04.2002. 13:18 ] @
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 [ Mihailo @ 05.04.2002. 13:25 ] @
Molim posetioce da pažljivo pročitaju poruke u temi pre nego što pošalju odgovor.
[ WinterMute @ 05.04.2002. 13:55 ] @
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). [ Mihailo @ 05.04.2002. 18:38 ] @
Registruješ taj program kao servis pomoću gore pomenutog programa sc.exe., a za account postaviš šta ti treba.
[ flylord @ 06.04.2002. 00:59 ] @
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:) [ Mihailo @ 06.04.2002. 01:42 ] @
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. Copyright (C) 2001-2024 by www.elitesecurity.org. All rights reserved.
|