Add Size All Columns To Fit Context Menu In Windows 10

Sise To Fit Icon

You can add Size All Columns To Fit to the context Menu In Windows 10. If you are using the Details view for files and folders in File Explorer, this will improve your productivity and save a lot of time when you have to deal with columns and tables.

By default, File Explorer comes with a special command Size All Columns To Fit on the View tab of the Ribbon user interface.

Also, you can use a secret keyboard shortcut. as described in the article Size All Columns To Fit In File Explorer In Windows 10. Click on any file or folder and press Ctrl + + hotkeys (Ctrl and the plus key) on your keyboard. All columns will be resized to fit.

Having the Size All Columns To Fit command in the context menu in File Explorer will improve your productivity and save a lot of time when you need to resize all columns to fit quickly.

To Size All Columns To Fit Context Menu in Windows 10, do the following.

Apply the Registry tweak listed below. Paste its contents inside Notepad and save as a *.reg file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\Windows.SizeAllColumns]
"CommandStateSync"=""
"Description"="@shell32.dll,-37467"
"ExplorerCommandHandler"="{f4e8bc67-9616-4a28-a332-cf27a5ca6736}"
"Icon"="imageres.dll,-5366"
"MUIVerb"="@shell32.dll,-37466"


[HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.SizeAllColumns]
"CommandStateSync"=""
"Description"="@shell32.dll,-37467"
"ExplorerCommandHandler"="{f4e8bc67-9616-4a28-a332-cf27a5ca6736}"
"Icon"="imageres.dll,-5366"
"MUIVerb"="@shell32.dll,-37466"


[HKEY_CLASSES_ROOT\*\shell\Windows.SizeAllColumns]
"CommandStateSync"=""
"Description"="@shell32.dll,-37467"
"ExplorerCommandHandler"="{f4e8bc67-9616-4a28-a332-cf27a5ca6736}"
"Icon"="imageres.dll,-5366"
"MUIVerb"="@shell32.dll,-37466"

In Notepad, press Ctrl + S or execute the File - Save item from the File menu. This will open the Save dialog. There, type or copy-paste the name "Columns.reg" including quotes.

Double quotes are important to ensure that the file will get the "*.reg" extension and not *.reg.txt. You can save the file to any desired location, for example, you can put it in your Desktop folder.

Double click the file you created, confirm the import operation and you are done.

To understand how this tweak works, refer to my previous article where I explained how to add any Ribbon command to the Context menu in Windows 10. See

How to add any Ribbon command to the right click menu in Windows 10

In short, all the Ribbon commands are stored under this Registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell

You can export the desired command and modify the exported *.Reg in order to add it to the context menu of files, folders, or any other object visible in File Explorer.

To save your time, I made ready-to-use Registry files. You can download them here:

Download Registry Files

Alternatively, you can use Context Menu Tuner. It will allow you to add any Ribbon command to the context menu.

Select "Size all columns to fit" in the list of available commands, select "All Files" on the right side and click the "Add" button (see the screenshot above). Now, add the same command to Folder, Drive and Library. You can get the app here:

Download Context Menu Tuner

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

5 thoughts on “Add Size All Columns To Fit Context Menu In Windows 10”

    1. You are doing it wrong. It does its work like a charm.

      BTW, nobody forces you to add or remove this context menu entry. It is all up to you. If you find it silly, well, just don’t add it. Other people find it useful.

  1. Adding it to context is kind silly, when you hover over the columns it already shows.
    But i guess this allows to do it from every where in the window. Would be cleaner if we could make a sub context menu. The windows context menu is so bloated, its just insane compared to OSX

Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.