Jump to content

Yet another noob question


Recommended Posts

Hi folks, does anyone know of a way to get the system serial number of a desktop machine using Autoit ?

The following vbs script file works great on all machines except the NT boxes.

---------------------

for each Bios in GetObject("winmgmts:").InstancesOf ("win32_bios")

BiosSerial = Bios.SerialNumber

next

--------------------

All suggestions welcome. Thanks.

Link to comment
Share on other sites

Hi folks, does anyone know of a way to get the system serial number of a desktop machine using Autoit ?

The following vbs script file works great on all machines except the NT boxes.

---------------------

for each Bios in GetObject("winmgmts:").InstancesOf ("win32_bios")

BiosSerial = Bios.SerialNumber

next

--------------------

All suggestions welcome. Thanks.

That's because Windows NT 4 doesn't have WMI by default. You can use something like SMBIOS to retrieve serial from DMI.

Link to comment
Share on other sites

That's because Windows NT 4 doesn't have WMI by default. You can use something like SMBIOS to retrieve serial from DMI.

Thanks for the reply. I knew about the lack of WMI in NT4 which is why I'm trying to get an Autoit script together to do the job. I take it there's no inbuilt function in autoit that can do this then ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...