Restore Classic File Explorer with Ribbon in Windows 11


  • Staff
File_Explorer_banner.png

This tutorial will show you how to restore the classic File Explorer with Ribbon for your account or all users in Windows 11.

File Explorer in Windows 10 has a ribbon, tabs, and a title bar with color. The ribbon includes common tasks, such as copying and moving, creating new folders, emailing and zipping items, and changing the view. The tabs change to show extra tasks that apply to the selected item. You can hide or show the ribbon on demand.

In Windows 11, Microsoft made File Explorer modern with a clean look and brand-new command bar instead of the ribbon.

If you prefer, you can restore the classic File Explorer with ribbon in Windows 11.


Contents

  • Option One: Temporarily Open File Explorer with Ribbon
  • Option Two: Create Shortcut to Always Open File Explorer with Ribbon
  • Option Three: Restore Classic File Explorer with Ribbon for Current User using REG file (Works in 23H2+)
  • Option Four: Restore Classic File Explorer with Ribbon for All Users using REG file (No longer works in 22H2+)
  • Option Five: Enable or Disable File Explorer Command Bar for Current User using REG file (No longer works in 22H2+)
  • Option Six: Enable or Disable File Explorer Command Bar for Current User using Command (No longer works in 22H2+)


EXAMPLE: File Explorer with command bar and ribbon in Windows 11

File_Explorer_with_command_bar.png
File_Explorer_with_ribbon.png





Option One

Temporarily Open File Explorer with Ribbon


This option will open a File Explorer window with the ribbon.

You will be able to browse and navigate in this File Explorer window with a ribbon only for as long as this window is open.


1 Open the Control Panel.

2 Perform one of the following actions depending on which Control Panel view is used: (see screenshots below)
  • If using small icons view, click/tap twice on the Up arrow.
  • If using large icons view, click/tap twice on the Up arrow.
  • If using category view, click/tap once on the Up arrow.
Control_Panel_small_icons_view.png
Control_Panel_large_icons_view.png
Control_Panel_category_view.png

3 You will now have a File Explorer window with the ribbon open. (see screenshot below)

File_Explorer_window_with_ribbon.png





Option Two

Create Shortcut to Always Open File Explorer with Ribbon


You can Pin to Taskbar, Pin to Start, add to Start menu All apps, add to Win+X menu, assign a keyboard shortcut to, or move this shortcut to where you like for easy usage.


If there's a folder or location you want File Explorer to open to by default that's not listed below, then please post a request for it. I'll be happy to add it to the shortcut list below for you.


The shortcut commands below will only work with an English language installation. If you use a different language, then please post a request for a translated version of the shortcut command you want to use. "Control Panel" and the folder name (ex: "Desktop") in the command needs to be translated for your language instead.



1 Create a new shortcut using the command below for the path you want:

Open File Explorer to Desktop with Ribbon
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'""^"lDesktop~"'")}"

OR

Open File Explorer to Home with Ribbon
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'""^"lHome~"'")}"

OR

Open File Explorer to OneDrive with Ribbon
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'""^"lShell:OneDrive~"'")}"

OR

Open File Explorer to This PC with Ribbon
powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Control Panel\"); Start-Sleep 0.75; $wshell.SendKeys("'""^"lThis PC~"'")}"




Option Three

Restore Classic File Explorer with Ribbon for Current User using REG file


This option will only work on Windows 11 version 23H2 and higher.


1 Do step 2 (classic) or step 3 (default - undo) below for what you would like to do.


 2. Restore Classic File Explorer with Ribbon for Current User

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Restore_classic_File_Explorer_with_ribbon_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}]
@="CLSID_ItemsViewAdapter"

[HKEY_CURRENT_USER\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}\InProcServer32]
@="C:\\Windows\\System32\\Windows.UI.FileExplorer.dll_"
"ThreadingModel"="Apartment"

[HKEY_CURRENT_USER\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}]
@="File Explorer Xaml Island View Adapter"

[HKEY_CURRENT_USER\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}\InProcServer32]
@="C:\\Windows\\System32\\Windows.UI.FileExplorer.dll_"
"ThreadingModel"="Apartment"

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\ShellBrowser]
"ITBar7Layout"=hex:13,00,00,00,00,00,00,00,00,00,00,00,20,00,00,00,10,00,01,00,\
  00,00,00,00,01,00,00,00,01,07,00,00,5e,01,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00


 3. Restore Modern File Explorer with Command Bar and Tabs for Current User

