MSEndpointMgr / ModernBIOSManagement

MIT License
45 stars 22 forks source link

Reboot variable not set #21

Open bjohnrini opened 2 years ago

bjohnrini commented 2 years ago

Trying to get this running on Dell laptops. BIOS package is downloaded and executed, but it never sets the SMSTSBIOSUpdateRebootRequired variable to True. The exit code in DellFlashBIOSUpdate.log is set to 2. Any ideas why?

NuclearThumbWar commented 1 year ago

I am seeing the same thing in our environment. It appears the SMSTSBIOSUpdateRebootRequired variable is being set to TRUE for us (verified with SCCM debugger) but the machine will not reboot. Exit Code 2 in the DellFlashBIOSUpdate.log. I have confirmed the TS sees a new BIOS is available, downloads it, and executes. The log finishes with Exit Code = 2 (Reboot Required) BIOS flash finished at mm/dd/yyyy at hh:mm:ss

Any ideas why this might be? I have tried various reboot steps in the TS, both the built-in Restart Computer and via a cmdline step in the TS, but none result in a successful BIOS flash. The logs all indicate it should be working, it just never reboots. If I reboot manually, the BIOS is still not flashed.

I should note this is occurring on production machines, I have not tested this in a WinPE setting.

NuclearThumbWar commented 1 year ago

@bjohnrini Turns out, this was not caused by the script at all. My test lab is all Dell, all without monitors. Dell machines will refuse to flash BIOS without a monitor attached. That link calls out a few specific models, but I have observed this behavior on Precision towers as well as OptiPlex micros. I added the "/novideo" switch to the argument list in the script and it worked flawlessly. If you're in a similar situation, you might try that.