Remote Package Installer Ps4

0 views
Skip to first unread message

Pierpont Oldham

unread,
Aug 4, 2024, 9:40:55 PM8/4/24
to almagafo
Whatyou need to do, is to generate a new installer for ECA. It most probably references an Endpoint version, which is no longer available in the repository. Have you attempted to login to your ECA, generate a new installer and tried installing it?

I'm currently testing ECA within the trial period and I'm new to ESET products. Unfortunately I have the same problem: The status of the ESET Endpoint Security installer package in ECA is shown 'OK', but installation fails on several computers running Windows 10 (x64, German localization) with the same error as posted by Ali Akbar above.


Installation of G Data Endpoint Protection software works on all machines without error. Also installation of ESET All-In-One-Installers created in ESCM (ESET Security Management Center) works on all machines without error.


Could you please provide logs located in directory %temp%\eset\ (i.e. in temporary directory of user that executed installer)? This specific error means that it was not possible to find installer matching requirements. Most commonly when in case:


The firewall in our network provides a transparent HTTP proxy. This seemed to cause the problem. After adding HTTP exceptions in the transparent proxy for the test computers the ECA Live-Installer package starts without error.


When i try to create a new "all in one installer package" i cant find any version for my client (ESET Endpoint Security 8.0.2028.0) the repository is not empty i find packages for ESET Server Security.


Could you please check EP's trace.log for possible network-related issues? It seems that communication with ESET repository servers might be failing and thus EP is not able to decide whether installed version is latest or not.

Also what platform, DB type are you using? What was previous ESMC version used before upgrade?


Actually I was referring to EP Server's logs, located in C:\ProgramData\ESET\RemoteAdministrator\Server\EraServerApplicationData\Logs in case of EP for Windows, but in case there are only clients that are not able to connect to EP, it might also explain why version check is not working as intended.



From provided logs it is fairly clear that AGENT on client devices is not able to connect to EP because of DNS-resolving issue - could you double check that hostname as was printed in logs is correct and can be actually resolved to IP address on client device?


Unfortunately not, as it contains only 3 minutes of data, and synchronization with ESET repository servers is most probably not covered, as it happens only once an hour ... but I have passed to others, whether they have not seen such behavior previously.

But it might help to also provide trace log covering first minutes after service EP restart, there is a higher chance it will cover also possibly problematic part.


and alternatives for each product, indicating that indeed synchronzation with ESET repository servers is not working.

Could you please check you can actually download file from URL: on the same machine where EP service is running? Is there any firewall that could be blocking requests? I can see that non-standard ESET repository url is used, the one that directs requests to only ESET datacenters and not public CDN providers. Also please make sure HTTP proxy is properly configured and running, in case it is used.


What was actually reason why file was not possible to download using Chrome? That is actually what might point you the correct way, as from description you provided it seems to be that there might be some HTTP proxy used for accessing internet, and if so, also other applications has to be properly configured - this includes both Chrome but also ESET PROTECT Server itself, is the settings you described.

Before doing so, I would recommend to verify with "network gyus" or possibly check HTTP proxy configuration as can be accessed in "Internet Options" of your operating system or Internet Explorer configuration.


To keep these samples cleaner, I am going to use an imaginary installer that is not an MSI but the approach is the same. The main way to execute remote commands is with PowerShell remoting using the Enter-PSSession or Invoke-Command cmdlets. I am assuming that you already have PSRemoting working in your environment. If you need help with that, consult the Secrets of PowerShell Remoting ebook.


The first detail is that you need to maintain a remote session while the installer is running. If the installer does not block execution (it returns control back to the shell while it executes), your script may finish before the installer finishes. This will cancel the install as it closes the remote session.


This brings us to our second important detail. The install needs to be truly silent. Remote sessions are non-interactive. That means that they cannot popup or show windows. This will either cause the program to fail because it cannot show the window or it will cause the installer to hang because it expects someone to click a button that you have no way to click.


