{"id":4524,"date":"2023-01-04T09:54:56","date_gmt":"2023-01-04T17:54:56","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4524"},"modified":"2023-01-04T09:54:57","modified_gmt":"2023-01-04T17:54:57","slug":"how-to-force-install-microsoft-teams-with-intune-scripts","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4524","title":{"rendered":"How to Force Install Microsoft Teams With Intune Scripts"},"content":{"rendered":"\n<p>For some reason, Teams won&#8217;t install automatically with Office 365 deployment via Intune. I have created the below scripts and assigned them on Intune to force install Teams.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Scripts:<\/p>\n\n\n\n<p class=\"has-text-align-left\">$registryPath = &#8220;HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Run&#8221;<\/p>\n\n\n\n<p class=\"has-text-align-left\">$Name = &#8220;TeamsMachineInstaller&#8221;<\/p>\n\n\n\n<p class=\"has-text-align-left\">$value = &#8220;C:\\Program Files (x86)\\Teams Installer\\Teams.exe &#8211;checkInstall &#8211;source=default&#8221;<\/p>\n\n\n\n<p class=\"has-text-align-left\">&nbsp; &nbsp; &nbsp;if (Get-ItemProperty -Path $registryPath -Name $name -ErrorAction Ignore) {<\/p>\n\n\n\n<p class=\"has-text-align-left\">&nbsp; &nbsp; &nbsp;} else {<\/p>\n\n\n\n<p class=\"has-text-align-left\">&nbsp; &nbsp; \u2002\u2002\u2002\u2002\u2002\u2002\u2002\u2002New-ItemProperty -Path $registryPath -Name $name -Value $value&nbsp; &nbsp; &nbsp;}<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"296\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-1-1024x296.png\" alt=\"\" class=\"wp-image-4525\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-1-1024x296.png 1024w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-1-300x87.png 300w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-1-768x222.png 768w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-1.png 1172w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2-1024x581.png\" alt=\"\" class=\"wp-image-4526\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2-1024x581.png 1024w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2-300x170.png 300w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2-768x436.png 768w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2-128x72.png 128w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-2.png 1503w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"741\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-3-1024x741.png\" alt=\"\" class=\"wp-image-4527\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-3-1024x741.png 1024w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-3-300x217.png 300w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-3-768x556.png 768w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/12\/image-3.png 1173w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>For some reason, Teams won&#8217;t install automatically with Office 365 deployment via Intune. I have created the below scripts and assigned them on Intune to force install Teams. Scripts: $registryPath = &#8220;HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows\\CurrentVersion\\Run&#8221; $Name = &#8220;TeamsMachineInstaller&#8221; $value = &#8220;C:\\Program Files (x86)\\Teams Installer\\Teams.exe &#8211;checkInstall &#8211;source=default&#8221; &nbsp; &nbsp; &nbsp;if (Get-ItemProperty -Path $registryPath -Name $name -ErrorAction Ignore) { &nbsp; <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4524\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1185,238,239,10,18,1207,14],"tags":[1443,1444],"class_list":["post-4524","post","type-post","status-publish","format-standard","hentry","category-autopilot-intune","category-cloud","category-azure","category-microsoft","category-microsoft-office","category-teams-sharepoint","category-windows-7-8-10","tag-force-install-microsoft-teams-with-intune-scripts","tag-install-microsoft-teams-with-intune-scripts"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4524"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4524\/revisions"}],"predecessor-version":[{"id":4528,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4524\/revisions\/4528"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}