Tuesday 26 September 2017

windows 10 - OneDriveSetup.exe causes high CPU usage


On my Toshiba Encore 8 Tablet I noticed that the CPU usage is very high. In Taskmgr / ProcessExplorer, I can see that OneDriveSetup.exe is hogging 1 CPU cores heavily for hours.


enter image description here


How an I solve this hang and finish the OneDrive Update?



Answer



This is a known issue since End of June 2017 when users have non English/ASCII values in their username and therefore their profile paths (C:\Users\AndrĂ©, C:\Users\AndrĂ¡s or Cyrillic user name). OneDriveSetup.exe hangs with a single processor thread hogging one logical processor of the computer because it keeps retrying file operations that are failing because of the non-English/ASCII characters in the user profile paths. Use these steps to fix it:



  1. Kill the OneDriveSetup.exe in Task Manager/Process Explorer; This step is optional, OneDriveSetup.exe will most likely recover from the hang and continue after step 2 even if you don't kill it (step 1) and run it again (step 3).

  2. Go to the %localappdata%\Microsoft\OneDrive\setup\logs folder and find the following two files
    UserTelemetryCache.otc
    UserTelemetryCache.otc.session
    (if you can't see them, make sure all hidden & system files are visible)

  3. Now delete those 2 files and go to %localappdata%\Microsoft\OneDrive\Update and run the OneDriveSetup.exe again.


Now the installer no longer hangs in a loop, finishes fine and the CPU usage is gone.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...