• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

Does anyone know why when running the command in Powershell as an admin :

New-HPDriverPack -Platform 876D -OS 'win11' -OSVer '24h2' -Path 'C:\HPDriver-Packs' -RemoveOlder -WhatIf

 

The following error message returns:

New-HPDriverPack : Cannot validate argument on parameter 'OSVer'. The argument "24h2" does not belong to the set "1809,1903,1909,2004,2009,21H1,21H2,22H2,23H2" specified by the ValidateSet a
At line:1 char:52
+ New-HPDriverPack -Platform 876D -OS 'win11' -OSVer '24h2' -Path 'C:\H ...
+ ~~~~~~
+ CategoryInfo : InvalidData: (:) [New-HPDriverPack], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,New-HPDriverPack

 

Yet this works fine if 23H2 is entered instead?

 

I've installed the latest version and still the same?

 

Thanks for anyone who can help.

1 REPLY 1
HP Recommended

Hi @Andrew0459867 

 

Check the following link to see if your model has the windows 11 24H2 pack installed. In many models the HP Driver pack is the same, the 24H2 is the same as the 23H2, and for this reason the OSVer is not changed.

 

Driver Packs (64-bit) | HP Client Management Solutions

 

 

 

- if I can help solve your question or issue, please click on ACCEPT AS SOLUTION or click the YES button if my answer was helpful.
† 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>.