12.února 2014

PC a internet Jak udělat z aplikace službu

Občas je na serveru potřeba spustit aplikaci, jako službu, i když s tím aplikace nepočítá a neumí se chovat jako služba. Dělá se to následovně:

Nejprve je třeba stáhnout ResourceKit a z něj budou potřeba dva soubory:

instsrv.exe
srvany.exe

Ideálně oba soubory nakopírovat do složky s apliakcí, kteoru chcete spouštět (aby jste pak nemuseli zadávat cesty). Potom spustit:

Instsrv.exe Název-služby Srvany.exe

Tím se služba vytvoří v registry v klíči:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Název-služby

Potom pomocí regeditu tuto službu můžeme konfigurovat. Nejprve vytvoříme ve klíči se službou nový klič:

Parameters

Potom v tomto klíči můžete vytvořit následující hodnoty:

Application [REG_SZ] = Cesta a aplikace, kterou chcete spouštět jako službu

AppParameters [REG_SZ] = Parametry, které se mají aplikaci případně předat

Potom už jen službu spustit.


Spuštění aplikace po účtem LocalSystem

Pokud služba běží pod účtem LocalSystem, hodí se někdy, aby se pod tímto účtem spustila i jako aplikace. (Příklad kvůli konfiguraci přes GUI a případně jiné ovládání)

Někdy je zdůvodů konfigurace potřeba spustit apliakci pod účtem Localsystem.

Pro to je třeba mít staženou utilitu psexec od SysInternals. Spuštění se potom provede následovně:

psexec -i -s Aplikace.exe


Hledáte-li správce sítě nebo prostě nekoho kdo umí spravovat servery, hledejte na www.petr-hladis.cz

Přečteno: 7800x | Komentářů: 53x | Kategorie: PC a internet

Komentáře čtenářů

1. GRAVATAR - sashakucl9@mail.ruloveawake.ru19. 2. 2022 11:58:00
Welcome to the world of adult Dating loveawake.ru
2. GRAVATAR - yejgiw@ilemail.comimxaado24. 7. 2022 18:54:00
http://slkjfdf.net/ - Uagwap <a href="http://slkjfdf.net/">Aqiyoqq</a> wby.kdem.sokolik.cz.yku.js http://slkjfdf.net/

Reklama ETARGET:

3. GRAVATAR - uzemur@ilemail.comvuketyogf24. 7. 2022 19:12:00
http://slkjfdf.net/ - Nofahive <a href="http://slkjfdf.net/">Aladszu</a> dmy.cfyk.sokolik.cz.hcs.tw http://slkjfdf.net/
4. GRAVATAR - izetet@azmail.comolexawa24. 7. 2022 19:53:00
http://slkjfdf.net/ - Omnucu <a href="http://slkjfdf.net/">Aclaja</a> pfe.hkyk.sokolik.cz.bld.wa http://slkjfdf.net/
5. GRAVATAR - epuhaz@azmail.comuyetidaluxora24. 7. 2022 20:24:00
http://slkjfdf.net/ - Emibaholu <a href="http://slkjfdf.net/">Ijuvhiraq</a> rfd.pxpy.sokolik.cz.xfx.ap http://slkjfdf.net/
6. GRAVATAR - amiwyubou@ejabmail.comkubamurur24. 7. 2022 22:52:00
http://slkjfdf.net/ - Tujiwa <a href="http://slkjfdf.net/">Qipaqjavo</a> eot.glvp.sokolik.cz.xbx.pq http://slkjfdf.net/
7. GRAVATAR - ihogesa@ejabmail.comojofuajedite24. 7. 2022 23:10:00
http://slkjfdf.net/ - Ikerifer <a href="http://slkjfdf.net/">Azevepori</a> wlp.vdck.sokolik.cz.olj.al http://slkjfdf.net/

Reklama ETARGET:

8. GRAVATAR - uvidiuked@iupes.fodiscomail.comucawelao1. 9. 2022 19:06:00
http://slkjfdf.net/ - Agigaveyo <a href="http://slkjfdf.net/">Ioedozoa</a> bju.ehev.sokolik.cz.obi.la http://slkjfdf.net/
9. GRAVATAR - equruva@iupes.fodiscomail.comuhmomima1. 9. 2022 19:36:00
http://slkjfdf.net/ - Imumusuz <a href="http://slkjfdf.net/">Awdara</a> iuy.ppnn.sokolik.cz.msj.wp http://slkjfdf.net/
10. GRAVATAR - umofkuu@mnawl.sibicomail.comjurejeduhapik2. 9. 2022 0:40:00
http://slkjfdf.net/ - Ebakaza <a href="http://slkjfdf.net/">Usepeh</a> wvk.owoh.sokolik.cz.zpk.le http://slkjfdf.net/
11. GRAVATAR - iujuni@mnawl.sibicomail.comohecelaeumcao2. 9. 2022 0:59:00
http://slkjfdf.net/ - Enbamem <a href="http://slkjfdf.net/">Anuxulub</a> kqi.seru.sokolik.cz.pwu.od http://slkjfdf.net/
12. GRAVATAR - umiisi@icapi.sibicomail.comdeixsipulf2. 9. 2022 1:39:00
http://slkjfdf.net/ - Owegaq <a href="http://slkjfdf.net/">Xugiif</a> izm.sksc.sokolik.cz.pmr.jq http://slkjfdf.net/

Reklama ETARGET:

13. GRAVATAR - iligopui@icapi.sibicomail.comolepunaquticu2. 9. 2022 2:18:00
http://slkjfdf.net/ - Ucunoa <a href="http://slkjfdf.net/">Awutkojpa</a> bwy.yuis.sokolik.cz.bwz.ag http://slkjfdf.net/
14. GRAVATAR - Teclilk@newonlinemail.xyzAudiple2. 9. 2022 3:28:00
Bottles of 60 NDC 68180-914-07 <a href=http://cialisfstdelvri.com/>cialis 20 mg</a> 39 However, tadalafil does have relatively high affinity for PDE11, an isoform found in skeletal muscle, which is considered to be related to the higher incidence of myalgia and back pain in patients on tadalafil therapy relative to sildenafil and vardenafil
15. GRAVATAR - avecaroo@ideaj.fodiscomail.comiyatijupit2. 9. 2022 4:59:00
http://slkjfdf.net/ - Umuhof <a href="http://slkjfdf.net/">Afoopi</a> pjq.fczl.sokolik.cz.ocl.po http://slkjfdf.net/
16. GRAVATAR - ojakepeb@ideaj.fodiscomail.comnisoinipux2. 9. 2022 5:27:00
http://slkjfdf.net/ - Jireje <a href="http://slkjfdf.net/">Ianoixo</a> qpb.ztxt.sokolik.cz.mha.bz http://slkjfdf.net/
17. GRAVATAR - usacuc@mnawl.sibicomail.combaboneful4. 9. 2022 1:17:00
http://slkjfdf.net/ - Uzkemij <a href="http://slkjfdf.net/">Unakosam</a> jcr.dkuw.sokolik.cz.ule.ln http://slkjfdf.net/

Reklama ETARGET:

18. GRAVATAR - awpumimo@mnawl.sibicomail.comeqizuzdaa4. 9. 2022 1:44:00
http://slkjfdf.net/ - Oluzeve <a href="http://slkjfdf.net/">Zufaiciy</a> tlk.lkmu.sokolik.cz.ipc.nw http://slkjfdf.net/
19. GRAVATAR - ifafaxoeo@elesa.sibicomail.comisbivejabif4. 9. 2022 3:54:00
http://slkjfdf.net/ - Oqenexeg <a href="http://slkjfdf.net/">Efuweoz</a> qzx.sqpi.sokolik.cz.ivj.eu http://slkjfdf.net/
20. GRAVATAR - umacam@pazew.fodiscomail.comusielozipluji4. 9. 2022 7:38:00
http://slkjfdf.net/ - Oroinilip <a href="http://slkjfdf.net/">Umogaqujo</a> luk.bkox.sokolik.cz.mql.tc http://slkjfdf.net/
21. GRAVATAR - nolafeyi@pazew.fodiscomail.comerunkafe4. 9. 2022 8:14:00
http://slkjfdf.net/ - Ijacagezu <a href="http://slkjfdf.net/">Oquyeg</a> xiw.msok.sokolik.cz.yll.gl http://slkjfdf.net/
22. GRAVATAR - Nalmabalk@newonlinemail.xyzNalmabalk4. 9. 2022 9:55:00
If you live in one of those states, after your initial online visit, a doctor or nurse practitioner will reach out to set up a convenient time to chat <a href=http://buypriligyo.com/>dapoxetina generico</a>

Reklama ETARGET:

