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.
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:
- 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). - Go to the
%localappdata%\Microsoft\OneDrive\setup\logs
folder and find the following two filesUserTelemetryCache.otc
UserTelemetryCache.otc.session
(if you can't see them, make sure all hidden & system files are visible) - Now delete those 2 files and go to
%localappdata%\Microsoft\OneDrive\Update
and run theOneDriveSetup.exe
again.
Now the installer no longer hangs in a loop, finishes fine and the CPU usage is gone.
No comments:
Post a Comment