1

5 Ways to Hide Specific Files and Folders in Windows 11

 1 year ago
source link: https://www.makeuseof.com/windows-11-hide-specific-files-folders/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

5 Ways to Hide Specific Files and Folders in Windows 11

By Zainab Falak Published 15 hours ago

If you're worried about people snooping around on your Windows 11 machine, here's how to hide files and folders on it.

Woman working on a laptop

Sharing a computer can sometimes mean adding extra layers of security, to prevent other users from spying on your stuff. If securing your user account with a password is not an option for you, you can hide specific files and folders from appearing in the File Explorer and Windows Search. Other users will not be able to see these files unless you specifically permit them to be viewed.

Here is how to enable this feature and make the most out of it.

1. How to Hide Files and Folders From Windows Search

In the first method, we will discuss how to hide specific files and folders from the search results in Windows. Our goal is to hide the search results that show up when you type keywords into the search area of the taskbar, and we will do this by modifying Windows Settings and Indexing options.

You can achieve this in one of two ways; you can either go through Windows settings or modify the indexing options.

1. Modify Windows Settings

The simplest and quickest way to prevent any file or folder from appearing in the search results is by modifying the Privacy configurations in Windows Settings.

Follow these steps to proceed:

  1. Press Win + I to open Windows Settings.
  2. Select Privacy & Security from the left pane and click on Searching Windows on the right side of the window.
    win11-searching-windows
  3. Head over to the Exclude folders from the enhanced search section.
  4. Select the Add an excluded folder button.
    win11-add-an-excluded-folder
  5. In the following dialog, choose the folder that you want to hide and click on the Select Folder button.
    win11-select-folder

You can now close the Settings window. From now onwards, the file or folder you selected will not appear in the search results. If you wish to remove this specific file/folder from the excluded list in the future, follow these steps:

  1. Perform steps 1-3 again and locate the targeted file/folder in the list.
  2. Click on the three dots associated with it and choose Remove.
    win11-remove-an-excluded-folder

2. Modify Indexing Options

Indexing in Windows search makes it easier to find items on your computer by creating a database of your files. In a sense, it resembles the index at the end of a large book; making it much easier to locate what you are looking for because Windows does not have to search through every component of the operating system to look for one file.

If you wish to hide specific types of files (let’s say all MP4 files) from appearing in the search results, then the best way to do so is by modifying the indexing options.

Here is how you can do that:

  1. Type Indexing options in the search area of the taskbar and click Open.
  2. In the following dialog, click on the Advanced button as shown below.
    indexing-options-advanced
  3. Head over to the File Types tab and look for the file type that you want to hide.
  4. Uncheck the box associated with it and click on OK.
    indexing-options-click-checkbox

2. How to Hide Files and Folders in Windows 11's File Explorer

To hide specific files/folders in the File Explorer, you can either make changes within the File Explorer itself or use the Command Prompt. Below we have discussed both the methods in detail, so you can proceed with the one you prefer.

1. Configure File Explorer

File Explorer allows you to hide both individual files and entire folders, and this method works for almost all the previous Windows versions.

Follow these steps to proceed:

  1. Launch File Explorer and navigate to the location of the targeted file or folder.
  2. Click on the file/folder and choose Properties from the context menu.
    win11-folder-properties
  3. In the Properties dialog, head over to the General tab and checkmark the box associated with Hidden under the Attributes section.
    make-folder-hidden
  4. Click Apply > OK.
  5. In the next confirmation prompt, click on Apply changes to this folder, subfolders, and files and hit OK again.
    apply-changes-to-all

This should prevent the file/folder from appearing in the File Explorer. However, keep in mind that the folder options in the File Explorer should be configured to not display hidden files and folders for the steps above to work. You can check if that feature is enabled by following these steps:

  1. Head over to any folder in the File Explorer and click on the More button (three dots) on the top.
  2. Select Options from the context menu.
    file-explorer-options
  3. Head over to the View tab in the Folder Options dialog.
  4. Click on the Don’t show hidden files, folders, or drives option and click Apply > OK to save the changes.
    dont-show-hidden-files

2. Use Command Prompt

You can also try to hide a file/folder from the File Explorer of Windows 11 by using Command Prompt.

This user interface which is commonly referred to as the Windows command line can be used to perform advanced-level administrative tasks by simply typing in commands. This method is ideal for those of you who do not want to spend time performing the task manually in the File Explorer.

However, before you proceed, make sure that you are logged into your computer as an administrator.

3. How to Hide a Drive in Windows 11

In Windows, disk-based hardware is managed by a utility called Disk Management, which is part of the Microsoft Management Console. In this method, we will be using the Disk Management utility to hide an entire drive in Windows 11.

  1. Type Disk Management in the search area of the taskbar and click Open.
  2. Right-click on the targeted drive and click on Change Drive Letter and Paths option in the context menu.
    change-drive-letter-and-paths
  3. Choose the targeted drive letter and click on the Remove button.
    change-drive-letter-and-paths-remove
  4. Click Yes in the confirmation prompt that pops up on your screen.
    change-drive-letter-and-paths-remove-yes

Make Your Important Files Invisible

Using the methods listed above, you can prevent your important files and folders from appearing in Windows search results and displaying in the File Explorer. However, make sure you only use these methods for your personal files, as hiding the critical Windows security files can result in severe problems within the system.

About The Author
621376d2ecb2e-T0256AJFF-U02SQJK5USK-e197bca7e025-512.jpg?fit=crop&w=100&h=100

Zainab Falak (25 Articles Published)

Zainab is a tech content writer based in Pakistan. When not toiling away at her desk writing about all things tech, she can be found in her small library reading business and productivity books. Expertise: Windows, Android, Browsers.

More From Zainab Falak

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

Click here to subscribe

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK