Windows

High CPU usage in OneDrive on Windows

Contributed by: Views:159
High CPU usage in OneDrive can be caused by non-ASCII characters in filesnames. To find any non-ASCII filenames, simply:
  1. Open up PowerShell - press the Windows key then type "powershell", then press enter
  2. Make sure you are in your user directory (usually C:\Users\)
  3. Run this command to find non-ASCII filenames:
    gci -recurse . | where {$_.Name -match "[^\u0000-\u007F]"}
Navigate to each directory listed in Explorer and rename the files. If it isn't obvious what character is the non-ASCII one, simply retype the entire filename including the extension when renaming it.