Sign in to follow this  
Followers 0
TWC

DriveGetSerial not unique on USB Drive

4 posts in this topic

Not certain if this should go here or not. But anyways

I recently tried to use DriveGetSerial function to retrieve a serial number of a USB Drive. All worked as expected in development and testing. But when I deployed the application I discovered (lengthy process) that the serial number is not unique to the USB Drive just unique to that USB Drive on that particular PC. When you install the USB Drive on another computer the serial number will be different.

I am certain that this NOT an Autoit issue. I just wanted to post this for the benefit of any others that are troubleshooting their script and searching the forum.

Any workaround will be appreciated.

Share this post


Link to post
Share on other sites



Not certain if this should go here or not. But anyways

I recently tried to use DriveGetSerial function to retrieve a serial number of a USB Drive. All worked as expected in development and testing. But when I deployed the application I discovered (lengthy process) that the serial number is not unique to the USB Drive just unique to that USB Drive on that particular PC. When you install the USB Drive on another computer the serial number will be different.

I am certain that this NOT an Autoit issue. I just wanted to post this for the benefit of any others that are troubleshooting their script and searching the forum.

Any workaround will be appreciated.

You ask for a workaround but give no indication of what you wish to acheive.

If you want to make it that the program will not work unless a particular USB drive is used you could place a hidden file on the drive and check for its existance.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

You ask for a workaround but give no indication of what you wish to acheive.

If you want to make it that the program will not work unless a particular USB drive is used you could place a hidden file on the drive and check for its existance.

Your right and your right.

THANX

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0