cancel
Showing results for 
Search instead for 
Did you mean: 
Player2
New member
2 1 0 0
Message 1 of 3
357
Flag Post

Solved!

HP Client Management Script Library failing to download softpaq

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
TryToDoMybest
Level 8
829 820 81 166
Message 2 of 3
Flag Post
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
TryToDoMybest
Level 8
829 820 81 166
Message 2 of 3
Flag Post
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

Player2
Author
New member
2 1 0 0
Message 3 of 3
Flag Post
HP Recommended

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

0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation