Folder 'View' settings via PowerShell?

I have a need to copy a folder and make sure it is showing Medium Icon view. I had hoped that the Medium Icon setting was just folder metadata and would copy with the folder, but that seems not to be the case. So now I am trying to figure out where this
info is stored, and how to modify the setting with PowerShell. Given that the manual approach is not to right click on the folder, but within the folder, I am stumped in how to proceed.
Gordon

There's a tool called ShellBagsFolder which can be used to determine which registry key contains the folder view settings, but I strongly suspect this would be different for each computer.  There are a series of GUIDs that are also associated with the
folder (there's no human readable string that has the folder path) which you might be able to search for and find the hook between the folder path and the registry key so you don't need the third party utility as part of your script.
http://www.nirsoft.net/utils/shell_bags_view.html
If you download and install it and run it, you can search through the list of folders that will be displayed, right-click on it, and select Open Slot Key in Registry to open Regedit to the parent key for the folder.
I hope this post has helped!

Similar Messages

  • Global Folder View Settings

    Hello,
    Is there an app for Mac OS 9 that will allow me to change the global folder view settings for things like Window Size & Position, Order of Columns, and Icon or List View? It seems that I spend too much time trying to get new windows to look like I want them to. I have searched for shareware apps with no success.
    Thanks,
    David

    Hi, David -
    Welcome to Apple's Discussions.
    I'm not aware of any 3rd-party utility that can do all of that, or even much of it.
    There is a work-around that will take care of most of it.
    When a folder is created via the New Folder item in the File menu, that folder is automatically granted the defined characteristics (view, order, arrangement, etc.) of the enclosing, or parent, folder. For this purpose, the desktop is considered to be a folder.
    If you have a preferred group of settings, set up an empty folder with those settings. Put it in a convenient place. Then, when you want to create a folder with those same characteristics, open that folder and create the new folder within it. The new daughter folder will be given the characteriestics of the parent folder. You can then move the newly created folder wherever you want, and it will retain those settings.

  • Windows 8.1 folder view settings not saved

    Hello, Everyone
    Windows 8.1 Each folder view settings not saved what i can do.I
    want different view settings in each folder likes folder 1 i want large thumbnails & folder 2 small
    What i can do to resolve the issue thanks in advanced.
    I don't have any backup no system restore I also try to rest or restore default view settings but none are working for me.

    Hi,
    This is default behavior. It is not possible to set Windows Explorer to remember individual folder view settings for folders included in libraries. All libraries and its included folders share the same view.
    Karen Hu
    TechNet Community Support

  • How to control IE10's "Compatibility View settings" via Group Policy

    First
    of all thanks for taking the time to read this.  I must let you know that I have limited experience with Group Policy so here it goes...
    Domain Controllers are 2008 R2 Datacenter and client computers are Win7 Pro with IE10
    I need to add several sites to the "Compatibility View settings" in IE10 and have these pushed out via Group Policy.
    I followed this to enable the "Use Policy List of Internet Explorer 7 sites:"
    Use
    Policy List of Internet Explorer 7 sites
    I even added the settings to both User Configuration as well as Computer Configuration.  However the computers on the domain wouldn't show these sites in
    IE even after forcing a GP update (gpupdate /force)
    Yes I did use top level domain names.
    Next I installed the Administrative Templates for Windows Internet Explorer 10 on the DC:
    Administrative Templates for Windows Internet Explorer 10
    this gave me an Inetres.adm file while I put in the same location as my other .adm files that Group Policy Manager sees (located at C:\Windows\SYSVOL\domain\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\Adm)
    I do see a bunch of .ADMX files located at C:\Windows\PolicyDefinitions
    on the DC.  I also see a lot of .ADML files located at C:\Windows\PolicyDefinitions\en-US.
    Where is my Central Store located that my Group Policy references?  How do I know what location GP is reading from?
    Now I installed the Administrative Templates (ADMX) for Windows Server 2008 R2 and Windows 7 from here:
    Administrative Templates (ADMX) for Windows Server 2008 R2 and
    Windows 7
    This gave me a "Win7-2008R2-admx.msi" package that I installed.  I took the defaults and extracted contents to:
    C:\Windows\PolicyDefinitions\Server 2008 Win7\PolicyDefinitions
    Are all of these .ADMX files supposed to be placed into my Central Store?
    If I mouse-over "Administrative Templates" in Group Policy Manager is says that the policy definitions are retrieved from the local machine.
    I then right-clicked on top of "Administrative
    Templates" in Group Policy Manager and highlighted Inetres and selected Delete.
    While in Add/Remove Templates I click on Add and it defaults to looking for "Policy Templates" and will not let me select and .ADM/.ADML/.ADMX files.
    What am I doing wrong here?
    How do I know that I'm using the most recent Inetres file?
    How do I know which file Group Policy Manager is using to manage the IE settings that are in:
    User Configuration->Administrative Templates->Windows Components->Internet Explorer->Compatibility View->Use Policy List of Internet
    Explorer 7 sites
    or
    Computer Configuration->Administrative Templates->Windows Components->Internet Explorer->Compatibility View->Use Policy List of
    Internet Explorer 7 sites.
    Is there anything else you can suggest?
    Many, many thanks in advance for any response

    Hi,
    Regarding your question, usually we create a Central Store for Administrative Templates (Both .admx and .adml files), and create a folder that is named PolicyDefinitions in the following location:
    \\FQDN\SYSVOL\FQDN\policies. The .adml files on the Windows computer
    are stored in a language-specific folder. For example, English (United States) .adml files are stored in a folder that is named "en-US." When you have copied all .admx and .adml files, the PolicyDefinitions folder on the domain controller should contain the
    .admx files and one or more folders that contain language-specific .adml files.
    Please refer to the following articles. You will get more helpful details about the Central Store for Group Policy Administrative Template files.
    How to create the Central Store for Group Policy Administrative Template files in Windows Vista
    http://support.microsoft.com/kb/929841
    Windows 7, Windows Server 2008 R2 and the Group Policy Central Store
    http://blogs.technet.com/b/askds/archive/2009/12/09/windows-7-windows-server-2008-r2-and-the-group-policy-central-store.aspx
    Based on your description, I understand you enable the setting “Use Policy List of Internet Explorer 7 sites”. However, didn’t show any sites in IE in client even after forcing a GP update
    (gpupdate /force). Please use command “gpresult” in clients to collect the GPOs, and then check whether the GPO contain the setting “Use Policy List of Internet Explorer 7 sites” was applied to clients or wasn’t.
    In addition, you also can change the related setting by using registry directly.
    Follow the path of the registry:
    HKEY_CURRENT_USER->Software->Policies->Microsoft->Internet Explorer->BrowserEmulation->PolicyList. (Create registry folders
    manually if not present)
    Right Click
    PolicyList ->New->String Value->Enter the name of the website. (Both under ‘Name’ and ‘Data’. For example,
    Value name: example.com Value data: example.com)
    There is a similar question, please read as a reference.
    Add manually URL on Compatibility View List in IE10
    http://social.msdn.microsoft.com/Forums/ie/en-US/5a15e861-d106-471e-a968-fdea15e31c45/add-manually-url-on-compatibility-view-list-in-ie10
    Hope this helps.
    Best regards,
    Justin Gu

  • Problems with Folder view settings and file association in Windows 8.1

    My Windows 8.1 64 bit started forgetting the view settings from a folder.So if I go in a folder and I set it to List-View for example,whenever
    I close that folder and I reopen it the view is set automatically to Details view.And this applies to every folder in my computer except Desktop.It drives me crazy,especially in my pictures folders.
    Also with this problem another one came.I can't set a program to open some files,so the file associations for some files is broken.For example
    i can't set qTorrent to open torrent files.It just won't open them and the files apear as white documents just like I hadn't had a Torrent program installed already.I find it weird that both problems appeared together.
    I previously had to reinstall windows on my machine,because of this problems.It worked normal at the begging,but today these problems appeared
    again.
    I tried scanning SFC
    Scan with no result.
    I hope I will get a fix here.
    Thanks.
    Update:I also just discovered that Metro apps are not working...what the heck its wrong with my windows.

    Hey thanks for the reply ,but I got a fix for everything.Apparently the problem is in the registry.
    So If the problem began recently, you can try this to fix it :
    Press Windows Key + R to show the Run box, type RSTRUI and press enter.
    Choose a recent date and time from before the problem beginning (such as the day before yesterday) and click Next.
    The system will restore registry settings from that day, and restart.
    If you do this however,all the programs you had installed after the restore point date will
    be DELETED   (same with any settings changes made before that date),so be sure to backup things.Hope this will help someone someday. .

  • Folder view settings not retained in Leopard

    Anyone else seen this problem ?
    I like to have different folders with different view settings - some icon, some list, and now some coverflow. But, it doesn't retain these settings, it just reverts to whatever view I was looking at last, and applies that to all folders.
    This is intensely annoying !
    Tiger didn't used to do that.
    Is there a solution ?

    I've done that. I have all my folders set to open in Icon view except my Music folder, which is set for List view, but I still have the problem with the settings not sticking.
    I'm not sure if this is related, but when I got back a folder, the Finder doesn't always remember where I was, ie., I'll be at the bottom of my Applications folder, go to the Utilities folder and then go back to Applications at the top.)

  • How to auto remember folder view settings in finder. its driving me crazy!

    Is there any way i can have finder NOT apply the view settings of the current folder to all folders opened after the current folder. It gets very annoying!

    You can't change the overall behavior, but you can customize individual folders so that they will remember to always open in a particular view even if other folders are subsequently opened in a different view.
    For each folder you want to "customize," open its Finder window, select the view you want, then type command-J and click the box at the top for "Always open in xxx view". That command refers to "this folder", not "all folders".
    Folders that have not been customized in this way will open in the same view that was in effect for the previously opened folder.  The box for "Use as defaults" at the bottom of the View Option window does not change this behavior - checking it appears rather to mean: "IF a future new folder is displayed in the same view as this one, THEN that view will have the same internal parameters (text size, etc) as this window does."

  • Photoshop CC keeps changing my windows folder view settings

    Every time I save a file from PS into a particular folder on my desktop, the view settings for that folder get reset to defaults.
    For example, I like the view setting to be on "details" and to be sorted in descending order by "date modified" (not 'date', which means i have to uncheck the 'date' field and check the 'date modified' field each time this happens)
    I open and close this folder from my desktop many times a day and the view stays the same, but as soon as I save a file out of PS and navigate to that folder from the save dialog box the view is reset to "thumbnails" again; which would be ok if it only showed up that way while in PS but once this happens it changes the view even for when I open the folder from the desktop.
    This does not happen with any other program, only PS. I'm using windows 7 pro 64-bit.
    It's worth noting that if I change the view settings from withing the save dialog box, those changes are not reflected when I open the folder from desktop.
    Also, once I make the changes, PS will keep the settings for all subsequent save operations, even after closing and re-opening the program. But once I reboot I'm back to square one.

    Photoshop has no control over that. That is an OS setting, and open/save are OS dialogs (not really controlled by Photoshop).

  • Folder view settings inheritance

    I'm trying to understand how inheritance works and how to break it.
    My problem is that say I want to switch some folders with images to cover flow view without affecting other folders. At the moment the switch will also change most other folders with the exception of a few.
    Why do these few folders stay as before?
    How can I change view settings for only the folder I'm looking at?
    Any hints appreciated!

    I've done that. I have all my folders set to open in Icon view except my Music folder, which is set for List view, but I still have the problem with the settings not sticking.
    I'm not sure if this is related, but when I got back a folder, the Finder doesn't always remember where I was, ie., I'll be at the bottom of my Applications folder, go to the Utilities folder and then go back to Applications at the top.)

  • Individual Folder View Settings

    Hello all
    Intel iMac - Leopard 10.5.2
    Question: Is it possible to assign different folders their own views? For example I might want my Photos folder to be Icons or Cover Flow but I don't want that setting to be carried into other folders.
    I noticed that when I specify a different view by pressing either on the icons on the tool bar or selecting it up top in the menu that the selected settings applies to all folders.

    Hi,
    As I understand it, using the back/forward toolbar buttons retains the current view selection. It might help to think of the aforementioned setting only applying to newly opened folders. So, for instance, if you used the cmd+up arrow combination to go back up the file hierachy, instead of the back button, that constitutes opening a new folder.
    This might not seem entirely logical when you have the toolbar visible, as newly opened folders open in the same window, but if you hide the toolbar and tried using the cmd+up arrow combination, it'll be more obvious.
    Hope that helps.
    Yang

  • PSE9 Organizer Folder View Settings

    Does anyone know how the Oranizer is storing your hard drive's folder structure that you see in the left panel when in Folder Location display? Mine has become corrupted after I moved to a new Computer. My Catalog and image files are still on the original externally mapped drive.  I'm pretty sure it's stored in the catalog because if I creaate a new catalog it has the folder contents correct. I've tried Repair, Optimize and Reconnect but it didn't fix anything.
    Even stranger is I see 4 different indications for the location of a file when it's selected.
    1. Hover over a folder and the popup displays the path of the folder. This is correct. Select this folder.
    2. The thumbnails displayed in the center panel are not actually in the selected folder.
    3. The folder path displayed above the center panel is incorrect and not the same as 1 or 2 above.
    4. The folder path displayed in the file's properties is correctly showing where the file is.
    If it isn't possible to hack a fix in some external Oraginzer config file then is there a way to create a new catalog and then import your image files with all the tagging and Albums from the original Catalog?
    All my image files are stored in one location so it's easy to find them. My workflow is to input files to my PC into the My Documents folder path that have the Watched folders. I then perform all the necessary tagging and finally do a Organinzer Move to the final storage location on a 2nd hard drive.
    thanks,  -phil

    Selected folder is; C:\Users\dommerpw\Pictures\Eye-Fi
    Center panel title bar is showing:  C:\Users\dommerpw\Pictures\HDR
    There's only one thumbnail image displayed. Selecting the thumbnail and file properties shows; C:\Users\dommerpw\Pictures\from Phone\. This is the true physical location of the file.
    Looking with Windows Explorer the C:\Users\dommerpw\Pictures\Eye-Fi folder actually has 16 files in it not just 1.
    The external drive is mapped to the same drive letter as on the old computer. In Thumbnail View all of the files are displayed and available at there actual location. I've looked in the catalog database file with Visual Studio and all of the files listed in the media table are correctly cataloged with their physical location. The volume table is also correct with the records in it. It's only when the Organizer is in Folder Location mode that there's this corruption.
    I can't figure out where or how the Organizer is discovering the folder hierarchy. It doesn't appear to use the databse file because that looks correct. And it doesn't appear to be using an interface to Windows to discover it in real time. It has to be something that the Oraginizer calculates at some time. Keep in mind if I create a new catalog and then Get The Photos in c:\Users\dommerpw|\Pictures it correctly shows what files are in what folder.

  • How to Get A Default Folder View That Overrides Other Settings?

    Hi Thanks for checking my question. Now I have a default folder view that display things nicely every time I open finder. But whenever I attach a external drive or a card reader or connect to a networked drive, my default setting is overridden by all the previous folder views I had for those hard drives/cards/network locations. Is there a way to use my folder view settings in the highest priority, so that whatever I opened in finder (local, external or remote) will show itself in the same manner?
    Any enlightenment is appreciated.

    Actually the view I get from opening a folder seems to depend on HOW I opened it as well. If I clicked finder on the dock and navigate to my Downloads folder I get the view I want, but if I opened Downloads folder by clicking its dock icon (as a stack I guess?) the view is the same old view I got before I changed my default folder view. How can I fix this so I may have a very consistent-looking finder window?
    Thanks.

  • Server 2012 R2: How do I set VLAN data for the Host Virtual Switch (via PowerShell)?

    I need to modify the Host (NOT the VM's) VMSwitch VLAN settings via Powershell for automation purposes.
    In Server 2012 (NOT R2), this can be done via modifying
    MSVM_VLANEndPointSettingData
    However, it seems in Server 2012 R2, that class is gone. I've manually searched through the MSVM classes, and it seems that the Host VMSWitch VLAN settings are stored
    in MSVM_EthernetSwitchPortVlanSettingData. Unfortunately, I have no way of tying that class to a specific VMSwitch.
    Any know how to do this on Server 2012 R2?

    Hi,
    I found some similar issue with your case, however this forum is not focus on the develop related issue,
    Therefore I suggest you more about the develop question please post to the MSDN forum.
    The related information:
    Problem with CPU load and WMI errors when Hyper-V is installed?
    http://social.technet.microsoft.com/Forums/windows/en-US/4eca1f42-8630-48b4-85fa-e9569445d832/problem-with-cpu-load-and-wmi-errors-when-hyperv-is-installed
    The third party solution:
    How to: Fix error 0x80041010 on Windows 8.1 + Hyper-V
    http://www.seankilleen.com/2013/11/how-to-fix-error-0x80041010-on-windows.html
    MSDN forum Developer Network
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=WAVirtualMachinesVirtualNetwork&filter=alltypes&sort=lastpostdesc
    Thanks for your understanding and support.
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Folder options/settings

    Hey folks,
    I haven't yet posted on here so I'm not sure if this is the place to post this. I'm just looking for a place for someone from Apple to answer my question. Anyway...
    With OS X Tiger a person was able to set their desired folder viewing settings by selecting: View > Show View Options. With Tiger you had the option of setting the way you could view contents of a given folder, or all folders at once. For example, you could open your mac hd and then select: Keep Arrange By > (drop-down) Name; and you could also choose something like "This folder" or "All folders".
    With Leopard it seems there is still the "Arrange By" menu, but it doesn't always keep the settings you selected. One example is with my external hard-drive. When I was running it on my G4 I could select: Keep Arranged By > Name, and it would save that setting no many how many times I shut my computer down or restarted. With Leopard I have to set the viewing options of all the external drives and various other system folders every single time I open them. It becomes very annoying and time consuming when all I'm trying to do is find a given file.
    Can anyone give me an idea of how to correct this, if there is some sort of global setting that can be used to fix this? I would basically like to always keep all my folders snapped to grid, in alphabetical order with an icon preview.
    Thank you

    Welcome to Discussions!
    This is a user to user forum, so no one from Apple will help, most likely.
    However, here is what I think you should do:
    1. Open a finder window, and click View>Show View Options.
    2. Select the options you want.
    3. Click "Use As Defaults" at the bottom of the window.
    Good luck!

  • Updating Flash player causes computer to forget folder views

    Every time I update the Flash player my computer forgets all my folder view settings.  The icons in all my folders aren't in the position that I put them and Windows refuses to remember any further changes to position or type of view (Tiles/Details/etc).  Windows forgetting folder views happens to many Vista users and I use the standard fix to the registry.  This works but the problem always reoccurs the very next time I update.  Can anyone offer a suggestion on what is the matter?  This is a tremendous bother for me.
    Flash Player version: 11.6.602.168
    Windows Vista (64-bit)
    Mozilla Firefox

    Here is a link describing the procedure to make Vista remember folder view settings:
          http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html
    Here are the registry changes from a .reg file on the website.  Below I upped the BagMRU Size to 65,535 because I have more than 50,000 folders on my C: drive.
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU]
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags]
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU]
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags]
    [-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]
    "BagMRU Size"=dword:0000ea60
    [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
    "FolderType"="NotSpecified"

Maybe you are looking for