SOGO論壇
  登入   註冊   找回密碼
查看: 3103|回覆: 0
列印 上一主題 下一主題

[系統工具] [心得分享] 用Windows 作業系統 cmd 指令 CHKDSK 永久修復HDD硬碟上的壞軌 ,SSD 損壞區塊。 [複製連結]

Rank: 13Rank: 13Rank: 13Rank: 13

原創及親傳圖影片高手勳章 熱心參予論壇活動及用心回覆主題勳章 3C商品達人勳章 流行教主勳章 品味生活區勳章 醫療天使勳章 民俗耆老勳章 哥哥你好色 轉吧七彩摩天輪 小說之星勳章 藝術之星 IQ博士勳章 IQ180解題高手勳章 時尚教主勳章 星座之星勳章 SOGO搞笑之星勳章 懷舊風車之星勳章 手機遊戲智慧王勳章 動漫達人勳章 手工藝勳章 經典文章之星勳章 婚姻專家勳章 幸福家庭勳章 影音達人勳章 正妹貼圖區主題分享達人勳章 環瀛達人勳章 校園生活勳章 福爾摩沙龍勳章 發明家勳章 汽車達人勳章 機車達人勳章 美食達人勳章 旅遊玩家勳章 暢飲達人勳章 西方宗教達人勳章 方寸之美勳章 模型怪怪貓勳章 拈花惹草勳章 寵物達人勳章 笑臉討論主勳章 會員榮譽勳章

狀態︰ 離線
跳轉到指定樓層
1
發表於 2024-5-24 05:40:40 |只看該作者 |倒序瀏覽
本文最後由 old2009 於 2024-5-29 09:04 編輯

補充說明: 因為我的電腦不能安裝Win11 因為是舊電腦 連虛擬機器也不行 所以不能裝 Win11
事件檢視器 Win11 事件識別碼 請大家試一試 26214 或 26226
如果不行 那我也沒辦法 因為我的電腦不能裝Win11  抱歉了

我的作業系統是Win10 我以Win10作測試




用Windows 作業系統 cmd 指令 CHKDSK 永久修復HDD硬碟上的壞軌,   SSD 損壞區塊。(邏輯性壞軌可修復, 如果是物理性壞軌就不能修復了,只能買新的硬碟了。SSD是 損壞區塊 )
   




微軟的作業系統還是很棒的~有很多功能 以後我會再分享的


CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]


  volume              指定磁碟機代號 (後接冒號)、掛接點或磁碟區名稱。
  filename            僅限 FAT/FAT32: 指定要進行分散程度檢查的檔案。
  /F                  修正磁碟上的錯誤。
  /V                  FAT/FAT32: 顯示磁碟上每個檔案的完整路徑與名稱。
                      NTFS: 顯示清除訊息 (如果有的話)。
  /R                  找出損壞的磁區並復原可讀取的資訊 (意指未指定 /scan 時
                      使用 /F)。
  /L:size             僅限 NTFS: 將記錄檔大小變更為指定的 KB 值。如果沒有指定
                      大小,會顯示目前的大小。
  /X                  如果有需要的話,先強制卸載磁碟區。在該磁碟區上開啟的所有
                      控制代碼都會失效 (意指使用 /F)。
  /I                  僅限 NTFS: 對索引項目執行強度較小的檢查。
  /C                  僅限 NTFS: 跳過資料夾結構的循環檢查。
  /B                  僅限 NTFS: 重新評估磁碟區上的錯誤叢集 (意指使用 /R)。
  /scan               僅限 NTFS: 在磁碟區上執行線上掃描
  /forceofflinefix    僅限 NTFS: (必須搭配 "/scan" 使用)
                      略過所有線上修復; 找到的所有瑕疵會排入離線修復的佇列
                      (例如,"chkdsk /spotfix")。
  /perf               僅限 NTFS: (必須搭配 "/scan" 使用)
                      使用較多的系統資源,以儘可能用最快的速度完成掃描。
                      這可能對系統上執行的其他工作有負面的效能影響。
  /spotfix            僅限 NTFS: 在磁碟區上執行問題點修正
  /sdcleanup          僅限 NTFS: 回收不需要的安全性描述元資料 (意指使用 /F)。
  /offlinescanandfix  對磁碟區執行離線掃描並進行修正。
  /freeorphanedchains 僅限 FAT/FAT32/exFAT: 釋放所有孤立的叢集鏈結,而非復原
                      其內容。
  /markclean          僅限 FAT/FAT32/exFAT: 若未偵測到損毀,將磁碟區標示為沒有
                      錯誤 (即使未指定 /F)。

使用 /I 或 /C 切換參數可跳過某些磁碟區檢查,以便在執行 Chkdsk 時縮短檢查時間。



.....................................................................................................................

我的是SSD  所以我用SSD測試



, SSD是500G的(開始按右鍵就可看到    Windows PowerShell(系統管理員)    輸入 Get-PhysicalDisk     Size:465.76 GB , MediaType: SSD     )

