Comments (13)
Thanks, I'll take a look. No ETA on a solution
from osd.
My current plan is to take the HP BIOS Update and set it up as a Job that gets called, so if it fails, it should only fail the job, and not the entire process. I'm testing to idea to make sure it doesn't break anything else, however I won't be able to test your issue, as I haven't been able to reproduce your issue. (Could not locate EFI partition)
Once I have it where I'm happy, you'll be able to test by manually overwriting the OSDCloud.ps1 file in your module from the one I upload to GitHub. (I'll let you know when it's ready to test)
As @OSDeploy noted on Twitter, the other "Errors" are just due to the verbose switch called on BCDBoot.exe
We could remove the the verbose logging and you wouldn't see it, but it's nice to see rest of the information:
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di?view=windows-11
from osd.
Updates to the file are done and posted on GitHub.
You'll need to replace "C:\Program Files\WindowsPowerShell\Modules\OSD\24.3.10.1\Public\OSDCloud.ps1" with the one on GitHub: https://github.com/OSDeploy/OSD/blob/master/Public/OSDCloud.ps1
That will allow you to test.
from osd.
I saw the module updated today (to 24.3.20.1) so I tested it, and now I'm getting this, and it breaks the process too.
2024-03-20-182402
HP Enterprise Options Setup
Confirmed Internet Connectivity
Confirmed HP Tools Supported [Test-HPIASupport]
Confirm HPCMSL Installed [Install-ModuleHPCMSL]
HPCMSL is not Installed
Install-Module HPCMSL 1.7.1 [AllUsers]
Checking HP BIOS Version via HPCMSL
HP BIOS Ver Available: 1.27.0
Installed BIOS Ver: 1.25.0
PS>TerminatingError(): "Setting not found: 'Enhanced BIOS Authentication Mode'"
>> TerminatingError(): "Setting not found: 'Enhanced BIOS Authentication Mode'"
PS>TerminatingError(): "Setting not found: 'Setup Password'"
>> TerminatingError(): "Setting not found: 'Setup Password'"
>> TerminatingError(): "Setting not found: 'Setup Password'"
>> TerminatingError(): "Setting not found: 'Setup Password'"
>> TerminatingError(): "Setting not found: 'Setup Password'"
>> TerminatingError(): "Setting not found: 'Setup Password'"
Setting not found: 'Setup Password'
Setting not found: 'Setup Password'
At X:\Program Files\WindowsPowerShell\Modules\HP.ClientManagement\1.7.1\HP.ClientManagement.psm1:105 char:5
+ throw [System.Management.Automation.ItemNotFoundException]$Err
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : SessionStateException
from osd.
So I created a new image and tried to add HPCMSL and I got error below:
PS C:\Users\xyz> Edit-OSDCloudWinPE -PSModuleInstall HPCMSL
2024-03-20-131114 Mounting C:\OSDCloudWinPE\Media\Sources\boot.wim
2024-03-20-131234 Copying C:\OSDCloudWinPE\Config to X:\OSDCloud\Config
New File 769 C:\OSDCloudWinPE\Config\AutopilotJSON\AutopilotProfile.json
2024-03-20-131234 Startnet.cmd: Reset to defaults
@ECHO OFF
wpeinit
cd\
title OSD 24.3.20.1
PowerShell -Nol -C Initialize-OSDCloudStartnet
PowerShell -Nol -C Initialize-OSDCloudStartnetUpdate
2024-03-20-131235 Startnet.cmd: Start PowerShell in new Window
@ECHO OFF
start PowerShell -NoL
2024-03-20-131235 Saving OSD Module to X:\Program Files\WindowsPowerShell\Modules
2024-03-20-131407 Saving HPCMSL to C:\Users\xyz\AppData\Local\Temp\Mount1353678946\Program Files\WindowsPowerShell\Modules
Save-Module : A parameter cannot be found that matches parameter name 'AcceptLicense'.
At C:\Program Files\WindowsPowerShell\Modules\OSD\24.3.20.1\Public\OSDCloudSetup\OSDCloudWinPE.ps1:414 char:105
+ ... ntPath\Program Files\WindowsPowerShell\Modules" -Force -AcceptLicense
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Save-Module], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Save-Module
I boot the device and this time the BIOS update didn't fail.
2024-03-21-002701
HP Enterprise Options Setup
Confirmed Internet Connectivity
Confirmed HP Tools Supported [Test-HPIASupport]
Confirm HPCMSL Installed [Install-ModuleHPCMSL]
HPCMSL is not Installed
Install-Module HPCMSL 1.7.1 [AllUsers]
Checking HP BIOS Version via HPCMSL
HP BIOS Ver Available: 1.27.0
Installed BIOS Ver: 1.25.0
Starting HP BIOS Update Process Job using HPCMSL [Get-HPBIOSUpdates -Flash -Yes -Offline -BitLocker Ignore]
Current Firmware: 1.25.00
Staging Update: 1.27.00
BIOS Update Job ID: 80
See Log: C:\OSDCloud\Logs\HPBIOSUpdateJob.log for Details
Completed running Job to Update BIOS
Firmware image has been deployed. The process will continue after reboot.
HP TPM Update: False
BIOS Setting: TPM Device is NOT Available on this Hardware
BIOS Setting: TPM State is NOT Available on this Hardware
BIOS Setting: TPM Activation Policy is NOT Available on this Hardware
Adding HP Tasks into JSON Config File for Action during Specialize and Setup Complete
HPIA Drivers = True | HPIA Firmware = True | HPIA Software = True | HPIA All = False
HP TPM Update = True | HP BIOS Update = True | HP BIOS WU Update = False
Running HPIA during Setup Complete will add about 20 Minutes to OOBE (Just a moment...)
Set-OSDCloudUnattendSpecializeDEV
Invoke-Exe 'reg' Arguments 'load HKLM\TempSYSTEM C:\Windows\System32\Config\SYSTEM'
The operation completed successfully.
Invoke-Exe 'reg' Arguments 'add HKLM\TempSYSTEM\Setup /v UnattendFile /d C:\Windows\Panther\Invoke-OSDSpecializeDev.xml /f'
The operation completed successfully.
Invoke-Exe 'reg' Arguments 'unload HKLM\TempSYSTEM'
The operation completed successfully.
If you need full logs or anything else, let me know.
I can try to test this on a couple of different machines and see how it goes.
from osd.
Had to install PowerShellGet manually, which did the trick for the initial error.
I will do more testing and let you know if any issue pops up.
I appreciate the quick help with this.
from osd.
I just tested another computer, and the issue is resolved.
from osd.
Got you. Let me know if you need me to do any testing, happy to help as much as I can.
from osd.
@dany20mh, what platform is that?
You're not even getting to the update now.
I'm assuming it's getting hung up on the Get-HPSureAdminState.
Can you run that command manually to see your output? In the future, if you can upload the entire log, it's really helpful. Thanks
from osd.
Just another note, I like to add HPCMSL into the OSDCloud boot image:
Edit-OSDCloudWinPE -PSModuleInstall HPCMSL
I tested again just now on my oldest device (Elitebook 850 G4), and the process worked fine.
Can you run these two commands manually and see their results:
- Get-HPSureAdminState
- Get-HPBIOSSetupPasswordIsSet
Thanks
from osd.
Here is the log.
My OSDCloud image is older than last year, and I can try to create a new one and add HPCMSL in there too.
Just a question, will the module get updated later during the process when it exists?
2024-03-20-181919-Deploy-OSDCloud.log
from osd.
@dany20mh, I would need to double check the code, but I think it will update HPCMSL if it's not current.
I'm not sure why HPCMSL is acting that way on your device.
Things I'd try:
- Create Updated Boot Media using latest ADK
- Include HPCMSL
#Make Sure you're running 24.3.20.1
Update-Module -name OSD -Force
#Restart PowerShell after OSD has been updated (if it needed to be updated)
#Setup WorkSpace Location
Import-Module -name OSD -force
$OSDCloudWorkspace = "C:\OSDCloudWinPE"
[void][System.IO.Directory]::CreateDirectory($OSDCloudWorkspace)
#New Template (After you've updated ADK to lastest Version)
New-OSDCloudTemplate -Name "OSDCloudWinPE"
#New WorkSpace
New-OSDCloudWorkspace -WorkspacePath $OSDCloudWorkspace
#Added HPCMSL into WinPE
Edit-OSDCloudWinPE -PSModuleInstall HPCMSL
#Update the Cloud USB drive
Update-OSDCloudUSB
from osd.
Ok, so the error you got on the first screen means you need to update some other modules first on your endpoint.
if you run "Install-ModuleHPCMSL" on your endpoint, it should install the pre-reqs
PowerShellGet 2.2.5
The older version of PowerShellGet doesn't support the -AcceptLicense parameter, which is needed to install HPCMSL
Really glad to see it is working for you now! I was scratching my head on that for a while.
from osd.
Related Issues (20)
- Lenovo failing to boot after driver installation HOT 1
- Link broken HOT 1
- Windows 11 23H2 Get-WindowsImage: The data is invalid HOT 3
- Saving OS and driverpacks to network share HOT 4
- SHA1 Hash Check of ESD file after download
- Start-OSDCloudGUI on HP Elitebook 860 G11 HOT 4
- Install all dot net feature updates durring install HOT 1
- Setup Complete Options for Start-OSDCloud with ZTI parameter HOT 1
- OSDCloud Azure is currently broken due to az account 3.00 HOT 2
- Multiple hard drive detection - M.2 nvme SSD/SATA SSD/HDD detection on main OSDCloud GUI with combo box HOT 6
- WinPE 10.1.26100.1 Error in Deployment phase Export HOT 3
- Using `Edit-OSDCloudWinPE -StartURL` breaks installation if the network is slow HOT 3
- case-insensitive HP DriverPack auto-detection via product HOT 2
- Length Error for HPCMSL HOT 6
- The direct downloads links for several Microsoft Surface models no longer work. HOT 1
- -ZTI always downloads the esd instead of choosing the custom wim. HOT 3
- Start-WindowsUpdate and Driver not working HOT 1
- Using 'Edit-OSDCloudWinPE -StartURL' with Blob Storage SAS URL does not work. (2 Issues)
- Resolving Windows 11 Audit Mode Limitations with a Script Solution
- HP G11 generation not in CloudDriverPacks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osd.