OneDriveSetup.exe – Causes High CPU Usage in Windows 10

cpu usageonedrivewindows 10windows-10-v1607windows-10-v1809

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?

Best 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.

Related Question