This is the default setting to undo step 2.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Default_modern_File_Explorer_with_command_bar_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{2aa9162e-c906-4dd9-ad0b-3d24a8eef5a0}]

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{6480100b-5a83-4d1e-9f69-8ae5a88e9a33}]

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Either restart the explorer process, sign out and sign in, or restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.




Option Four

Restore Classic File Explorer with Ribbon for All Users using REG file


You must be signed in as an administrator to use this option.


This option will no longer work on Windows 11 version 22H2 and higher.


1 Do step 2 (classic) or step 3 (default - undo) below for what you would like to do.

2 Restore Classic File Explorer with Ribbon

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Restore_classic_File_Explorer_with_ribbon.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{e2bf9676-5f8f-435c-97eb-11607a5bedf7}"=-

3 Restore Modern File Explorer with Command Bar

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Default_modern_File_Explorer_with_command_bar.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{e2bf9676-5f8f-435c-97eb-11607a5bedf7}"=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Sign out and sign in or restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.




Option Five

Enable or Disable File Explorer Command Bar for Current User using REG file


This option will no longer work on Windows 11 version 22H2 and higher.


1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.


 2. To Enable File Explorer Command Bar

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Enable_File_Explorer_command_bar.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}]


 3. To Disable File Explorer Command Bar

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Disable_File_Explorer_command_bar.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32]
@=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 Either restart the explorer process, sign out and sign in, or restart the computer to apply.

8 You can now delete the downloaded .reg file if you like.




Option Six

Enable or Disable File Explorer Command Bar for Current User using Command


This option will no longer work on Windows 11 version 22H2 and higher.


1 Open Windows Terminal, and select Windows PowerShell or Command Prompt.

2 Copy and paste the command below you want into Windows Terminal, and press Enter.

(Disable)​
reg add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve

OR​

(Enable - default)​
reg delete "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}" /f

3 Close Windows Terminal.

4 Either restart the explorer process, sign out and sign in, or restart the computer to apply.


That's it,
Shawn Brink


 

Attachments

  • File_Explorer.png
    File_Explorer.png
    5.6 KB · Views: 255
  • Default_modern_File_Explorer_with_command_bar.reg
    680 bytes · Views: 535
  • Restore_classic_File_Explorer_with_ribbon.reg
    682 bytes · Views: 412
  • Disable_File_Explorer_command_bar.reg
    634 bytes · Views: 252
  • Enable_File_Explorer_command_bar.reg
    590 bytes · Views: 220
  • Default_modern_File_Explorer_with_command_bar_for_current_user.reg
    748 bytes · Views: 24
  • Restore_classic_File_Explorer_with_ribbon_for_current_user.reg
    5.4 KB · Views: 10
Last edited:

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
This really is very clever. I don't know how you did this, but it does function in the dev. version of 23H2 as well!
Thank you so much for this program, hope it will stay functioning in the future modifications of Windows 11! (y)
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Kingston NV2 - 500 GB
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 115.7.0 ESR
    Antivirus
    F-secure via Internet provider
    Other Info
    Oracle VirtualBox 7 for testing software on Win 10 or 11
I have one question:

