PDA

View Full Version : problem with drive type USB - example Roboblue


Waterloophai
08-29-2008, 03:54 PM
Am I the only one ?

I am a newbie with the program Autoplay and a total illiterate with plugins and scripting. Besides that, my English is not my mother language, so excuse me for my Englsh.

I was enormously charmed with the solutions of the member Roboblue to prevent the copying of a autoplay project that was put on a particular USB-pendrive. (it can be copied of course, but it will not play on another medium)

Therefore, I tried the program USB- Lockdown (trial) from Roboblue but it didn’t work. (for me…) When I push the button “check”, nothing happens.

Then I tried another example of Roboblue that I found on the forum (SystemCheck) and I got a little wiser…
I put a pendrive in my USB-slot and filled the number 2 (removable drives) in the field “Drive type” and again nothing happened when I pushed “check”.
But…. If I fill in the numer 3 (hard drives) and push then the button “check”, then I recieve the serial numbers and labels of my two hard drives AND also the serial number and label of the pendrive that is in the USB-slot. (in my case it is “G”. C and D are my hard drives, E and F are my CD and my DVD)

Apparently, my computer does not react on a script that searches for a drive type “2” and recognize the pendrive only as a drive type “3”, just like a hard drive. I would be surprised if I had the only PC who react this way.

To know the serial number of the pendrive, there is actually no problem. All I have to do is to fill in the numer 3 instead of filling in the number 2.

But….. here is my problem:
What script have I have to use in my project that is able to look for ALL the drives, and then look for a drive with a particular label (that of my pendrive, say EXAMPLE) and retrieve the serial number of THAT drive (my pendrive) and that then checks if the key in my project has the same serialnumber?

The scripts that I saw so far are looking for a drive of type “2” (removable) but as I mentioned here before, that does not work on my PC (and others…???)

My question is: can somebody write a script that searches for a particular label in ALL the drives, then retrieve the serial number of that drive and then compare it with the “key” that I can make with the example “Systemcheck” of Roboblue. With such a script the problem is solved with a PC that not recognizes a pendrive as a drive type 2 but as a hard drive like a normal one (drive type 3.

Can anybody help me with that or am I totaly wrong in my reasoning ?

Many thanks in advance.