Easy fix performance issues Teams high cpu and extreme memory usage

This blog post helps you fix performance issues in Teams.

Lately I noticed that my PC was getting slower and slower. Opening a Teams channel in Microsoft Teams took ten seconds, opening a chat conversation as well. Writing an email in Outlook was successful, but the letters appeared on the screen with a delay. The performance of Teams bothered me the most. In Task Manager I found CPU usage was high, and more than 1 GB of memory in use was no exception. There is no way to limit the memory usage of Microsoft Teams. There is a lot of complaints about performance, but Microsoft doesn’t prioritize this as an important issue yet

teams cpu and memory

Luckily I have found the right settings to improve the performance of Teams. Which immediately made my entire PC less slow.

Fix performance issues Teams

Perform the 3 actions below to solve the performance problems with Microsoft Teams.

Disable GPU Hardware acceleration

  1. In Teams, click your icon / photo.
  2. Choose Settings.
  3. In Settings, in tab general, enable “Disable GPU hardware acceleration“.
  4. While you’re here, also disable “Register teams as the chat app for Office…“.
  5. Restart Teams. Please note that Teams runs in the background. You must close it from your system tray (near the clock at the right bottom).fix performance issues teams disable gpu hardware acceleration

Disable all Teams addins in Outlook

  1. In Outlook, click Options.
  2. In the Outlook Options window, click Addins.
  3. At the bottom, click Go… (next to Manage: COM Add-ins).
  4. Untick Microsoft Teams Meeting Add-in for Microsoft Office and Teamviewer Meeting Add-in.
  5. Click OK.
  6. Restart Outlook.
    teams performance disable outlook addins

Clear Teams cache

  1. In Windows Explorer, go to  %appdata%\Microsoft\teams .
    Then delete the following files:
    a. In tmp folder, delete all files.
    b. In Blob_storage folder, delete all files.
    c. In Cache folder, delete all files.
    d. In IndexedDB folder, delete the .db file.
    e. In GPUCache folder, delete all files.
    f. In databases folder, delete all files.
    g. In Local Storage folder, delete all files.
    h. In Application Cache > Cache folder, delete all files in it.

After these 3 modifications to your system, Teams performs much faster. As far as I know, there are no other fixing performance issues Teams available. But let me know in the comments if you experience any issues or if you have additional information and tips.

Settings for the system administrator

This section was added after one of my commentors asked me:

Is there a registry key I can use for this?

As an system administrator as my profession, I surely understand this question. I always want my users to have a more than great experience on their device. In the meanwhile, it must be a safe environment and it should cost me as little time as possible :) So let me me answer this question for the GPU Hardware Acceleration and the Outlook addin

Automate disabling GPU Hardware Acceleration in Teams

User settings for Teams are saved in a JSON file desktop-config.json:
%APPDATA%\Microsoft\Teams\desktop-config.json
or as you see the path in Windows Explorer, probably:
C:\Users\username\AppData\Roaming\Microsoft\Teams\desktop-config.json

This JSON file is UTF-8 encoded so you can open and read it with any text editor, like Notepad++. Search for DisableGPU in the file, and you will find “disableGpu”:false or “disableGpu”:true.

If you want to automate this setting for your users, you need to search and replace “disableGpu”:false for “disableGpu”:true. This can be done with a simple Powershell Script. And then let the script run via a GPO, SCCM or Intune

Automate disabling Microsoft Teams Meeting Add-in in Outlook

The load behavior of the Microsoft Teams Meeting Add-In is controlled in the Registry. To set this add-in to Disabled, do the following:

  1. In your Registry Editor, go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Outlook\Addins\TeamsAddin.FastConnect
  2. Double-click LoadBehavior, set the value data to 2, and click OK. This disables the load at startup.
    If you want to enable load at startup, change it to 3

This setting can be easily deployed with a GPO policy. If you’re on Intune and Azure Active Directory, you may want to deploy a simple PS1 script that modifies the entry.

4.4 9 votes
Article Rating
Subscribe
Notify of
guest
39 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
jenn

Thanks!
I have had a lot issues with TEAM lately

Jason Gallas

Made these changes and it didn’t do anything. I’m still sitting at ~750mb RAM utilization although the GPU is not involved any more (not sure why that was an issue to begin with though).

Colin Knowles

Thanks!

Wicus

Thank you soooo much for this.

Jennifer

Thank you so much – you have saved a LOT of people a lot of time and frustration. :-)

Gill

Hi im not very tecky! Please can you help…when i’m in Microsoft Teams it’s running really really slow. I have tried to disable the GPU but i’m not getting the option to do this, when I click on my profile picture in Teams, i select Settings and then General…I can’t see the option to disable GPU, is there any other way that i can try to make it run faster? Thank you for reading :)

Barb Dee

Hi John! I don’t usually respond to stuff like this, but I had to take time to thank you SO MUCH for this article. It’s helped performance on my system like you wouldn’t believe – or maybe you would :)

Uddave Jajoo

Hello John, I used the script mentioned below to be run as external task through WEM on logoff. I can see that when user is logged off, the path on profile store where desktop-config.json is saved gets updated with value “true” for disableGPU

