03-12-2012 02:15 AM
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?Legacy
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.
Solved! Go to Solution.
03-13-2012 10:05 AM
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.
03-14-2012 04:34 AM - edited 03-14-2012 04:35 AM
03-14-2012 08:02 AM
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.
03-14-2012 09:03 AM - edited 03-14-2012 09:04 AM
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 )
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...?)
03-14-2012 10:30 AM
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.
03-14-2012 10:47 AM
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.
03-14-2012 11:34 AM
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.p
Here is some help about it: http://support.lenovo.com/en_BD/downloads/detail.p