If you use the Photos app to view pictures stored on your Windows 10 computer, you probably have noticed that normally it displays all pictures it can find on the PC. What if you don't want some of the pictures to be visible in the Photos app? This article will explain how to do that.
The most important thing to understand about how the Photos app finds the pictures to display is that it does NOT look for the image files stored on the hard drive directly. Instead, it uses information from the Windows search index: if it finds information about an image file in the search index, it uses it to display the image. So in order to prevent an image from appearing in the Photos app, we need to find a way to remove information about that image file from the search index.
Windows 10 offers just a tool for that: from the Start menu, open Settings, and there select Searching Windows. You should get to the screen that lets you control the folders that Windows search includes or excludes in its index. The amount of control that you have depends on the type of your user account: some features are only available to the administrators, and not to the standard users. Regardless, you should be able to open the Advanced Search Indexer Settings:
Opening the Advanced Search Indexer Settings
Another thing to understand about Windows search index that you cannot exclude individual files from it, you can only exclude folders. If you tell Windows to exclude a certain folder from indexing, then all files in that folder will be excluded. So, unless you have already done so, you should first create a folder for the image files that you want to be hidden from the Photos app, move the images files you want to be hidden in that folder, and then tell Windows to exclude that specific folder from its index.
For example, suppose, for whatever reason, you don't want the pictures of your cats to appear in Photos app. Open File Explorer, navigate to the Pictures folder, and create a new folder there with the appropriate name (Cats in our example). Move the image files of the cats into that folder (drag-and-drop should work just fine for that). Use the Folders link of the Photos app to navigate to the Cats folder to check that the images you want to hide are actually there:
Now return to the Indexing Option screen we've discussed above and press the Modify button. When the Indexed Locations screen opens (see below), navigate to the folder you want to exclude (do not use the check boxes for that, use the little arrows to expand and collapse folders as needed.) For a folder in your Pictures folder, expand Local drive C:, then Users, then locate your user name and expand that folder, and finally expand Pictures. The folder we want to exclude from the index (named Cats in our example) should appear there. Now clear the check box next to the Cats folder, and that will tell Windows to exclude it from the search index (only the folders that have the check marks next to them are indexed.)
Press OK to close the screens you've opened and ... wait. Yet another thing to know about Windows search index is that it's picky about getting itself updated. Oftentimes, when Windows detects that you are actively using your computer, it delays the updates to its search index until your activity stops or slows down. Other times it may update the index almost immediately after you make changes to it. If you are an administrator of the computer, you can try to force Windows to rebuild the search index: on the Indexing Options screen, press Advanced, and then use the Rebuild button:
However, even forcing to rebuild the index sometimes does not make it happen soon enough. If you've waited a few minutes and nothing seems to change in the Photos app, try restarting the computer and check the Photos after that. Eventually, Windows index should catch up with the changes you've made, and the Photos app should stop displaying the images from the excluded folder. If it does not, consider moving the Cats folder out of the Pictures area altogether. For example, create a Cats folder in the root of the C: drive, and move the pictures there. This should force Photos app to refresh and remove the images from the view.
Password-protect and hide personal files and folders with Folder Guard for Windows 10,8,7, and XP.
User rating: 4.7/5
or download a free trial. Read more...
That's nice, you might say, but what about other apps and File Explorer itself? Even if the images are not visible in the Photos app, anyone could still navigate to the Cats folder with File Explorer and see the images there. If you want to prevent that, excluding the folder from the search index is not enough, you need to protect access to the folder in some other way. Of course, we would be fools not to take this opportunity and suggest that our software Folder Guard was designed for just such a task! You could use it to add a password to the Cats folder, and any time someone would want to look into it with File Explorer, they would need to enter that password first. Check it out!