Support in other languages: 
Showing results for 
Search instead for 
Do you mean 
Reply
Paper Tape
pstalman
Posts: 5
Registered: ‎03-12-2012
Location: Netherlands
0
Accepted Solution

BIOS WMI Tool (example script?) M58 machines

We have some M58 machines and some Lenovo laptops.

 

The VBS Example scripts for laptops are all working. I can change each setting (wel i only tried 3) and it works.

But for the Desktop machines (M58) the example scripts are not working.

It gives an error in line 19,1 or 17,1. Depends on the script you are running.

 

I see alot of posts on this forum about the same issue.

Maybe it is time to fix the information @ http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-73098 

 

Is there any information what is wrong in the example scripts (i dont have any WMI experience).

I am just looking for VBS scripts that can be used on the 7306/7304 machines.

The most important settings I need are:

Change password, set password, set settings when there is a password, list all options etc.

 

Thanks in advance.

Lenovo Staff
someotherguy
Posts: 2,587
Registered: ‎10-29-2009
Location: NC
0

Re: BIOS WMI Tool (example script?) M58 machines

I just tried the scripts in the zip file of the website you linked on M58 and they worked fine.

 

For example, I ran "cscript.exe ListAll.vbs" and it returned all of the current BIOS settings.

 

To change a BIOS setting when there is not a password, I used SetConfig.vbs

 

To change a BIOS setting when there is a password, I used the attached script (for some reason it is missing from the .zip file on the website).

 

Password setting and changing by WMI are not supported on M58; this is explained in the PDF file of the website you linked.

 

To help further, tell me exactly which script(s) you are having trouble with and exactly how you are calling them.

 

Paper Tape
pstalman
Posts: 5
Registered: ‎03-12-2012
Location: Netherlands
0

Re: BIOS WMI Tool (example script?) M58 machines

[ Edited ]

Thanks for your quick reply. Here the errors i get on a Vista and 7 machine: PIC1 PIC2

I started the CMD as Administrator.

Lenovo Staff
someotherguy
Posts: 2,587
Registered: ‎10-29-2009
Location: NC
0

Re: BIOS WMI Tool (example script?) M58 machines

I don't understand why my result is different than your result.  Please send me the exact script you are using.  You can upload it to a website like dropbox or yousendit, then post the link here.

Paper Tape
pstalman
Posts: 5
Registered: ‎03-12-2012
Location: Netherlands
0

Re: BIOS WMI Tool (example script?) M58 machines

[ Edited ]

I am using the ZIP from the URL in the first post.

And I downloaded them again (to be sure you didnt solve it by updating the ZIP file :smileylol: )

 

To be sure you are using the same machine, here the exact model nrs.

I hope it is not working because it is an M58e (is also M58 right...?)

 

- 7306w1q

- 7304w1z

- 7304w1x

 

 

 edit: typo

 

 

Lenovo Staff
someotherguy
Posts: 2,587
Registered: ‎10-29-2009
Location: NC
0

Re: BIOS WMI Tool (example script?) M58 machines

Oh, I missed your detail about M58e in your previous post.

The document explains that the WMI interface is only for M58/M58p.  M58e is a different system, uses different BIOS, etc.

Paper Tape
pstalman
Posts: 5
Registered: ‎03-12-2012
Location: Netherlands
0

Re: BIOS WMI Tool (example script?) M58 machines

Ah OK. No problem.

 

 

Are there any other solutions, so I can change settings with a script or .. for the M58e.

Our machines will receive the latest BIOS before I will use the script.

 

 

Lenovo Staff
someotherguy
Posts: 2,587
Registered: ‎10-29-2009
Location: NC
0

Re: BIOS WMI Tool (example script?) M58 machines

You can use srwin.exe to capture BIOS settings on one system and then deploy those setting onto another system.

 

You can download srwin.exe from M58e here:  http://support.lenovo.com/en_CA/downloads/detail.page?DocID=DS002282

 

Here is some help about it:  http://support.lenovo.com/en_BD/downloads/detail.page?DocID=HT037647

Paper Tape
pstalman
Posts: 5
Registered: ‎03-12-2012
Location: Netherlands
0

Re: BIOS WMI Tool (example script?) M58 machines

Thanks, maybe a small request.
Can you add some information to that page so people like me know that it can be used for BIOS setting. :-)