When the adress bar is filled in with a target link which is long (for instance "D:\Folder for my own special purpose\"), that is done rather slow, as if someone is typing. So it will last some time until the real folder is appearing.

Is that done on purpose or should I change something in the shortcuts that I make on my desktop?
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Kingston NV2 - 500 GB
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 115.7.0 ESR
    Antivirus
    F-secure via Internet provider
    Other Info
    Oracle VirtualBox 7 for testing software on Win 10 or 11
This really is very clever. I don't know how you did this, but it does function in the dev. version of 23H2 as well!
Thank you so much for this program, hope it will stay functioning in the future modifications of Windows 11! (y)

It just runs control admintools, waits for the window to open, and then sends C: (or the path you specify on the command line) to the address bar. It should continue to work until the day comes when Microsoft completely replaces the Control Panel with the Settings app.
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
When the adress bar is filled in with a target link which is long (for instance "D:\Folder for my own special purpose\"), that is done rather slow, as if someone is typing. So it will last some time until the real folder is appearing.

Version 1.0.4 (available now) does fast input of the path by using the clipboard for any paths > 3 characters in length. The tradeoff, of course, is that it must overwrite what's currently on the clipboard. This is not really an issue if you have clipboard history enabled. However, just to cover all bases, it also allows you to disable using the clipboard (and go back to the slow input) by including /x on the command line. See the ReadMe for details.

Note: You may see a false positive "Trojan:Script/Wacatac.H!ml" detection when you download it. I have submitted a false positive report to Microsoft, so, hopefully, it will be allowed through with the next definition updates. In the meantime, you may have to "allow on this device" in order to use it.

Update: The Windows Defender team is fast! They've already analyzed the file, agreed it was a false positive, and updated the definitions. I updated my Windows Defender definitions (1.397.1334.0 as of today) and the file then downloaded and scanned without any issues.
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
I decided not to use your program. Reason is this:
It should continue to work until the day comes when Microsoft completely replaces the Control Panel with the Settings app.
As a matter of fact I was going to get used to the (less handy) new UI of the File Explorer. In your little program I saw some possibility to use the old UI, but it seems I better have to continue getting used to the new method. Better so than having to watch if MS (maybe suddenly) is changing its policy for this older File Explorer and things would not work properly after that.

But anyway thanks for your program! ;-)
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Kingston NV2 - 500 GB
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 115.7.0 ESR
    Antivirus
    F-secure via Internet provider
    Other Info
    Oracle VirtualBox 7 for testing software on Win 10 or 11
I decided not to use your program. Reason is this:

As a matter of fact I was going to get used to the (less handy) new UI of the File Explorer. In your little program I saw some possibility to use the old UI, but it seems I better have to continue getting used to the new method. Better so than having to watch if MS (maybe suddenly) is changing its policy for this older File Explorer and things would not work properly after that.

But anyway thanks for your program! ;-)
I wouldn't use the removal of Control Panel as a reason. At the rate Microsoft has been working on that, it will be years (possibly many years) before that happens. Windows 10 came out in 2015 and they still have a long way to go. Anyhow, I suggest keeping the option for any time where you see the new Explorer running slow. Try the old version and you will likely see much better performance.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
At this moment the new Explorer is much faster than your way-around for the old version.
Even in my VirtualBox 23H2 dev. version, the new Explorer is very fast.
And programs tend to be slower in that environment because of emulation and 4 processors in stead of 8 in my normal system.
So I have nothing to complain until now. The only thing is the headers that take (on a PC) much to much space, useless I think.
But may be on a smaller touchscreen you would need those larger headers.

I don't understand why Microsoft has thrown away all setup options, even the WinTools Change Systemfonts does not function anymore on the sizes of the new explorer header. But that's how Microsoft is these days. Once upon a time you could set all character sizes (and types) as you wished, but that has gone long ago.
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Kingston NV2 - 500 GB
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 115.7.0 ESR
    Antivirus
    F-secure via Internet provider
    Other Info
    Oracle VirtualBox 7 for testing software on Win 10 or 11
At this moment the new Explorer is much faster than your way-around for the old version.

We're not talking about the same thing. You're referring to launching where it's a matter of a second or two. I'm talking about where you see Explorer chugging away with a green bar creeping across the screen as you're waiting for a folder to open. That's where you will see a huge difference between the old and new Explorer. If you don't ever encounter delays like that, then that's great. But if you do, I'm saying you should try the old explorer with the same folder and see how it compares.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
...Explorer chugging away with a green bar creeping across the screen as you're waiting for a folder to open...
I only have that when opening the network overview by a link on my desktop, that only if I do that for the first time. When repeated soon after that, there's no problem. I think that's because the router has to be awakened (or something like that).

But when opening a folder in a network NAS drive, the folders are there right away, I would say in a fraction of a second. And all normal folders and subfolders open rightaway, not a second or two, but a fraction of a second. On all my (fixed) drives and HD-drives I connect via USB.

So for me no problem at all with Explorer running slow.
My only problem is with user interface, character sizes and so.
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Kingston NV2 - 500 GB
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 115.7.0 ESR
    Antivirus
    F-secure via Internet provider
    Other Info
    Oracle VirtualBox 7 for testing software on Win 10 or 11
at my system OldExplorer.exe dont opens C: or any other path.
It always opens Systemsteuerung\Alle Systemsteuerungselemente\Windows-Tools
Using the known bat that opens and closes the shell window works for me.
But I would like to use the OldExplorer.exe, without this "popup-window".
Winver: 22H2 (B 22621.2428)
 

My Computer

System One

  • OS
    Win 11
at my system OldExplorer.exe dont opens C: or any other path.
It always opens Systemsteuerung\Alle Systemsteuerungselemente\Windows-Tools

This issue should have been obvious to me immediately. The code I wrote identifies the window by it's name, which, of course, varies from one language to another. There may be some clever method to find the window in a language agnostic way, but so far I've come up blank. I may code in the strings for other languages or maybe provide a way for the user to supply the strings. I'll have to think about it.

Using the known bat that opens and closes the shell window works for me.

