-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lenovo new bios mode #22
Comments
Hi, I have the same problem on X13 Gen 3. It looks like Lenovo is going to use another .exe file in the future but is not available in the BIOS packages I have checked so far. It would be nice if the Invoke-LenovoBIOSUpdate.ps1 could be updated to work with the new "WinPEuptp.exe" file (when Lenovo releases it). |
I also ran into that link, bad from Lenovo they should inform in Readme file for bios file, that winuptp.exe wont work in Winpe. I have spend a few day to figure out the problem. |
We are encountering the same "issue" on Lenovo X1 Carbon Gen 10, is there any timeline for this issue to be addressed ? |
From Lenovo forum: https://forums.lenovo.com/t5/Enterprise-Client-Management/Missing-WINUPTP64-exe-from-L14-T14-Gen-3-BIOS/m-p/5171737?page=1#5779523 Get latest bios from download site, your model is supported now. Make copy of lenovo bios script and rename like this. Change for new lenovo bios script to use WinPEUPTP.exe Make wmi queries in TS to use the old lenovo bios script and new lenovo bios script to update bios for the correct lenovo model. |
Thank you so much ! @Muri-dk |
This issue can be easily resolved by making the modification to line 129 in the code as specified. No additional changes are required.
|
Big thanks to Keniem for getting me on the right track, only issue with that simple solution is that it does not work in the live OS. So if you also use it to update already running machines it will fail. Another issue is that the WinPE file is missing from most BIOS packages I've tried .. and have had a case with Lenovo support for a while now. Finally got the file today... but this issue is soooo F*****ing dumb, why even change the BIOS packages and why add the new winPE file sometimes .. other times just forget it... DUUUUMB!! Anyhow, I've added a permanent fix to the script with a new switch -PXE that needs to be added to the TS for it to run in winPE mode and I've also added some more code so it will prefer the WinUPTP64(if it's there) when running in the live OS. As you can see on the below image, you just add the -PXE switch to your windows installtion TS and just don't add it to the update TS if you use it. So how to use the new modifications is rather easy.
If you use it and find any bugs, do let me know! I've moved this to production in my setup, as did not find anything out of order. |
Hello, |
Can you send a screen of the Invoke-lenovoBIOSupdate step? I think you're either missing the parameter or might be a typo. Also I usually run mine after the Drivers(after windows has been applied) but before the config manager installs and restarts. So still WinPE |
Have you changed the previous script to spit out %ASPackageLocation01% as a value? Also I think your issue might be the " '' " around your variable. |
As a side note, I have mine after the Drivers yes. No reason not to. It needs to reboot soon after anyhow. So less reboots overall. |
Oh I tought you were getting the -1 error code from powershell in the TS. If it's from the actual BIOS log it's usually means the BIOS is already up to date. But it looks like the script is working. There's a lot of custom stuff going on in your TS not standard to the MSendpoint documentation.. so I don't really know about the variables and the custom download script you got going :( As you're running something 100% custom I can't really say what might go wrong, but I would check if the BIOS even needs updating on the machine you're trying to test on :) |
Just a quick update, found some wierd inconsitancy with older gen 2 BIOS upgrades in PXE... not sure why, but it seems to get stuck. So I made an update.. not pretty put it works. It now looks for WinUPTP64.exe before explicitly choosing witch BIOS format to use, the new or the old. This has fixed the getting stuck issue for me :) let me know if anyone finds any other issues.. as it seems we won't be getting any official fixes... |
Hi there
New type of bios on Lenovo T14 Gen 3/T16 Gen 1. Invoke-LenovoBIOSUpdate.ps1 does not recognize WINUTPT64.exe because it does not exist, I try to rename existing WINUTPT.exe to WINUTPT64.exe but it does not work. Can anyone figure it out?
File structure of bios:
The text was updated successfully, but these errors were encountered: