Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long times to open Explorer.exe windows ... #69

Open
MaikBS opened this issue Jun 22, 2020 · 43 comments
Open

Long times to open Explorer.exe windows ... #69

MaikBS opened this issue Jun 22, 2020 · 43 comments
Labels
explorer.exe Compatibility issues with explorer.exe Help Wanted Extra help is needed Known Issue Old known Sandboxie issues Remote Support Remote support requests ToDo To be done Type: Performance Win 10 Windows 10 issues

Comments

@MaikBS
Copy link

MaikBS commented Jun 22, 2020

It takes a long time to open folders (save as) in Firefox.
It takes a long time to open menus (right mouse button) in Opera.
It all started with the upgrade to the Windows 10 2004 feature update.

I use the current version 5.41.2, Windows 10 2004 (Build 19041.329)
Thanks!

@rwasef1830
Copy link

I'm facing the same issue, it started after I enabled Device Guard and Hyper-V in Windows and enabled WSL2.

@DavidXanatos
Copy link
Member

so when you disable device guard its fine?
imho hyper-v alone shouldnt be an issue

@rwasef1830
Copy link

rwasef1830 commented Jul 6, 2020

Completely disabling device guard and virtualization based security and hyper-v using the DG_Readiness powershell script here https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage improves the performance a bit, however the issue remains. Also build 2004 here. The slowdown appears to be in the invocation or rendering of native controls as even native text box drop-downs take a second to appear, even the print dialog or native windows shell dialogs.

@rwasef1830
Copy link

This issue doesn't affect Edge Chromium

@henrikx
Copy link

henrikx commented Sep 18, 2020

Basically doing anything in Explorer is slow for me.

Hyper-V and Virtualization Based Security disabled.

@henrikx
Copy link

henrikx commented Oct 5, 2020

@DavidXanatos Will you please look at this?

@DavidXanatos
Copy link
Member

yes I will patience... please :)

@skyler14
Copy link

skyler14 commented Oct 6, 2020

Currently is there a recommended set of configurations with regards to Hyper-V/Virtual Machine Platform/WSL and other virtualization configurations in Win 10 to use.

@henrikx
Copy link

henrikx commented Dec 14, 2020

Has anyone found a solution to this? Does this happen to everyone on 20H2?

@rwasef1830
Copy link

Yes, it still happens in build 2009. this is not solved.

@DavidXanatos
Copy link
Member

i have updated my development VM to 20h2 an will take a look on that issue soon

@rugabunda
Copy link

rugabunda commented Jan 9, 2021

Thanks david, same problem here! 20H2. I too am using virtualization.

@henrikx
Copy link

henrikx commented Jun 7, 2021

Just so that this is not mistakenly closed: Just mentioning that this is still an issue with "Explorer.exe" Windows, regardless of the changes in v0.7.4.

@DavidXanatos DavidXanatos added the ToDo To be done label Jun 7, 2021
@isaak654 isaak654 changed the title Long times ... Long times to open Explorer.exe Windows ... Jun 7, 2021
@isaak654 isaak654 changed the title Long times to open Explorer.exe Windows ... Long times to open Explorer.exe windows ... Jun 7, 2021
@DavidXanatos
Copy link
Member

strange for me in the latest build the explorer runs very well, can you make a video and descripe in which usecases you are still getting these slowdowns?

@DavidXanatos DavidXanatos added the More Info Needed More information is needed to move forward label Jun 9, 2021
@henrikx
Copy link

henrikx commented Jun 9, 2021

Video of problem is attached. If you need more info or want to see the problem on the machine directly then contact me. I can arrange for a TeamViewer session.

2021-06-09_19-19-47

@henrikx
Copy link

henrikx commented Jun 9, 2021

One thing I noticed: I have a lot of disks on this system and it seems that Explorer is polling MountPointManager (and related) a lot. Don't know if related to this problem or not...

@rwasef1830
Copy link

rwasef1830 commented Jun 9, 2021

I was forced to basically abandon Sandboxie completely thanks to this bug. Not only is opening explorer things inside sandboxed applications unbearable and unusable slow, but it has a big slowdown on the whole machine even for non-sandboxed processes. When I removed Sandboxie I realized how much effect it had open my machine responsiveness as a whole. It just seems to be much much worse with Hyper-V and Memory Protection and Device Guard/VBS and those things active. Note : I had forced programs and forced folders also active at the time. The slowdown gets exponentially worse if you have something like TortoiseGit / TortoiseHg and other shell extensions active also.

@DavidXanatos
Copy link
Member

@henrikx whdo you get a monitor buffer overflow?
Do you have any tracing functions activated? in the trace tab of the box options?
these low down everything.

also yea a remote session would be helpfull

@henrikx
Copy link

henrikx commented Jun 9, 2021

