2 Replies Latest reply on Sep 28, 2016 5:53 AM by burningsky

    Run FramePkg from another ePO server?

    burningsky

      Hi,

       

      We are doing a system transfer from 4.6 to 5.3. As a part of this we have a number of Drive Encrypted devices so we need to run the FramePkg.exe from the 5.3 server to move the systems so that the user allocation is kept. Is there any way to use the 4.6 server to get the clients to install the new framepkg? It doesn't matter if the file is on a network location and the install is just invoked by the 4.6 ePO.

       

      Any thoughts?

        • 1. Re: Run FramePkg from another ePO server?
          krvenkat

          Hi,

           

          I am very new to mcafee epo . I had the same issue last month and I came across two different ways.

           

          1). The latest FramPKG.exe can be pushed from epo server itself.

          2). I wrote a small powershell to install the FramPKG.exe

               note: This script only install from the local resource, you can modify it to fetch the exe from network and install.

           

          Command to remote execution of command:

          ========================================

          $server= "<IP/hostname to which you want to deploy>"

          $un= "user"

          $pw= "******"

          $scr= { Start-Process -Wait -FilePath FramePkg.exe } /* for uninstall, we can pass /forceuninstall

          $secPw= ConvertTo-SecureString -String $pw -AsPlainText -Force

          $cred= new-object -typename System.Management.Automation.PSCredential -argumentlist $un, $secPw

          Invoke-Command -Computer $server -ScriptBlock $scr -credential $cred

           

          NOTE:You need to configure power shell on both server and client, please follow this to configure.

           

          Steps to enable remote execution in Powershell.

          -----------------------------------------------

          Method One

          ----------

            The first and easiest method to enable PowerShell remoting is to execute the Enable-PSRemoting cmdlet. For example:

           

            PS C:\ > enable-psremoting

           

          Method Two

          ----------

            The second method to configure remoting is to use Server Manager. Use the following steps to use this method:

           

            Open Server Manager.

                 In the Server Summary area of the Server Manager home page, click Configure Server Manager Remote Management.

                 Next, select Enable Remote Management of This Server from Other Computers.

                 Click OK.

           

          Check the trusted host parties are there in both A & B.

                 Get-Item Wsman:\localhost\client\trustedhosts

           

            Set-Item WSMan:\localhost\client\trustedhosts -value "<hostname of the server/client>"

           

          Check whether the WinRM service is running or not.

                 get-service winrm

                Enable-PSRemoting -force

               winrm quickconfig

           

          Hope it helps.

          Thanks

          Venkat

          • 2. Re: Run FramePkg from another ePO server?
            burningsky

            Thanks for that, looks like as good a solution as any!