jakethepeg Posted January 12, 2007 Share Posted January 12, 2007 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 More sharing options...
Joon Posted January 12, 2007 Share Posted January 12, 2007 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 More sharing options...
jakethepeg Posted January 12, 2007 Author Share Posted January 12, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now