綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

[分享] 用Windows 作業系統 cmd 指令 CHKDSK 永久修復HDD硬碟上的壞軌 ,SSD 損壞區塊。

[複製連結] 查看: 1262|回覆: 0|好評: 0
跳轉到指定樓層
樓主
old2009 | 收聽TA | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
發表於 2024-5-24 05:46

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
本帖最後由 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槽 直接在命令提示字元 窗格看結果



                               
登錄/註冊後可看大圖










「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 1碎鑽 +3 經驗 +1 幫助 +5 收起 理由
死神殺手 + 3 + 1 + 5 你的付出,對會員幫助很大唷!.

查看全部評分

收藏收藏 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則