How to Customize Default Search Views on Windows?

Whenever you make changes to the view and sort settings of windows explorer, the custom changes are marked for that folder such that your view will remain the same way when you reopen the same folder. The same thing happens when you search for a certain key word within a certain folder. If you decide to change the default view of the search results, the results will always be displayed this way the next time you search in the same folder.

Windows gives you options on how to view your folder. You can choose to view extra large icons, large icons, medium icons, small icons, tiles, list, content or details. For the details options you can further choose what to see: size, date modified, type etc. Windows remembers the option you have chosen by using the system registry to save your settings. The keys for a certain folder are modified and saved in the registry such that you will not have to change your view the next time you visit your folder.

You can customize the default view of all your folders by applying the view of the opened folder to all other folders from the folder and search options. However, this feature does not seem to be available for search view. So how do you set the default view of your search results so that you don’t have to repeat this task every time? This article will show you how to make the customized search view as the default search view for all the searches you will conduct in any folder in the future.

Modify the system registry keys

This method is aimed at changing the custom search view of one folder to be the default view of all search views of all folders by modifying the key or a recently searched folder.

  1. Create a new folder anywhere, also create a file of any sort into it
  2. Go inside the folder and perform a search
  3. Apply the custom view you would like manually
  4. Close the explorer window (Do not browse anything else after this)
  5. Press Windows/Start Key + R to open Run, type ‘regedit’ and hit enter to open the registry edit.
  6. Browse to
"HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags"
  1. Inside this key, you’ll find a list of keys corresponding to stored data for your folders, the keys are named after an incremental number, that’s why you had to create a new folder at the first place, so, find the highest key number within the list
  2. If you did not browse anything since you closed the search, inside the highest key you should find a key named “Shell” and inside it, a key named “{7FDE1A1E-8B31-49A5-93B8-6BE14CFA4943}
  3. From the File menu Export that “{7FDE1A1E-8B31-49A5-93B8-6BE14CFA4943}” key to a .reg file on your desktop (or anywhere you like)
  4. As of Oct 2018: {7fde1a1e-8b31-49a5-93b8-6be14cfa4943} must now be changed to {36011842-DCCC-40FE-AA3D-6177EA401788}.
  5. Edit that exported .reg file into the notepad (or any text editor you like)
  6. In the key path, replace the number of you folder occurrence (from point 6) to “AllFolders”
  7. Save the .reg file and double click on it to apply it. Merge if you are asked to.

Your customized default search view is now applied. Note that the new customized default view will not apply to folders where you previously already searched into, because any time you search a folder it will create the per folder settings that has priority on the default settings.

{7FDE1A1E-8B31-49A5-93B8-6BE14CFA4943}” is actually the key for “generic search folders”, you might also need to apply the same procedure to other types of folders that windows marks as different from generic folders

– “{ea25fbd7-3bf7-409e-b97f-3352240903f4}” for “video search folders”

– “{71689ac1-cc88-45d0-8a22-2943c3e7dfb3}” for “music search folders”

– “{4dcafe13-e6a7-4c28-be02-ca8c2126280d}” for “pictures search folders”

– “{36011842-dccc-40fe-aa3d-6177ea401788}” for “document search folders”

If your Windows is recently updated, please use the new key from October 2018 in Point 4.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Comments

