Announcement

Collapse
No announcement yet.

USB Drive Info. Find and display the drives "Display Name"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • USB Drive Info. Find and display the drives "Display Name"

    Hi.

    Is there a way in AMS to find and display a USB drive's "Friendly Name"

    All I see are "Label, FileSystem, SerialNumber, DisplayName"

    DisplayName = Drive.GetInformation("G").DisplayName;

    All this gives is the drives basic name, the one displayed in "My PC"



    For instance if you go to "Device Manager" and select your chosen USB drive and it's properties you can get its "Display Name" or it's "Friendly Name"
    i.e. one of my drives is "SanDisk Ultra USB 3.0 USB Device"

    This is the info I would like to ascertain and display.

    Cheers..

  • #2
    Originally posted by Old Fellow View Post
    Hi.

    Is there a way in AMS to find and display a USB drive's "Friendly Name"

    All I see are "Label, FileSystem, SerialNumber, DisplayName"

    DisplayName = Drive.GetInformation("G").DisplayName;

    All this gives is the drives basic name, the one displayed in "My PC"



    For instance if you go to "Device Manager" and select your chosen USB drive and it's properties you can get its "Display Name" or it's "Friendly Name"
    i.e. one of my drives is "SanDisk Ultra USB 3.0 USB Device"

    This is the info I would like to ascertain and display.

    Cheers..
    What your looking for is not the display name, your looking for the hardware name, the drive display name is in your case what you call it when you format it, in your case, My PC, I am not sure how you would get hardware name from the device.
    Plugins or Sources MokoX
    BunnyHop Here

    Comment


    • #3
      "Hardware name"...Ahh, ok..Cheers.

      They maybe a .cmd script to find this info ?

      Comment


      • #4
        Originally posted by Old Fellow View Post
        "Hardware name"...Ahh, ok..Cheers.

        They maybe a .cmd script to find this info ?
        They might be a dll out there also what would be able to return the USB hardware name, I believe a .cmd would also work, there is many ways to filter infomation in to AMS but if you come up with a option remember to post back and tell others
        Plugins or Sources MokoX
        BunnyHop Here

        Comment


        • #5
          for some information you can use driveser.dll


          test.zip

          Comment


          • #6
            theskull that was very unhelpful why in earth would you post a video with a known ams hacker/*****er logo on it for one, and for two you tell people they can use a given dll what is not provided by ams so you just hope they have 1000's of dll's and know how to use each one, help the OP or don't help the OP, but showing off a video is nothing.
            Plugins or Sources MokoX
            BunnyHop Here

            Comment


            • #7
              Update hey Old Fellow here is something that might help you by a dev here what can be trusted dll by RizlaUK -- tested/code by Eagle

              I added his raw code to get drive info in to the example for you

              HDDInfoDLL_EagleMods++.apz

              It needs admin rights on moden systems but seems to work fine.
              Plugins or Sources MokoX
              BunnyHop Here

              Comment


              • #8
                video and apz come from the forum of that team.
                unfortunately apz is password protected (is not reported in the thread)
                in the description a member talk about driveser.dll

                Comment


                • #9
                  Originally posted by theskull View Post
                  video and apz come from the forum of that team.
                  unfortunately apz is password protected (is not reported in the thread)
                  in the description a member talk about driveser.dll
                  Don't post videos from that forum, there don't pay for AMS and they try and ***** plugins and apps, don't share unknown exe's or videos, if you didn't get the files from here or a known safe website then I advice you not to post it at all, but the example I posted for him came from this froum and is by a epic dev, so we can hope that will do his needs.
                  Plugins or Sources MokoX
                  BunnyHop Here

                  Comment


                  • #10
                    Right, I'm back. Have a stiff belt (or two) of Jack Daniels, so am feeling my patience return.
                    LOL, small virtues courtesy of J.D. Where'd we be without them?

                    Originally posted by kingzooly View Post
                    theskull ...why in earth would you post a video with a known ams hacker/*****er logo on it for one ...
                    LOL yeah, I know right? I'm not sure who wrote the DriveSer.dll. But I've seen it posted on a couple of these places - packaged together with my own code on how to use it to detect between flashdrives and usb-modems! Right alongside some of your stuff - MokoX, I believe it was!

                    Ah-haha, we're becoming famous, Rexxy. Legends in our own minds, right?


                    Originally posted by kingzooly View Post
                    here is something that might help you by a dev here what can be trusted dll by RizlaUK ...
                    HDDInfoDLL_EagleMods++.apz
                    Yep, that oughtta do it. Riz is talking to us from the grave:



                    PS.
                    Hey Riz, hope that GCHQ aren't torturing ya' too bad, buddy - we know they're holding you against your will. ​​​​​​​:


                    Comment


                    • #11
                      Originally posted by BioHazard View Post
                      Right, I'm back. Have a stiff belt (or two) of Jack Daniels, so am feeling my patience return.
                      LOL, small virtues courtesy of J.D. Where'd we be without them?


                      LOL yeah, I know right? I'm not sure who wrote the DriveSer.dll. But I've seen it posted on a couple of these places - packaged together with my own code on how to use it to detect between flashdrives and usb-modems! Right alongside some of your stuff - MokoX, I believe it was!

                      Ah-haha, we're becoming famous, Rexxy. Legends in our own minds, right?



                      Yep, that oughtta do it. Riz is talking to us from the grave:



                      PS.
                      Hey Riz, hope that GCHQ aren't torturing ya' too bad, buddy - we know they're holding you against your will. ​​​​​​​:

                      Some days I forget how free willed you become after you have had few lol, ya most of my old code was lasted all over the place, and in many cases not even showing how to use it right, but funny thing is MokoX was always open source and has always been on github, I have NO idea why they keep on sharing that as a redownload or packaged when it's in the best hosting place for it github.

                      I hope the OP will like the example given anyway, I did them some leg work and searched for them lol
                      Plugins or Sources MokoX
                      BunnyHop Here

                      Comment


                      • #12
                        Thanks for the info and file...

                        It seemed to work on my HDD's but not on the USB drives ?

                        Have no idea what was happening....

                        Comment


                        • #13
                          Originally posted by Old Fellow View Post
                          Thanks for the info and file...

                          It seemed to work on my HDD's but not on the USB drives ?

                          Have no idea what was happening....
                          Sorry about that I never tested it with a USB drive, I just did not and your right it just returns a single number rather then the information like it does for the main hdd's tho it's working with all types of hdds like HDD's and SSDs including M.2 cards
                          Plugins or Sources MokoX
                          BunnyHop Here

                          Comment


                          • #14
                            Hmm, yes .. only good for HDD. That'll teach us to test our shite first, eh Rexxy?

                            You may need to retrieve the sought-after value from the WMI directly, instead (Windows Management Instrumentation)..
                            This requires the Luacom plugin.

                            Okay, to this very end, have cobbled together something based on Cybergraph's old example at: https://forums.indigorose.com/forum/...843#post261843

                            I take NO credit for the code on which this is based. But, try this instead (see attached).

                            Note:
                            You must first install the attached Luacom plugin in the AMS Plugins/Actions folder.
                            This will return the USB Hardware Device ID in its raw format.
                            eg.


                            You'll still need to parse the returned string to get exactly want u want from it. Don't have the time nor inclination to do it at the moment but - a bit of str:gmatching / str:gsubbing ought to do the trick.

                            PS.
                            I'm outta Jack Daniels ... so I'm outta here!
                            Attached Files

                            Comment


                            • #15
                              Here a tested a working apz (requested)


                              USB Driver Check Update.apz

                              Comment

                              Working...
                              X