Lm th? no ? t?o m?t ng?i dng xc ?nh d?ch v?

D?ch tiu ? D?ch tiu ?
ID c?a bi: 137890 - Xem s?n ph?m m bi ny p d?ng vo.
QUAN TRONG: Bi vi?t ny ch?a thng tin v? ch?nh s?a registry. Tr?c khi b?n ch?nh s?a registry, h?y ch?c ch?n r?ng b?n hi?u lm th? no ? khi ph?c l?i n N?u m?t v?n ? x?y ra. Thng tin v? lm th? no ? lm i?u ny, xem "Restoring c quan ng k?"ho?c ch? i?m tr? gip tr?c tuy?n"Khi ph?c m?t Registry Key"trong Registry bin so?n.
Bung t?t c? | Thu g?n t?t c?

TM T?T

Windows NT Resource Kit cung c?p hai ti?n ch cho php b?n t?o m?t Windows NT user-defined d?ch v? cho cc ?ng d?ng Windows NT v m?t s? ?ng d?ng 16-bit (nhng khng ph?i cho t?p tin batch).

Instrsrv.exe ci ?t v lo?i b? d?ch v? h? th?ng t? Windows NT v Srvany.exe cho php b?t k? ?ng d?ng Windows NT ch?y nh m?t d?ch v?.

THNG TIN THM

? t?o ra m?t d?ch v? Windows NT ng?i dng xc ?nh, th?c hi?n theo cc b?c sau:
  1. M?t d?u nh?c l?nh MS-DOS (ch?y CMD.EXE), g? l?nh sau y:

    ?ng d?n\INSTSRV.EXE D?ch v? c?a ti ?ng d?n\SRVANY.EXE

    ni ?ng d?n li xe v th m?c c?a Windows NT Resource Kit (v d?, C:\RESKIT) v D?ch v? c?a ti l tn c?a d?ch v? b?n ang t?o.

    V d?:
    C: Program Files Files\Resource Kit\Instsrv.exe Notepad c: Program Files Files\Resource Kit\Srvany.exe
    CHU Y: ? xc minh r?ng cc d?ch v? ?c t?o ra m?t cch chnh xc, ki?m tra s? ng k? ? xc minh r?ng gi tr? ImagePath d?i
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tn d?ch v?
    ?c thi?t l?p ? tr? ?n SRVANY.EXE. N?u i?u ny khng ?c ?t ng, cc d?ch v? s? ng?ng ngay sau khi n b?t ?u v tr? v? m?t s? ki?n ID 7000 "The tn d?ch v? khng th? b?t ?u."

    CH ?: B?ng cch s? d?ng Registry Editor khng ng c th? gy ra v?n ? nghim tr?ng m c th? yu c?u b?n ph?i ci ?t l?i h? i?u hnh c?a b?n. Microsoft khng th? ?m b?o r?ng v?n ? pht sinh t? vi?c s? d?ng khng ng Bin t?p vin ng k? c th? ?c gi?i quy?t. S? d?ng Registry Editor nguy c c?a ring b?n.

    Thng tin v? cch ch?nh s?a registry, xem cc "thay ?i phm Ch? v cc gi tr?"tr?c tuy?n i?m tr? gip ho?c cc" thm v xo thng tin trong cc Ch? ng k?"v"Ch?nh s?a Registry Data"tr?c tuy?n i?m tr? gip trong s? ng k? Bin t?p vin.

    Lu ?: B?n nn sao lu s? ng k? tr?c khi b?n ch?nh s?a n.
  2. Ch?y Registry Editor (Regedt32.exe)and xc ?nh v? tr subkey sau y:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<my service=""></my>
  3. T? tr?nh n ch?nh s?a, nh?p vo thm Key. Lo?i d?i y v b?m OK:

    Kha tn: Parameters
    L?p:<leave blank=""></leave>
  4. Ch?n kha thng s?.
  5. T? tr?nh n ch?nh s?a, nh?p vo thm gi tr?. Lo?i d?i y v b?m OK:

    Gi tr? tn: ?ng d?ng
    Ki?u d? li?u: REG_SZ
    String : <path>\<application.ext></application.ext></path>

    ni <path>?c vi?t b?i admin<application.ext> l ? ?a v ?ng d?n ?y ? ? cc tr?nh th?c hi?n ?ng d?ng bao g?m cc ph?n m? r?ng (t?c l, C:\WinNT\Notepad.exe)</application.ext></path>
  6. ng Registry Editor.
Theo m?c ?nh, m?t d?ch v? m?i ?c thnh l?p n c?u h?nh ? ch?y t? ?ng khi h? th?ng ?c kh?i ?ng l?i. ? thay ?i thi?t ?t ny ? h?ng d?n s? d?ng, ch?y cc d?ch v? ti?u d?ng b?ng i?u khi?n v thay ?i gi tr? kh?i ?ng h?ng d?n s? d?ng. M?t d?ch v? t?p h?ng d?n s? d?ng c th? ?c b?t ?u t?i m?t trong m?t s? cch:
-T? cc d?ch v?, trong Control Panel applet

-T? m?t d?u nh?c l?nh MS-DOS, g? nh sau:

NET START<my service=""> </my>

-S? d?ng cc ti?n ch Sc.exe t? cc ngu?n ti nguyn Kit. G? sau y t? m?t d?u nh?c l?nh MS-DOS:

<path>\Sc.exe b?t ?u<my service=""> </my></path>

ni <path> l ? ?a v th m?c ti nguyn Windows NT Kit (v d?, C:\Reskit). </path>


? bi?t thm thng tin v? ci ?t v g? b? m?t ng?i dng xc ?nh d?ch v?, Xin vui l?ng xem ti li?u Srvany.wri ?c cung c?p v?i cc ngu?n ti nguyn Windows NT Ti?n ch Kit (v d?, C:\Reskit\Srvany.wri). Ti li?u ny c?ng c th? ?c t?m th?y Windows NT Resource Kit CD vo th m?c Common\Config.

Thu?c tnh

ID c?a bi: 137890 - L?n xem xt sau cng: 11 Thang Chin 2011 - Xem xt l?i: 3.0
p d?ng
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
T? kha:
kbhowto kbmt KB137890 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:137890

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com