• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
HP Recommended

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

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

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

View solution in original post

2 REPLIES 2
HP Recommended

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

HP Recommended

Thank you, TryToDoMyBest! That was actually what I was missing in my repository config.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.