Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to have a mobile device ID for usage as a command line parameter. What are ways in Windows to retrieve it that do not involve writing your own program for that?

share|improve this question
up vote 1 down vote accepted

This is your answer. There is a sample code which you can download and see how it works.

share|improve this answer
Well, duh. Guess why i asked "ways that do NOT involve writing your own program"? – Srv19 Oct 14 '11 at 13:11
Ok.Try [this]… link to see if it works for you. Otherwise i'll compile the sample from microsoft for you, but it will be in one or two days, since i don't have access to windows pc right now. – v01d Oct 14 '11 at 13:16
It worked. Though, i was hoping there exists a standard tool/utilite that allows to get this. If i wanted to make a program, i'd have used StackOverflow. – Srv19 Oct 14 '11 at 13:23
So this is a just a compiled sample that uses the microsoft api, so you can use it freely and you can check the source code to be sure exactly what it does. – v01d Oct 14 '11 at 13:26
I knew that after i saw VS 2010 solution files. ) – Srv19 Oct 14 '11 at 13:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.