Everything tells you that the file either does not exist or you have no permissions to the file. This is kind of a false message because it does exist and you have file access rights. The issue is that your remote session does not have those same rights.


This is the double hop problem. The credential used to authenticate with server01 cannot be used by server01 to authenticate to fileserver. Or any other network resources for that matter. That second hop is anything that requires authentication that is not on the first remote system.


There is a new feature added in Powershell 5.0 that allows you to copy files using a PSSession. So create a PSSession and copy the file over it using the syntax below. A cool thing about this approach is that with Powershell 5.0, you can create a PSSession to a guest VM over the VM buss (instead of over the network) and you can still copy a file to it.


I used two tricks in that example that I need to point out if you have not seen them before. The first is splatting where I place arguments into a hashtable and use the @ operator to pass them to the CmdLet. The second is the $using: scope to get a variable from my local session into that remote scriptblock. I combine both of them when I execute this command New-PSDrive @using:psdrive.


But there is a better solution called Resource-based Kerberos constrained delegation. constrained delegation in Server 2012 introduces the concept of controlling delegation of service tickets using a security descriptor rather than an allow list of SPNs. This change simplifies delegation by enabling the resource to determine which security principals are allowed to request tickets on behalf of another user. See PowerShell Remoting Kerberos Double Hop Solved Securely for the details.


That covers the most common approaches that administrators take to solving this problem. I do have a few more ideas for you to take into consideration. These approaches are outside the scope of this post to go into the implementation details, but I wanted you to be aware of them.


You can use DSC to deploy and install your software. The easy stuff in DSC is very easy and you would learn a lot going down this path. You will need a pull server (that is easy to set up) for this one.


Deciding how to get the installer to the target system is the hard part with DSC. If you set up certificates, then you can provide credentials to a file share for straight file copy. Or you can create a custom DSC Resource and place the files in it. The target system would download it from the pull server like it would other resources.


Or you could use the Chocholatey.org package manager. The Microsoft package manager supports Chocholatey as a source but I have found the occasional installer that needs to be ran with choco install instead.


You can use the Site Installation Package to create a one-click Remote Worker installer package for a target Client and Site. When the installer package runs on a device, it adds the device to the target Client and Site on the All Devices view.


I want to install CV agent on new Windows server 2019 from our CV console. I read that I need to allow WMI users right access (its standard Admin user account with full rights), even I added our domain admin on WMI access list - SAME ERROR


Thank you for fast reply. I though that CV installation will do that job on Firewall (worked without problem before Windows Server 2019). When I turn Firewall on that new server OFF, why need to open those ports?


Note that the installer cannot make adjustments to the firewall if the connection to the client is failing. If you install interactively, it can disable the firewall, but remotely if the firewall is preventing the connection, it cannot be turned off.


As the remote installation is reporting a failure to connect to the remote registry of the intended client, you should first check that the remote registry of the client is reachable from the CommServe computer. You can test this with the following steps performed on the CommServe:


If wbemtest can connect, then you should be returned to the first page and will be connected. Otherwise an error will occur. As wbemtest is a Microsoft application, this demonstrates that the issue is most likely the configuration on the target machine.


Makes sense. Generally, I recommend creating a new post and linking an older one. It helps connect the issues, and it';s much easier to track a new thread than an older (solved) one. I want to be sure that you get all of the attention you need!


5568 2d20 11/04 08:23:17 25 [InstallWinSeed] [Base package will be installed] on client [ 10.21.236.19 ], installDirectory [ ],ans file [C:\Program Files\Commvault\ContentStore\Deployment\Install\10.21.236.19.base.xml].Transferring Base package files to the client..


@Anjali , I only see 3 cases total with this error on 11.26. 1 of them had nothing to do with the error here (it just showed up in a long historical log) and the other 2 are currently opened right now.

3a8082e126
Reply all
Reply to author
Forward
0 new messages