I don't normally get monitor buffer overflow, but I think it happened because of the recording software. Just tested it and didn't get that message and it does not make a difference to this bug.

Nothing in access trace log on box options enabled. Turning on or off the global "trace logging" button also makes no difference.

Where can I contact you to set up a remote session? I have Discord (ciken#9165) if you use that.

@henrikx
Copy link

henrikx commented Jun 12, 2021

@DavidXanatos Did not hear from you yet. Please let me know where I can contact you, so that we can troubleshoot and hopefully get this fixed soon :)

@isaak654
Copy link
Collaborator

@DavidXanatos Did you manage to reproduce this on Windows 10 ?

@DavidXanatos
Copy link
Member

No on windows 10 the explorer seams to work ok for me, not as fast as unsandboxed but bwloe 1-2 seconds for the context menus

@andcha
Copy link

andcha commented Oct 19, 2021

No on windows 10 the explorer seams to work ok for me, not as fast as unsandboxed but bwloe 1-2 seconds for the context menus

On average spec PC like mine, it takes anywhere between 2-6 seconds to open explorer and then same for context menus. Trust me, it gets highly frustrating if the job requires repetitive action.

Maybe windows 10 thing was passed on to windows 11 due to which windows 11 also has similar issues. And maybe windows 11 solution could work on windows 10.

@DavidXanatos
Copy link
Member

Windows 11 solution was to wait for a fixed windows 11 insider build, so it wil defiently not apply to 10

@isaak654 isaak654 removed the Win 11 Windows 11 issues label Oct 19, 2021
@isaak654
Copy link
Collaborator

I've just noticed that ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows helps to reduce my delay issue on Windows Explorer, and if you replace ReadFilePath with OpenFilePath the delay will be back.

I can reproduce this issue only on my real machine, not on a VM environment.

@henrikx
Copy link

henrikx commented Oct 25, 2021

I've just noticed that ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows helps to reduce my delay issue on Windows Explorer, and if you replace ReadFilePath with OpenFilePath the delay will be back.

I can reproduce this issue only on my real machine, not on a VM environment.

Can confirm this. The performance is still reduced, but it is a lot better than before.

@henrikx
Copy link

henrikx commented Oct 25, 2021

There is not much reduction in delay when interacting with the files and folders. See attached gif
if

@henrikx
Copy link

henrikx commented Oct 25, 2021

