還原 Windows 中使用適用於 Linux 的 Windows 子系統刪除的檔案

還原 Windows 中使用適用於 Linux 的 Windows 子系統刪除的檔案

想要刪除 WSL 中的符號連結時,我不小心包含了 -rf 選項,導致 WSL 刪除了我的 Windows 分割區上的基礎資料夾。

有什麼方法可以恢復我的資料嗎?

答案1

如果它是沒有備份的私人資料夾,則很可能沒有。

如果它是系統資料夾,您可以從系統磁碟中的命令列嘗試 dism /online /cleanup-image /restorehealth ,或者您可以嘗試使用所述磁碟進行自動修復。

相關內容