However, when user logs in again, and checking further on the location – AppData\Roaming\Microsoft\Teams the value for disableGPU shows as false.
Not sure what i am doing wrong here, any suggestions please?

Script running on logoff
+++++++++++++++++++++++++++++++++
cd $env:userprofile
((Get-Content -path “AppData\Roaming\Microsoft\Teams\desktop-config.json” -Raw) -replace ‘”disableGpu”:false’,’“disableGpu”:true’) | Set-Content -Path “AppData\Roaming\Microsoft\Teams\desktop-config.json”
+++++++++++++++++++++++++++++++++

TeamsDisableGPU.JPG
Roy Davis

I am seeing the same then with WEM, Teams cant start first or be launched first. WEM has to be allow to do its thing on the desktop-config.json. There is a lockfile that appears to stop you from editing this file if teams is open first. But it works with the gui, its putting it in a temp file and then when you close it the lockfile is gone and the settings still to the desktop-config.json

Roy Davis

I changed it to this and the GPU offloading is now working as it should via WEM
$filepath = “$env:APPDATA\microsoft\teams\desktop-config.json”
$existing = Get-Content $filepath -raw|ConvertFrom-Json
$existing.appPreferenceSettings.disableGpu = ‘true’
$existing.appPreferenceSettings.openAtLogin = ‘false’
$existing |ConvertTo-Json|Set-Content $filepath

Mikel Maestre

I’ve found that with these options in the powershell script it displays the right settings in the json file and also in the Teams settings.

$filepath = “$env:APPDATA\microsoft\teams\desktop-config.json”
$existing = Get-Content $filepath -raw | ConvertFrom-Json
$existing.appPreferenceSettings.disableGpu = $True
$existing.appPreferenceSettings.openAtLogin = $False
$existing |ConvertTo-Json -Compress | Set-Content $filepath

Ceecee

Hi, I disabled the acceleration and cleared the cache as instructed here, but TEAMS still runs at 700+ MB RAM unfortunately.

Do you have any other tips?

Working on Surface Pro X.

Thanks!

Shane

Followed directions, went from 700+ MB RAM usage to 1.5 GB RAM usage.

Lenneth

Between 7 and 9 video meeting streams on Teams make my Lenovo ThinkPad T460 laptop. I type message very so slowly. some freeze.
Please reduce memory usages

Last edited 2 months ago by Lenneth
Siddharth

Application Cache folder is not visible

Brandon

For the record, in the ‘disable Outlook addins’ section, TeamViewer is an entirely different application, it is not created or maintained by Microsoft, and is not related to Microsoft Teams in any way.

Leah R.

Disable GPU Hardware acceleration and clearing cache did the trick! Thank you!!

Syed

Thanks a lot, this works wonders.

“Register Teams as chat app…….” this keeps coming back after restart.

Adrian

Any way you could assist with the “simple” powershell script? I am not very good at it and would like to try and roll out an automated fix for all of our users.

saif

Super, It worked for me

Jessica

Thanks ! Now my whole laptop and MS Teams is working much much better ! Thanks a ton ! :)

Piyush

Awesome! Solution. Worked for my team. :)

BocaDePez

I’m curious, what’s the logic behind disabling GPU hardware acceleration? It should help the overall performance using a modern GPU card, isn’t it?

I must say I have this feature enabled, with a Nvidia GeForce GTX 1060 and my mem cosumption in Teams is around 100MB, CPU lower than 1%.

Simb

Wow…100MB I wish!! I have a HP Laptop from 2018 with NVIDIA® GeForce® MX130 and Intel® Core™ i7-8550U @ 1,8 GHz. 8GB RAM. My Microsoft Teams consumes around 2GB of memory (2 GIGS!!!), with Chrome also consuming tons of memory and other programs as well my RAM reaches 100% in no time, then Wi-Fi starts dropping for some reason and the entire system gets slow, its a pain to work remotely with teams always crashing my calls and wi-fi dropping, never in my life I had so much trouble calling someone or even working. I will try this right away… Read more »

Antonio Huete Jimenez

Thanks a lot!

geoff

hi, my teams video is persistently sticking and not work properly at all. I’m on a fast fibre connection at home, so its not the broadband, any recommendations?

geoff

thankyou John

Trisch

All I did was disabled the acceleration, and WHAT A DROP in memory! Thank you!!! Mine went down by over 400mb, and is now under 100mb.

Unfortunately I really rely on the status indicator in outlook, so couldn’t turn that part off, and I’m not in the mood to delete anything currently, as I’m already having enough issues with my comp lately (don’t want to compound things haha).

Jazz

me too. i just disabled the settings from teams as recommended. it actually worked! Thanks!

Guest

Is there a registry key I can use for this

Fixed

Thank you so much for this!

I didn’t delete any of the app data – just the other two steps. These took my average RAM usage from ~600MB to ~100MB. Wow.

Brian

This was a godsend!!! Teams had become almost unusable for my organization. Thank you!

39
0
Would love your thoughts, please comment.x
()
x