![]() Which will show you when it ran, the location of the file it edited and what it changed the field to. $cookieFile = "$env:userprofile\AppData\Roaming\Microsoft\teams\Cookies" Set-Content C:\temp\TeamsDisableGPU.txt $TimeĪdd-Content C:\temp\TeamsDisableGPU.txt $Īdd-Content C:\temp\TeamsDisableGPU.txt $CheckFilePath $CheckTeamsConfig = Get-Content $FilePath| Out-String | ConvertFrom-Json $CheckFilePath = "C:\Users\"+ $env:UserName + "\AppData\Roaming\Microsoft\Teams\desktop-config.json" $TeamsConfig | ConvertTo-Json -compress -depth 100 | Set-Content $FilePath -Force $TeamsConfig = Get-Content $FilePath| Out-String | ConvertFrom-Json ![]() You could run this from a GPO, however I added it to Intune as a script via a deployment group. The following script will edit the json file and set Disable GPU acceleration to True. Luckily most settings in Teams are configured in a handy json file located here:Ĭ:\Users\\AppData\Roaming\Microsoft\Teams\desktop-config.json This is easy on one machine but if you have hundreds then you need a script. The chances are GPU acceleration needs to be disabled. If your machine is suffering from unusually high CPU usage caused by Teams, even when you aren't using it. I know they are a pain but they help me pay for the hosting of this site. Before you continue please consider clicking on one of the horrible ads.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |