在 Windows 11 中执行系统还原的步骤
如果您的设备出现错误或崩溃,请按照 Windows 11 中系统还原的步骤,将您的设备恢复到先前版本。
存儲空間是您系統的重要組成部分之一,不管您喜不喜歡,您將來很可能會用完它。釋放存儲空間的一個好方法是管理最大的文件。您可以將它們移動到不同的驅動器、雲存儲,甚至在不再需要它們時將其刪除。
在某些情況下,如果您不想很快使用它們,您甚至可以壓縮它們。但是你如何找到大文件呢?手動瀏覽每個文件夾可能很乏味,而且使用清潔器的效率也不夠高。值得慶幸的是,有一些巧妙的方法可以在 Windows 11 中查找系統上的大文件。請使用以下指南開始。
內容
在 Windows 11 上查找大文件:提示
可以根據類型、種類、日期等對大文件進行排序。最好的方法是在文件資源管理器中使用 Windows 搜索。您可以使用專用術語來定義您要查找的文件並根據文件大小對其進行過濾。然後,您可以使用文件資源管理器排序選項在搜索結果中找到最大的。
因此,如果這不符合您的條件或者您無法找到您要查找的文件,那麼您可以使用本指南中列出的其他方法之一。
方法 #01:在資源管理器中使用搜索(推薦)
我們現在將根據您的條件搜索大文件。
按Windows + E
鍵盤打開文件資源管理器,然後單擊右上角的搜索框。搜索以下術語。
size:gigantic
現在將過濾結果,大於 4GB 的文件現在將顯示在您的屏幕上。選擇您在 PC 上不需要的不需要的文件,只需刪除它們即可釋放一些空間。如果您希望使用較小的最小文件大小,則根據您喜歡的大小將“巨大”替換為以下術語之一。
就是這樣!您可以通過這種方式使用 Windows 搜索來按文件大小過濾文件,並找到您 PC 上當前最大的文件。
注意:如果您的 PC 索引並顯示系統文件,那麼我們建議您在刪除文件之前仔細檢查文件,以避免從您的系統中刪除任何重要的系統文件。
您現在可以使用 Windows 搜索在您的 PC 上找到大文件。
1.1 如果搜索不適合您怎麼辦:嘗試的提示
如果輸入“size:gigantic”對您不起作用,則您需要從 Windows 10 切換到舊的文件資源管理器。使用下面的指南開始。
切換回舊的文件瀏覽器後,請使用上面的指南搜索大文件。找到後,使用下面的後續指南將新的 Windows 11 文件資源管理器重新安裝到您的系統上。
1.1.1 切換到舊文件瀏覽器
按下Windows + S
鍵盤並蒐索“Regedit”。單擊並從搜索結果中啟動該應用程序。
導航到以下目錄或將以下地址複製粘貼到地址欄中。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions
單擊名為“已阻止”的文件夾。
右鍵單擊右側的空白區域,選擇“新建”,然後單擊“DWORD(32 位)值”。
輸入以下名稱,然後按鍵盤上的 Enter。我們建議您複製粘貼相同的內容以避免任何命名錯誤。
{e2bf9676-5f8f-435c-97eb-11607a5bedf7}
關閉註冊表編輯器並按 Ctrl + Shift + Esc 打開任務管理器。切換到“詳細信息”選項卡。
單擊“Explorer.exe”並按鍵盤上的 Del。
單擊“結束進程”以確認您的選擇。
單擊“文件”並選擇“運行新任務”。
在文本框中輸入以下內容,然後單擊“確定”。
explorer.exe
Windows 文件資源管理器現在將在您的系統上重新啟動,它應該恢復為 Windows 10 文件資源管理器。您可以打開一個隨機文件夾進行檢查。確認您已返回舊文件瀏覽器並使用上面的指南在您的系統上查找大文件。
1.1.2 切換回新的文件瀏覽器
我們現在可以恢復到舊的文件瀏覽器。請按照以下指南開始。
按下Windows + S
鍵盤並蒐索 Regedit。一旦應用程序出現在您的搜索結果中,單擊並啟動該應用程序。
導航到以下路徑或將其複制粘貼到地址欄中。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions
只需單擊我們之前創建的 DWORD(32 位)值,然後按鍵盤上的 Del。單擊“是”以確認您的選擇。
按鍵盤上的 Ctrl + Shift + Esc 並切換到“詳細信息”選項卡。
單擊“explorer.exe”並按鍵盤上的 Del。
單擊“結束進程”。
單擊“文件”並選擇“運行新任務”。
輸入“explorer.exe”並按鍵盤上的 Enter 鍵。
您現在可以關閉 PC 上的任務管理器和註冊表編輯器。
就是這樣!您現在將返回到 Windows 11 上的新文件資源管理器。 除了大小參數外,您還可以使用以下命令在您的 PC 上搜索不同的文件並按大小對它們進行排序。通過這種方式,您可以找到系統上最大的。
1.2 按文件類型查找
與上面的命令類似,您可以使用 'kind:' 參數在當前目錄中查找某些文件。'kind' 參數將允許您查找日曆文件、文本文檔、圖片、視頻遊戲等。
以這種方式使用 kind 參數時,您不受 Windows 預定義類別的限制,相反,您還可以定義特定的文件擴展名,以便在您的 PC 上找到它們,如下所示。
kind:.exe
上面的命令將幫助您在當前目錄中查找可執行文件。
同樣,使用下面的命令將幫助您在所選目錄中查找 PDF 文件。
kind:.pdf
就是這樣!您可以使用這些命令通過 Windows 搜索在您的 PC 上查找某些文件。
1.3 按日期查找文件
您還可以使用 'date:' 參數來查找在特定日期創建的文件。此外,此命令可以與下面的布爾過濾器結合使用,以查找在您的 PC 上某個日期之前或之後創建或修改的文件。例如,如果要查找 2020 年 1 月 1 日創建的文件,則可以使用以下命令。
date: 1/1/2020
同樣,如果要查找 2021 年 1 月 1 日創建的文件,則可以使用以下命令。
date: 1/1/2021
1.4 使用布爾過濾器
布爾過濾器可以幫助您同時或相互結合搜索多個術語。使用下面最適合您當前要求的過濾器。
1.4.1 'AND' 參數
您可以使用 AND 參數一起搜索兩個搜索詞。通過這種方式,您可以查找包含兩個術語而不是其中任何一個的文件,這應該可以幫助您過濾掉包含任一術語的不需要的結果。
例如,如果要查找名稱中包含“Samsung”和“galaxy”字樣的文件,那麼我可以使用以下術語來搜索您的文件。
Samsung AND galaxy
這將過濾掉名稱中僅包含“Samsung”和“Galaxy”的文件。帶有任一術語的文件將被過濾掉。
“或”參數
OR 參數與 AND 參數相反,允許您搜索包含搜索詞中任一詞條的文件。例如,如果我想搜索名稱中包含“Apple”或“Airpods”的文件,則可以使用以下搜索詞。
apple OR airpods
同樣,如果我要在特定目錄中查找 PDF 和 EXE 文件,則可以使用以下命令。
kind:.exe OR .pdf
這就是您可以如何使用 OR 參數在單個文件名中查找多個搜索詞。
1.4.2 'NOT' 參數
如果您想過濾掉某個搜索詞或文件類型,那麼您可以使用 NOT 參數。NOT 參數將根據您的選擇排除所需的文件類型、種類、大小或名稱。
例如,如果在一個充滿 .docx 文件的文件夾中您正在尋找其他文件類型並希望將它們全部過濾掉,那麼您可以使用以下命令。
kind: NOT .docx
同樣,如果我要查找名稱中沒有“Apple”的文件,則可以使用以下搜索詞。
NOT apple
1.4.3 括號
括號是一個布爾過濾器,通常在您搜索文件內容時也使用。搜索括號 () 之間包含的任何內容,並在屏幕上顯示包含其中一個或所有術語的文件。
例如,如果要查找包含“Apple、Samsung、Mi、Microsoft 和 Dell”或所有這些術語的文件,則可以使用以下術語。
(Apple Samsung Mi Microsoft Dell)
同樣,如果要查找多種文件類型,您可以使用以下命令。
kind:(.exe .pdf .txt)
就是這樣!您現在可以利用括號在特定文件中查找多個搜索詞。
1.4.4 '>' 和 '<'>
這兩個布爾過濾器通常用於查找文件類型或根據參數對結果進行排序時。
大於和小於參數可用於根據數字過濾結果。例如,如果要查找日期在 2021 年 1 月 1 日之後的文件,則可以使用以下命令。
date: >1/1/2021
同樣,如果要查找小於 10GB 的文件,則可以使用以下命令。
size: <>
您可以通過這種方式使用大於和小於參數來發揮自己的優勢,並在您的系統上找到所需的文件。
在 Windows 上查找大文件的高級方法
下面列出了您可以在系統上找到大文件的其他一些方法。按照指南開始。
方法 #02:使用 CMD
CMD 還可以幫助您查找系統上的大文件。使用以下指南幫助您入門。
按下Windows + E
鍵盤並導航到要搜索大文件的位置,然後單擊頂部的地址欄。
輸入 CMD,然後按鍵盤上的 Enter。
CMD 現在將在特定文件夾中啟動。輸入以下命令並將“PATH”替換為我們複製到剪貼板的路徑。
forfiles /S /M * /C “cmd /c if @fsize GEQ 1073741824 echo @path > largefiles.txt
上述命令將在您的 PC 上查找大於 1GB 的文件。如果您希望定義更大的最小尺寸,請將“1073741824”替換為以下選項之一。
使用所需的變量執行命令,將在同一位置創建一個文本文件,其中包含根據您的條件在系統上找到的所有大文件的列表。您還將在文本文件中找到本地存儲中每個文件的路徑。
您可以使用此列表來確定當前位置中最大的文件,然後自行決定刪除它們以釋放系統上的一些磁盤空間。
方法 #03:使用 PowerShell
您還可以使用 PowerShell 查找系統上的大文件。就像 CMD 的命令一樣,PowerShell 將根據最小大小搜索本地文件並顯示所有大於它的文件。使用以下指南幫助您入門。
按鍵盤上的 Windows + E 並導航到要查找大文件的位置。單擊頂部的地址欄並輸入“PowerShell”。完成後按鍵盤上的 Enter 鍵。
在 PowerShell 窗口中復制粘貼以下命令,然後按鍵盤上的 Enter。
gci -r| sort -descending -property 長度 | 選擇 - 前 10 個名稱,長度
您現在將獲得當前佔用系統磁盤空間最多的前 10 個最大文件的列表。如果您希望查看前 20 個文件,請將“select-first 10”替換為“select-first 20”。
PowerShell 現在將查找並顯示系統上 20 個最大的文件及其大小。文件大小將以字節為單位,這使得以千兆字節來判斷文件的大小有點困難。
就是這樣!現在,您將在 Windows 11 中使用 PowerShell 找到 PC 上最大的文件。
2 在 Windows 上查找大文件的最佳應用
許多第三方工具允許您查看 PC 磁盤使用情況的可視化表示。
這使您可以更輕鬆地識別佔用硬盤驅動器大量空間的大塊文件。我們推薦的工具是 SpaceSniffer 和 WinDirStat。根據您要使用的工具,使用以下指南之一。
方法 #04:使用 SpaceSniffer
Space Sniffer is another popular third-party utility used to analyze disk space usage on Windows 11. SpaceSniffer can help you identify large files using huge amounts of space on your system. You can also find hidden files taking huge disk space on your PC using the SpaceSniffer. Use the guide below to get you started.
Download SpaceSniffer to your PC using the link above. A portable .exe will be downloaded to your system. Extract the archive and right-click on the .exe file.
Select ‘Run as administrator’.
Now select the drive you wish to scan. If you wish to analyze and find large files in a particular directory, then you can enter its path in the text box below.
You will now be shown a graphical representation of your disk space usage on your screen. Simply hover over the largest chunk and you will be shown the name of the folder or file occupying that space.
And that’s it! You can use SpaceSniffer this way to identify the largest files on your system by simply looking at the largest chunks on your screen.
Method #05: Using WinDirStat
WinDirStat is a popular open-source utility often used to generate a graphical representation of your local storage space in a user-friendly manner. This makes it easier to identify large chunks of your disk space occupied by a single file, folder, or archive, which in turn will make it easier for you to free up some space on your PC. Use the guide below to identify what is taking up space on your Windows 11 PC.
Download and install WinDirStat on your PC using the link above. Once installed, launch the app.
Now select one of the options that best suit your needs. If you only have a single drive installed on your system with a single partition, then you can skip this step. Click on ‘Ok’ once you are done.
Your drives will now be analyzed and you can track the progress for the same at the bottom of the window.
Once analyzed, a color-coded graphical representation of the disk space usage on the selected drive(s) will be shown on your screen. Simply click on the largest chunks to identify the largest files.
Press Del on your keyboard to delete the file. This will send it to your recycle bin and you can decide its fate when reviewing your recycle bin items. Alternatively, you can use Shift + Del to permanently delete the item from your system.
And that’s it! You can repeat the last steps to delete more of the largest files from your system.
Other Third-Party apps as alternative
The world of third-party alternatives is a huge one and thus, the above-mentioned tools are not the only ones that you can use to analyze your disk usage. Here are some alternatives with unique features that might be more suited for your current needs and requirements.
More ways to clear storage on Windows 11
If you’re looking to reclaim your storage space then there are tons of more things that you can do besides clearing or moving your largest files. You can clear caches, stop programs, reduce dedicated storage space, clear temporary files, remove leftover files, and much more. Refer to this dedicated guide by us that should help you clear space on Windows 11 in every way possible.
Should you use disk space analyzers?
Disk Space Analyzers have long been the ultimate utility to identify where exactly your disk space is being used. Most of them stem from long-standing communities while others have over decades of experience. If you’re divided on using disk space analyzers, then your best bet would be to opt for something that is open source.
The modern world of the internet is centered around data collection and like it or not, every service is gathering and collecting some type of data from your usage of their tool. Hence most disk analyzers nowadays, also have the option to share your usage data and more. Additionally, if you decide to opt for something new and untested then the risks are even higher.
Hence, we recommend you use disk space analyzers but do verify their origin and reputation before running them on your system. If you do not wish to go through the hassle of reading reviews, we recommend you simply try an open-source alternative from a trusted source.
We hope this guide helped you easily find the largest files using disk space on your system. If you face any issues or errors during the process, feel free to reach out to us using the comments section below.
如果您的设备出现错误或崩溃,请按照 Windows 11 中系统还原的步骤,将您的设备恢复到先前版本。
如果你在寻找最佳的Microsoft Office替代品,这里有六个优秀的解决方案供你参考。
本教程向您展示如何创建一个 Windows 桌面快捷方式图标,该图标打开一个命令提示符到特定文件夹位置。
在Microsoft Windows中右键单击应用程序图标时,“以不同用户身份运行”选项缺失?您可以使用这些方法来启用它。
不想让其他人在您离开时访问您的计算机?尝试这些有效的锁定Windows 11屏幕的方法。
如果您的计算机在安装最近的Windows更新后出现问题,请了解几种修复损坏的Windows更新的方法。
你是否在尝试找出如何在Windows 11中将视频设置为屏幕保护程序。我们揭示了如何使用一种适用于多种视频文件格式的免费软件来实现。
您在 Windows 11 中的旁白功能烦吗?了解如何通过多种简单方法禁用旁白声音。
想要在 Windows 11 PC 上禁用删除确认对话框吗?请阅读本文,了解各种方法。
维护多个电子邮件收件箱可能很痛苦,特别是当您有重要邮件同时到达时。本文将介绍如何在PC和Apple Mac设备上将Microsoft Outlook与Gmail同步的简单步骤。