Solved Is it possible to disable zip folders ?


Just to note, this will also disable the ability to open these compressed (ZIP, etc...) folders by File Explorer.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Just to note, this will also disable the ability to open these compressed (ZIP, etc...) folders by File Explorer.
Appreciate it Brink. Thanks for the info
 

My Computer

System One

  • OS
    Windows 11 Home 22H2(for now)
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF 17 FA707NU
    CPU
    AMD Ryzen 7 7735HS Mobile
    Memory
    16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 4050
    Sound Card
    Dolby Atmos
    Monitor(s) Displays
    17.3-inch FHD
    Screen Resolution
    1920 x 1080
    Hard Drives
    1TB PCIe 4.0 NVMe M.2 SSD
I investigated this on a per-user basis by setting the CLSID values to an empty string rather than deleting the key and default value. But it shouldn't make any difference.
So, if you don't want to see .zip and .rar and .7z in the left pane of window explorer, apply
-----------------------------------------------------
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\CompressedFolder\CLSID]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.zip\CLSID]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.rar\CLSID]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.7z\CLSID]
Although this worked with Zip files, it didn't with Rar or 7Z files. This is unsurprising. look at the CLSID values from a regscanner search.

Code:
HKCR\ArchiveFolder\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.7z\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.bz2\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.gz\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.rar\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.tar\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.tbz2\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.tgz\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.txz\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.tzst\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.xz\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}
HKCR\SystemFileAssociations\.zst\CLSID        REG_SZ    {0C1FD748-B888-443D-9EC3-AD7E22D48808}


HKCR\CompressedFolder\CLSID        REG_SZ    {E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}
HKCR\SystemFileAssociations\.zip\CLSID        REG_SZ    {E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}

.7z .rar etc are apparently ArchiveFolder type. If I set HKCR\ArchiveFolder\CLSID default value to an empty string (and restart explorer) then they do disappear from the navigation.
It seems perfect if we just know the list of all such extensions that this logic can work with.
see the list above.
Just to note, this will also disable the ability to open these compressed (ZIP, etc...) folders by File Explorer.
Quite. So, since Windows 11 makes defaults for contested files a user setting, this is probably best applied as a user setting.

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CompressedFolder\ShellEx\StorageHandler]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.zip\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\CompressedFolder\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.zst\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.xz\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.tzst\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.txz\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.tgz\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.tbz2\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.tar\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.rar\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.gz\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.bz2\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\SystemFileAssociations\.7z\CLSID]
""=""

[HKEY_CURRENT_USER\Software\Classes\ArchiveFolder\CLSID]
""=""

To reverse this, do a global replace on the above changing
Code:
""=""
to
Code:
""=-
Note that this doesn't remove "Exract All..." from the context menu for these files. Although this can be done by blocking the responsible shell extensions.

Mike
 

My Computer

System One

  • OS
    Windows 11 23H2 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI
    CPU
    i3-1215U
    Memory
    8GB
    Monitor(s) Displays
    Dell S2721
    Screen Resolution
    3840x2160
    PSU
    External 65W
    Keyboard
    Cherry mechanical (Blue)
    Mouse
    Microsoft
    Browser
    FireFox
    Antivirus
    MS

Latest Support Threads

Back
Top Bottom