BIOS-Updates via opsi

Antworten
NorbertKoch
Beiträge: 130
Registriert: 26 Aug 2021, 08:37

BIOS-Updates via opsi

Beitrag von NorbertKoch »

Hallo zusammen,

wir nutzen einige NUCs. Alle paar Monate gibt es BIOS-Updates, die über das Intel-Support-Tool angezeigt werden.

Ist es möglich ein BIOS-Update via opsi zu verteilen?

Nach dem Start des Updates werden Teile ins Flash_Memory geschrieben und danach wird ein Neustart abgefragt, was mit Y bestätigt werden muss.

Wäre so etwas machbar?

Liebe Grüße

Norbert
Liebe Grüße

Norbert
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1515
Registriert: 10 Jun 2015, 12:19

Re: BIOS-Updates via opsi

Beitrag von m.radtke »

Hallo Norbert,

wenn im BIOS bzw FLASH Programm nichts gemacht werden muss, sollte der Windows Teil zu skripten sein.

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
feltel
Beiträge: 211
Registriert: 09 Dez 2014, 07:22

Re: BIOS-Updates via opsi

Beitrag von feltel »

Solange das Update-Tool einen silent- bzw. unattended-Mode hat, dann sollte das machbar sein. Machen wir hier mit unserer Lenovo-Flotte ebenso. Nur bei den Notebooks aus nachvollziehbaren Gründen nicht vollautomatisiert.

Code: Alles auswählen

[Actions]
requiredWinstVersion >= "4.11.5.16"
DefVar $bitmap$
DefVar $headline$
DefVar $BiosPassword$
include_append "%WinstDir%\lib\section_sub_check_exitcode.opsiinc"
Set $headline$ = getValue("name", getProductMap)
Set $bitmap$ = "_logo.png"
set $BiosPassword$ = GetConfidentialProductProperty("bios_password", "")

ShowBitmap "%ScriptPath%\" + $bitmap$ $headline$
Message "installiere " + $headline$ + " %installingProdVersion%"

Files_Delete_BIOS_Files
Files_Copy_BIOS_Files

if GetProductProperty("installation_mode", "copy") = "flash"
	opsiServiceCall_setActionRequest_foobar-branding
	
	if $BiosPassword$ = ""	
			DosInAnIcon_Flash_BIOS
		else
			DosInAnIcon_Flash_BIOS_with_Password
	endif	
	
	ExitWindows /Reboot
endif

[Files_Delete_BIOS_Files]
delete -sf "%Systemdrive%\BIOS"

[Files_Copy_BIOS_Files]
copy -s "%ScriptPath%\setup\*.*" "%SystemDrive%\BIOS\"

[DosInAnIcon_Flash_BIOS]
pushd "%SystemDrive%\BIOS"
"%SystemDrive%\BIOS\Flash.cmd" /quiet /sccm

[DosInAnIcon_Flash_BIOS_with_Password]
pushd "%SystemDrive%\BIOS"
"%SystemDrive%\BIOS\Flash.cmd" /quiet /pass:$BiosPassword$ /sccm

[opsiServiceCall_setActionRequest_foobar-branding]
"method": "setProductActionRequestWithDependencies"
"params": [
           "foobar-branding",
           "%hostID%",
           "setup"
          ]
Antworten