17
    PJ
    pjwaszko Oct 13, 2018

    MAJOR UPDATE
    As of Oct 2018
    {7fde1a1e-8b31-49a5-93b8-6be14cfa4943}

    Must now be

    {36011842-DCCC-40FE-AA3D-6177EA401788}.

    Make this change in the .reg file and it will work.

    Reply
    PJ
    pjwaszko Oct 13, 2018

    MAJOR UPDATE

    The solution for changing file explorer search default view from CONTENT to DETAILS was posted in the following linked forums in the past, however this is not working after a windows 10 update in fall of 2018.

    https://appuals.com/customize-default-search-views-windows-10/

    https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/how-do-i-change-the-default-view-for-windows-10/869630ca-0b3c-4f8e-95d4-b6797b607b19

    As of Oct 2018:

    {7fde1a1e-8b31-49a5-93b8-6be14cfa4943}

    Must now be changed to

    {36011842-DCCC-40FE-AA3D-6177EA401788}.

    Make this change in the .reg file and it will work.

    QU
    Quincy Dec 16, 2018

    Thanks Kevin Arrows.

    It works!!! *HAPPY*

    JC
    Jean De Corte Feb 20, 2020

    Hi,

    I’m not very good for using regedit … I tried to do what is explained here above … without succes.
    Could someone else be kind enough to help me?
    I’m MOST interested to Customize Default Search Views on Windows 10 changing foldr by path … only that; for all subfolders.
    Thanks in advance
    Jean

      SW
      Shane Warren Author Feb 24, 2020

      Where are you facing the issue? have you already navigated to the folder mentioned in the article?

    WI
    Win10User Apr 3, 2020

    Looks like the key changed again in 1909 to {57807898-8C4F-4462-BB63-71042380B109} – can you confirm?

      SW
      Shane Warren Author Apr 4, 2020

      For me it is: {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}

      WC
      Win10_Corporate May 21, 2020

      As of May/2020 on my corporate Win10 laptop (updated regularly by our IT Service) the key is the original one {7fde1a1e-8b31-49a5-93b8-6be14cfa4943} (not the one mentioned to be valid after 2018)

        SW
        Shane Warren Author May 22, 2020

        It might not be updated to the latest version, is it up to date?

    SI
    sidesw1pe Jul 8, 2020

    “Whenever you make changes to the view and sort settings of windows explorer, the custom changes are marked for that folder such that your view will remain the same way when you reopen the same folder.”If this were true I wouldn’t be searching for a solution to this. I appreciate that you have documented a solution for this problem. I conduct many searches within a particular sub-folder, and I am absolutely sick of it constantly changing from Details view to Content view. I search, and the results are shown in the Content view. I change to details view and then click “name” to sort by name. There is a delay while the search reruns itself. I then type in another search string and am greeted with the content view again. This has become a problem recently. I literally ONLY want to use details view, always, for everything.

      SW
      Shane Warren Author Jul 9, 2020

      I think there might be a registry entry to change this, have you tried doing that?

    MZ
    Muhammad Zubyan Author May 5, 2021

    Hey,

    I just checked I am using the same version as yours. For me it was {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}. Can you double-check that?

    LB
    Louis Bégin Jun 13, 2021

    Great job! It worked for me.Two things:1) With my version of Windows (1909, build 18363), the value is back to the original one, i.e. {7FDE1A1E-8B31-49A5-93B8-6BE14CFA4943}
    Seems to be changing often. Someone else reports a different value for 1909.2) The number of “Bags” seems to be limited to 5000. When this number is reached, old numbers seem to be recycled. In my case, following with care the instructions, the correct bag was 4789 (found using sysinternals procmon.exe), even if the highest number is 5000.

    Reply
    DR
    DRW Aug 23, 2021

    Two Questions:
    1. What is the latest key to use?
    2. Do I understand correctly that the fix will not work on files that have been previously searched? That is all of the document files on the computer. Can I rename them to make them “new” files?
    Thanks

      MZ
      Muhammad Zubyan Author Aug 25, 2021

      1. I just checked for me it was {5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}. It does vary from system to system I believe. You will have to find it.
      2. Yes, it won’t work on the files that are previously searched.

    RW
    Rick Walker Nov 8, 2021

    Can you help me with Step 4 above? Do I look for the new number? Do I change the number?I find the pre-2018 number, and have followed the steps closely, but still can’t get it to work.

      MZ
      Muhammad Zubyan Author Nov 8, 2021

      It does vary from system to system I believe. You will have to find it.