Lenovo bios updating tools

Nevertheless I hope this post will be of some use to fellow admins involved in mass deployment!

A lot of computer technicians are other experienced computer users update their BIOS at some point usually because of a motherboard reporting temperatures wrong, not detecting certain hardware, not working with certain hardware or to allow the motherboard to accept larger hard drives.

Most favoured way of collecting system information on Windows platform is to leverage WMI queries.

Performing this task is fairly simple and consists of two steps.

In the first FOR loop we need to execute our query and capture the output.

In the second FOR loop, we need to go through the captured output and pick relevant data.

Either you didn’t listen to this warning, something interrupted the update or you used the wrong BIOS update leaving you with a corrupted BIOS.SET required Settings=lenovo_t450_v110REM Read asset tag captured earlier into a text file SET asset Tag= SET /p asset Tag= nul REM Once BIOS has been updated a system need a reboot wpeutil reboot : BIOS_SETTINGS t: ECHO. REM Copy files onto RAM drive xcopy /y t:\srsetupwin32\* x:\ xcopy /y t:\settings_repository\%required Settings% REM Apply BIOS settings x: cd \ srsetupewin32%required Settings% /U /Q /APAP %required Password% SET srsetuperrorcode=%errorlevel% IF NOT %srsetuperrorcode%==0 GOTO SETTINGS_ERROR ECHO. You can of course make it more or less interactive than it is in the example above, but I hope it gives a good overview of potential problems and solutions involved.Not everyone will stumble upon these challenges, as for each one of them certain conditions must be met.In order to go through all of the above lets first define the goals and constrains of the scenario.The goals: Prep work Before we can start it is important to obtain correct tools from Lenovo support website.

While script seems to be excessively long, it actually covers a lot of gotchas I have learnt to deal with in my experience. ASSET_NUMBER=%asset Tag%" SET winaiaerrorcode=%errorlevel% IF NOT %winaiaerrorcode%==0 GOTO ASSET_ERROR ECHO. REM Script finishes here, section below is to appear only in case of an error GOTO : EOF : NO_SETTINGS_FILE ECHO ****************************************************** ECHO * No BIOS settings file found for the system! * ECHO ****************************************************** pause nul GOTO BIOS_SETTINGS : SETTINGS_ERROR ECHO Error code: %srsetuperrorcode%. * ECHO ****************************************************** pause nul GOTO BIOS_SETTINGS : ASSET_ERROR ECHO Error code: %winaiaerrorcode%.

Please or register to post comments
If spammers comment on your content, only you can see and manage such comments Delete all

Lenovo bios updating tools introduction

Lenovo bios updating tools

Recent posts