{"id":4944,"date":"2020-12-23T01:19:04","date_gmt":"2020-12-23T01:19:04","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4944"},"modified":"2020-12-23T01:19:04","modified_gmt":"2020-12-23T01:19:04","slug":"update-teams-settings-using-gpo-and-desktop-config-json-file","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/update-teams-settings-using-gpo-and-desktop-config-json-file","title":{"rendered":"Update Teams settings using GPO and desktop-config.json file"},"content":{"rendered":"<p>You can target the following powershell below to update items in desktop-config.json such as\u00a0<\/p><p>disableGpu\\openAtLogin\\registerAsIMProvider\\runningOnClose<\/p><p>(Get-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json).replace(&#8216;&#8221;disableGpu&#8221;:false&#8217;, &#8216;&#8221;disableGpu&#8221;:true&#8217;) | Set-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json<br \/>(Get-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json).replace(&#8216;&#8221;openAtLogin&#8221;:true&#8217;, &#8216;&#8221;openAtLogin&#8221;:false&#8217;) | Set-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json<\/p><p>&nbsp;<\/p><p id=\"IoBWGZk\"><img loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"451\" class=\"alignnone size-full wp-image-4945  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/12\/img_5fe29aba1e51d.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/12\/img_5fe29aba1e51d.png 862w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/12\/img_5fe29aba1e51d-300x157.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2020\/12\/img_5fe29aba1e51d-768x402.png 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>You can target the following powershell below to update items in desktop-config.json such as\u00a0disableGpu\\openAtLogin\\registerAsIMProvider\\runningOnClose(Get-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json).replace(&#8216;&#8221;disableGpu&#8221;:false&#8217;, &#8216;&#8221;disableGpu&#8221;:true&#8217;) | Set-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json(Get-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json).replace(&#8216;&#8221;openAtLogin&#8221;:true&#8217;, &#8216;&#8221;openAtLogin&#8221;:false&#8217;) | Set-Content $ENV:APPDATA\\Microsoft\\Teams\\desktop-config.json&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3426,3425,3424,576,3423,3422],"class_list":["post-4944","post","type-post","status-publish","format-standard","hentry","category-research","tag-desktop-config-json","tag-disablegpu","tag-openatlogin","tag-powershell","tag-registerasimprovider","tag-runningonclose"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4944"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4944\/revisions"}],"predecessor-version":[{"id":4946,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4944\/revisions\/4946"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}