New
#1
How can I globally adjust view sliders in 1809?
Last edited by Compumind; 03 Feb 2019 at 20:15.
Last edited by Compumind; 03 Feb 2019 at 20:15.
Try the steps below, although is 50/50 if it will keep the size.
- Open a Windows Explorer window
- Right-click anywhere that's blank and choose Customize this folder
- Choose General Items from the Optimize this folder for list box, then click OK
- In Windows Explorer, open the Tools menu and click Folder Options
- On the View tab click on Apply to Folders then click OK
Contrary to popular belief, there is not a One Click Fix to accomplish this, there's a bit of work involved, so let's get to it!
The method herein applies to whatever custom folder view you choose but it is intrinsic to Details view as the attribute headers also become a choice.
Windows has a feature, (since XP, I believe), called Automatic Folder Type Discovery, (AFTD), wherein, when folders and files are created, Windows will attempt to determine what type of files are being created and will apply, what it feels, are the most appropriate attributes to said files and folders. This works in conjunction with the five pre-defined folder view types, General items, Documents, Pictures, Music and Videos...
Side Note:
There exists, a Registry tweak to disable AFTD but, there are far too many negative repercussions when applying that tweak, so, we won't even go there!
Now,
to apply a global custom Details View, you must navigate to folders within each View Type and choose Details View, choose the attribute columns, (headers), you desire then manually set the size you desire of each column and click okay; then, in each folder that you are applying this exercise to, click View on the Ribbon►Options►View►Apply to Folders►Yes►OK, (see the following screenshots)...
(For column sizes, I've simply used a formula, 450, 350, 250, 150...)
Yes, you'll have to apply this to folders in every viewing type!
And this only applies to the folders! If you want the same view to apply to the last child folder with items in it, you'll have to apply the same fix there!
Furthermore, if you create folders/files hereafter, they may or may not reflect the custom attributes you have chosen previously, for example...
if you rip a CD, and your Rip Settings do not reflect your custom view choices exactly, you will have to go to the newly created folders and change them manually as well!
There is also a few folders where some or all of the above rules do not apply, This PC, Recycle Bin and Control Panel/Programs and Features, to name a few. You'll have to fix them manually as well!
It looks like a ton of work but, once you get a routine of it going, it's pretty simple. For example:
I have every 'parent folder' that I frequently use pinned to Quick Access and, I make all the changes from there! Takes about 10 minutes!
Good Luck.
Last edited by Edwin; 18 Feb 2019 at 11:37.
SetFolderViewDefaults.txt
Here's a PowerShell script I wrote (attachment above) to modify all the folder view templates to a given layout. It's more powerful than 'Apply to folders' because it modifies search results, libraries, and various others. As written, it only modifies view mode (Details, List, Tiles, etc.). You just need to modify a few values to reflect folder locations on your computer and selecting the desired mode:
Then you can copy & paste the code into a PowerShell window.Code:# # *** Change the value of '$Backup' to the path of an existing folde r# *** where you want to registry backups saved to. $Backup = 'C:\Users\keith\Documents\Sandbox\Folder View Defaults' # Set '$LogicalViewMode' values to the desired style # 1 = Details 2 = Tiles 3 = Icons # 4 = List 5 = Content $LogicalViewMode = 4
Code to modify columns as well could be easily added & I'd be happy to help.
Keith
Last edited by KeithM; 19 Feb 2019 at 00:38. Reason: Code tags wipe out newlines1
To add column modification to the script, you want to add something like this in the main loop:
The above will set the Name column spacing to that seen in the 'Recent Files' section of Quick Access.Code:If ($ColumnList = $key2edit.GetValue('ColumnList')) { $ColumnList = $ColumnLIst.Replace('0System.ItemNameDisplay','0(34)System.ItemNameDisplay') $key2edit.SetValue('ColumnList', $ColumnList) }
You can chain the Replace operations like so:
etc.Code:$ColumnList = $ColumnLIst.Replace('0System.ItemNameDisplay','0(34)System.ItemNameDisplay').Replace('0System.DateModified','0(20)System.DateModified')
Keith
Got it.
I would like to set everything visually and adjust first before applying changes.
Will give it a go...
I understand that desire, but I think you'll have to resort to some trial and error. Microsoft, in its infinite wisdom, uses a different format for the column info in saved views. Take a look under HKCR\Local Settings\Software\Microsoft\Windows\Shell\Bags\<Bag#>\Shell\{<FolderTypeID>} to see a saved view.
But my script does backup your current saved views and 'Apply to folders' settings before deleting them (to give you a "clean slate") and once its run, you have the HKCU\...\FolderTypes key to "play with. You can go back to the way things were before the script was run by deleting HKCU\...\FolderTypes and then merging the .reg files in the backup folder.
Keith
OK. tried it!
It's nice but I need something that will give me visual control over the entire process.
Please understand that this is a compliment but I'm just very picky!
Thanks again.