Skip to main content

EPM - Windows Configuration - Windows Explorer View - List

Summary

This script will set the Windows Explorer view to List View.

Sample Run

Sample Run

Variables

NameDescription
RemovalBagMRUThis includes information on the removal of the HKCU bagmru key.
RemovalBagsThis includes information on the removal of the HKCU bags key.
ListViewThis includes the list value setting at the HKLM system level for all Windows Explorer.
OutComeOutput of the PowerShell script performing the changes.

Process

This script performs the following actions:

  • Modifies HKCU:/Software/Classes/Local Settings/Software/Microsoft/Windows/Shell/BagMRU for all users.
  • Modifies HKCU:/Software/Classes/Local Settings/Software/Microsoft/Windows/Shell/Bags
    • It creates 'Mode' with a value of 3 and 'LogicalViewMode' with a value of 4 at HKLM:/SOFTWARE/Microsoft/Windows/Shell/Bags/AllFolders/Shell/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/FolderTypes/TopView, then GUID.

Output

  • Script log