{"id":457,"date":"2023-10-16T19:59:11","date_gmt":"2023-10-16T14:59:11","guid":{"rendered":"https:\/\/brainlessideas.com\/?p=457"},"modified":"2023-12-01T21:04:23","modified_gmt":"2023-12-01T16:04:23","slug":"how-to-disable-every-version-of-copilot","status":"publish","type":"post","link":"https:\/\/brainlessideas.com\/index.php\/2023\/10\/16\/how-to-disable-every-version-of-copilot\/","title":{"rendered":"How to disable every version of copilot?"},"content":{"rendered":"<div class=\"_3cjCphgls6DH-irkVaA0GM \" data-testid=\"comment\">\n<div class=\"_292iotee39Lmt0MkQZ2hPV RichTextJSON-root\">\n<p>I&#8217;m yanking this off Reddit for when they delete the thread (happening more frequently!!).\u00a0 How to get rid of copilot&#8230;<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">Did a bunch of digging today. It looks like you can also disable it via Intune, using a configuration profile. Thanks to <a class=\"_3t5uN8xUmg0TOwRCOGQEcU\" href=\"https:\/\/www.reddit.com\/user\/maxpowers156\/\" target=\"_blank\" rel=\"noopener nofollow ugc\">https:\/\/www.reddit.com\/user\/maxpowers156\/<\/a> for posting it.<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">*EDIT* 9-25 this config policy failed for all my win11 clients. I tried making a win32 app and pushing out the reg change and that is generating errors also, so YMMV. Right now we&#8217;re manually using command line to edit the registry.<\/p>\n<pre class=\"_3GnarIQX9tD_qsgXkfSDz1\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">Here is what I got, still testing this out in our environment:\r\nCustom Template\r\n<\/code><\/pre>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">Name: Disable Windows Copilot OMA-URI: .\/User\/Vendor\/MSFT\/Policy\/Config\/WindowsAI\/TurnOffWindowsCopilot Data type: Integer Value: 1 Copilot is only applicable to the Insider Preview build currently: WindowsAI Policy CSP &#8211; Windows Client Management | Microsoft Learn<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">I made a dynamic group that finds windows 11 OSes to target it. will test monday.<\/p>\n<pre class=\"_3GnarIQX9tD_qsgXkfSDz1\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\"> (device.deviceOSVersion -startsWith \"10.0.2\")\r\n<\/code><\/pre>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">lastly, here is the reg setting if you just want to push out an Intune app, thanks to <a class=\"_3t5uN8xUmg0TOwRCOGQEcU\" href=\"https:\/\/www.reddit.com\/user\/kheldorn\/\" target=\"_blank\" rel=\"noopener nofollow ugc\">https:\/\/www.reddit.com\/user\/kheldorn\/<\/a>. I had this work on 1 test machine, and not work on a different one. it&#8217;s Fun!<\/p>\n<pre class=\"_3GnarIQX9tD_qsgXkfSDz1\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">[HKEY_CURRENT_USER\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot] \"TurnOffWindowsCopilot\"=dword:00000001\r\nSee https:\/\/learn.microsoft.com\/en-us\/windows\/client-management\/mdm\/policy-csp-windowsai\r\n<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"_3KgrO85L1p9wQbgwG27q4y\">\n<div id=\"vote-arrows-t1_k1smi6z\" class=\"_1E9mcoVn4MYnuBQSVDt1gC _2oM1YqCxIwkvwyeZamWwhW _1ewTEGuogtFmDvDII2T2Yy\"><\/div>\n<\/div>\n<div class=\"_1rZYMD_4xY3gRcSS3p8ODO _25IkBM0rRUqWX5ZojEMAFQ _3ChHiOyYyUkpZ_Nm3ZyM2M\">9<\/div>\n<div id=\"t1_k1smi6z-comment-share-menu\"><\/div>\n<div class=\"hrV8gUgmt0V7wM2wgZ81l _1YnPvd-E5MbmcM3PvRRcX _14hLFU5cIJCyxH9DSgsCov\"><\/div>\n<div>\n<div>\n<div id=\"t1_k2kxz7s\" class=\"_3sf33-9rVAO_v4y0pIW_CH\" tabindex=\"-1\">\n<div class=\"_1DooEIX-1Nj5rweIc5cw_E\">\n<div class=\"_36AIN2ppxy_z-XSDxTvYj5 t1_k1q5nyi\"><\/div>\n<div class=\"_36AIN2ppxy_z-XSDxTvYj5 t1_k1smi6z\"><\/div>\n<div class=\"_3Wv3am0TXfTcugZJ6niui\">\n<div class=\"_36AIN2ppxy_z-XSDxTvYj5 t1_k2kxz7s \"><\/div>\n<\/div>\n<\/div>\n<div class=\"Comment t1_k2kxz7s P8SGAKMtRxNwlmLz1zdJu HZ-cv9q391bm8s7qT54B3\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"_2mHuuvyV9doV3zwbZPtIPG ZvAy-PJfJmB8pzQxpz1sS\">\n<div id=\"AvatarUserInfoTooltip--t1_k2kxz7s\">\n<div class=\"_2p14AQvJBvTrEEa4csiW9v \"><img decoding=\"async\" class=\"_2TN8dEgAQbSyKntWpSPYM7 _13ScjOmi6dGdJw0JAonQEr \" src=\"https:\/\/brainlessideas.com\/wp-content\/uploads\/2023\/10\/avatar_default_0.png\" alt=\"User avatar\" \/><\/div>\n<\/div>\n<\/div>\n<div class=\"_3tw__eCCe7j-epNCKGXUKk\"><span class=\"_1RIl585IYPW6cmNXwgRz0J\">level 3<\/span><\/p>\n<div class=\"-Xcv3XBXmgiY2X5RqaPbO _1S45SPAIb30fsXtEcKPSdt _3LqBzV8aCO9tge99jHiUGy \" data-testid=\"post-comment-header\">\n<div class=\"_3QEK34iVL1BjyHAVleVVNQ\">\n<div class=\"_2mHuuvyV9doV3zwbZPtIPG\">\n<div id=\"UserInfoTooltip--t1_k2kxz7s\"><a class=\"wM6scouPXXsFDSZmZPHRo DjcdNGtVXPcxG0yiFXIoZ _23wugcdiaj44hdfugIAlnX \" href=\"https:\/\/www.reddit.com\/user\/NJDNYJK\/\" data-testid=\"comment_author_link\">NJDNYJK<\/a><\/div>\n<\/div>\n<\/div>\n<p><span class=\"_1a_HxF03jCyxnx706hQmJR\"><span class=\"_2ETuFsVzMBxiHia6HfJCTQ _8b8fUdBRxCYj9MkNpFvvv\"> \u00b7 <\/span><a id=\"CommentTopMeta--Created--t1_k2kxz7s\" class=\"_3yx4Dn0W3Yunucf5sVJeFU\" href=\"https:\/\/www.reddit.com\/r\/sysadmin\/comments\/16p739a\/comment\/k2kxz7s\/?utm_source=reddit&amp;utm_medium=web2x&amp;context=3\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" data-testid=\"comment_timestamp\">18 days ago<\/a><\/span><\/div>\n<div class=\"_3cjCphgls6DH-irkVaA0GM \" data-testid=\"comment\">\n<div class=\"_292iotee39Lmt0MkQZ2hPV RichTextJSON-root\">\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">I couldn&#8217;t get the CSP to work either. I have Powershell disabled for my users so I patched together a Remediation to apply it to the users HKU instead of HKCU as system. Tested and confirmed working.<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><strong class=\"_12FoOEddL7j_RgMQN0SNeU\">Detection:<\/strong><\/p>\n<pre class=\"_3GnarIQX9tD_qsgXkfSDz1\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">New-PSDrive HKU Registry HKEY_USERS | out-null\r\n$user = get-wmiobject -Class Win32_Computersystem | select Username;\r\n$sid = (New-Object System.Security.Principal.NTAccount($user.UserName)).Translate([System.Security.Principal.SecurityIdentifier]).value;\r\n$key = \"HKU:\\$sid\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot\"\r\n$val = (Get-Item \"HKU:\\$sid\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot\");\r\n$off = $val.GetValue(\"TurnOffWindowsCopilot\");\r\n\r\nif($off -ne 1)\r\n{\r\n    Write-Host \"Not Compliant\"\r\n    Exit 1\r\n}\r\nelse\r\n{\r\n    Write-Host \"Compliant\"\r\n    Exit 0\r\n}  \r\n<\/code><\/pre>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><strong class=\"_12FoOEddL7j_RgMQN0SNeU\">Remediation:<\/strong><\/p>\n<pre class=\"_3GnarIQX9tD_qsgXkfSDz1\"><code class=\"_34q3PgLsx9zIU5BiSOjFoM\">        New-PSDrive HKU Registry HKEY_USERS | out-null\r\n        $user = get-wmiobject -Class Win32_Computersystem | select Username;\r\n        $sid = (New-Object System.Security.Principal.NTAccount($user.UserName)).Translate([System.Security.Principal.SecurityIdentifier]).value;\r\n        New-Item -Path HKU:\\$sid\\Software\\Policies\\Microsoft\\Windows -Name WindowsCopilot -Force\r\n        $key = \"HKU:\\$sid\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot\"\r\n        $val = (Get-Item \"HKU:\\$sid\\Software\\Policies\\Microsoft\\Windows\\WindowsCopilot\") | out-null\r\n        $reg = Get-Itemproperty -Path $key -Name TurnOffWindowsCopilot -erroraction 'silentlycontinue'\r\n        if(-not($reg))\r\n        \t{\r\n        \t\tWrite-Host \"Registry key didn't exist, creating it now\"\r\n                        New-Itemproperty -path $Key -name \"TurnOffWindowsCopilot\" -value \"1\"  -PropertyType \"dword\" | out-null\r\n        \t\texit 1\r\n        \t} \r\n        else\r\n        \t{\r\n         \t\tWrite-Host \"Registry key changed to 1\"\r\n        \t\tSet-ItemProperty  -path $key -name \"TurnOffWindowsCopilot\" -value \"1\" | out-null\r\n        \t\tExit 0  \r\n            \t}\r\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<blockquote class=\"reddit-embed-bq\" style=\"height:316px\" ><p><a href=\"https:\/\/www.reddit.com\/r\/sysadmin\/comments\/16p739a\/how_to_disable_every_version_of_copilot\/\">How to disable every version of copilot?<\/a><br \/> by<a href=\"https:\/\/www.reddit.com\/user\/davidS2525\/\">u\/davidS2525<\/a> in<a href=\"https:\/\/www.reddit.com\/r\/sysadmin\/\">sysadmin<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/embed.reddit.com\/widgets.js\" charset=\"UTF-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"\n<p>I&#8217;m yanking this off Reddit for when they delete the thread (happening more frequently!!). How to get rid of copilot&#8230;<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">Did a bunch of digging today. It looks like you can also disable it via Intune, using a configuration profile. Thanks to https:\/\/www.reddit.com\/user\/maxpowers156\/ for posting it.<\/p>\n<p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">*EDIT* 9-25 this config policy failed [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,15],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","hentry","category-it","category-windows","odd"],"_links":{"self":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/comments?post=457"}],"version-history":[{"count":1,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":459,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/457\/revisions\/459"}],"wp:attachment":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/media?parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/categories?post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/tags?post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}