Fixed: OneDrive for Business agent running at 25% CPU after the most O365 Patches

Investigation

In January 2018 I noticed a severe impact to my laptop performance. This past week the process Groove.exe (OneDrive For Business) is constantly using 25-40% of my CPU.

OdFB - 1

There are no files to be sync’d and it just constantly states processing changes.

OdFB - 2

I have seen a few threads online stating this may be due to a recent O365 patches.

Pausing sync does NOT reduce CPU utilization.

Exit did not kill the process for over 60 seconds

OdFB - 3

 I did NOT want to do a library repair as I have like 4gb of data sync’d.

Onedrive for Business AUTO RESTARTS after about 5 minutes and right back to 25% CPU

SOLUTION

Update the OneDrive for Business agent!

Who do you tell if you have the older version?

Go to the taskbar and RIGHT click on the OneDrive for Business icon.  If you see text that says Repair as an option… you have the old one (didn’t get a screen capture before writing this blog)

How do I get the new OneDrive for Business Client?

Open PowerShell ISE (Windows Key + X) (NOT as an administrator)

  • This needs to be run in your user context
  • ACTION: Modify the script below with the correct Email Extension

$ODuser = $env:UserName

write-host $ODuser

$ODPath = $env:LOCALAPPDATA\Microsoft\OneDrive”

write-host $ODpath

#Change the EmailExtension

$ODURL = “odopen://sync?useremail=$ODuser@WORKEMAIL.com”

write-host $ODURL

Start-Process “iexplore.exe” “$ODURL

#Start-Process “explorer.exe” “$ODURL” 

What the new client looks like

OdFB - 4

Yea no more CPU spikes or sync errors!

Advertisements

Author: shauncassells

Shaun Cassells, Senior Solutions Engineer, 1E Shaun is a Microsoft MVP Windows Insider MVP and executive at Central Texas Systems Management User Group (CTSMUG). Shaun is a frequent speaker at conferences like MMS, Gartner, TechEd Europe, TechEd North America, IT Dev Connections, System Center Rallies, and Systems Management User Groups (SMUGs). Shaun is an award winning blogger syndicated from www.shauncassells.com. Shaun specializes in analysis, optimization, and design of Tactical Solutions to Strategic Business Goals. Prior to joining 1E in 2010, he worked for a Global 100 company as the Configuration Manager Service Owner and Architect. Recently as a Principle Consultant at 1E, he accomplished design, review, and improvements to a variety of Configuration Manager environments from the very small to sites with a half million seats. He provided leadership that created a patented automated application rationalization and usage based OSD mapping solution in use by multiple fortune 500 companies. These days you can find Shaun traveling to help discover, review, and improve business productivity across the world.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s