Sorry, I don't have the solution, but maybe we can contribute to it's solving.
I tested the procedure on my XP-SP3 without success. I pluged every disk, mp3, etc I have (no phone, sorry).
It would help to know on which Windows version it is happening: maybe 8 ?
They may have changed the method of unique id generation:
"Class for retrieving information about hardware has been added in Windows 8 RTM: Windows.System.Profile.HardwareIdentification"
"Unfortunately I discovered that the token retrieved this way (HardwareIdentification.GetPackageSpecificToken) can change sometime. I found two cases: first - when the application is started just after system start-up, second - when tablet is connected to docking station."
It may also depend on the way you generate the key, there's some related info on this thread:
where it says:
"Look up CPUID for one option. There might be some issues with multi-CPU systems."
The solution from xheo seems interesting: use an id that takes into account several components, and make it tolerant to small changes...
Some problems related to UUID, SID and disk number.
I think you are using the disk's serial, and the call reports the new disk instead.
I hope this helps.
I am on windows 7 64, and have attached everything I have..
still unable to reproduce the error.
Hi,Win7x64pro / 2 machines sandy & ivy bridge, usb2/3 , bluetooth , etc... tried to plug all what I find, no way to recreate the bug !Mehdi
Thanks to all! What a pity no one can take my $200. ;-) It's a very mysterious bug; thanks for the help everyone.Best Wishes,Mark
I blogged it so you might get some traffic soon!
Do you have any infos about the hardware it was happening on?Only one computer ?Witch OS version ?BestMehdi