Teams (for work) crashes when sharing screen

Anonymous
2022-12-09T17:02:46+00:00

Shortly after sharing a screen (within ~15 seconds), Teams will crash.

This happens consistently, and repeatedly -- it is therefore impossible to share my screen.

The crashing began roughly 2 weeks ago -- previously to that, it was working flawlessly.

Related System/Hardware/Settings information:

  • OS: Windows 11 Pro - 22H2 - Build 22621.819
  • CPU: AMD Ryzen 9 7900X
  • RAM: 32GB
  • GPU: Nvidia RTX 3080
  • Teams: GPU hardware acceleration - ENABLED
  • Windows: Hardware-accelerated GPU scheduling - ON

Thing I have tried:

  • Reinstalled Teams
  • Disabled GPU hardware acceleration inside of Teams

I collected and analyzed the diagnostic logs, and found the related crash event:

Thu Dec 08 2022 16:35:09 GMT-0500 (Eastern Standard Time) <31224> -- info -- StatusIndicatorStateService: Added Presenting (current state: NewActivity -> NewActivity) 
Thu Dec 08 2022 16:35:13 GMT-0500 (Eastern Standard Time) <31224> -- event -- eventpdclevel: 3, rendererName: pluginHost, crashType: crashed, url: file:, causesRestart: true, watchdogBlockingApi: null, watchdogLastPing: null, profileType: undefined, exitCode: -1073741819, electronBuild: 16654718, appRuntime: 25679.594, appCoreServicesReady: true, appInitialized: true, activities: experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,desktop_systray_app_state_update,desktop_systray_app_state_update,desktop_systray_app_state_update,ips:window-command,desktop_systray_app_state_update,desktop_systray_app_state_update, timeSinceActivity: 4.342, appStates: Started,SSOStart,SSOSuccess,Initialized,LazyLoadStage,CheckingUpdates,Initialized,LazyLoadStage,InCall,CallEnded,CheckingUpdates,UpdatesInstalled,InCall,CallEnded,InCall, timeSinceAppState: 35.664000034332275, webAppStates: Inactive,Unloaded,IndexInitialize,IndexJsLoaded,IndexHtmlLoaded,Inactive,Interactive,InCall,Interactive,Inactive,LongInactive,Interactive,Inactive,Interactive,Inactive,Interactive,InCall,Interactive,InCall,Presenting, timeSinceWebAppState: 5.386000156402588, diagnosticEvents: ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,wa:InCall,as:InCall,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update,wa:Presenting,ua:ips:window-command,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update, lastDiagnosticEvent: ua:desktop_systray_app_state_update, timeSinceLastDiagnosticEvent: 4.3420000076293945, timeSinceSecondLastDiagnosticEvent: 5.3459999561309814, isHotSwapUsed: false, isHotSwapEnabled: false, slimCoreBuiltInVersion: 2022.39.3, slimCoreVersion: 2022.39.3, tsCallingVersion: undefined, isOnBattery: false, remainingBatteryPercentage: unknown, status: success, scenario: 8a8ed9bc-5e84-4232-9fc2-e564293bfc75, scenarioName: desktop_renderer_process_crash, name: desktop_renderer_process_crash, step: start, sequence: 0, delta: 0, scenarioDelta: 0, elapsed: 25679594, stepDelta: 0, Scenario.Mode: 1, AppInfo.Language: en-gb, complianceEnvironmentType: 0, isDataCategorizationEnabled: true, userpdclevel: 0, processMemory: 26667704, freeMemory: 19712348160, clientType: desktop, AppInfo.ClientType: desktop, batterylevel: 1, pluggedin: true, Window.Focus: foreground, windowIsVisible: true, Window.Status: systray, UserInfo.TimeZone: -05:00, vdiMode: 0, Scenario.Name: desktop_renderer_process_crash, Scenario.Step: start, Scenario.Status: success,  
Thu Dec 08 2022 16:35:13 GMT-0500 (Eastern Standard Time) <31224> -- event -- eventpdclevel: 3, rendererName: pluginHost, crashType: crashed, url: file:, causesRestart: true, watchdogBlockingApi: null, watchdogLastPing: null, profileType: undefined, exitCode: -1073741819, electronBuild: 16654718, appRuntime: 25679.594, appCoreServicesReady: true, appInitialized: true, activities: experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,experience-renderer-console-error,desktop_systray_app_state_update,desktop_systray_app_state_update,desktop_systray_app_state_update,ips:window-command,desktop_systray_app_state_update,desktop_systray_app_state_update, timeSinceActivity: 4.342, appStates: Started,SSOStart,SSOSuccess,Initialized,LazyLoadStage,CheckingUpdates,Initialized,LazyLoadStage,InCall,CallEnded,CheckingUpdates,UpdatesInstalled,InCall,CallEnded,InCall, timeSinceAppState: 35.664000034332275, webAppStates: Inactive,Unloaded,IndexInitialize,IndexJsLoaded,IndexHtmlLoaded,Inactive,Interactive,InCall,Interactive,Inactive,LongInactive,Interactive,Inactive,Interactive,Inactive,Interactive,InCall,Interactive,InCall,Presenting, timeSinceWebAppState: 5.386000156402588, diagnosticEvents: ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,ua:experience-renderer-console-error,wa:InCall,as:InCall,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update,wa:Presenting,ua:ips:window-command,ua:desktop_systray_app_state_update,ua:desktop_systray_app_state_update, lastDiagnosticEvent: ua:desktop_systray_app_state_update, timeSinceLastDiagnosticEvent: 4.3420000076293945, timeSinceSecondLastDiagnosticEvent: 5.3459999561309814, isHotSwapUsed: false, isHotSwapEnabled: false, slimCoreBuiltInVersion: 2022.39.3, slimCoreVersion: 2022.39.3, tsCallingVersion: undefined, isOnBattery: false, remainingBatteryPercentage: unknown, status: success, scenario: 8a8ed9bc-5e84-4232-9fc2-e564293bfc75, scenarioName: desktop_renderer_process_crash, name: desktop_renderer_process_crash, step: stop, sequence: 1, delta: 0, scenarioDelta: 0, elapsed: 25679594, stepDelta: 0, Scenario.Mode: 1, AppInfo.Language: en-gb, complianceEnvironmentType: 0, isDataCategorizationEnabled: true, userpdclevel: 0, processMemory: 26738200, freeMemory: 19712348160, clientType: desktop, AppInfo.ClientType: desktop, batterylevel: 1, pluggedin: true, Window.Focus: foreground, windowIsVisible: true, Window.Status: systray, UserInfo.TimeZone: -05:00, vdiMode: 0, Scenario.Name: desktop_renderer_process_crash, Scenario.Step: stop, Scenario.Status: success,  
Thu Dec 08 2022 16:35:13 GMT-0500 (Eastern Standard Time) <31224> -- error -- Renderer process crashed; rendererName=pluginHost; crashType=crashed; url=file:; restarting app=YES 
Thu Dec 08 2022 16:35:13 GMT-0500 (Eastern Standard Time) <31224> -- info -- PluginHost #2: render-process-gone: {"reason":"crashed","exitCode":-1073741819,"watchdog":null} 
Thu Dec 08 2022 16:35:14 GMT-0500 (Eastern Standard Time) <31224> -- info -- Restart info set with a reason of crash 
Thu Dec 08 2022 16:35:14 GMT-0500 (Eastern Standard Time) <31224> -- info -- Restarting app Teams with reason crash 
Thu Dec 08 2022 16:35:14 GMT-0500 (Eastern Standard Time) <31224> -- event -- eventpdclevel: 3, appState: 19, status: success, scenario: 3b81ef27-b444-4a43-8440-21ffba5ce8be, scenarioName: desktop_app_quit, name: desktop_app_quit, step: start, sequence: 0, delta: 0, scenarioDelta: 0, elapsed: 25680598, stepDelta: 0, Scenario.Mode: 1, AppInfo.Language: en-gb, complianceEnvironmentType: 0, isDataCategorizationEnabled: true, userpdclevel: 0, processMemory: 26994048, freeMemory: 19914854400, clientType: desktop, AppInfo.ClientType: desktop, batterylevel: 1, pluggedin: true, Window.Focus: foreground, windowIsVisible: true, Window.Status: systray, UserInfo.TimeZone: -05:00, vdiMode: 0, Scenario.Name: desktop_app_quit, Scenario.Step: start, Scenario.Status: success,  
Thu Dec 08 2022 16:35:14 GMT-0500 (Eastern Standard Time) <31224> -- info -- Quitting app Teams with session of c073daf4-14e0-c444-02d1-b11078ad6101 and desktop session of desktop-e33a5c47-f70f-4cde-a3c1-982d6f343e51 
Thu Dec 08 2022 16:35:14 GMT-0500 (Eastern Standard Time) <31224> -- info -- Sending IPC to web content: mainWindow for app quitting...

It appears the renderer process crashed, with an exit code -1073741819.

Why is Teams crashing when I share my screen, and more importantly, how can this be fixed?

Microsoft Teams | Microsoft Teams for business | Meetings and calls | Screen sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

62 answers

Sort by: Most helpful
  1. Anonymous
    2023-01-05T09:41:13+00:00

    I had the same issue since I started working on my new laptop.

    It turns out the issue was caused by the HDR-setting of my screen. It's set to be on by default by Windows 11, but when sharing screen in Teams this caused a crash. Sharing the screen is OK the first few seconds, until you switch to show another app, as you do by alt-tabbing during presentation.

    So change the setting to 'off' in your W11 Display Settings when you present in Teams.

    I hope this'll also help MS track and fix the issue, because not having HDR enabled makes the picture quality noticably worse.

    Was this answer helpful?

    90+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-01-31T17:14:49+00:00

    I had the same issue since I started working on my new laptop.

    It turns out the issue was caused by the HDR-setting of my screen. It's set to be on by default by Windows 11, but when sharing screen in Teams this caused a crash. Sharing the screen is OK the first few seconds, until you switch to show another app, as you do by alt-tabbing during presentation.

    So change the setting to 'off' in your W11 Display Settings when you present in Teams.

    I hope this'll also help MS track and fix the issue, because not having HDR enabled makes the picture quality noticably worse.

    I can confirm this is indeed an issue. This past week when I shared screens Teams would crash. Was working flawlessly prior to that. I did as Jeroen suggested (after doing the uninstall/reinstall and then stumbled upon this thread) and BAM! It works perfectly now. Only bummer is with HDR turned off, my screens look like **** compared to what I'm used to, but I can now share screens again without Teams crashing.

    @Microsoft - please fix this bug!

    Was this answer helpful?

    20+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-01-04T22:05:20+00:00

    Dear Anesu Mwamuka MSFT,

    I am having the exact same issue as BL.LFL. I have followed all the advice on these message boards to delete all the Teams Local AppData files, uninstall, and re-install, etc. -- Nothing works. To answer your question, I have only encountered this issue on the desktop app, not the Teams web app in the browser. However, I have other issues when sharing on the Teams web app in the browser which I will address in a different forum.

    This is all very recent, and all was working fine for many months on this new laptop, then in the past two days my world turned upside down. As you can imagine, this is beyond frustrating and quite embarrassing, especially when you have worked day and night to prepare a presentation for a potential new client and finally have 30 precious minutes of their time to make your pitch, only to look like a fool as you keep dropping off the call. Then, with the few minutes remaining, you have to ask your client to re-connect via Zoom instead so you can rush through the presentation. Would you hire someone who can't even run a meeting on Teams?

    Thanks in advance for your forthcoming well-researched and fully tested solution.

    Leland_V

    Was this answer helpful?

    20+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-02-17T17:47:47+00:00

    It worked. I disabled the HDR button in Display settings.

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-03-08T18:59:37+00:00

    Works like a charm, disable HDR for the screen, and Bob's yer uncle!

    Was this answer helpful?

    9 people found this answer helpful.
    0 comments No comments