One interesting aspect to this bug is that it seemingly only affects the standalone instance of Explorer.exe. If I am using a program invoking a OpenFileDialog, the dialog runs fine with no performance issue (I tested Firefox's save page dialog).

@isaak654
Copy link
Collaborator

There is not much reduction in delay when interacting with the files and folders. See attached gif.

I may have a few additional lines for that too. Please make sure to have installed 0.9.8c / 5.53.2 and apply:

OpenIpcPath=*\*BaseNamedObjects*\*HWNDInterface*
# Sync Integration Manager
ClosedClsid={9AA46009-3CE0-458A-A354-715610A075E6}
# Thumbnail Cache Out of Proc Server
ClosedClsid={AB8902B4-09CA-4BB6-B78D-A8F59079A8D5}
# OneDrive
ClosedClsid={71DCE5D6-4B57-496B-AC21-CD5B54EB93FD}
ReadFilePath=\Device\MountPointManager
ReadFilePath=%AllUsersProfile%\Microsoft\Windows\Caches
ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows
ClosedIpcPath=*\Shell.CMruPidlList
BlockNetworkFiles=n

P.S. Make sure to not have repeated BlockNetworkFiles or ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows references on your sandbox.

@henrikx
Copy link

henrikx commented Oct 25, 2021

There is not much reduction in delay when interacting with the files and folders. See attached gif.

I may have a few additional lines for that too. Please make sure to have installed 0.9.8c / 5.53.2 and apply:

OpenIpcPath=*\*BaseNamedObjects*\*HWNDInterface*
# Sync Integration Manager
ClosedClsid={9AA46009-3CE0-458A-A354-715610A075E6}
# Thumbnail Cache Out of Proc Server
ClosedClsid={AB8902B4-09CA-4BB6-B78D-A8F59079A8D5}
# OneDrive
ClosedClsid={71DCE5D6-4B57-496B-AC21-CD5B54EB93FD}
ReadFilePath=\Device\MountPointManager
ReadFilePath=%AllUsersProfile%\Microsoft\Windows\Caches
ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows
ClosedIpcPath=*\Shell.CMruPidlList
BlockNetworkFiles=n

P.S. Make sure to not have repeated BlockNetworkFiles or ReadFilePath=%UserProfile%\AppData\Local\Microsoft\Windows references on your sandbox.

Thanks! These lines improved performance a little bit, but unfortunately not enough to call the performance "good". It still chugs quite a lot while selecting files, and it freezes for half a second when entering a directory.

@isaak654
Copy link
Collaborator

Thanks! These lines improved performance a little bit, but unfortunately not enough to call the performance "good".

Well, I looked into this issue and obtained a few results, so I'm sure that an experienced dev could do better. 😘

@kimpurcell
Copy link

Any updates on getting File Explorer to run on Windows 11? It's been officially released.

@isaak654
Copy link
Collaborator

isaak654 commented Nov 6, 2021

Any updates on getting File Explorer to run on Windows 11? It's been officially released.

I think the maintainer is waiting the next updated Windows 11 release, see here.
About Windows 10, the issue is different and I published a workaround a few posts ago.

@DavidXanatos DavidXanatos unpinned this issue Jan 6, 2022
@isaak654
Copy link
Collaborator

isaak654 commented Jan 10, 2022

The slowness with sandboxed sessions of Windows Explorer is definitely improved for me with Plus 1.0.7 / W10 21H1.

But there are still two remaining things:

@henrikx
Copy link

henrikx commented Jan 12, 2022

The slowness with sandboxed sessions of Windows Explorer is definitely improved for me with Plus 1.0.7 / W10 21H1.

The only thing left is the delay with the right-click context menu on a single drive which now it takes almost two seconds. About this one, I think it's something related to SandboxieCrypto.exe that it loads at the same time of the context menu delay.

Yes! There is a big improvement with this update. However, there are some additional things that I found:
Opening one of the ribbon menus at the top will slow Explorer down. Each menu you open adds delay, so after opening all of them it is back to the unusable slowness we have seen before. See attached gif:
gif

@isaak654
Copy link
Collaborator

I think that the Ribbon menu slowdown is related to multiple \Device\MountPointManager entries that are called a lot of times without apparent reason:

Plus 1.0.7 log with Windows Explorer (ribbon menu slowdown)
|Processo|                                  |Tipo|         |Stato|   |Valore|                                                      

explorer.exe (9064, 5268) - 21:19:01.008    WinClass (U)             Net UI Tool Window                                            
explorer.exe (9064, 5268) - 21:19:02.880    WinClass (U)             Progman                                                       
explorer.exe (9064, 9052) - 21:19:02.880    Ipc (U)                  \Sessions\1\BaseNamedObjects\Local\Shell.CMruPidlList         
explorer.exe (9064, 9052) - 21:19:02.880    Ipc (D)                  \Sessions\1\BaseNamedObjects\Shell.CMruPidlList               
explorer.exe (9064, 5268) - 21:19:02.880    WinClass (U)             Progman                                                       
explorer.exe (9064, 5268) - 21:19:02.880    WinClass (U)             $:explorer.exe                                                
explorer.exe (9064, 5268) - 21:19:02.880    WinClass (U)   Closed    Progman                                                       
explorer.exe (9064, 9052) - 21:19:02.880    Ipc (U)                  \Sessions\1\BaseNamedObjects\Local\Shell.CMruPidlList         
explorer.exe (9064, 9052) - 21:19:02.880    Ipc (D)                  \Sessions\1\BaseNamedObjects\Shell.CMruPidlList               
explorer.exe (9064, 5268) - 21:19:02.880    ComClass (U)             {3EEF301F-B596-4C0B-BD92-013BEAFCE793} Desktop Undo Manager   
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)       (2)       \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:02.880    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 9052) - 21:19:03.475    Ipc (U)                  \Sessions\1\BaseNamedObjects\Local\Shell.CMruPidlList         
explorer.exe (9064, 9052) - 21:19:03.475    Ipc (D)                  \Sessions\1\BaseNamedObjects\Shell.CMruPidlList               
explorer.exe (9064, 9052) - 21:19:03.475    Ipc (U)                  \Sessions\1\BaseNamedObjects\Local\Shell.CMruPidlList         
explorer.exe (9064, 9052) - 21:19:03.475    Ipc (D)                  \Sessions\1\BaseNamedObjects\Shell.CMruPidlList               
explorer.exe (9064, 5268) - 21:19:03.475    ComClass (U)             {3EEF301F-B596-4C0B-BD92-013BEAFCE793} Desktop Undo Manager   
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.485    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 2424) - 21:19:03.496    Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 5268) - 21:19:04.103    ComClass (U)             {3EEF301F-B596-4C0B-BD92-013BEAFCE793} Desktop Undo Manager   
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)       (2)       \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager                                     
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\HarddiskVolume5                                       
explorer.exe (9064, 11560) - 21:19:04.134   Pipe (U)                 \Device\MountPointManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
explorer.exe Compatibility issues with explorer.exe Help Wanted Extra help is needed Known Issue Old known Sandboxie issues Remote Support Remote support requests ToDo To be done Type: Performance Win 10 Windows 10 issues
Projects
None yet
Development

No branches or pull requests