{"id":17479,"date":"2026-02-05T14:04:03","date_gmt":"2026-02-05T12:04:03","guid":{"rendered":"https:\/\/www.beseit.net\/?p=17479"},"modified":"2026-04-03T12:21:00","modified_gmt":"2026-04-03T10:21:00","slug":"windows-defender","status":"publish","type":"post","link":"https:\/\/www.beseit.net\/?p=17479","title":{"rendered":"Windows Defender (edge tamb\u00e9 bloqueja fitxers)"},"content":{"rendered":"\n<p>Windows 10 i 11, <em>encara que desactivis \u201cProtecci\u00f3 en temps real\u201d<\/em>, Microsoft Defender continua funcionant en segon pla. No s\u2019apaga del tot, nom\u00e9s es \u201crelaxa\u201d temporalment. I quan veu un fitxer que considera sospit\u00f3s, l\u2019elimina igualment.<\/p>\n\n\n\n<p>\u2714\ufe0f <strong>La soluci\u00f3 real per inhibir-lo: crear una exclusi\u00f3<\/strong><\/p>\n\n\n\n<p>Aix\u00f2 s\u00ed que funciona i \u00e9s permanent:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Obre <strong>Seguretat de Windows<\/strong>.<\/li>\n\n\n\n<li>Ves a <strong>Protecci\u00f3 contra virus i amenaces<\/strong>.<\/li>\n\n\n\n<li>A sota de tot, entra a <strong>Configuraci\u00f3 de protecci\u00f3 contra virus i amenaces<\/strong>.<\/li>\n\n\n\n<li>A <strong>Exclusions<\/strong>, afegeix:\n<ul class=\"wp-block-list\">\n<li>La carpeta on tens el programa<\/li>\n\n\n\n<li>O el fitxer concret <code>.exe<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>A partir d\u2019aqu\u00ed, Defender <strong>no tocar\u00e0 res dins d\u2019aquesta carpeta<\/strong>, encara que el detecti com a sospit\u00f3s.<\/p>\n\n\n\n<p>\u2714\ufe0f <strong>Qu\u00e8 has de fer exactament<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Activa <strong>Protecci\u00f3 en temps real<\/strong>.<\/li>\n\n\n\n<li>Ves a <strong>Exclusions<\/strong>.<\/li>\n\n\n\n<li>Afegeix:\n<ul class=\"wp-block-list\">\n<li>la carpeta del programa, o<\/li>\n\n\n\n<li>el fitxer <code>.exe<\/code> concret.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>(Opcional) Torna a desactivar la protecci\u00f3 si ho necessites.<\/li>\n<\/ol>\n\n\n\n<p>A partir d\u2019aqu\u00ed, Defender <strong>no eliminar\u00e0 el programa<\/strong>, perqu\u00e8 l\u2019exclusi\u00f3 t\u00e9 prioritat.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">? <strong>Com afegir una exclusi\u00f3 a Microsoft Defender amb PowerShell<\/strong><\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;www.google.com\/search?q=inhibit+Windows+defender+from+PowerShell<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><mark style=\"background-color:rgba(0, 0, 0, 0);color:#eb1010\" class=\"has-inline-color\">Set-MpPreference -DisableRealtimeMonitoring $true<\/mark>\n<\/code><\/pre>\n\n\n\n<p>Codi<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Add-MpPreference -ExclusionPath \"C:\\Ruta\\A\\La\\Carpeta\"<\/pre>\n\n\n\n<p>Tamb\u00e9 pots excloure un fitxer concret:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Add-MpPreference -ExclusionProcess \"C:\\Ruta\\Programa.exe\"\n<\/pre>\n\n\n\n<p>O excloure una extensi\u00f3 sencera:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Add-MpPreference -ExclusionExtension \".exe\"\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10 i 11, encara que desactivis \u201cProtecci\u00f3 en temps real\u201d, Microsoft Defender continua funcionant en segon pla. No s\u2019apaga del tot, nom\u00e9s es \u201crelaxa\u201d temporalment. I quan veu un fitxer que considera sospit\u00f3s, l\u2019elimina igualment. \u2714\ufe0f La soluci\u00f3 real &hellip; <a href=\"https:\/\/www.beseit.net\/?p=17479\">Continua llegint <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":3168,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[204,1],"tags":[],"class_list":["post-17479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","category-bloc-de-notes"],"_links":{"self":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/17479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17479"}],"version-history":[{"count":7,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/17479\/revisions"}],"predecessor-version":[{"id":17949,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/posts\/17479\/revisions\/17949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=\/wp\/v2\/media\/3168"}],"wp:attachment":[{"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beseit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}