Page 2 of 2 FirstFirst 12
  1.    14 Aug 2016 #11
    Join Date : Aug 2016
    Posts : 4
    Windows 10
    Thread Starter

    Quote Originally Posted by Edwin View Post
    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.

    Quote Originally Posted by Slartybart View Post
    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 ComputerSystem Spec
  2.    14 Aug 2016 #12
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    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 ComputerSystem Spec
  3.    20 Aug 2016 #13
    Join Date : Aug 2016
    Posts : 2
    Windows 10 Pro

    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 ComputerSystem Spec
  4.    13 Sep 2016 #14
    Join Date : Sep 2016
    Chicago Area, IL, USA
    Posts : 1
    Windows 10 Pro/Enterprise

    Quote Originally Posted by Slartybart View Post
    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 ComputerSystem Spec
  5.    13 Sep 2016 #15
    Join Date : Aug 2016
    Posts : 2
    Windows 10 Pro

    Quote Originally Posted by SoulkeepHL View Post
    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 ComputerSystem Spec
  6.    12 Oct 2016 #16
    Join Date : Oct 2016
    Posts : 1
    Windows 10

    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 ComputerSystem Spec
  7.    10 Nov 2016 #17
    Join Date : Nov 2016
    Posts : 1
    Windows 10

    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 !

    Quote Originally Posted by djlongy View Post
    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 ComputerSystem Spec
  8.    08 May 2017 #18
    Join Date : May 2017
    Posts : 1
    windows

    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...

    Quote Originally Posted by djlongy View Post
    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 ComputerSystem Spec
  9.    22 Jun 2017 #19
    Join Date : Jun 2017
    Posts : 1
    Windows 10

    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 ComputerSystem Spec
  10.    10 Aug 2017 #20
    Join Date : Jul 2016
    Granite Bay, CA
    Posts : 703
    Windows 10 Professional

    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?

    Click image for larger version. 

Name:	Regular Folder.png 
Views:	1 
Size:	41.4 KB 
ID:	148227

    Click image for larger version. 

Name:	Search Result.png 
Views:	1 
Size:	55.4 KB 
ID:	148228
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Solved Default Folder View?
Is there a way to globally change the Default Folder View? I've used Folder Options | View | Apply to Folders a few times, but it only seems to stick on folders I've opened.
General Support
change default view to list for each and every folder
How do I change the default view to list for every folder even those on a usb thumb drive. It seems to revert back to detail view :(
General Support
Folder search gives me results that I'm not looking for
When I do a search in a folder, I get results back that have nothing to do with what I searched for. 40962 anyone know how to fix? Edit: If I set "name:" without the quotes before a search I get what I'm looking for. How do I set...
General Support
Trying to customize taskbar search & Folder Explorer (Default view)
I have a large number of research articles on my laptop (via dropbox). One thing I loved about Windows 7 was that I could just hit the Start button, type a keyword into the search box and a results window would pop up that listed every matching...
Customization
Use chrome/google as default for search results
How can I -Use chrome/google for search results Currently when we type anything into the taskbar search, it launches Edge + Bing to give the results. I would like it to use google and my chrome browser cos I find it gives better results.
General Support
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 22:50.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums