USB handshake, software to record the steps

Anyone know a way to record in a text file the handshaking process when you first connect a USB device.
LVL 17
WORKS2011Managed IT, Cyber Security, BackupAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

☠ MASQ ☠Commented:
Yes, you can capture them from Event Viewer
Windows has a buiilt-in tool called Logman which you can use to output a text file of USB hub activity (linked to from that page).

This is used by the free summary monitoring tool USBView but depending on your own experience you could write code to quiz Event Viewer for the details.
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
Thank you MASQ, I'm specifically looking when the MTP and PTP protocols are used.
☠ MASQ ☠Commented:
Ahh - so you're wanting to look at devices like phones & cameras?  I assumed you were looking at plain data storage.
You're probably going to need some expert help from the mobile tech gurus - I'll add the Topics ...
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
purchased a protocol analyzer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WORKS2011Managed IT, Cyber Security, BackupAuthor Commented:
resolved myself
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.