I used the SysInternals ProcMon utility to get an overview of the navigation process, and the light bulb went off when I saw the desktop explorer looking for a "SniffedFolderType" in the monitor log.
A search using (the spam-free search engine) DuckDuckGo turned up the following forum posting:
New Win7 reg entries related to folder views - MSFN
From which I've put together a registry mod that seems to work like a charm!
Code:
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=-
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoSaveSettings"=-
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"KnownFolderDerivedFolderType"="{57807898-8C4F-4462-BB63-71042380B109}"
"SniffedFolderType"="Generic"
"FolderType"="NotSpecified" The first three entries above clear out the BagMRU cache and reset it (just in case it's required) to preserve your new / future view settings, and the last entry is where the magic takes place.
So far this seems to be working like a charm. No more sniffing, and my folders in the Navigation Pane always open in "Detail" view.
Jerry H.