S? d?ng cng c? Tr?nh ki?m tra T?p H? th?ng ? s?a ch?a cc t?p h? th?ng b? thi?u ho?c b? h?ng

D?ch tiu ? D?ch tiu ?
Tr?nh ki?m tra T?p H? th?ng l m?t ti?n ch trong Windows cho php ng?i dng qut cc h h?ng trong t?p h? th?ng c?a Windows v khi ph?c cc t?p b? h?ng. Bi vi?t ny m t? cch ch?y cng c? Tr?nh ki?m tra T?p H? th?ng (SFC.exe) ? qut t?p h? th?ng c?a b?n v ? s?a ch?a cc t?p h? th?ng b? thi?u ho?c b? h?ng trong Windows 8.1, Windows 8, Windows 7 ho?c Windows Vista. N?u t?p B?o v? Ti nguyn c?a Windows (WRP) b? thi?u ho?c b? h?ng, Windows c th? khng ho?t ?ng nh mong ?i. V d?, m?t s? ch?c nng c?a Windows c th? khng ho?t ?ng ho?c Windows c th? b? s?p.

Ch?y cng c? Tr?nh ki?m tra T?p H? th?ng (SFC.exe)

? th?c hi?n vi?c ny, h?y lm theo cc b?c sau:
  1. M? m?t d?u nh?c l?nh nng cao. ? th?c hi?n vi?c ny, h?y th?c hi?n i?u sau ph h?p v?i b?n:
    Windows 8.1 ho?c Windows 8
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    Vu?t vo t? c?nh ph?i c?a mn h?nh, r?i ch?m vo T?m ki?m. Ho?c, n?u b?n ang s? d?ng chu?t, tr? vo gc d?i bn ph?i c?a mn h?nh r?i b?m T?m ki?m. Nh?p D?u nh?c L?nh vo T?m ki?m, b?m chu?t ph?i vo D?u nh?c L?nh, r?i b?m Ch?y v?i t cch qu?n tr? vin. N?u b?n ?c nh?c nh?p m?t kh?u qu?n tr? vin ho?c xc nh?n, h?y g? m?t kh?u ho?c b?m Cho php.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ?nh ch?p mn h?nh cho b?c ny.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    Windows 7 ho?c Windows Vista
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ? th?c hi?n vi?c ny, b?m B?t ?u, nh?p D?u nh?c L?nh ho?c cmd vo T?m ki?m, b?m chu?t ph?i vo D?u nh?c L?nh, r?i b?m Ch?y v?i t cch qu?n tr? vin. N?u b?n ?c nh?c nh?p m?t kh?u qu?n tr? vin ho?c ?c nh?c ? xc nh?n, h?y nh?p m?t kh?u ho?c b?m Cho php.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ?nh ch?p mn h?nh cho b?c ny.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
  2. Tai du nhc lnh, nhp lnh sau ri nhn ENTER:
    sfc /scannow
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ?nh ch?p mn h?nh cho b?c ny.


    Lnh sfc /scannow se quet tt ca cac tp h thng c bao v va thay th cac tp bi hong bng ban sao c lu trong b nh cache nm trong th muc a nen tai %WinDir%\System32\dllcache.
    Tr?nh gi? ch? %WinDir% th? hi?n th m?c h? i?u hnh Windows. V d?: C:\Windows.

    Ch ? Khng ng c?a s? D?u nh?c L?nh ny cho ?n khi qu tr?nh xc minh hon t?t 100%. K?t qu? qut s? ?c hi?n th? sau khi qu tr?nh ny hon t?t.
  3. Sau khi hon thnh qu tr?nh, b?n c th? nh?n ?c m?t trong cc thng bo l?i sau:
    • B?o v? Ti nguyn Windows khng t?m th?y b?t k? hnh vi vi ph?m tnh ton v?n no.

      i?u ny ngh?a l b?n khng c b?t k? t?p h? th?ng no b? h?ng ho?c b? thi?u.
    • B?o v? Ti nguyn Windows khng th? th?c hi?n thao tc ? yu c?u.

      ? kh?c ph?c s? c? ny, h?y th?c hi?n qut Tr?nh ki?m tra T?p H? th?ng trong ch? ? an ton v ?m b?o cc th m?c PendingDeletes v PendingRenames c trong %WinDir%\WinSxS\Temp.
    • B?o v? Ti nguyn Windows ? t?m th?y cc t?p b? h?ng v s?a ch?a chng thnh cng. Chi ti?t ?c bao g?m trong CBS.Log %WinDir%\Logs\CBS\CBS.log.

      ? xem thng tin chi ti?t v? qut t?p h? th?ng v vi?c khi ph?c, h?y i t?i Cch xem chi ti?t v? quy tr?nh Tr?nh ki?m tra T?p H? th?ng.
    • B?o v? Ti nguyn Windows ? t?m th?y cc t?p b? h?ng nhng khng th? kh?c ph?c m?t s? t?p. Chi ti?t ?c bao g?m trong CBS.Log %WinDir%\Logs\CBS\CBS.log.

      ? s?a ch?a cc t?p b? h?ng theo cch th? cng, xem chi ti?t c?a quy tr?nh Tr?nh ki?m tra T?p H? th?ng ? t?m t?p b? h?ng, sau thay th? th? cng t?p b? h?ng b?ng b?n sao t?t ? bi?t c?a t?p.

