But if I use WMI (just quickly from command line using 'wmic diskdrive get serialnumber' for now OR using say WMI Explorer) it shows it as:-000020 e.g. Last digit different? Powershell command of 'get-disk select serialnumber' Also shows it as 000020. Getting it from USB controller using something like below.
Active5 years, 2 months ago
I want to read the name and the serialnumber of my Hard-Drives.
![]()
I stumbled upon wmic but i'm having troubles. I guess these two commands should do the trick, but I only get the message:
or
I tried the following aswell:
Any ideas on what I'am doing wrong?
Solution:
Dec 09, 2013 ManyCam Virtual Webcam 3.1.64. Download Now! Use your webcam with multiple programs simultaneously. Add text to your webcam video window with any application. Add cool animations to your video window. Show your local day and date in your video window. Manycam 64 bit download. Dec 03, 2013 ManyCam Virtual Webcam allows you to use your Webcam with multiple programs at the same time. Broadcast your Webcam video simultaneously on MSN Messenger, Yahoo, Skype, AIM, PalTalk, and CamFrog. Manycam also lets you to add cool live computer generated special effects and graphics to your video. Jun 19, 2016 Disclaimer The text above is not a piece of advice to uninstall ManyCam 3.1.64 by ManyCam LLC from your PC, we are not saying that ManyCam 3.1.64 by ManyCam LLC is not a good application for your computer.
Thanks JPBlanc,via the /? command i've found out that SerialNumber doesn't even exist. I now use
which gives the correct result.
Paul Hiemstra
50.4k1010 gold badges118118 silver badges136136 bronze badges
user1210404user1210404
3 Answers
You are just making a mistake usin WMIC command line,
WMIC DISKDRIVE GET SerialNumber /Format /? gives you keywords:
you can try :
You can replace JPBlancJPBlanc
RAWXML by one of the others formats.
55.2k1111 gold badges101101 silver badges136136 bronze badges
this issue occurs because the XML parser treats the control characters that are included in the serial number of some drives as invalid.
juejue
I was getting this error on Windows 7 x86 Pro (where querying the serial number should be possible) when an external drive was connected.
This is how I fixed it:
Wmic Diskdrive Get Serialnumber
Edit: The above doesn't work on my copy of Windows XP x86 Pro.
This does:
Windows Wmic Diskdrive Get SerialnumberMatthias BraunWmic Diskdrive Get Serialnumber ListMatthias Braun
16.2k1212 gold badges8989 silver badges125125 bronze badges
Wmic Diskdrive Get Serialnumber RemoteNot the answer you're looking for? Browse other questions tagged wmiserial-numberwmic or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |