UNSOLVED

OMCIGuy

updated

15 years ago

O

OMCIGuy

12 Posts

0

14890

April 29th, 2011 08:00

OMCI 8 and Latitude E6510

I have run into an issue with OMCI 8 and our Latitude E6510s.

Specifically... the ChangeBootOrder method on the DCIM_BootConfigSetting class. More specifically... it doesn't work.

The closest thread I could find on this subject is here:

http://www.delltechcenter.com/thread/4504439/CCTK+error+187+when+setting+propowntag+on+Latitude+E5510%2FE6510

I tried this approach (of unsetting the password, then making the ChangeBootOrder call, and then setting the password back, but it does not work in this case. =( I am sad now.

As a last ditch effort, I even tried to install the Dell Management Console standard edition (3.2) so see if maybe it could interact with the OMCI on our E6510s better than I can, but apart from importing a list of computer names, I can't use the tool to do anything else because of the error below (probably something for a separate thread).

Warren, if you are nearby today, when talking about the E6510, can you elaborate on "UEFI BIOS"?


Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 2
Date: 4/29/2011 8:46:40 AM
Tick Count: 73558421
Host Name: A70TTBDBS03
Process: AtrsHost (6676)
Thread ID: 55
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: ClientTaskServer.RegisterTaskServer(): Failed to register: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid..ctor(String g)
at Altiris.DotNetLib.AltirisGuid..ctor(String g)
at Altiris.TaskManagement.Common.AltirisResourceGuid..ctor(String g)
at Altiris.ClientTask.Server.ClientTaskServer.ReadResourceGuid()
at Altiris.ClientTask.Server.ClientTaskServer.RegisterTaskServer()

  • DELL-Vibha G

    1 Rookie

    38 Posts

    1108

    0

    Posted July 25th, 2013 00:00

    Yes, there is a WIKI posted on Boot Order with OMCI.  You can check the below link -

    en.community.dell.com/.../4849.omci-for-boot-order.aspx

    This article covers enable/disable a boot device. Please let us know if you need more info.

    Thanks,

    Vibha

  • DELL-Warren B

    1 Rookie

    1124 Posts

    1108

    0

    Posted April 29th, 2011 14:00

    The changebootorder method is pretty challenging. Email me at warren_byle@dell.com and I'll try to get you connected with someone who has more info.

    Thanks,

    Warren
  • OMCIGuy

    12 Posts

    1108

    0

    Posted May 2nd, 2011 06:00

    I should probably add a bit more detail to my post. Yes, I agree that the ChangeBootOrder method has been made more challenging that it probably needed to be.

    But my code is working perfectly fine. After realizing that the installation of OMCI 8 neuters the old classes in such a way that they don't actually do anything except read (was that really necessary?... really?...)... I successfully made the jump from Dell_BootDeviceSequence to DCIM_BootSourceSetting/DCIM_OrderedComponent. This updated code has already remotely corrected the boot order on every machine type we have (620s, 745s, 755s, 780s, 960s, D600, D610, D620, E6400)... except for the E6500 series.

    For lack of a better answer as to why a proper call to the method doesn't actually take on those machine types, I am telling the Help Desk lead that it has to do with UEFI bios on those machines, and an incompatibility on the part of OMCI.

    Without actually copying and pasting my code, I am passing to the ChangeBootOrder() method a string array of .PartComponent properties (for the devices I want enabled and in which order I want them) that I pick out from the DCIM_OrderedComponent collection. The code is correct... the underlying implementation for the E65XX series is not.
  • DELL-Warren B

    1 Rookie

    1124 Posts

    1108

    0

    Posted May 2nd, 2011 07:00

    Thanks for the additional details. I'm checking with the dev team for a response.

    Thanks,

    Warren
  • 1108

    0

    Posted June 27th, 2011 05:00

    This script did it for me:


    Dim strNewOrder(4)
    Dim strOldOrder(4)
    Dim strNewOrderInput(4)

    strNameSpace = "root/dcim/sysman"
    strComputerName = "."
    strClassName = "DCIM_BootConfigSetting"
    strClassNameOrder = "DCIM_OrderedComponent"
    arrayIndex = 0
    returnValue = 0

    strNewOrderInput(0)="4"
    strNewOrderInput(1)="1"
    strNewOrderInput(2)="2"
    strNewOrderInput(3)="3"
    strNewOrderInput(4)="0"
    strAuthorizationToken = ""

    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate," &_
    "AuthenticationLevel=pktprivacy}\\" & strComputerName & "\" &_
    strNameSpace)
    Set ColSystemOrder=objWMIService.execquery ("Select * from " & strClassNameOrder)

    For each objInstanceOrder in ColSystemOrder
    strOldOrder(arrayIndex) = objInstanceOrder.PartComponent
    arrayIndex = arrayIndex + 1
    Next

    For i = 0 to (arrayIndex - 1)
    For j = 0 to (arrayIndex - 1)
    if(InStr(strOldOrder(j),"index-"&strNewOrderInput(i))> 0) then
    strNewOrder(i) = strOldOrder(j)
    j=arrayIndex
    end if
    Next
    Next

    Set ColSystem=objWMIService.execquery ("Select * from " & strClassName)
    For each objInstance in ColSystem
    Set oInParams= objInstance.Methods_("ChangeBootOrder").InParameters.SpawnInstance_
    oInParams.source = strNewOrder
    oInParams.AuthorizationToken = strAuthorizationToken
    Set returnValue = objInstance.ExecMethod_("ChangeBootOrder", oInParams)
    Next
  • OMCIGuy

    12 Posts

    1108

    0

    Posted June 27th, 2011 06:00

    I totally agree with you, Tony. If all I needed to do was re-order my boot devices, this script would be great.

    The trouble is that I actually need to *disable* certain boot devices (it's a security requirement we have here; thank you federal government, may I have another). Simply sorting them behind the primary hard drive is not good enough. For now, we've had to send techs out to the laptops to get them configured properly. =(
  • 1108

    0

    Posted August 12th, 2011 05:00

    Any update on this topic?

    i'm able to change the boot order, but my problem is that the "Network card" is disabled as a boot device.

    i've been looking for days nog, but i'm unable to find where you can enable this in OMCI 8
  • cmacgm

    5 Posts

    1108

    0

    Posted July 24th, 2013 11:00

    I was wondering if there was any updates on this.  I am able to change the boot order but I would like to disable certain boot device.