在本文中,我们将演示如何在Windows 11或Windows 10中隐藏搜索结果中的文件和文件夹。有一个内置功能可以在 PC 上同步和索引文件,并在发生更改时更新数据。“开始”菜单(Start Menu)旁边的搜索字段可帮助您搜索现有的内置或下载的程序和文件。在与您搜索的关键字相关的所有现有文件和程序之后,您会看到匹配的网络结果。
虽然此功能绝对不适合所有人,但有时您可能希望隐藏文件夹中的一组文件以防止他人查看。无论如何(Anyway),如果这是您希望自己解决的问题,那么可以这样做。
如何在Windows 11的(Windows 11)搜索结果中隐藏特定文件和文件夹(Search Results)
在这里,我们将解释该过程:
- (Hide)在Windows 11的(Windows 11)搜索结果中(Search Results)隐藏特定文件夹
- (Hide)在Windows 11的(Windows 11)搜索结果中(Search Results)隐藏特定文件
开始吧。
1]在Windows 11的(Windows 11)搜索结果中(Search Results)隐藏(Hide)特定文件夹
要在Windows 11的(Windows 11)搜索结果(Search Results)中隐藏特定文件夹,请按照以下步骤操作:
- 右键单击开始菜单(Start Menu)并选择设置(Settings)。
- 从左侧选择隐私和安全类别。(Privacy & security)
- 向下滚动并单击搜索窗口(Searching Windows)选项卡。
- 在Searching Windows页面上,单击Add an exclude folder(Add an excluded folder)按钮并选择要从Windows Search隐藏的文件夹。这会将所选文件夹添加到排除文件夹列表中。
如果要从排除文件夹列表中删除文件夹,请重复前三个步骤(如上所列),在排除文件夹列表中找到您的文件夹,然后单击它旁边的三个垂直点。现在,单击删除(Remove)。
2]在Windows 11的(Windows 11)搜索结果中(Search Results)隐藏(Hide)特定文件
当您通过Windows 11 搜索(Search)搜索某些内容时,您将看到与该特定关键字相关的不同类别。这些类别包括应用程序、电子邮件、文档、图像、音乐等。您可以通过在搜索索引(Search Index)中排除文件扩展名来隐藏Windows 11搜索结果中的某些文件。
让我们看看从搜索结果(Search Results)中隐藏特定文件的过程。
- 按Win + I键在 Windows 11 上打开“设置”应用。(Settings)
- 转到“Privacy & security > Searching Windows ”。
- 向下滚动(Scroll)Searching Windows页面,然后单击Advanced indexing options 选项(Advanced indexing options)卡。您将在“相关设置(Related settings)”部分找到它。这将打开“索引选项(Indexing Options)”弹出窗口。
- 在“索引(Indexing) 选项(Options)”窗口中,单击“高级(Advanced)”按钮。
- 现在,单击“文件类型(File Types)”选项卡。
- 取消选择您不想出现在搜索结果(Search Results)中的文件扩展名。如果您的文件扩展名在列表中不可用,请在“将新扩展名添加到列表(Add new extension to list)”部分下键入它,然后单击“添加(Add)”按钮。
- 从列表中取消选择文件扩展名后,单击“高级(Advanced)选项”窗口中的“(Options)索引设置”(Index Settings)选项卡,然后单击“重建(Rebuild)”按钮。在确认窗口中,单击确定。
等到(Wait)索引过程完成。系统完成索引所花费的时间与系统上的文件数量成正比。如果您有大量文件,索引将花费更多时间,反之亦然。您可以在“索引(Indexing) 选项(Options)”窗口中查看进度。索引过程完成后,索引(Indexing) 选项(Options)窗口将显示索引完成(Indexing Complete)消息。在此之后,您将不会在Search Results中看到您已排除其扩展名的文件。
要恢复更改,请按照上面列出的前五个步骤并选择要在搜索结果(Search Results)中显示的文件扩展名。现在,选择Index Settings选项卡并单击Rebuild按钮。等到(Wait)索引过程完成。
相关(Related):Windows Search not working in Windows 11/10。
如何在Windows 10的(Windows 10)搜索结果中隐藏特定文件和文件夹(Search Results)
在这里,我们将向您展示如何隐藏:
- Windows 10中(Windows 10)搜索结果(Search Results)中的特定文件夹
- Windows 10中(Windows 10)搜索结果(Search Results)中的特定文件
1]在Windows 10的(Windows 10)搜索结果中(Search Results)隐藏(Hide)特定文件夹
以下是您如何配置Windows搜索以隐藏某些文件夹以使其不显示的方法:
- 按Windows + ‘ I' 组合键打开Windows 设置(Windows Settings)
- 从设置(Settings)主页上的可用选项中,选择搜索
- 单击(Click)左侧选项窗格中的搜索窗口(Windows)
- 向下滚动(Scroll)并在排除文件夹标题(Excluded Folders)下,单击添加(Add)排除文件夹
- 您的资源管理器(Explorer)的对话框提示将打开。
- 选择您不想在Windows搜索中显示的文件夹,然后单击所选文件夹(Folder)
从排除文件夹列表中删除文件夹与添加文件夹一样简单。
您所要做的就是选择您不想成为列表一部分的文件夹,然后选择删除(Remove)排除的文件夹。
2]在Windows 10的(Windows 10)搜索结果中(Search Results)隐藏(Hide)特定文件
与Windows 11一样,您必须排除不希望出现在Windows 10搜索结果(Search Results)中的文件的文件扩展名。我们已经解释了以下过程:
- 右键单击开始菜单(Start Menu)并选择设置(Settings)。
- 转到“Search > Searching Windows”。
- 向下滚动并单击高级搜索索引器设置(Advanced Search Indexer Settings)链接。此链接在更多搜索索引器设置(More Search Indexer Settings)部分下可用。
- 索引选项(Indexing Options)窗口将出现在您的屏幕上。单击(Click) 高级(Advanced)。
- 现在,选择File Types选项卡并取消选择您不想出现在Search Results中的文件扩展名。您还可以通过输入其名称并单击“添加(Add)”按钮来添加特定的文件扩展名。
- 在同一窗口中选择索引设置(Index Settings),然后单击重建(Rebuild)按钮。等到(Wait)索引完成。
如何在Windows 10中隐藏文件夹?
与上面讨论的问题非常相似的一个问题是如何在Windows 10中隐藏文件夹(Windows 10)或驱动器(or Drive),它也有点不同。当您在Windows中隐藏文件夹时,当您通过(Windows)文件资源管理器(File Explorer)或Windows 搜索(Windows Search)浏览时它不会显示。以下是在文件夹上启用该隐私设置的方法:
- 打开文件资源管理器(Open File Explorer),右键单击要隐藏的文件夹,然后单击属性
- 在常规(General)选项卡下,启用属性(Attributes)标题旁边的隐藏选项(Hidden)
- 单击(Click)应用(Apply),然后单击确定以保存这些更改
- 如果您要隐藏包含子文件夹的文件夹,请启用将(Apply)更改应用到此文件夹、子文件夹和文件选项
如果您想了解如何通过使用密码保护文件来进一步提高文件的保密性,请阅读本文。
如何将隐藏文件夹更改为普通文件夹?
与上述问题类似的是如何在Windows 10中取消隐藏文件夹。如果您想查看隐藏的文件和文件夹,文件资源管理器(File Explorer)中有一个简单的选项。单击(Click)查看(View)选项卡,然后在Show/Hide部分中,选择隐藏(Hidden)项目。
我们希望这篇文章能够消除您对Windows上的文件以及如何根据您的需要保护它们的所有疑问。
阅读下一篇(Read next):适用于 Windows 的最佳免费 Windows 搜索替代工具(Best free Windows Search Alternative Tools for Windows)。
How to Hide Files and Folders from Search Results in Windows 11/10
In this article, we will demonstrate how you can hide files and folders from your Searсh Results in Windows 11 or Windows 10. There is a built-in feature to sync in and index files on the PC and updates the data whenever there is a change. The search field, one that’s available next to the Start Menu helps you search for existing built-in or downloaded programs and files. After all existing files and programs related to your searched keywords, you see matched web results.
While this feature is definitely not for everyone, you may, sometimes, want to hide a set of files in a folder from being viewed by someone. Anyway, if this is something you were looking to solve for yourself, here’s how it can be done.
How to hide specific files and folders from Search Results in Windows 11
Here, we will explain the process to:
- Hide specific folders from Search Results in Windows 11
- Hide specific files from Search Results in Windows 11
Let’s start.
1] Hide specific folders from Search Results in Windows 11
To hide specific folders from Search Results in Windows 11, follow the steps below:
- Right-click on the Start Menu and select Settings.
- Select the Privacy & security category from the left side.
- Scroll down and click on the Searching Windows tab.
- On the Searching Windows page, click on the Add an excluded folder button and select the folder that you want to hide from Windows Search. This will add the selected folder to the list of excluded folders.
If you want to remove the folder from the excluded folders list, repeat the first three steps (listed above), locate your folder in the excluded folders list, and click on the three vertical dots next to it. Now, click Remove.
2] Hide specific files from Search Results in Windows 11
When you search for something via the Windows 11 Search, you will see different categories related to that particular keyword. These categories include apps, email, documents, images, music, etc. You can hide certain files from search results in Windows 11 by excluding their file extensions in the Search Index.
Let’s see the process to hide specific files from Search Results.
- Press Win + I keys to open the Settings app on Windows 11.
- Go to “Privacy & security > Searching Windows.”
- Scroll down the Searching Windows page and click on the Advanced indexing options tab. You will find it in the Related settings section. This will open the Indexing Options popup window.
- In the Indexing Options window, click on the Advanced button.
- Now, click on the File Types tab.
- Deselect the file extension which you want not to appear in the Search Results. If your file extension is not available in the list, type it under the Add new extension to list section and then click on the Add button.
- After deselecting the file extension from the list, click on the Index Settings tab in the Advanced Options window and click on the Rebuild button. In the confirmation window, click OK.
Wait till the indexing process gets completed. The time taken by your system to complete indexing is directly proportional to the number of files on your system. If you have a large number of files, the indexing will take more time and vice versa. You can see the progress on the Indexing Options window. After the completion of the indexing process, the Indexing Options window will display the Indexing Complete message. After this, you will not see the files in the Search Results, the extensions of which you have excluded.
To revert the changes, follow the first five steps listed above and select the file extensions that you want to appear in the Search Results. Now, select the Index Settings tab and click on the Rebuild button. Wait till the indexing process gets completed.
Related: Windows Search not working in Windows 11/10.
How to hide specific files and folders from Search Results in Windows 10
Here, we will show you how to hide:
- Specific folders from Search Results in Windows 10
- Specific files from Search Results in Windows 10
1] Hide specific folders from Search Results in Windows 10
Here’s how you can configure your Windows search so as to hide certain folder(s) from appearing:
- Open Windows Settings by pressing the Windows + ‘I’ key combination
- From the options available on the Settings homepage, select Search
- Click on Searching Windows from the options pane to your left
- Scroll down and under the Excluded Folders head, click on Add an excluded folder
- A dialog prompt of your Explorer will open.
- Select the folder you don’t want to show up on your Windows search and click Selected Folder
It is just as easy for you to delete a folder from the list of excluded folders as it was to add one.
All you have to do is select the folder you don’t want to be a part of the list and select Remove excluded folder.
2] Hide specific files from Search Results in Windows 10
Like Windows 11, you have to exclude the file extensions of the files that you want not to appear in the Search Results in Windows 10. We have explained the process below:
- Right-click on the Start Menu and select Settings.
- Go to “Search > Searching Windows.”
- Scroll down and click on the Advanced Search Indexer Settings link. This link is available under the More Search Indexer Settings section.
- The Indexing Options window will appear on your screen. Click Advanced.
- Now, select the File Types tab and deselect the file extension that you want not to appear in the Search Results. You can also add a particular file extension by entering its name and clicking on the Add button.
- Select Index Settings on the same window and click on the Rebuild button. Wait till indexing gets completed.
How do you hide a folder in Windows 10?
A question very similar to the one discussed above is how one can hide a folder or Drive in Windows 10 and it’s a little different too. When you hide a folder in Windows, it doesn’t show up when you browse through File Explorer or Windows Search. Here’s how you can enable that privacy setting on a folder:
- Open File Explorer, right-click on the folder you want to hide, and click on Properties
- Under the General tab, enable the Hidden option which is next to the Attributes head
- Click on Apply and then Ok to save these changes
- Enable the Apply changes to this folder, subfolders, and files option if you’re hiding a folder with subfolders in it
Read this article if you want to know about how you can further increase your file’s secrecy by protecting it with a password.
How do I change a hidden folder to normal?
Analogous to the question above is how one can unhide a folder in Windows 10. If you want to view hidden files and folders, there’s a straightforward option to do so in File Explorer. Click on the View tab and in the Show/Hide section, select Hidden items.
We hope that this post was able to clear all your doubts around files on Windows and how they can be secured as per your needs.
Read next: Best free Windows Search Alternative Tools for Windows.