HP Remotely change BIOS settings with script.Couple months ago I needed to change BIOS setting on all our HP laptops.I wanted to do that remotely because we have many laptops and they are in 5 different locations.After spending some time searching I found very good document from HP.HP Client Management Interface Technical White Paper.After some modifications I came up with the following VB script.This script enables LANWLAN Switching setting in the BIOS.Find and contact HP Customer Support, download drivers, manuals and troubleshooting information for HP products, including pcs, laptops, desktops, printers, tablets.Because all the laptops are password protected I had to include BIOS password in the script.The password line is lt kbd 1.E1.F1. F1. 11. 81.As described in the HP document kbd denotes a string in hexadecimal format containing keyboard scan code input.Hp-Compaq-6910p-Laptop-Driver-Software-Download-For-Windows.jpg' alt='Compaq 6910P Bios Update Windows 7' title='Compaq 6910P Bios Update Windows 7' />You can find keyboard scan codes here.Once I had the script Ive used SMS2.You can easely Active Directory to run the script on start up.Const wbem.Flag.Return. Immediately 1.Const wbem.Flag.Forward. Only 3.Flags wbem.Flag. Return.Immediately wbem.Flag.Forward. Onlystr.Service winmgmts impersonationlevelimpersonatestr.Computer.Namespace rootHPInstrumented.BIOSstr.Query select from HPBIOSSetting.InterfaceSet obj.WMIService Get.Objectstr.Service str.Today I was able to fix a dead notebook simply by reseating connectors.The customer brought in Compaq nx5000 notebook.Computer str.NamespaceSet col.Items obj.WMIService.Exec. Querystr.Query,l.FlagsFor each obj.Item in col.Itemsobj.Item. Set.Bios. Setting o.Return, LANWLAN Switching, Enable, lt kbd 1.E1.F1. F1. 11. 81. How To Install Ipa Files Via Ssh Secure .Next. Download. Also Ive wrote a script which will list all setting in the BIOS.It will also show possible options for setting and which one is set.This creates a Dim obj.File.System, obj.Output.File. Dim str.Output.File. Const wbem.Flag.Return. Immediately 1.Const wbem.Flag.Forward. Only 3.Flags wbem.Flag. Return.Immediately wbem.Flag.Forward. Onlystr.Compaq 6910P Bios Update Windows 7' title='Compaq 6910P Bios Update Windows 7' />Output.File.SplitWScript.Script.Name,. 0.Service winmgmts impersonationlevelimpersonatestr.Computer.Namespace rootHPInstrumented.BIOSstr.Query select from HPBIOSSettingSet obj.File.System Create.ObjectScripting.System.ObjectSet obj.Output.File obj. File.System.Create. Text.Filestr.Output. File, TRUESet obj.WMIService Get.Objectstr.Service str.Computer str.NamespaceSet col.Items obj.WMIService.Exec. Querystr.Query,l.FlagsCounter 1.For Each obj.Item In col.Itemsobj.Output. File.Write.LineCounter vb.Tab obj.Item. Name obj.Item.ValueCounter Counter 1.Nextobj.Output. File.Close. . Set obj. File.System Nothing.Download.Scripts were tested on HP Compaq nc.HP Compaq 6.Win.XP SP2. The second script was also tested on HP dc.PC.Note Ive found out that some desktops and laptops like nc.CMI installed and the scripts dont work without CMI.You can download it from here.SP3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |