Retrieve serialnumber remotely. Printers etc) serialnumbers and I was just wondering if WMI is necessary. Browse other questions tagged wmi serial-number. I cannot find an option to include the serial number as it is not supported by the vbscript Win32_Printer class, however you may be able to retrieve unique information from this script. Win32_Printer Class.
Active4 years, 7 months ago
Im trying to create a program or a script to remotely retrieve all the hardwares (computers, printers etc) serialnumbers and I was just wondering if WMI is necessary.
I do know about the basic
but this also creates some problems with access as you need administrator rights on both computers if I have understood it correctly and also that the remote computer is configured to allow incoming WMI request.
Is it necessary to use WMI for this or are there any other ways to go about this? I know that WMI knows anything you might want to know about a computer but Im interested in the serialnumber only for now, and only on windows enviroments aswell I might add.
So if there are any Im looking for tips on any other way around this besides using WMI as it causes alot of other challenges and the goal is to keep it as simple as possible for the user.
klisterklister
1 Answer
![Wmi Printer Serial Number Wmi Printer Serial Number](https://www.tenforums.com/attachments/tutorials/140226d1497891783-find-serial-number-hard-drive-windows-drives_serial_number_powershell.jpg)
Add the user switch to prompt an administrative login,
wmic /USER: Administrator /NODE: 'Computername' bios get serialnumber
Wmi Computer Serial Number
Also Remote Administration must be allowed on the target node firewall or it will fail, administrator or not
Powershell Wmi Get Serial Number
BryanBryan
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.