Update Teams settings using GPO and desktop-config.json file

You can target the following powershell below to update items in desktop-config.json such as 

disableGpu\openAtLogin\registerAsIMProvider\runningOnClose

(Get-Content $ENV:APPDATA\Microsoft\Teams\desktop-config.json).replace(‘”disableGpu”:false’, ‘”disableGpu”:true’) | Set-Content $ENV:APPDATA\Microsoft\Teams\desktop-config.json
(Get-Content $ENV:APPDATA\Microsoft\Teams\desktop-config.json).replace(‘”openAtLogin”:true’, ‘”openAtLogin”:false’) | Set-Content $ENV:APPDATA\Microsoft\Teams\desktop-config.json

 

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...