How to change default Folder View of Search Results

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 4
    Windows 10
    Thread Starter
       #11

    Edwin said:
    Just apply the settings to each parent folder and it will apply to all folders and sub-folders that reside within each. The setting will carry over to newly created folders.
    It isn't. A search on the Desktop is in Detail view, yet searches in folders on the Desktop remain Content View.

    Slartybart said:
    Navigate to This PC and type a period - . - into the search box (the period is a wildcard for any character)
    Select and arrange the columns, sorting, grouping, etc to what you want
    Select Save search from the Search tab menu
    any name is fine - all you want are the customized settings in the saved search file.
    No effect. Double-clicking the saved search even opens the search results in Content View, apparently completely ignoring the viewMode="details" setting in the file.

    It seems clear that the settings are saved on a folder by folder basis. Any idea where that is stored?
      My Computer

  2. Slartybart's Avatar
    Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #12

    You might try navigating to your user folder and your typed sub folders (Documents, Music, Pictures, Videos)
    Do a search in each - set the results to your liking, close Explorer window - on to the next folder
    Wash, rinse, repeat (there's only five)

    The sub folders are (or were) templates for Explorer views - they might also be templates for searches in those folder types (Docs, Music, etc)

    When I tested a saved search for ext:eml, the next search I did from Explorer > This PC had the layout for the email search (from sender, date rcv'd ....). Then I searched from my Documents folder and the view of the search results was what I expected. I corrected This PC search results view and things are back to what I prefer.

    That's all I can think of - I doubt each folder has a setting for search results, but the special system folders probably do

    Good luck,

    Bill
    .
      My Computer


  3. Posts : 3
    Windows 10 Pro
       #13

    Hello

    I have tried everything on this post and nothing worked.

    I have Windows 10 Pro and since I installed Anniversary Update, the search from the Windows file explorer search box always forgets my custom view and I have to redo it every single search I do.

    Has anybody found a solution that really works for this problem? @Dacomp89

    Thanks! :)
    Last edited by Bruce Wayne; 20 Aug 2016 at 08:10.
      My Computer


  4. Posts : 1
    Windows 10 Pro/Enterprise
       #14

    Slartybart said:
    I haven't played with this for a long time, so it might not be correct for Win10

    There are two standrad search files in the Searches folder under your user folder
    Everywhere
    <?xml version="1.0"?>
    <persistedQuery version="1.0">
    <query>
    <kindList>
    <kind name="item"/>
    </kindList>
    <scope knownScopeID="{7c61d0a6-af7e-483a-b705-d2c5c2264656}" />
    </query>
    </persistedQuery>

    Indexed Locations
    <?xml version="1.0"?>
    <persistedQuery version="1.0">
    <query>
    <kindList>
    <kind name="item"/>
    </kindList>
    <scope knownScopeID="{f60163ce-2b8d-458d-ab2c-40f215767514}" />
    </query>
    </persistedQuery>

    I used to modify those files to include customized presentation

    Copy the existing files ... just in case

    Navigate to This PC and type a period - . - into the search box (the period is a wildcard for any character)
    Select and arrange the columns, sorting, grouping, etc to what you want
    Select Save search from the Search tab menu
    any name is fine - all you want are the customized settings in the saved search file.
    <viewInfo viewMode="details" iconSize="16" stackIconSize="0" displayName="Search Results in This PC" autoListFlags="0">
    <visibleColumns>
    <column viewField="System.ItemTypeText"/>
    <column viewField="System.ItemNameDisplay"/>
    <column viewField="System.DateModified"/>
    <column viewField="System.Size"/>
    <column viewField="System.ItemFolderPathDisplay"/>
    </visibleColumns>
    <sortList>
    <sort viewField="System.DateModified" direction="descending"/>
    </sortList>
    </viewInfo>

    You can then paste your customized view into the two standard search files between
    <persistedQuery version="1.0">
    and
    <query>

    Once you get the hang of the syntax, it's not that bad
    Worked like a charm for me! I still want to punch whoever at Microsoft decided "Folder" should be the default detail (and not "Folder Path"), but this has saved my sanity.

    Edit: Oh no wait, it was working because I was in the same folder I had originally saved a custom search for. So sad
      My Computer


  5. Posts : 3
    Windows 10 Pro
       #15

    SoulkeepHL said:
    Edit: Oh no wait, it was working because I was in the same folder I had originally saved a custom search for. So sad
    Yep, it does not work. At least on Windows 10 Anniversary Update.
      My Computer


  6. Posts : 1
    Windows 10
       #16

    This was something that annoyed the crap out of me too.

    I found the solution here.
    http://www.winhelponline.com/blog/se...ls-windows-10/
    Credit to winhelponline.
    Create an empty registry file with the following code and apply it to your registry.
    This locks it to detail view when searching.

    Code:
    Windows Registry Editor Version 5.00
    
    ;Fixes search results defaults to Content view.
    ;Sets Details view as default search results view for Generic folders.
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
    
    
    [HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{7fde1a1e-8b31-49a5-93b8-6be14cfa4943}]
    "LogicalViewMode"=dword:00000001
    "Mode"=dword:00000004
      My Computer



  7. Posts : 1
    Windows 10
       #17

    Solution works


    That's perfect! Thank you so much, basically saved my sanity when I was about to destroy all the computer equipment in the office ! :)

    djlongy said:
    This was something that annoyed the crap out of me too.

    I found the solution here.
    http://www.winhelponline.com/blog/se...ls-windows-10/
    Credit to winhelponline.
    Create an empty registry file with the following code and apply it to your registry.
    This locks it to detail view when searching.

    Code:
    Windows Registry Editor Version 5.00
    
    ;Fixes search results defaults to Content view.
    ;Sets Details view as default search results view for Generic folders.
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
    
    
    [HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{7fde1a1e-8b31-49a5-93b8-6be14cfa4943}]
    "LogicalViewMode"=dword:00000001
    "Mode"=dword:00000004
      My Computer


  8. Posts : 1
    windows
       #18

    I created an account just to say "THANKS"! This problem haunted me for two years! This fix took me all of about one minute! Worked immediately on all my folders, both local and NAS. Didn't need to restart explorer, log off/log on, reboot or anything. (BTW, don't recall this being so difficult in prior installs to my current Win10 Home)

    Hallelujah!! Made my evening...

    djlongy said:
    This was something that annoyed the crap out of me too.

    I found the solution here.
    http://www.winhelponline.com/blog/se...ls-windows-10/
    Credit to winhelponline.
    Create an empty registry file with the following code and apply it to your registry.
    This locks it to detail view when searching.

    Code:
    Windows Registry Editor Version 5.00
    
    ;Fixes search results defaults to Content view.
    ;Sets Details view as default search results view for Generic folders.
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
    
    
    [-HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
    
    
    [HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell\{7fde1a1e-8b31-49a5-93b8-6be14cfa4943}]
    "LogicalViewMode"=dword:00000001
    "Mode"=dword:00000004
      My Computer


  9. Posts : 1
    Windows 10
       #19

    Adapting .search-ms works too


    I used Slartybart's solution. Saved a search and then copied the <viewInfo> into the two standard files. I did not work right away. But after restarting the SearchUI proces twice, it did.

    The advantage is to have a clear overview of what I am doing. I formatted the xml file in Visual Studio and was then able to easily check and copy the settings.

    My initial purpose was to have de detail view and the entire path instead of the folder.

    By the way, never knew about saved searches anyway.
      My Computer

  10. pepanee's Avatar
    Posts : 1,503
    Windows 10 Professional
       #20

    Wow, I just found this Thread and tried that registry fix, which is awesome. It actually changed the search results for every folder from stupid Contents view to the Details view which is AWESOME! I've had this issue for a long time that if you search in a folder, it will show you the Contents view, which is really annoying, because each folder I have is set for Details view. Whenever doing a search, I would like to see the results in the same exact layout of how my folder is set up.

    But now my question is this.. Notice how the layout is for the Program Files folder, yet when I search it shows it weird like in the other picture? Don't get me wrong, It's awesome that a search result shows Details view, but I want it to look exactly like the folder's layout already is. If I customize the result's tabs to whatever I want, they would get saved... for that specific folder only. "Apply to All Folders" option doesn't work, because grayed out. So what can I do here?

    How to change default Folder View of Search Results-regular-folder.png

    How to change default Folder View of Search Results-search-result.png
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 13:54.
Find Us




Windows 10 Forums