![]() $Path = ( mkdir "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\$BagNum\Shell\Inherit" -Force ). PowerShell (substitute actual Bag # in first line, then paste entire block into PowerShell): $BagNum = SniffedFolderType with a value of Documents.HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\\Shell\Inherit and within it two REG_SZ types:.PowerShell: (gp 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU').NodeSlot HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU copy and paste the commannd shell:Desktop into the Explorer Address bar or a Run dialog.ĭetermine the bag number by checking the registry alue NodeSlot under the key:.From This PC or Quick Access, click the Up arrow to the left of the Explorer Address bar.To set Inheritance for the rooted Desktop:Įnsure a PropertyBag for the view of the rooted Desktop exists by viewing and then closing in Explorer. In Windows XP it was 400 but has been increased in Windows Vista, it is 5000. Search results and Libraries are virtual folders and not affected by this setting. This occurs because, by default, Windows Vista and later is set to remember folder view settings for only 5000 folders. So creating an Inherit subkey for the rooted Desktop will govern the FolderType of folders created on the Desktop, as well as all other file system folders, including the folders under This PC, with the annoying exception of Downloads. To take a quick screenshot of the active window, use the keyboard shortcut Alt + PrtScn. You need to do it once for each type: Generic, Documents, PIctures, Music, Videos. Many people mistakenly believe that what Im asking for can then be accomplished by going to Windows Explorer -> Options -> Change folder and search options -> View -> Apply to Folders. This customizes the default view for that folder type. For any given folder, this can be done by going to Windows Explorer -> View -> List, one by one. ![]() On the View tab, click Apply to Folders & OK the confirmation. The fun (and useful) fact revealed by Process Monitor is that even though there is no way to set inheritance through the UI for This PC, the root/virtual Desktop, and other non-filesytem locations, Explorer still checks their PropertyBags for the Inherit subkey. Once you have set a folders view to your liking, from the View ribbon, click Folder Options > Change folder & search options. If found, that will override both content-sniffing and any FolderType specified in a desktop.ini file. When a folder is displayed in Explorer for the first time, all its namespace ancestors, not file system ancestors are checked for an Inherit subkey. When Also apply this template to all subfolders is selected from a folder's Properties dialog, a subkey named Inherit is created under the folder's PropertyBag in the registry. So a folder on the Destkop can have different views saved for: Explorer indexes saved folder views by their full namespace path in the BagMRU key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |