C?u h?nh c h?i kha trong Windows

D?ch tiu ? D?ch tiu ?
ID c?a bi: 296264 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TM T?T

Theo m?c ?nh, c h?i kha ?c kch ho?t cho my ch? my s? d?ng kh?i (giao th?c SMB) thng i?p m ch?y m?t trong cc h? i?u hnh Windows m ?c li?t k trong ph?n "p d?ng cho". C h?i kha cho php khch hng kha t?p v t?i ?a phng thng tin b? nh? cache khng c r?i ro c?a vi?c thay ?i ng?i dng khc cc t?p tin. i?u ny lm tng hi?u su?t cho r?t nhi?u cc ho?t ?ng t?p tin, nhng c th? lm gi?m hi?u su?t trong ho?t ?ng kinh doanh khc v? my ch? m cho php cc c h?i kha ph?i qu?n l? vi ph?m kha khi m?t ng?i dng yu c?u quy?n truy c?p vo cc t?p tin.

Ghi ch cho Windows Vista
  • Kha registry kha c h?i l h?p l? ch? cho truy?n th?ng SMB (SMB1). B?n khng th? t?t c h?i kha cho SMB2. SMB2 ? ?c gi?i thi?u trong Windows Vista cho php nhanh hn giao ti?p gi?a my tnh ang ch?y Windows Vista v Windows Server 2008 ho?c Windows Server 2008 R2.
  • N?u b?n v hi?u ha c h?i kha, t?p gin tuy?n tnh nng trong Windows Vista khng thnh cng.

THNG TIN THM

Quan tr?ng Ph?n, phng php ho?c nhi?m v? ny ch?a cc b?c cho b?n bi?t lm th? no ? s?a ?i registry. Tuy nhin, v?n ? nghim tr?ng c th? x?y ra n?u b?n s?a ?i registry khng chnh xc. V? v?y, h?y ch?c ch?n r?ng b?n lm theo cc b?c sau m?t cch c?n th?n. ? b?o v? ?c thm vo, sao lu s? ng k? tr?c khi b?n s?a ?i n. Sau , b?n c th? khi ph?c s? ng k? n?u m?t v?n ? x?y ra. ? bi?t thm chi ti?t v? lm th? no ? sao lu v khi ph?c s? ng k?, h?y nh?p vo s? bi vi?t sau y ? xem bi vi?t trong c s? ki?n th?c Microsoft:
322756 Cch sao lu v lu tr? s? ng k trong Windows


V? tr c?a cc m?c nh?p registry khch hng cho c h?i kha ? thay ?i t? v? tr trong Microsoft Windows NT. Trong phin b?n sau c?a Windows, b?n c th? v hi?u ha c h?i kha b?ng cch thi?t l?p cc m?c nh?p registry sau 1:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
OplocksDisabled REG_DWORD 0 hay 1
M?c ?nh: 0 (khng ph?i v hi?u ha)
Chu y M?c nh?p OplocksDisabled c?u h?nh Windows khch hng yu c?u hay khng ? yu c?u ? kha c h?i trn m?t xa t?p tin.

B?n c?ng c th? t? ch?i vi?c c?p ? kha c h?i b?ng cch thi?t l?p cc m?c nh?p registry sau 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
EnableOplocks REG_DWORD 0 hay 1
M?c ?nh: 1 (b?t)
Chu y M?c nh?p EnableOplocks c?u h?nh Windows trn my ch? ? cho php ho?c t? ch?i c h?i ? kha trn t?p c?c b?. Cc my ch? bao g?m cc my tr?m lm vi?c chia s? t?p tin.

Trong Ngoi ra, b?n c th? s? d?ng cc gi tr? sau y ? i?u ch?nh c h?i kha cho My Windows d?a trn tnh ? c?p ? kha c h?i.

Cc sau gi tr? xc ?nh thng l?ng t?i thi?u lin k?t my ch? cho php tr?c khi n v hi?u ha cc ? kha nguyn v c h?i cho k?t n?i ny:
MinLinkThroughput REG_DWORD 0 ?n v h?n byte / giy
M?c ?nh: 0
Gi tr? sau y xc ?nh t?i a th?i gian ?c cho php ?i v?i m?t s? ch?m tr? lin k?t. N?u s? ch?m tr? v?t qu con s? ny, cc my ch? v hi?u ha nguyn I/O v c h?i kha cho k?t n?i ny.
MaxLinkDelay REG_DWORD 0 ?n 100.000 giy
M?c ?nh: 60
Cc sau gi tr? xc ?nh th?i gian m cc my ch? ch? ?i cho m?t khch hng ? p ?ng m?t yu c?u ngh? oplock. Gi tr? nh? hn cho php pht hi?n b? ri khch hng nhanh hn, nhng c ti?m nng c th? gy ra m?t d? li?u ?c lu tr?.
OplockBreakWait REG_DWORD 10-180 giy
M?c ?nh: 35
Chu y B?n ph?i kh?i ?ng l?i my tnh ? nh?ng thay ?i c quan ng k? c c hi?u l?c.

Thu?c tnh

ID c?a bi: 296264 - L?n xem xt sau cng: 25 Thang Tam 2011 - Xem xt l?i: 3.0
p d?ng
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Web Server 2008 R2
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Ultimate
  • Windows 7 Enterprise
  • Windows 7 Professional
  • Windows 7 Ultimate
T? kha:
kbenv kbfilesystems kbinfo w2000fs kbmt KB296264 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:296264

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