Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

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 want to get the details (OS,version,UDID...) of the device (iPhone) when it is connected to a Windows machine. The only thing here is either using iTunes or another way.

I want this done from command line (NO GUI Tool).

share|improve this question

You can find the details (OS version etc.) simply by going to Settings > General > About on your iPhone.

Your UDID can be mailed to you with this free app if you don't want to connect to iTunes and have the information shown.

AFAIK there is no easy way of finding the UDID through CMD on a Windows, but you can try and navigate to this path through it:


This should show the UDID of the iPhone, if it has been connected through USB. Bare in mind there are many lines inside the folder, but the files referring to iDevices have 40 digits in it.

share|improve this answer
I want to get the Os version details also without having any manual interaction with the phone. Is there any possibility of accessing these details using .NET from windows machine? NOTE:- My device is a jail broken one. – Anil Kumar Dec 1 '11 at 12:24

If you want the UDID of iOS devices backed up with iTunes you might look at the iTunes backup directories:

Windows XP: \Documents and Settings(username)\Application Data\Apple Computer\MobileSync\Backup\

Windows Vista and Windows 7: \Users(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\

On Mac I type:

ls "Library/Application Support/MobileSync/Backup/"

This gives my UDID as a directory.

On Vista / Win 7 you might try this in the Windows command line:

dir "%appdata%\Roaming\Apple Computer\MobileSync\Backup\"

Or on XP:

dir "%appdata%\Apple Computer\MobileSync\Backup\"

I would like to know if this works, thanks! I figured this out from

share|improve this answer

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.