用cmd 指令 如下: 請按右鍵以系統管理員身份執行

在搜尋框 輸入cmd


 

 

 



SSD速度比較快, 我 C槽 209G( 花了5分鐘測試)   , D槽 255G (花了6分鐘多測試)

在命令提示字元視窗中,輸入以下指令:   我SSD硬碟有 C槽及D槽 要作2次  C槽是放置作業系統的儲存空間  要重新開機才能執行 ,  其他槽不用重新開機 直接在桌面上執行

chkdsk c: /f /r /x   

chkdsk d: /f /r /x



  C槽是放置作業系統的儲存空間  要重新開機才能執行




「/f」參數是告訴CHKDSK修復它發現的任何錯誤;「/r」負責定位壞軌並恢復可讀資訊;「/x」強制硬碟在開始前先卸除。


...............................................................................................................................


C槽 用事件檢視器 查看結果




開始--Windows系統管理工具--事件檢視器


 



 


用 ctrl+c  ctrl+v 複製貼上 到 記事本

 







看這二行:

1.     Windows has scanned the file system and found no problems.
        No further action is required.(Windows 已掃描檔案系統,沒有發現問題。不需要採取進一步行動。)

2.     0 KB in bad sectors.(我的 SSD 沒有損壞區塊, 如果你的是HDD 就是沒有壞軌 )




Checking file system on C:
The type of the file system is NTFS.

A disk check has been scheduled.
Windows will now check the disk.                        

Stage 1: Examining basic file system structure ...
  459008 file records processed.                                                         
File verification completed.
Phase duration (File record verification): 4.46 seconds.
  3120 large file records processed.                                    
Phase duration (Orphan file record recovery): 0.00 milliseconds.
  0 bad file records processed.                                      
Phase duration (Bad file record checking): 1.15 milliseconds.

Stage 2: Examining file name linkage ...
  385 reparse records processed.                                       
  715280 index entries processed.                                                        
Index verification completed.
Phase duration (Index verification): 20.27 seconds.
  0 unindexed files scanned.                                         
Phase duration (Orphan reconnection): 2.49 seconds.
  0 unindexed files recovered to lost and found.                     
Phase duration (Orphan recovery to lost and found): 1.80 milliseconds.
  385 reparse records processed.                                       
Phase duration (Reparse point and Object ID verification): 5.90 milliseconds.

Stage 3: Examining security descriptors ...
Cleaning up 739 unused index entries from index $SII of file 0x9.
Cleaning up 739 unused index entries from index $SDH of file 0x9.
Cleaning up 739 unused security descriptors.
Security descriptor verification completed.
Phase duration (Security descriptor verification): 84.63 milliseconds.
  128137 data files processed.                                            
Phase duration (Data attribute verification): 1.23 milliseconds.
CHKDSK is verifying Usn Journal...
  8294056 USN bytes processed.                                                            
Usn Journal verification completed.
Phase duration (USN journal verification): 59.52 milliseconds.

Stage 4: Looking for bad clusters in user file data ...
  458992 files processed.                                                               
File data verification completed.
Phase duration (User file recovery): 2.03 minutes.

Stage 5: Looking for bad, free clusters ...
  44445515 free clusters processed.                                                        
Free space verification is complete.
Phase duration (Free space recovery): 0.00 milliseconds.

Windows has scanned the file system and found no problems.
No further action is required.(Windows 已掃描檔案系統,沒有發現問題。不需要採取進一步行動。)

219462655 KB total disk space.
  40921752 KB in 325931 files.
    216820 KB in 128138 indexes.
         0 KB in bad sectors.(我的 SSD 沒有損壞區塊, 如果你的是HDD 就是沒有壞軌 )
    542019 KB in use by the system.
     65536 KB occupied by the log file.
177782064 KB available on disk.

      4096 bytes in each allocation unit.
  54865663 total allocation units on disk.
  44445516 allocation units available on disk.
Total duration: 2.49 minutes (149562 ms).

Internal Info:
00 01 07 00 bf ed 06 00 d8 86 0c 00 00 00 00 00  ................
98 00 00 00 e9 00 00 00 00 00 00 00 00 00 00 00  ................



.....................................................................................................


cmd 以系統管理員身份執行


輸入

chkdsk d: /f /r /x





D槽 直接在命令提示字元 窗格看結果


 








喜歡嗎?分享這篇文章給親朋好友︰
               感謝作者     

活著,就要善待自己。
請注意︰利用多帳號發表自問自答的業配文置入性行銷廣告者,將直接禁訪或刪除帳號及全部文章!
您需要登錄後才可以回覆 登入 | 註冊


本論壇為非營利自由討論平台,所有個人言論不代表本站立場。文章內容如有涉及侵權,請通知管理人員,將立即刪除相關文章資料。侵權申訴或移除要求:abuse@oursogo.com

GMT+8, 2024-6-17 00:14

© 2004-2024 SOGO論壇 OURSOGO.COM
回頂部