Kako se postavljaju i brisu servisi iz w2k ?
w2k service
Zaključano
Zakačeno
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!
Those who do not understand Unix are condemned to reinvent it, poorly.
Upali lampicu — koristi Jabber!
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š).
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š).
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.
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...
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.
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.
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!!!
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
____
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.
Molim posetioce da pažljivo pročitaju poruke u temi pre nego što pošalju odgovor.
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).
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.
Registruješ taj program kao servis pomoću gore pomenutog programa sc.exe., a za account postaviš šta ti treba.
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:)
Kad samo pomislim kako se ove stvari rade u Linuxu:)
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.
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.