{"id":8273,"date":"2024-09-02T09:41:14","date_gmt":"2024-09-02T09:41:14","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=8273"},"modified":"2024-09-02T09:43:17","modified_gmt":"2024-09-02T09:43:17","slug":"intune-proactive-remediation-to-uninstall-user-version-of-grammarly","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly","title":{"rendered":"Intune Proactive Remediation to Uninstall User version of Grammarly"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">&lt;#\n.DESCRIPTION\n    Proactive Remediation | Detection\n.EXAMPLE\n    PowerShell.exe -ExecutionPolicy ByPass -File &lt;ScriptName>.ps1\n.NOTES\n    VERSION     AUTHOR              CHANGE\n    1.0         Jonathan Conway     Initial script creation\n#>\n \n# Discovery\ntry {\n    # Run Test and store as variable\n    $Test = Get-ChildItem -Path \"$env:LOCALAPPDATA\\Grammarly\\DesktopIntegrations\\\" -Filter \"Grammarly.Desktop.exe\" -Recurse -Force -ErrorAction SilentlyContinue\n \n    # Check where test is compliant or not - if no instances of Zoom are discovered then mark as 'Compliant' and exit with 0\n    if ($null -eq $Test) {\n        Write-Output \"Compliant\"\n        exit 0\n    }\n    # If instances of Zoom are discovered then mark as 'Non Compliant' and exit with 1\n    else {\n        Write-Warning \"Non Compliant\"\n        exit 1\n    }\n}\n \ncatch {\n    # If any errors occur then return 'Non Compliant'\n    Write-Warning \"Non Compliant\"\n    exit 1\n}<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">&lt;#\nThis script will attempt to uninstall Grammarly user installs.\n\n    Proactive Remediation | Remmediation \n\nUser uninstall scripts based on https:\/\/social.technet.microsoft.com\/Forums\/en-US\/9fb747b2-0084-4ed1-98a1-ecc9b0d05684\/uninstall-mozilla-firefox-from-environment\n#>\n\n\n# Kill running processes\ntaskkill.exe \/F \/IM \"Grammarly.Desktop.exe\"\n\n# Canva - uninstall user installs\nGet-ChildItem -Path \"$env:LOCALAPPDATA\\Grammarly\\DesktopIntegrations\" Grammarly.Desktop.exe -Recurse -Force -ErrorAction SilentlyContinue | ForEach-Object {\n    $SetupPath = $_.directory.tostring() + \"\\Uninstall.exe\"\n    $Arguments = \" \/S\"\n    $UserUninstall = Start-Process $SetupPath -ArgumentList $Arguments -PassThru -Wait -ErrorAction SilentlyContinue\n    $UserUninstall.WaitForExit()\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user<\/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":[],"class_list":["post-8273","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-09-02T09:41:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-09-02T09:43:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#article\",\"name\":\"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com\",\"headline\":\"Intune Proactive Remediation to Uninstall User version of Grammarly\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2024-09-02T09:41:14+00:00\",\"dateModified\":\"2024-09-02T09:43:17+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage\"},\"articleSection\":\"Research\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#listItem\",\"name\":\"Intune Proactive Remediation to Uninstall User version of Grammarly\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#listItem\",\"position\":3,\"name\":\"Intune Proactive Remediation to Uninstall User version of Grammarly\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly\",\"name\":\"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com\",\"description\":\"When you run Uninstall.exe \\\/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2024-09-02T09:41:14+00:00\",\"dateModified\":\"2024-09-02T09:43:17+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com","description":"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =","canonical_url":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#article","name":"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com","headline":"Intune Proactive Remediation to Uninstall User version of Grammarly","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2024-09-02T09:41:14+00:00","dateModified":"2024-09-02T09:43:17+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage"},"articleSection":"Research"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#listItem","name":"Intune Proactive Remediation to Uninstall User version of Grammarly"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#listItem","position":3,"name":"Intune Proactive Remediation to Uninstall User version of Grammarly","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#webpage","url":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly","name":"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com","description":"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2024-09-02T09:41:14+00:00","dateModified":"2024-09-02T09:43:17+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com","og:description":"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test =","og:url":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly","article:published_time":"2024-09-02T09:41:14+00:00","article:modified_time":"2024-09-02T09:43:17+00:00","twitter:card":"summary","twitter:title":"Intune Proactive Remediation to Uninstall User version of Grammarly | Welcome to Pariswells.com","twitter:description":"When you run Uninstall.exe \/S as system for Grammarly Nothing happens you have to run this as the user # Discovery try { # Run Test and store as variable $Test ="},"aioseo_meta_data":{"post_id":"8273","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-09-02 09:37:52","updated":"2024-09-02 09:50:54","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tIntune Proactive Remediation to Uninstall User version of Grammarly\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"Intune Proactive Remediation to Uninstall User version of Grammarly","link":"https:\/\/pariswells.com\/blog\/research\/intune-proactive-remediation-to-uninstall-user-version-of-grammarly"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8273","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=8273"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8273\/revisions"}],"predecessor-version":[{"id":8275,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/8273\/revisions\/8275"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=8273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=8273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=8273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}