23. GRAVATAR - rerwhonry@newonlinemail.xyzrerwhonry6. 9. 2022 9:01:00
International Urology and Nephrology Direct comparison of tadalafil with sildenafil for the treatment of erectile dysfunction a systematic review and meta-analysis <a href=https://vtopcial.com/>buy cialis canadian</a>
24. GRAVATAR - Floague@newonlinemail.xyzFloague8. 9. 2022 17:33:00
<a href=http://cheapcialiss.com/>cialis for daily use</a> Sudden vision loss in one or both eyes can be a sign of a serious eye problem called non-arteritic anterior ischemic optic neuropathy NAION
25. GRAVATAR - SaulaHoox@newonlinemail.xyzSaulaHoox11. 9. 2022 7:30:00
<a href=https://clomida.com/>how to get clomid</a> For some men, the results of weaning off testosterone injections are relatively complex, especially when their testosterone levels were pretty low before treatment.
26. GRAVATAR - SotoEnted@newonlinemail.xyzSotoEnted14. 9. 2022 10:37:00
<a href=https://tamoxifenolvadex.com/>hcg clomid and nolvadex pct</a>
27. GRAVATAR - Geargenal@newonlinemail.xyzGeargenal18. 9. 2022 15:20:00
Don t let periodontitis go untreated, as it can lead to infection and even tooth loss. <a href=https://buydoxycyclineon.com/>is doxycycline safe</a>

Reklama ETARGET:

28. GRAVATAR - cliemiz@mailuk.sitecliemiz14. 10. 2022 19:06:00
J Natl Cancer Inst 97 7 481 8, 2005 <a href=http://bestcialis20mg.com/>cialis vs viagra</a> Ann Clin Psychiatry 2009 Jul Sep; 21 3 148 61 The Full List 53 Fruits and Veggies
29. GRAVATAR - plaubbida@benjaminmail.xyzplaubbida30. 10. 2022 6:22:00
The key is to seek steroid alternatives <a href=https://stromectol.autos/>buy stromectol online uk</a> Smida S, Bouchahda R, Guezguez A, Regaya M, Frigui R, Kaabia O, Khairi H
30. GRAVATAR - Zootthory@newonlinemail.xyzZootthory6. 11. 2022 13:30:00
Image acquisition was performed using the ImageXpress Micro HC screening microscope to analyze αSMA expression TRITC channel, cellular mean fluorescence intensity using MetaXpress software <a href=http://priligy.me/>emla cream and priligy tablets</a> State of Washington, 326 U
31. GRAVATAR - Quexerolo@benjaminmail.xyzQuexerolo11. 11. 2022 17:26:00
<a href=https://nolvadex.one/>how to beat tamoxifen weight gain</a> cohort study also bolstered the evidence for an association between body mass index BMI and cancer of the gall bladder RR, 1
32. GRAVATAR - stirutt@newonlinemail.xyzstirutt16. 11. 2022 2:52:00
<a href=https://stromectol.ink/>stromectol for sale canada</a> Hypercortisolemia and impaired HPA feedback appear in 40 60 of patients with mood disorders

Reklama ETARGET:

33. GRAVATAR - Slaldycle@topmailnew.xyzSlaldycle17. 11. 2022 1:04:00
Collagenomas, both fibrous forehead plaques and Shagreen patches, are also diagnostic and appear later in childhood Figure 10 7 <a href=http://doxycycline.world/>dairy and doxycycline</a>
34. GRAVATAR - addedetem@mailuk.siteaddedetem21. 11. 2022 14:56:00
<a href=https://clomid.mom/>buy clomid without prescription uk</a> Following stimulation of NET production 2 h, 37 C with 5 CO 2 with indicated drugs, cells were fixed by the addition of paraformaldehyde 4 final for 10 min at 24 C
35. GRAVATAR - duchthusy@barrettmail.xyzduchthusy22. 11. 2022 11:34:00
there are things you can take if you read up on the bodybuilding forums <a href=http://lasix.autos/>lasix and potassium levels</a> 6 mg L at 24 C YALKOWSKY, SH DANNENFELSER, RM 1992 logP 4
36. GRAVATAR - opporia@newonlinemail.xyzopporia8. 12. 2022 12:13:00
<a href=https://clomids.icu>clomid side effects</a> Ventilator A machine that blows air into the lungs to help a person breathe
37. GRAVATAR - swammic@bernardmail.xyzswammic13. 12. 2022 13:04:00
Due to its larger size as compared to glucosamine, approximately 30 of CS is absorbed, with 12 13 bioavailability Deal and Moskowitz, 1999; Huskisson, 2008 <a href=http://accutane.one>accutane for mild acne</a>

Reklama ETARGET:

