tools icon indicating copy to clipboard operation
tools copied to clipboard

How to enable/make visible on Windows 11?

Open dacowan opened this issue 4 years ago • 22 comments

On the most recent preview flight of Windows 11 - StExBar64 is installed, but the option to show the toolbar is no longer in the explorer menu options (that I can see). How do I enable the toolbar ribbon? I'm sure I'm just missing something obvious, I just can't see where...

dacowan avatar Sep 29 '21 17:09 dacowan

open explorer, then select the control panel in the left tree view. The old control panel is then shown, which still has the old look including a menu. right-click on that menu bar and you'll get the menu to show StExBar. Once activated it will be visible also in all other explorer views.

stefankueng avatar Sep 30 '21 05:09 stefankueng

OK, that helped - but there's a step missing.

  1. Open a Windows Explorer window
  2. Select "..." in the Ribbon and select "Options"
  3. Change the "View" tab, and select "Files & Folders > Always Show Menus"
  4. Exit the dialog
  5. Hit Windows-Key + R and type "control", and hit enter
  6. There should now be a menu bar on the Windows 10 style control panel
  7. Right Click on the menu bar
  8. Select the "StExBar" extension

If you de-select "Always Show Menus" from the view options, StExBar will be disabled again and you'll have to repeat the process.

So... got it working, but its a bit clunky...

dacowan avatar Oct 01 '21 17:10 dacowan

unfortunately I think this will get even worse with every new Windows version - I think MS wants to get rid of DeskBands completely.

stefankueng avatar Oct 02 '21 07:10 stefankueng

That Control Panel trick as described above by Stefan did work for me. But now everything in Explorer is switched to the Windows 10 UI, specifically the ribbon and the context menu.

For now that's ok for me, but do you know a way back to the Windows 11 Explorer UI? I tried to uncheck the StExBar in the same location, but that just hides StExBar, it doesn't go back to the Windows 11 Explorer UI. There's something else that seems to have changed permanently.

gerhard4 avatar Jul 22 '22 22:07 gerhard4

I'm on Win11 beta channel. The explorer there has tabs. And there the UI is a little bit better, it keeps the Win11 UI style. But dark mode has some problems: right above the StExBar deskband a menu is shown which is always in bright mode, so it looks ugly.

stefankueng avatar Jul 23 '22 06:07 stefankueng

After a bit I found out that the Explorer window where I enabled StExBar stays in Win10 mode, but any new Explorer window opens in Win11 mode (including the context menu), with the StEx toolbar. And if I disable the StExBar (again using the Control Panel trick), any new window looks like before installing StExBar (normal Win11 UI).

So with this small Control Panel work-around, it all works as it should. (I don't use dark mode.)

gerhard4 avatar Jul 23 '22 15:07 gerhard4

@stefankueng , do you think a script like shown here could work, without the Control Panel steps? https://docs.microsoft.com/en-us/windows/win32/shell/shell-showbrowserbar

I think I found a CLSID of 6c7a85a7-27c6-49ce-98b2-a8479b0dd63d for StExBar, and I tried it, but got the error "Class doesn't support Automation". Is that your CLSID? Is "automation" something simple like a flag you can set when building that would allow your app to accept Shell commands like that?

jimtut avatar Jul 28 '22 19:07 jimtut

@jimtut yes, that's the CLSID of the stexbar deskband object. But as you've discovered, you can't just use that. Also the API you linked to is not usable in this context.

To get the StExBar to show in explorer the easy way:

  1. open explorer
  2. select the "control panel" item in the tree view
  3. -> explorer reverts back to the 'old' view
  4. now you can use the menu in explorer to enable the StExBar, and it will show up in the new explorer views as well

stefankueng avatar Jul 29 '22 17:07 stefankueng

Yes, I had seen that workaround above and used that successfully on Windows 11. I was just thinking if there was a way to use an API to enable that "workband", which I thought might be the same as the bar in that API. The API says:

The object must be registered as an Explorer Bar object with a CATID_InfoBand component category. For further information, see Creating Custom Explorer Bars, Tool Bands, and Desk Bands.

Sounds a lot like what StExBar is, so it's too bad if it's actually a different class/object.

jimtut avatar Jul 30 '22 15:07 jimtut

I just started using Windows 11; version 22H2. I wanted to use StExBar, but the workarounds described here to enable the explorer bar didn't work. There seems to be no longer any option to enable the menu permanently nor to enable an explorer tools bar. Did I overlook anything? Does anyone has an idea hoe to use StExBar also in Win 11?

ramy2345 avatar Mar 25 '23 13:03 ramy2345

I'm still on W11 21H2, but the "old" Control Panel is there, and you can enable toolbars in the View menu there. Can you include a pic of your Control Panel and its View menu? Maybe it's been removed, maybe you're just missing it.

jimtut avatar Mar 25 '23 14:03 jimtut

I'm still on W11 21H2, but the "old" Control Panel is there, and you can enable toolbars in the View menu there. Can you include a pic of your Control Panel and its View menu? Maybe it's been removed, maybe you're just missing it.

Sure, attached some screenshots from selecting "Control Panel", then the "Control Panel" View itself, and finally the menu. Note that the only way I've found to activate the menu was to press and release the Alt-key. After that the menu was visible on the upper left. But nowhere I could see any option to activate any tool bar or similar.

Scr_20230326_194307_Home Scr_20230326_194613_Control Panel Scr_20230326_194642_Control Panel

ramy2345 avatar Mar 26 '23 17:03 ramy2345

My menus are in the horizontal (left-to-right) structure shown in my pic below, and I definitely have the Toolbars menu, and StExBar available there. So, either your version of Windows and the Control Panel has removed this feature, or maybe StExBar isn't actually installed? Included a 2nd pic of the Control Panel "Programs and Features" tool that shows StExBar installed on my machine, for you to compare if it's really installed for you.

If this doesn't help, the future looks bleak for all of us users...

image

Installed: image

jimtut avatar Mar 26 '23 19:03 jimtut

Alt + V and then you select StExBar from Toolbars

francoross avatar Nov 05 '23 13:11 francoross

Here is another workaround if you want to revert to the older right-click menu options.

To revert to the old UI run the following command:

reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

To change it back run the following command:

reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

RobertKlohr avatar Jan 12 '24 21:01 RobertKlohr