{"id":2740,"date":"2018-02-05T16:00:14","date_gmt":"2018-02-05T15:00:14","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=2740"},"modified":"2018-02-05T16:00:14","modified_gmt":"2018-02-05T15:00:14","slug":"getting-rid-of-start-menu-ads-in-windows-10-modern-management-using-intune-ps-script","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2018\/02\/getting-rid-of-start-menu-ads-in-windows-10-modern-management-using-intune-ps-script\/","title":{"rendered":"Getting rid of start menu ads in Windows 10 Modern Management using Intune PS script"},"content":{"rendered":"<p>On a clean install, Windows 10 has &#8216;suggestions&#8217; in the start menu luring your users into installing stuff like Candy Crush.<\/p>\n<p>If you want to prevent this, put the following PS snippet into a file:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n\nNew-ItemProperty -Path &quot;HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager&quot; -Name &quot;SystemPaneSuggestionsEnabled&quot; -Value 0 -PropertyType DWORD -Force | Out-Null\nNew-ItemProperty -Path &quot;HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager&quot; -Name &quot;SubscribedContent-338388Enabled&quot; -Value 0 -PropertyType DWORD -Force | Out-Null\n\n<\/pre>\n<p>Then head to the Intune Console, go into device configuration and add the above file:<\/p>\n<p><a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_deploy_powershell_script.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2741\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_deploy_powershell_script.png\" alt=\"\" width=\"1011\" height=\"448\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_deploy_powershell_script.png 1011w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_deploy_powershell_script-300x133.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_deploy_powershell_script-768x340.png 768w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/a><\/p>\n<p>Make sure you let it run in the user&#8217;s context:<\/p>\n<p><a href=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_powershell_script_user_context.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2742\" src=\"https:\/\/www.lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_powershell_script_user_context.png\" alt=\"\" width=\"913\" height=\"370\" srcset=\"https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_powershell_script_user_context.png 913w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_powershell_script_user_context-300x122.png 300w, https:\/\/lieben.nu\/liebensraum\/wp-content\/uploads\/2018\/02\/intune_powershell_script_user_context-768x311.png 768w\" sizes=\"auto, (max-width: 913px) 100vw, 913px\" \/><\/a><\/p>\n<p>And finally, assign it to a group (or groups) containing your users.<\/p>\n<p>If you&#8217;re using Windows 10 Enterprise or higher Sku&#8217;s, you can also use <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/client-management\/mdm\/understanding-admx-backed-policies\" target=\"_blank\" rel=\"noopener\">ADMX backed policies<\/a>\u00a0as per RKast&#8217;s suggestion in the comments below \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a clean install, Windows 10 has &#8216;suggestions&#8217; in the start menu luring your users into installing stuff like Candy Crush. If you want to prevent this, put the following PS snippet into a file: New-ItemProperty -Path &quot;HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager&quot; -Name &quot;SystemPaneSuggestionsEnabled&quot; -Value 0 -PropertyType DWORD -Force | Out-Null New-ItemProperty -Path &quot;HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager&quot; -Name &quot;SubscribedContent-338388Enabled&quot; -Value 0 -PropertyType &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2018\/02\/getting-rid-of-start-menu-ads-in-windows-10-modern-management-using-intune-ps-script\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting rid of start menu ads in Windows 10 Modern Management using Intune PS script<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-2740","post","type-post","status-publish","format-standard","hentry","category-intune"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=2740"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/2740\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=2740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=2740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=2740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}