Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change Bios Info?

13 views
Skip to first unread message

Matthew Clark

unread,
Jan 14, 2004, 10:14:21 AM1/14/04
to
I would like a way that our helpdesk can verify and change the AssetTagInfo
of users machines as they call in. I currently use this script to get the
AssetTag and SerialNumber out of the bios and set it to a variable for use
later on, but I now need a way to change it if it is wrong. I have been
looking high and low for a way to change it, but I get the feeling it can't
be done using VBS scripting... Does anyone have an idea?

Thanks,

Matthew

On Error Resume Next
Set oWMI = GetObject("winmgmts:")

For Each bios In oWMI.InstancesOf("Win32_SystemEnclosure")
' add a var
WIUNUMtmp = bios.SMBIOSAssetTag
WIUNUM = Left(WIUNUMtmp,6)
oEnv("WIUNUM") = WIUNUM
For Each objBIOS in oWMI.InstancesOf("Win32_BIOS")
oENV("SN")= objBIOS.SerialNumber


Torgeir Bakken (MVP)

unread,
Jan 14, 2004, 12:07:13 PM1/14/04
to
Matthew Clark wrote:

> I would like a way that our helpdesk can verify and change the AssetTagInfo
> of users machines as they call in. I currently use this script to get the
> AssetTag and SerialNumber out of the bios and set it to a variable for use
> later on, but I now need a way to change it if it is wrong. I have been
> looking high and low for a way to change it, but I get the feeling it can't
> be done using VBS scripting... Does anyone have an idea?

Hi

Not with WMI at least.

I have never heard of a utility that can update the BIOS information while
running under Windows. The ones I have heard about/used can only do this from
DOS (booting on e.g. a Win98 diskette or a DOS 6.x diskette), and the utilities

is special made for the different manufacturers, e.g. Dell has one called
asset.com.

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


Matthew Clark

unread,
Jan 14, 2004, 12:38:06 PM1/14/04
to
I have a way I can boot on a floppy disk, into DOS and change the BIOS data,
but I need it to be done in Windows. If you or anyone knows of the utility
to do it in Windows, that would be great!

Matthew

"Torgeir Bakken (MVP)" <Torgeir.B...@hydro.com> wrote in message
news:40057741...@hydro.com...

MSFT

unread,
Jan 14, 2004, 9:05:43 PM1/14/04
to
Hi Matthew,

I agree with Torgeir that there is no such windows application which can
write the BIOS. Some MainBorad productor provides utilites which can
rewrite the BIOS. However, they can only write BIOS within their brand, not
universal.

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Matthew Clark

unread,
Jan 15, 2004, 9:54:14 AM1/15/04
to
Ok, Thanks for letting me know.

Matthew

"MSFT" <luke...@online.microsoft.com> wrote in message
news:qBQhQww2...@cpmsftngxa07.phx.gbl...

0 new messages