jakethepeg Posted January 12, 2007 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.
Joon Posted January 12, 2007 Posted January 12, 2007 jakethepeg said: 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.
jakethepeg Posted January 12, 2007 Author Posted January 12, 2007 Joon said: 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 ?
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