1 2 Previous Next 10 Replies Latest reply on Oct 27, 2016 9:44 AM by sweedychef

    Issue uninstalling Agent

    nthnu

      I'm not able to uninstall the Agent 5.x on a couple of our systems, and running as Administrator. I run the script...

       

      "C:\Program Files\McAfee\Agent\cmdagent.exe" -s

       

      ...but get errors...

      (below are all source MsiInstaller)

       

      1-err1404.PNG

      EventID 11404 Product: McAfee Agent -- Error 1404.Could not delete key \SOFTWARE\McAfee\McTray\Plugins\McAfeeCommonUpdaterPlugin.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

       

      2-err1404.PNG

      EventID11404 Product: McAfee Agent -- Error 1404.Could not delete key \SOFTWARE\McAfee\Agent\FirewallRules.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.

       

      3-err1336.PNG

      EventID11336 Product: McAfee Agent -- Error 1336.There was an error creating a temporary file that is needed to complete this installation. Folder: C:\ProgramData\McAfee\Agent\. System error code: 5

       

      4-faterr.PNG

       

      Is there any other way to remove it? Thanks

        • 1. Re: Issue uninstalling Agent
          cdobol

          Did you try cmdagent.exe /remove=agent ?

          • 3. Re: Issue uninstalling Agent
            nthnu

            I'm sorry, I didn't realize I pasted the wrong thing. To uninstall, the script I used was...

            "C:\Program Files\Mcafee\Agent\x86\frminst.exe" /forceuninstall

             

            I tried what you mentioned, but get...

            C:\Program Files\McAfee\Agent>cmdagent /remove=agent

            usage: cmdagent [options]

            where options are:

              -c:          checks for new policies

              -e:          enforce policies locally

              -p:          collect and send properties

              -f:          send events

              -s:          displays the agent monitor UI

              -i:          displays agent info

              -l:          set logfile location

              -h:          displays help

             

               e.g. cmdagent -p

                    cmdagent -p -l "E:\DirectoryName"

            • 4. Re: Issue uninstalling Agent
              cdobol

              Sorry, meant frminst,exe with /remove=agent

              • 5. Re: Issue uninstalling Agent
                nthnu

                Tried frminst.exe /remove=agent and get the same errors as above.

                • 6. Re: Issue uninstalling Agent
                  twenden

                  I did find this article on the McAfee Knowledgebase, KB87834 that explains how to manually remove Agent 5.0x if all fails. The strange thing is that I can no longer find this on the knowledge base so it may have been removed by McAfee.

                   

                   

                  I

                  • 7. Re: Issue uninstalling Agent
                    nthnu

                    Thanks for the help everyone!

                     

                    What I did was Install an offline/standalone VSE setup, then tried installing Agent over Agent and they both worked. I uninstalled VSE, and ran the (correct) uninstall script for Agent and it worked.

                     

                    Ran CCleaner.

                     

                    Deployed Agent and all seems happy for now.

                    • 8. Re: Issue uninstalling Agent
                      sweedychef

                      Hi Twenden,

                       

                      Do you have a copy of this KB87834 ?

                      I'm in the situation where I get the exact same issue as the OP but also cannot install VSE8.8 as it rolls back.

                      So the agent is left on the machine and I cannot install over the top or remove using the usual methods.

                       

                      Last attempt is to manually remove but as you point out the KB article is no longer up.

                      I'm assuming there is more than 8 steps......

                       

                      Thanks

                      Darren

                      • 9. Re: Issue uninstalling Agent
                        twenden

                        Darren,

                         

                        All I have is a screen capture that I took of that KB article. It seems McAfee removed this KB article so can't verify if it has more steps or not. If my memory serves me right, it only has these 8 steps as I would have taken another screen capture. It makes me suspicious that McAfee removed it, maybe it has some mistakes in it. Have not personally tried these steps so don't know if it will help or not.

                        1 2 Previous Next