Explorer hangs when opening OneDrive folder

Explorer hangs when opening OneDrive folder. If I start Windows (10) in safe mode then it will open the Onedrive folder fine, but fails to open the file successfully, the associated app will open but fail to load the file.

I have done all of the basics such as sfc, dism and checked the event logs but all to no avail.

Any ideas?

 

Question Info


Last updated May 20, 2020 Views 1,784 Applies to:

Hi,

Thank you for writing to Microsoft Community forum.

You may try the steps listed below and check if it works.

Uninstall OneDrive:

  • Search ‘CMD’ from the start menu and choose ‘Command Prompt (Admin).

  • Copy paste the following command and hit enter:

    taskkill /f /im OneDrive.exe

  • Copy paste the following command and hit enter once the command mentioned above is completed:

    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall

Delete OneDrive related files:

  • Open ‘File Explorer’ and type ‘%UserProfile%\OneDrive’ in the address bar.

  • Select all the files and Delete.

  • Type ‘%LocalAppData%\Microsoft\OneDrive’ in the address bar and tap Enter.

  • Right click the logs folder and Delete.

  • Delete all the files except the ‘Update’ folder.

  • Type ‘%ProgramData%\Microsoft OneDrive’ in the address bar and tap Enter.

  • Delete all the files present there.

  • Type C:\OneDriveTemp in the address bar and tap Enter.

  • Delete all the files and restart the computer.

Reinstall OneDrive:

  • Open File Explorer and type the following in the address bar:

    C:\Users\<YourUserName>\AppData\Local\Microsoft\OneDrive

  • Double click the Update folder and run the OneDriveSetup file.

  • Follow the on-screen instructions to reinstall OneDrive.

Check if the issue persists after reinstalling OneDrive.

Hope it helps.

Let us know if you got the help you needed by clicking ‘Yes’ or ‘No’.

Junaid A
Microsoft Community - Moderator

5 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Unfortunately this is still doing the same thing

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

If it's any help.

If i use the CLI I can browse, save a file (which then uploads to the cloud) and open a file even if it is in the cloud.

So this appears to be an explorer issue rather than OneDrive.

G

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi,

 

Explorer crash can happen when Quick Access tries to find the files that are moved. When Quick Access cannot find the files it looks for, it crashes the explorer.

 

You may try the steps listed below and check if it works:

  • Open File Explorer and click on the File tab.

  • Select ‘Change folder and search options’ and uncheck ‘Show recently used in Quick Access’.

  • You may also click on ‘Clear explorer history’.

 

Regards,

Junaid A
Microsoft Community - Moderator

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi Junaid

I have tried this and explorer still hangs when accessing the OneDrive folder.

G

1 person was helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Here is the event from the Event Viewer:

The program explorer.exe version 10.0.17134.165 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.

 Process ID: 3980

 Start Time: 01d48449593ad225

 Termination Time: 11

 Application Path: C:\Windows\explorer.exe

 Report Id: 029d8653-f9ce-4b90-85ad-7ee12019438e

 Faulting package full name: 

 Faulting package-relative application ID: 

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Hi,

 

  • Search for ‘View All Problem Reports’ from the Start menu and open the same.

  • Right click on the ‘Stopped Working’ errors for Windows Explorer and choose ‘View Technical Details’.

 

Include a screenshot of the same in your next response to have a better clarity. Refer How to include a screenshot in your post for the same.

 

Junaid A
Microsoft Community - Moderator

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Unfortunately when I click on "View All Problem Reports" nothing happens 

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.