New
#60
That error is from not having permission, so I'm not sure what else it could be if you did all of steps 4 and 5 on the ShellFolder registry key.
That error is from not having permission, so I'm not sure what else it could be if you did all of steps 4 and 5 on the ShellFolder registry key.
Tried this & it worked as advertised :)
But curious as to the "why" & "how"...
Looking at the SFGAO enumeration, when Quick Access is visible, it has SFGAO_NONENUMERATED set. Reading the description for this flag, one would expect it to hide Quick Access.
Clearing SFGAO_NONENUMERATED & setting SFGAO_NEWCONTENT and SFGAO_STREAM hide Quick Access.
All very cool, but it seems counter-intuitive. Can you explain why this works?
Keith
Hello Keith, :)
The data value setting of the Attributes DWORD overrides it. I just find this to be more of a fool proof method to use.
I know that you're changeling the Attributes DWORD, my question is why those attributes?
Keith
I was referencing the SFGAO names only for clarity in discussing what flags are set or cleared by the Attributes value under ...\CLSID\{XXXX...}\Shellfoder.
The value before the edit is 0xa0100000, correct?
So the individual flags in this value are:
0x20000000 i.e. SFGAO_FOLDER
0x80000000 i.e. SFGAO_HASSUBFOLDER
0x00100000 i.e. SFGAO_NONENUMERATED
So my first question is why is SFGAO_NONENUMERATED set in the first place & why does Quick Access show when it's set. Given the MSDN description of this flag:
It seems like the actual behavior is inverted.
The items are nonenumerated items and should be hidden. They are not returned through an enumerator such as that created by the IShellFolder::EnumObjects method.
Does that make my question any clearer?
Keith
I understood what you asked, but I have no explanation for why it does that either. It just does.
In all this time no one's found a way yet to hide Quick Access yet without breaking drag and drop in the Navigation Pane?
This subject came up again for me when I was looking for a way to remove Creative Cloud Files. For what it's worth, THAT's easy at least:
-NoelCode:Windows Registry Editor Version 5.00 ; This registry file hides "Creative Cloud Files" from the root namespace of File Explorer [HKEY_CLASSES_ROOT\CLSID\{0E270DAA-1BE6-48F2-AC49-E3987E025CE6}] "System.IsPinnedToNameSpaceTree"=dword:00000000 [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{0E270DAA-1BE6-48F2-AC49-E3987E025CE6}] "System.IsPinnedToNameSpaceTree"=dword:00000000
Hello Noel, :)
Thank you for the suggestion, but using the System.IsPinnedToNameSpaceTree DWORD with {679f85cb-0220-4080-b29b-5540cc05aab6} by itself at those locations doesn't work for Quick Access.
The method in the tutorial is the only one I found so far that doesn't break folders added to the Start list.
https://www.tenforums.com/tutorials/2...dows-10-a.html
I knew that the "IsPinned..." value doesn't work for Quick Access, but thanks for clarifying.
Just to be rigorous, I did test that the attribute change still breaks drag and drop in the Navigation pane with the latest Windows 10 10586.36. That's a shame; everything else unwanted in Explorer can be removed.
Regarding the Creative Cloud Files info, I just thought that maybe if someone found this thread by looking for ways to hide that Adobe-added namespace that the "IsPinned..." info might also be helpful.
I did run across one new thing I still need to follow-up with when I find some more time... There are some interesting entries listed by NirSoft Shell Extensions Viewer (ShellExView) that have no Extension Name but look like all the icons that appear under This PC. I've never really gone through the Microsoft entries in the list that application exposes in detail (usually I'm looking for misbehaving non-Microsoft shell extensiosns), but there may be some potential for tweaking in there... I've already hidden those abstractions another way but maybe it would be better to just remove the shell extensions.
-Noel