Can you provide a link to that batch file or post it here?
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
This issue should have been obvious to me immediately. The code I wrote identifies the window by it's name, which, of course, varies from one language to another. There may be some clever method to find the window in a language agnostic way, but so far I've come up blank. I may code in the strings for other languages or maybe provide a way for the user to supply the strings. I'll have to think about it.
OldExplorer.exe is launching "control admintools" -- so you already have the child's PID. Can't you find the window handles by PID, instead of by searching for random localized titles?
 

My Computer

System One

  • OS
    Windows 7
OldExplorer.exe is launching "control admintools" -- so you already have the child's PID. Can't you find the window handles by PID, instead of by searching for random localized titles?
The command control.exe admintools actually launches an instance of explorer.exe so it's a bit tricky getting the correct explorer.exe process.

Update: I finally got it working reliably without using a window title. The solution is to get the window handle of the process that has a task command line of C:\WINDOWS\explorer.exe /factory,{5BD95610-9434-43c2-886c-57852CC8A120} -Embedding.
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
This issue should have been obvious to me immediately. The code I wrote identifies the window by it's name, which, of course, varies from one language to another. There may be some clever method to find the window in a language agnostic way, but so far I've come up blank. I may code in the strings for other languages or maybe provide a way for the user to supply the strings. I'll have to think about it.



Can you provide a link to that batch file or post it here?
This bat is working for my german setup. (but as I said, the Popup isnt really nice)

powershell.exe -nop -ep bypass -c "& {"Start-Process \"Control\"; $wshell = New-Object -ComObject wscript.shell; $null = $wshell.AppActivate(\"Systemsteuerung\"); Start-Sleep 0.75; $wshell.SendKeys("'""^"lDieser PC~"'")}"
 

My Computer

System One

  • OS
    Win 11
at my system OldExplorer.exe dont opens C: or any other path.
It always opens Systemsteuerung\Alle Systemsteuerungselemente\Windows-Tools
OldExplorer version 1.1.1 works correctly, regardless of system language. It's available now at the same link:

 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
thanks for your great work, works perfect.
maybe a little bit slow, is there a way to speed it up a few milliseconds?
You can save the code shown in my post (link above) to a .cs file with notepad, save the code below to a batchfile in the same folder, and run the batchfile to compile the code. The batchfile runs the built-in C# compiler of .NET Framework which comes with Windows 11 by default.
Batch:
@ECHO OFF
FOR /F "tokens=* USEBACKQ" %%F IN (`REG QUERY "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v InstallPath`) DO SET InstallPath=%%F
SET InstallPath=%InstallPath:*REG_SZ =%
FOR /F "tokens=* Eol= " %%F IN ("%InstallPath%") DO SET "InstallPath=%%F"
IF EXIST "%InstallPath%csc.exe" (ECHO ON) ELSE (ECHO ERROR - Missing csc.exe & GOTO end)
"%InstallPath%csc.exe" /out:"%~dp0\OldExplorer.exe" /target:winexe "%~dp0\OldExplorer.cs" /lib:%InstallPath%WPF /r:UIAutomationTypes.dll,UIAutomationClient.dll
:end
@ECHO Press any key to close this command window . . . & PAUSE >NUL

In its current state, if you specify a folderpath that is located somewhere inside your personal user folder, it opens the old File Explorer as a separate window, and, after that, it doesn't automatically close the Control Panel window. (I was going to provide a fix, but then I got bored... you could always decide to just use ExplorerPatcher instead, go to Properties, File Explorer section, set the Control Interface to Windows 10 Ribbon and then call it a day...) Also, with my code if you specify a folderpath or address that cannot be parsed with SHParseDisplayName, it automatically falls back to using the SendKeys method which typically causes a tad more delay than SHOpenFolderAndSelectItems especially when you specify a long folderpath. Another caveat is that SHOpenFolderAndSelectItems may not always be able to access the desired folder i.e. due to ACL restrictions having been applied to the parent folder (but not the child), AFAIK it isn't possible to make it navigate to the child directly, so...

As for using the Windows clipboard to paste text into the address bar, the downside of that is that it destroys any clipboard content that may have been present before launch, so... it isn't just about the fact that the ExplorerPatcher approach effectively eliminates the delay altogether. Rather, ExplorerPatcher is far superior in every way, and, since what we're doing here is we're making our own .exe to reinvent the wheel, the whole argument of not wanting to use 3rd party code is already 150% moot anyway in the first place. So...
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
I think I read a few month ago, a windows-update changed something on explorer.exe and so the explorerpatcher crashed and windows was unusable. So I want a "parallel" solution,

@hdmi, where do I have to add the "This PC" start path, in your script?
 

My Computer

System One

  • OS
    Win 11
Back
Top Bottom