Jump to content

DriveGetSerial not unique on USB Drive


TWC
 Share

Recommended Posts

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.

Link to comment
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.


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

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...