Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

Dell Optiplex 9010 All in one bios update.

$
0
0

     I am trying to setup my base windows 7 task sequence to upgrade the bios of an Optiplex 9010 all in one. This is NORMALLY done via a wmi query. Unfortunately, Dell in their infinite wisdom decided to label the system type as Optiplex 9010 for both the desktop/mini tower and the allinone model. The all in one model has its own distinct driver cab, bios updates, etc because the allinone hardware is different. I did some googling around and found that the models can be distinguished by their chassis type. The allinone has a chassis type 13 which literally means "allinone". I found a .vbs, modified it to suit the task sequence needs and inserted it to run in my task sequence while in PE mode just after the "Apply Device Drivers" step. I then placed the bios update package after the machine sets up windows and the config manager and reboots and is installing the base applications. Then it should run if the following is met:



The .vbs is as follows:

------------------------------------------

Dim oTaskSequence, oWMI, colChassis, sChassisType, oChassis
Set oTaskSequence = CreateObject ("Microsoft.SMS.TSEnvironment")
Set oWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colChassis = oWMI.ExecQuery("Select * from Win32_SystemEnclosure")
For Each oChassis in colChassis
For  Each sChassisType in oChassis.ChassisTypes
  Select Case sChassisType
      Case 8
                Wscript.Echo "Chassis Type: Portable"
                oTaskSequence ("OSDImageType") = "laptop"
            Case 9
                Wscript.Echo "Chassis Type: Laptop"
                oTaskSequence ("OSDImageType") = "laptop"
            Case 10
                Wscript.Echo "Chassis Type: Notebook"
                oTaskSequence ("OSDImageType") = "laptop"
            Case 12
                Wscript.Echo "Chassis Type: Docking Station"
                oTaskSequence ("OSDImageType") = "laptop"
            Case 13 
                Wscript.Echo "Chassis Type: All in One"
                oTaskSequence ("OSDImageType") = "allinone"
            Case Else
                Wscript.Echo "Chassis Type: Unknown"
                oTaskSequence ("OSDImageType") = "desktop"
  End Select
    Next
Next

------------------------------------------------------

The entire task sequence is relatively simple it is as follows:

  

The bios package is simple as well. It is a package with a program to install the bios patch with the command line of "Optiplex9010A_A08.exe -NOPAUSE -NOREBOOT". 

The log file is not showing errors. Posting below because of screenshot limitations.


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>