? bi?t thm thng tin

Cch xem chi ti?t quy tr?nh Tr?nh ki?m tra T?p H? th?ng

? xem chi ti?t bao g?m trong t?p CBS.Log, b?n c th? sao chp thng tin vo t?p Sfcdetails.txt b?ng l?nh Findstr, r?i xem chi ti?t trong Sfcdetails.txt. ? th?c hi?n vi?c ny, h?y lm theo cc b?c sau:
  1. M? d?u nh?c l?nh nng cao nh ?c m t? trong b?c 1 tr?c .
  2. Tai du nhc lnh, nhp lnh sau ri nhn ENTER:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    Ch ? T?p Sfcdetails.txt ch?a cc chi ti?t t?i m?i th?i i?m m cng c? Tr?nh ki?m tra T?p H? th?ng ? ch?y trn my tnh. T?p ny bao g?m thng tin v? cc t?p cha ?c s?a ch?a b?i cng c? Tr?nh ki?m tra T?p H? th?ng. Xc minh cc m?c ngy v gi? ? xc ?nh cc t?p g?p s? c? ? ?c t?m th?y vo l?n cu?i cng b?n ch?y cng c? Tr?nh ki?m tra T?p H? th?ng.
  3. M? t?p Sfcdetails.txt t? my tnh ? bn.
  4. T?p Sfcdetails.txt s? d?ng ?nh d?ng sau:
    Chi ti?t SFC Ngy/Gi?
    T?p nh?t k? m?u sau c ch?a m?t m?c c?a t?p khng th? s?a ch?a ?c:
    2007-01-12 12:10:42, Info                  CSI    00000008 [SR] Cannot repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing

Cch thay th? th? cng t?p h? th?ng b? h?ng b?ng b?n sao t?t ? bi?t c?a t?p

Sau khi b?n xc ?nh t?p h? th?ng no b? h?ng v khng th? s?a ch?a ?c thng qua thng tin chi ti?t trong t?p Sfcdetails.txt, h?y t?m v? tr c?a t?p b? h?ng, r?i thay th? th? cng t?p b? h?ng b?ng b?n sao t?t ? bi?t c?a t?p ny. thc hin vic nay, lam theo cac bc sau:

Ch ? B?n c th? c b?n sao t?t ? bi?t c?a t?p h? th?ng t? my tnh khc ang ch?y cng phin b?n Windows v?i my tnh c?a b?n. B?n c th? th?c hi?n quy tr?nh Tr?nh ki?m tra T?p H? th?ng trn my tnh ? ?m b?o t?p h? th?ng m b?n ?nh sao chp l b?n sao t?t.
  1. L?y quy?n s? h?u qu?n tr? c?a t?p h? th?ng b? h?ng. ? th?c hi?n vi?c ny, t?i d?u nh?c l?nh nng cao, sao chp r?i dn (ho?c nh?p) l?nh sau, r?i nh?n ENTER:
    takeown /f Path_And_File_Name
    Ch ? Tr?nh gi? ch? Path_And_File_Name th? hi?n ?ng d?n v tn t?p c?a t?p b? h?ng. V d?: nh?p takeown /f C:\windows\system32\jscript.dll.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ?nh ch?p mn h?nh cho b?c ny.
  2. C?p cho qu?n tr? vin quy?n truy c?p ?y ? vo t?p h? th?ng b? h?ng. ? th?c hi?n vi?c ny, sao chp v dn (ho?c nh?p) l?nh sau, r?i nh?n ENTER:
    icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
    Ch ? Tr?nh gi? ch? Path_And_File_Name th? hi?n ?ng d?n v tn t?p c?a t?p b? h?ng. V d?: nh?p icacls C:\windows\system32\jscript.dll /grant administrators:F.
    Thu g?n h?nh ?nh nyBung r?ng h?nh ?nh ny
    ?nh ch?p mn h?nh cho b?c ny.
  3. Thay th? t?p h? th?ng b? h?ng b?ng b?n sao t?t ? bi?t c?a t?p. ? th?c hi?n vi?c ny, sao chp v dn (ho?c nh?p) l?nh sau, r?i nh?n ENTER:
    Sao chp Source_File ch
    Ch ? Tr?nh gi? ch? Source_File th? hi?n ?ng d?n v tn t?p c?a b?n sao t?t ? bi?t c?a t?p trn my tnh c?a b?n v tr?nh gi? ch? ch th? hi?n ?ng d?n v tn t?p c?a t?p b? h?ng. V d?: nh?p copy E:\temp\jscript.dll C:\windows\system32\jscript.dll.

Gii thiu v bai vit nay

ID c?a bi: 929833
nh gi cu?i cng: 08 Thang Ba 2014
p d?ng: Windows 8.1, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8, Windows 8 Enterprise, Windows 8 Pro, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Starter, Windows 7 Ultimate, Windows Vista Enterprise 64-bit edition, Windows Vista Ultimate 64-bit edition, Windows Vista Business, Windows Vista Business 64-bit edition, Windows Vista Enterprise, Windows Vista Ultimate
B?n c mu?n cung c?p ph?n h?i v? bi vi?t ny khng?
 

Get more support from smallbusiness.support.microsoft.com

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.