PowerShell command to make changes in BIOS

Two things, I need it please.

  1. the list of the models manageable through WMI (if not all)
  2. assistance in obtaining the following to work when there's a BIOS password set

Your help is appreciated.

I try to use WMI to change in the BIOS on various laptop models.  Those without a password can be defined and work orders beautifully, like this...

$BIOS = gwmi CN - $ComputerName - hp_biossettinginterface - Namespace "root\hp\instrumentedbios" class

NVM... I got it.

using Convert-ToKbdString

as well as the following

$BIOS = gwmi CN - $ComputerName - hp_biossettinginterface - Namespace "root\hp\instrumentedbios" class

$BIOS. SetBIOSSetting ("State NumLock at startup", "we","< kbd / > $BIOS_PW")

We are facing

$BIOS_PW = "< kbd / >" + (Convert-ToKbdString - UTF16String "ThePassword")

$BIOS = gwmi CN - $ComputerName - hp_biossettinginterface - Namespace "root\hp\instrumentedbios" class
$BIOS. SetBIOSSetting ("Numlock State at startup", "We", "$BIOS_PW")

So it turns out, it's a combination of solutions that worked.

Tags: Notebooks

Similar Questions

  • [Issue] Is it possible to change the order of connection of the network through the powershell command or back?

    Hello my dear

    I would like to ask how to change the binding of the network through the powershell command or back order.

    I know it could be changed as below.

    http://Windows.Microsoft.com/en-GB/Windows/change-network-protocol-bindings-order#1TC=Windows-7

    but I want to change it via text command. Because sometimes, I change it many servers via GUI and then happened a long time depending on the amount of servers.

    If it can be modified it using the command text, or registry, it will be useful for me.

    Thank you.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
  • How to change the bios password remotely

    We're a lenovo shop all. (m58 and more). I'm looking for a way to change the bios supervisor password remoetly. I found the WMI and the PDF orders to go with them but when I run SetSupervisorPasswordRemote.vbs I get "Microsoft VBScript compilation error: due to end of the statement"I am not very versed in VB so im not sure how to solve this problem. "

    If not is it possible to take this back to powershell and use it to change the bios password?

    Hello aford89,

    Although the follwing linked to the thread is on T450 ThinkPads the answer is the same across the range of product; You can only do this if you have already set a password manually.

    https://forums.Lenovo.com/T5/enterprise-client-management/setting-BIOS-password-in-SCCM-task-Sequenc...

  • Parental Controls error: "unable to make changes to parental controls settings.

    I recently added a second user on my computer so that my friends and family can use it even if I'm not around. Only one problem though. I tried to put parental controls for literally giving them access to about five programs and nothing else. I know HOW to put in place, but whenever I finished the settings, an error comes up saying

    "Impossible to make changes to parental controls settings. If the problem persists, see your system administrator. »

    Of course, since it's my computer, I am the system administrator. It says my user profile. Everything works very well in my own profile and it is the first issue I've had with Windows Vista, I could not understand either by myself or the box of Windows Vista Help could respond. Any help would be greatly appreciated.
    Thank you, Vanessa

    Hi evilkittenofdoom

    Lets try the following.  Even if your account is an administrator, can allow to built in Administrator account and see if we get the error you mentioned before.

    activate the account real built-in Administrator, then log into that account and see if you can set up parental controls.

    1.) open start, type cmd in the search box

    2.) look to the top of the left panel you'll see cmd.exe , right click

    3.) click on RUN AS ADMINISTRATOR, click on continue if prompted

    (4.) a black & white screen appears, type the following:

    NET user administrator / Active: Yes

    5.) press the ENTER key on your keyboard. The b/w screen indicate whether the command is successful. If Yes, close the n/b command prompt. Otherwise please try again and careful with typo/spacing.

    6.) log-off. The display will show 3 accounts. Acct 'true administrator', yours and your 2nd account set for friends/family

    7.) to connect to the account "administrator." The system should start the implementation of the Bureau for the account. After that, try to do what you wanted to do with the 2nd account (the parental control settings).

    WARNING
    : a) If you decide to keep this account (Administrator account), be sure to create a password for it.
    (b) If you decide to get rid of it, repeat operations EXCEPT in step 4.) type net user administrator / active: No.

    Please let us know if it helped to solve the problem - thank you

    Ken
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I restart the computer and changed the BIOs to boot from the CD. So as usual, I'm prompted to press any key to start from the CD or DVD.

    Hello Comunity Microsoft :D My name is Mike and I built a gaming pc. Everything was going well for the first 3 days, but now I have a few crashes very violent. Speakers in loop and buzz and screen lock. I have to completely shut down to go back to a working state. I did everything I could possibly think of to solve this problem, but I can't.

    Then. on the problem. Today, I decided that I was able to solve all the problems by reinstalling windows. I had my keys together and put the disc in. I restart the computer and changed the BIOs to boot from the CD. So as usual, I'm prompted to press any key to start from the CD or DVD. I do and I get normal loading windows files, and at the end of this road, I get the Welcome screen in windows7 with no option and a fat slider. I don't have the little box that tells me that I can fix my computer or reinstall windows, NOTHING. I tried several times and received the same result<--(Insanity: root="" meaning...="" just="" saying)="" so="" i="" called="" windows,="" or="" had="" windows="" call="" me="" rather,="" and="" the="" tech="" says="" she's="" never="" heard="" of="" such="" a="" thing="" happening,="" and="" walked="" me="" through="" all="" these="" steps="" that="" i="" have="" already="" tried....="" still="" no="" help.="" so="" i="" am="" asking="" the="" community.="" has="" this="" ever="" happened="" to="" you="" and="" how="" did="" you="" make="" it="" work.="" and="" please="" don't="" post="" a="" list="" of="" regurgitated="" back="" log="" fix="" lists.="" rest="" assured="" i="" have="" already="" done="" it="" and="" failed="" to="" receive="" a="" different="">

    Just to isolate the problem, try to download a new copy of Windows 7, and then try again:

    For 5 years, Microsoft made it fairly easy for users of the Windows 7 operating system to get reinstall media. If you have lost your support disc or installation retail collection; either it has been damaged or defective; You can download a copy of the edition that you have licensed from a membership site called Digital River. More recently, Microsoft ended the availability to reinstall media that you can download as a. File ISO in Digital River, which is a digital reproduction of an optical disc.

    It was particularly convenient for people who could not easily get the manufacturer's recovery media, did not want to pay the fees required to get or preferred a clean configuration without the software packaged manufacturers or even a recovery partition does not work. It's easy to use, all you had to do was reinstall and reactivate using the product key located on the certificate of authenticity and download all the drivers on the manufacturers website.

    Given that this option is no longer available, what are your options? See the article for more details:

    How to: What are my options for Windows 7 reinstall media?

    Make sure you scroll down and read the section:

    What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?

    Regarding problems with the computer itself, try to disconnect all nonessential equipment attached to it to see if the problem persists.

    I would also try switching around components such as modules of memory to see if the problem persists.

    I would also check to make sure that all components are mounted and installed correctly.

  • Unable to make changes to the registry.

    Original title: The status bar notification

    I used to be able to go to regedit, theoretically/local settings, current version, and then in the notification bar and remove previous workflow icon and another thing after the cache then go to Explorer and delete, but now I can not do this way somehow.

    I already know how this hide them

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description of the problem, you cannot make changes in the registry, that you were able to do before. The question might be if there is a file system corruption or corruption of the registry settings. Then, I suggest you to try the steps below and see if it helps.

    Method 1

    There could be a chance that there is a file system corruption. So, I suggest you run SFC scan and see if it makes a difference.

    The file system check is a utility built into the operating system that will check for the corruption of system files. The sfc/scannow command. (System File Check) analyzes the integrity of all protected operating system files and replaces incorrect versions, damaged, altered, or damaged with correct versions where possible.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7.

    • Go to Start, click all programs and open the Accessories.
    • Right-click on command prompt in the list programs, and then select run as administrator. If you are prompted for an administrator password or for confirmation, type your password, or click OK.
    • In the command prompt, type the following command and press ENTER:

    sfc/scannow

    For more information, refer to this link:

    http://support.Microsoft.com/kb/929833/en-us

    Method 2

    If the problem persists, then there might be a corruption of the registry settings so, I suggest you to check the steps in the below mentioned thread and see if it helps you to solve the problem.

    Access denied - owner and/or setting permissions on the registry key

    Registry warning : This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    You can use the following link to back up and restore the registry in Windows: http://support.microsoft.com/kb/322756/

    Hope it would help. If problem persists always post back with the current state of your computer and the result of the proposed suggestion, we will be happy to help you.

    Kind regards

  • Message "do you want to allow the following program to make changes to this computer?", in windows 7 "

    I just got this new laptop, and I got tired to remove my accout paswsword so I have things that him... and now every time I try to change things it appears: "do you want to allow the following program to make changes to this computer?  It then invites me type an administrator password and then click Yes. and there is no space to type my password... and also I can only except the No. I can't insert a cd... I have HELP lol

    Access is denied.

    now what? He still does not

    This happens because only Bikesh T jumped an essential step on many machines. Here you go:
    1 log in under an administrator account.
    2. click on start.
    3. type the three letters cmd in the search box.
    4. press on Ctrl + Shift + Enter
    5. click on "run as Administrator".
    6. type the following command and press ENTER:
    NET user administrator / Active: Yes

  • Windows 7 does not recognize me as an administrator and do not make changes to the notifier of explicit congestion using cmd

    Windows 7 does not recognize me as an administrator and do not make changes to the notifier of explicit congestion using cmd

    I am the administrator also have an account invited and created another user account to see if this helped (she didn't)

    Hello

    If you use the command prompt, you must bring up the command prompt.

    Go in Start / All Programs / Accessories.

    Click on the command prompt and select run as administrator .

    Concerning

  • Cannot make changes to the parents control settings (Windows 7)

    I've seen several comments regarding this same problem, but so far no solution.

    I am the administrator, but I get an error when I try to access the parent on standard accounts control settings.  Now, what's even weirder, is that I am able to access ONE of the standard accounts, and there is nothing different between this account and others.

    I have tried all the solutions already posted:

    -running 'services.msc' and the implementation of parent controls (which is said by the way, says "this service is a stub for of Windows Parental control feature that existed in Vista", which is strange, it's as if there's no 'Parental control' in Windows 7?);

    -create a new administrator account via the control panel (in the case where my administrator account is corrupt), by restarting and trying to put Parental controls

    -create a new administrator account using the command prompt "net user administrator / Active: Yes";

    -in the course of running "sfc/scannow".

    See http://answers.microsoft.com/en-us/windows/forum/windows_7-security/error-unable-to-make-changes-to-parental-control/a17654d8-ff11-4fd2-8ae4-d96170715373; http://answers.microsoft.com/en-us/windows/forum/windows_7-security/windows-7-i-cant-change-parental-controlwhen-i/25390eea-00dd-411b-bfd0-dec9ed459106; http://answers.microsoft.com/en-us/windows/forum/windows_vista-security/parental-controls-error-unable-to-make-changes-to/70d3c356-eb55-4e93-98a0-b5f96ac44eea; http://answers.microsoft.com/en-us/windows/forum/windows_7-security/i-am-trying-to-set-up-parental-controls-and-when-i/f232d8ac-4f6d-e011-8dfc-68b599b31bf5; http://answers.microsoft.com/en-us/windows/forum/windows_7-security/windows-7-i-cant-change-parental-controlwhen-i/25390eea-00dd-411b-bfd0-dec9ed459106; http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/unable-to-make-changes-to-parental-contol-settings/d2a95230-f657-43CD-8294-03fc7ccb72fd

    (By the way, I leave here the 'answer' who said that this question should be asked on the support forum for Windows Live, if you search on this forum, you will find that the 'response' they provide is to ask the question on the Windows support forum.  ;)

    ANY OTHER IDEAS?

    Did you you run regedit as an administrator? It is a common problem in trying just new values. This is done by right-clicking on the program and selecting "Run as Administrator". This allows you to write new values.

    If you would like more information on this subject by me, read the last post on page 3 here:
    If you have recently encountered this problem, I would recommend a system restore, and I explain the reasons in the tread above.
    I hope this helps!
  • Very new to photoshop, I try to make changes to a photo and set up as a dynamic object, but after the selection of dynamic object, the grid appears and my photo dissppears

    Very new to photoshop, I try to make changes to a photo and set up as a dynamic object, but after the selection of dynamic object, the grid appears and my photo dissppears

    Well, something's wrong with Photoshop. Try to close Photoshop, and then press Command + Option + shift as you restart Photoshop. You will be asked to clear the Photoshop preferences. ATTENTION: you will lose all current preferences.

  • Script to change the BIOS VMX. UUID value?

    Due to how transfer us models of VM to stand-alone ESXi 4.1 guests before their junction to vCenter, the UUID for the models come out the same. We use Veeam Backup to restore the templates, so they can be compressed enough to fit on a DVD.

    I'm looking for a little PowerShell script that can define a custom BIOS. Value of UUID for a VM named on ESXi 4.1. 1002403 KB VMware has a Pearl script that allows you to do this, but we are a store of PowerShell and would make it easier for us to customize in the future. Ideally, the script would generate a UUID Pseudo-aleatoires without user intervention. For example, to set the last six digits to use the current month, day, and minute (MMDDMM, for example 100111).

    vCenter will create of course unique UUID for our production of VMs, so it's only to manage the initial models, that we download to standalone servers in "factory".

    Ideas?

    Try something like this

    $vmName = 
    $newUuid = 
    
    $spec = New-Object VMware.Vim.VirtualMachineConfigSpec
    $spec.uuid = $newUuid
    $vm = Get-VM -Name $vmName
    $vm.Extensiondata.ReconfigVM_Task($spec)
    

    Note that the call to the method it is more simple forms, not waiting for the completion of the task, no error checking.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • My flooded small KB image document files after I enabled to make changes on an update of Firefox?

    I allowed Firefox make changes on an update which resulted in my Document folders will be victim of flooding with lots and lots of miniature files from 1 to 4 KB.

    Seems to be linked to already open web pages. I tried to copy and paste the names of files, but this was not possible.

    Also some subfolders disappeared while the content of the word folder is always available

    Too many documents duplicate in the same main Document folder of my selection?

    Annette

    Sorry, you experience these symptoms.

    You voluntarily use the beta pre-release for a particular reason?
    Firefox 44.0b1 is the first of a dozen or more betas and sometimes there are flaws with it.

  • I get the message that dashlane officer wants to make changes.  How can I stop this?

    I get a message dashlane agent wants to make changes and I would like to know how to stop this message from appearing.

    Try to go to Safari/Preferences/Extensions and disable all extensions. Quit Safari, reopen and see if the site to load now. If so, enable the extensions one or two at a time until you find which extension is causing the problem.

  • Why firefox did ask to make changes to my computer whenever I open the browser. Why is the screen pixelated all?

    When click on firefox on my desktop that a message appears to ask me if I will allow firefox to make changes to my computer. It happens every time. each page is also all pixelated and barely visible. the Explorer IS NOT to do THIS.

    A possible cause of this message, it is that Firefox is configured to run as administrator.

    Make sure that Firefox is not set to run as administrator.
    Right click on the desktop Firefox shortcut and choose "Properties".

    Make sure that all items are disabled in the tab "Compatibility" in the Properties window.

    • Privilege level: "Run this program as Administrator" should not be selected
    • "Run this program in compatibility mode for:" must not be selected

    Also check the firefox.exe program properties in the program Firefox (C:\Program Files\Mozilla Firefox\) folder.

  • What is UIMgmt?  He wants to make changes in my MacBookPro ElCapitain 10.11.05

    What is UIMgmt?  He wants to make changes in my MacBookPro ElCapitain 10.11.05. Should I let him make changes?

    Have you installed a kind of 'Security' software for your Mac? Then, you have two options: uninstall it (preferably) or let it do its thing, which can be.

Maybe you are looking for

  • HP g72t-200 cto notebook pc: System of failure returns os update

    get a failure when updating and the system to return. I restored the system to original and still having the same problem. The system tells me that it has updated. I said to go forward which takes hours and then it breaks down. Someone at - it sugges

  • UK site does not mention the availability of BT

    Hello. I have no particular problem but a general question. I read specifications of most mobile phones on the United Kingdom and Polish Web sites (cause I live in Poland) and I discovered that the site Polish Toshiba always tells whether or not a la

  • G4-2003tx Pavilion: I have driver problems

    Kindly need drivers for next compatable Ids PCI device PCI\VEN_10EC & DEV_5229 & REV_01PCI\VEN_10EC & DEV_5229PCI\VEN_10EC & CC_FF0000PCI\VEN_10EC & CC_FF00PCI\VEN_10ECPCI\CC_FF0000PCI\CC_FF00 SM Bus controller PCI\VEN_8086 & DEV_1E22 & REV_04PCI\VEN

  • Still waiting for the confirmation e-mail to arrive for the Windows 7 upgrade download

    I just bought a download to update Windows 7 Starter in the home edition, so I might want DVD on my Dell netbook.  The Microsoft app site said I would receive an email with the key code to download this.  I've been waiting over 2 hours now and still

  • Lack of question Expression with I$ as he attempted to charge incr

    Hi friends,Im trying to do an incr charge using the incremental update of the IKM oracle. When it im running the interface im getting lack expression in I$ table.I have two tables with same as columns below and im doing the union transformation to lo