-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Notebooks
- Business Notebooks
- HP Client Management Script Library failing to download soft...
Create an account on the HP Community to personalize your profile and ask a question
04-24-2020 07:14 PM
I am running into an issue with both HP Image Assistant and HP Client Management Script Library not being able to download the SP93050 softpaq. From what I can tell, the link to the softpaq is invalid. My frustration is with Invoke-Repository and why it won't continue with rest of the repository sync even if some softpaqs fail to download. Is there a parameter I am missing to allow it to continue on error?
Here is the exact error I get in Powershell when I run the Invoke-Respository cmdlet.
(Warning) Could not retrieve https://ftp.hp.com/pub/softpaq/sp93001-93500/sp93050.exe.
Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
File sp93050 has invalid or missing signature and will be deleted.
(Warning) Could not retrieve https://ftp.hp.com/pub/softpaq/sp93001-93500/sp93050.exe.
Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Has anyone else encountered this issue?
Thank you
Solved! Go to Solution.
Accepted Solutions
04-25-2020 03:33 AM
Hello
yes , there is a wat to let Invoke-RepositorySYnc to continue download even if a softpaq is missing.
you must use at leats version 1.4.3 to use the new version of this parameter:
Set-RepositoryConfiguration -setting 'OnRemoteFileNotFound' -value 'LogAndContinue'
found here: https://developers.hp.com/hp-client-management/doc/set%E2%80%90repositoryconfiguration
it works for me but if you have a previous version that sintax doens't work, in any case it's always better to keoo HP CMLS alwasy updated.
I use HP CMLS to mantain my Softpaw repository for more then 40 SysID for Win10 1909.
I case you don't know , you can even use HP Image Assistant from command line and even in offline mode letting the clients access your local repository instead of downloading files fro HP site.
in that case you have the add also this command you your repository config file:
Set-RepositoryConfiguration -setting 'OfflineCacheMode' -cachevalue 'enable'
Bye
04-25-2020 03:33 AM
Hello
yes , there is a wat to let Invoke-RepositorySYnc to continue download even if a softpaq is missing.
you must use at leats version 1.4.3 to use the new version of this parameter:
Set-RepositoryConfiguration -setting 'OnRemoteFileNotFound' -value 'LogAndContinue'
found here: https://developers.hp.com/hp-client-management/doc/set%E2%80%90repositoryconfiguration
it works for me but if you have a previous version that sintax doens't work, in any case it's always better to keoo HP CMLS alwasy updated.
I use HP CMLS to mantain my Softpaw repository for more then 40 SysID for Win10 1909.
I case you don't know , you can even use HP Image Assistant from command line and even in offline mode letting the clients access your local repository instead of downloading files fro HP site.
in that case you have the add also this command you your repository config file:
Set-RepositoryConfiguration -setting 'OfflineCacheMode' -cachevalue 'enable'
Bye