Sign in to follow this  
Followers 0
jakethepeg

Yet another noob question

3 posts in this topic

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.

Share this post


Link to post
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.

Share this post


Link to post
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 ?

Share this post


Link to post
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
Sign in to follow this  
Followers 0