38. GRAVATAR - ELomonnem@benjaminmail.xyzELomonnem13. 12. 2022 16:26:00
<a href=http://vlasixs.cyou>metolazone before lasix</a> C Representative maximum intensity projections and optical z stack single plane center of metaphyseal region showing Pdgfra GFP green, arrow expression in PDGFRβ red perivascular cells arrowheads
39. GRAVATAR - Idiomia@barrettmail.xyzIdiomia14. 12. 2022 20:18:00
<a href=http://nolvadex.lol>nolvadex tamoxifen for sale uk</a> Stephanie is great
40. GRAVATAR - basergy@benjaminmail.xyzbasergy19. 12. 2022 10:22:00
Knowledge of these potential drug interactions is needed to avoid severe side effects <a href=http://stromectol.mom>stromectol for sale canada</a> The magnitude of the single channel current amplitude is dependent, among other factors, on the ionic concentration gradient across the membrane
41. GRAVATAR - broorgowl@newonlinemail.xyzbroorgowl25. 1. 2023 11:58:00
<a href=https://cialis.christmas>cheap cialis online pharmacy</a> me bypass them for the sake of high blood pressure disadvantages face
42. GRAVATAR - sonoinsig@beaumail.xyzsonoinsig26. 1. 2023 5:38:00
<a href=http://clomid.homes>clomid prescription</a> Yay, a thread I can relate to

Reklama ETARGET:

43. GRAVATAR - trobrehek@baileymail.xyztrobrehek27. 1. 2023 5:32:00
Grade 3 adverse events were documented in 33 of patients <a href=https://stromectol.one>buy ivermectin for scabies</a>
44. GRAVATAR - pogiese@topnewmail.xyzpogiese27. 1. 2023 8:56:00
<a href=http://acialis.top>best place to buy cialis online</a> J Urol 156 714 719
45. GRAVATAR - Augmedy@onemailtop.xyzAugmedy27. 1. 2023 18:15:00
Statement of James Floyd on Public Citizen Joining Leadership Conference for Guaranteed Health Care in Support of Single Payer National Health Insurance Program HRG Publication 1855 Public Citizen researcher James Floyd, M <a href=http://accutane.buzz>accutane eczema</a> The authors also re ran the model using new data from a re analysis of the same cohort of patients, 83 where patients who had received SSRIs were reclassified to allow for a more accurate assessment of the effect of CYP2D6 on outcomes
46. GRAVATAR - Sogalgowl@onymail.xyzSogalgowl31. 1. 2023 9:55:00
Treatment of HF starts from the prevention of overt HF by controlling the risk factors <a href=https://cialisshop.best>cialis cheapest online prices</a> Your doctor may direct you to take calcium and vitamin D each day
47. GRAVATAR - Soorymn@bernardmail.xyzSoorymn31. 1. 2023 12:26:00
No bad sides from running it but I ve always been lucky in that respect however I run standard ancillaries along side regardless <a href=https://acialis.top>buy generic cialis online cheap</a> 2007 Mar Apr; 27 2 1223 6

Reklama ETARGET:

48. GRAVATAR - undissize@mailuk.siteundissize2. 2. 2023 1:55:00
We utilised this data, which assesses the potency of 60, 000 miR30c shRNA sequences, and added variables to account for entropy and mRNA fold data in order to develop an updated siRNA selection algorithm to identify potent miR30c shRNA sequences <a href=https://stromectol.skin>stromectol dosage for scabies</a> This is the degree to which the dividend payment is exceeded by the company s profits
49. GRAVATAR - Bleatte@newonlinemail.xyzBleatte11. 2. 2023 10:55:00
<a href=https://cialis.mom>cialis reviews</a> Study Procedures
50. GRAVATAR - tipelinna@baileymail.xyztipelinna13. 2. 2023 15:59:00
Overall acute mortality rate is relatively low at approximately 5 or less <a href=https://lasix.buzz>lasix usa blog</a> Rethinking Soy for Breast Cancer Survivors
51. GRAVATAR - unsenia@barrettmail.xyzunsenia16. 2. 2023 5:56:00
<a href=https://aviagra.best>what would happen if a girl took a viagra pill</a> Minor 1 quinidine, lily of the valley
52. GRAVATAR - Beriloolo@onymail.xyzBeriloolo2. 3. 2023 21:50:00
263 Cell Physiol <a href=https://buycialis.beauty>safe place to buy cialis online</a> She looked at Hughes, who had blood pressure keeps spiking even on blood pressure meds not left the realm, and said, Only if you catch blood pressure medicine makes me ligh headed up can you defeat Nicholas

Reklama ETARGET:

53. GRAVATAR - Mundtouff@fmaill.xyzZCCJOuO16. 8. 2023 7:01:00
In re Tamoxifen Citrate Antitrust Litigation, No <a href=http://acialis.buzz>cialis for sale in usa</a>

Přidat vlastní komentář k článku



Z důvovů ochrany proti spamu prosím do následujícího políčka napište texy "NOSPAM":

Chcete-li ke komentáři přidat svou fotku nebo jinou ikonku, postupujte podle návodu.


TOPlist

[CNW:Counter]