{"id":2431,"date":"2014-06-19T19:49:00","date_gmt":"2014-06-20T02:49:00","guid":{"rendered":"https:\/\/thebeagle.itgroove.net\/?p=1542"},"modified":"2023-02-24T21:48:27","modified_gmt":"2023-02-24T21:48:27","slug":"what-to-do-when-intune-agent-gets-lost-on-your-pc","status":"publish","type":"post","link":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/","title":{"rendered":"What to do when Intune Agent gets \u201clost\u201d on your PC"},"content":{"rendered":"<p>Intune is a pretty neat system for managing PC\u2019s when you don\u2019t have access to a full System Center and\/or you don\u2019t have any other management systems in place.\u00a0 Frankly, I think it\u2019s a great tool to use for small business, specially so when you use it to manage Microsoft Updates, Microsoft anti-virus and, possibly, your other software installs.\u00a0 I\u2019d rather manage updates for a small network (say up to 25 ~ 30 users) via Intune than manage a local WSUS install.<\/p>\n<p>But, as good as Intune can be, there are times when its agent can really mess up and then you have to do some work to fix things.\u00a0 Case in point:\u00a0 I fired up my laptop today after being offline for a few days.\u00a0 A minute or two after I logged in I received a weird message from Office about \u201cuninstallation complete\u201d and shortly after that my machine started to complain about not having and anti-virus program installed.\u00a0 I was surprised by that as we manage all of this through Intune.<\/p>\n<p>I logged into our <strong>Intune Admin Portal<\/strong> and my machine was listed in the machine inventory in the portal but there were error conditions listed for the machine.\u00a0 On my machine, when I brought up the <strong>Windows Intune Center, <\/strong>it reported that Intune was <em>not <\/em>configured to install\/maintain the anti-virus even though may machine was part of a group in our Intune Admin Portal that explicitly applies the Microsoft anti-virus to machines in the group and it would NOT apply updates even thought updates were listed as waiting for installation in the portal.\u00a0 Very curious \u2026<\/p>\n<p>In our Intune Portal I instructed the system to \u201cRetire\u201d my machine which is the recommended way to have Intune uninstall itself from your machine:<\/p>\n<p><a href=\"https:\/\/thebeagle.itgroove.net\/wp-content\/uploads\/thebeagle\/2014\/06\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px\" title=\"image\" src=\"http:\/\/thebeagle.itgroove.net\/wp-content\/uploads\/thebeagle\/2014\/06\/image_thumb1.png\" alt=\"image\" width=\"410\" height=\"323\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>I did this and waited about 10 minutes.\u00a0 I then attempted to reinstall the Intune Agent on my machine but the install stopped and told my Intune was already installed.\u00a0 More curious because my machine no longer appeared in the machine inventory in the Admin Portal!\u00a0 <strong>NOTE:<\/strong>\u00a0 Make sure you only select the <strong>RETIRE<\/strong> portion and not the <strong>WIPE<\/strong>!<\/p>\n<p>At this point I did some Googling and found a number of posts about how to \u201cmanually\u201d uninstall the Intune Agent when things don\u2019t go quite as planned with a \u201cretirement\u201d.\u00a0 I tried a few but everything I tried appeared to be tied to creating a scheduled job that would run the uninstaller and none of that worked for me.\u00a0 I then stumbled across a couple of posts that suggested using the following command at an elevated command prompt:<\/p>\n<p><strong><span style=\"color: #ff0000;font-size: x-large\">wmic product where \u201cname like \u2018%intune%\u2019\u201d call uninstall<\/span><\/strong><\/p>\n<p>Make note of the single and double quotes!\u00a0 Also note that it will run for a period of time and you will see at least two packages being uninstalled.\u00a0 But once the command runs you can be pretty well assured that the Intune Agent has been removed from your system.\u00a0 Once uninstalled you should reboot your machine then you can re-install the Intune Agent software and re-integrate your machine back into Intune.<\/p>\n<p>I did all of this with my machine (Windows 8.1 Update 1) and Intune (and anti-virus) are now back in place; machine is updating as I type this and all is good again in Intune land.\u00a0 I have no good idea as to why the Intune Agent on my machine and the Intune backend decided that they didn\u2019t like each other; it seems that we had a few machines in our office go a bit strange at about the same time.\u00a0 Louis has speculated that it may have had something to do with some changes in our O365 and that is fair comment as Intune and O365 do have a loose integration.\u00a0 But, whatever the reason, performing the retire in the portal and the wmic command on my local machine definitely allowed me to reinstall Intune cleanly and get back on board with anti-virus and Microsoft Updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Intune is a pretty neat system for managing PC\u2019s when you don\u2019t have access to a full System Center and\/or you don\u2019t have any other management systems in place.\u00a0 Frankly, I think it\u2019s a great tool to use for small business, specially so when you use it to manage Microsoft Updates, Microsoft anti-virus and, possibly, &hellip; <a href=\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":1548,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[238,247],"tags":[291,427,656],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What to do when Intune Agent gets \u201clost\u201d on your PC - Archive<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What to do when Intune Agent gets \u201clost\u201d on your PC - Archive\" \/>\n<meta property=\"og:description\" content=\"Intune is a pretty neat system for managing PC\u2019s when you don\u2019t have access to a full System Center and\/or you don\u2019t have any other management systems in place.\u00a0 Frankly, I think it\u2019s a great tool to use for small business, specially so when you use it to manage Microsoft Updates, Microsoft anti-virus and, possibly, &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\" \/>\n<meta property=\"og:site_name\" content=\"Archive\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-20T02:49:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T21:48:27+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\",\"url\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\",\"name\":\"What to do when Intune Agent gets \u201clost\u201d on your PC - Archive\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2014-06-20T02:49:00+00:00\",\"dateModified\":\"2023-02-24T21:48:27+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog Archive\",\"item\":\"https:\/\/regroove.ca\/archive\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What to do when Intune Agent gets \u201clost\u201d on your PC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/archive\/#website\",\"url\":\"https:\/\/regroove.ca\/archive\/\",\"name\":\"Archive\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/archive\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/archive\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What to do when Intune Agent gets \u201clost\u201d on your PC - Archive","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/","og_locale":"en_US","og_type":"article","og_title":"What to do when Intune Agent gets \u201clost\u201d on your PC - Archive","og_description":"Intune is a pretty neat system for managing PC\u2019s when you don\u2019t have access to a full System Center and\/or you don\u2019t have any other management systems in place.\u00a0 Frankly, I think it\u2019s a great tool to use for small business, specially so when you use it to manage Microsoft Updates, Microsoft anti-virus and, possibly, &hellip;","og_url":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/","og_site_name":"Archive","article_published_time":"2014-06-20T02:49:00+00:00","article_modified_time":"2023-02-24T21:48:27+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/","url":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/","name":"What to do when Intune Agent gets \u201clost\u201d on your PC - Archive","isPartOf":{"@id":"https:\/\/regroove.ca\/archive\/#website"},"primaryImageOfPage":{"@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage"},"image":{"@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage"},"thumbnailUrl":"","datePublished":"2014-06-20T02:49:00+00:00","dateModified":"2023-02-24T21:48:27+00:00","author":{"@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/archive\/2014\/06\/19\/what-to-do-when-intune-agent-gets-lost-on-your-pc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Archive","item":"https:\/\/regroove.ca\/archive\/"},{"@type":"ListItem","position":2,"name":"What to do when Intune Agent gets \u201clost\u201d on your PC"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/archive\/#website","url":"https:\/\/regroove.ca\/archive\/","name":"Archive","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/archive\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/archive\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/archive\/author\/swallbridge\/"}]}},"_links":{"self":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2431"}],"collection":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/comments?post=2431"}],"version-history":[{"count":1,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2431\/revisions"}],"predecessor-version":[{"id":2898,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/posts\/2431\/revisions\/2898"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/media?parent=2431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/categories?post=2431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/archive\/wp-json\/wp\/v2\/tags?post=2431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}