Reading manufacturer's serial number of a  hard drive

hi all, i know that there's no java way to read the MANUFACTURER serial number of a hard disk, so i wonder if someone knows a way to read it using another language(c,c++ maybe???), and then implement it in a java app using the jni. It would be great if the solution can be used in both linux and windows(perhaps not the same solution, but one solution working for windows and another for linux)...any help would be greatly appreciated! thanks

Well first of there is no direct solution for as it has to do with accessing OS/BIOS native information therefore you might have to take help of native libraries and then get the info.
WINDOWS: http://www.codeproject.com/useritems/DriveInfoEx.asp
LINUX: http://www.velocityreviews.com/forums/t287984-scsi-hard-disk-number.html
and take help of google to findout information for other OS's.
Now comes part where how is that we can export that feature to Java.
There is a concept called Native Functions in Java.All you have to do is to build dynamic runtime libraries for each of the OS specific by following the JNI Specs and then load that specific library such that you get that info from OS/BIOS via those native runtime libaries which we create.
It would be a great idea if you can go through the below links and there is a dedicate thread supported by sun in this very own forums which can help you in doing that.
http://java.sun.com/docs/books/jni/html/design.html
http://www.acm.org/crossroads/xrds4-2/jni.html
Hope that might help :)
REGARDS,
RaHuL

Similar Messages

  • CS5 purchased 2010 teacher/student edition lost serial number as computer hard drive crashed

    I purchased CS5 extended Teacher/Student edition in 2010 when I purchased my Macbook. Recently in 2014 My hard drive crashed and I needed to reinstall my photoshop.
    During the installation It asks for the serial number. I no longer have this and it is not referenced on the box or anywhere in the packaging or on any documentation that I currently have.
    I really need to reinstall but every time I try to contact adobe through chat It says it is unavailable, does anyone know how I can rectify this?
    Regards

    If you registered it with Adobe, your serial number would be here
    https://www.adobe.com/account/my-products-services.html
    Click on the triangle next to it to see the serial number.

  • Cannot get Photoshop elements 9 to accept its serial number since bad hard drive was changed.

    It would be nice if real support was available. This company sucks.

    Scroll down to "Chat now":
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivat ion-products.html#chat

  • I had Adobe Acrobat Serial loaded before The hard drive crashed on my old PC.  I have tried to download Acrobat 9 on my new PC, but always get the message "This is not a valid serial number".  I had Adobe 9 Standard on the old.  But what downloads from th

    I had Adobe Acrobat Serial loaded before the hard drive crashed on my old PC.  I have tried to download Acrobat 9 on my new PC, but always get the message “This is not a valid serial number”.
    I had Adobe 9 Standard on the old.  But what downloads from the page http://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html is Adobe 9 Pro.  Perhaps this Pro version is the problem. 
    Anyway, can you point me to a way to install Adobe on my new PC?

    You can try Download Adobe CS5 Free Trials – All Direct Links without Akamai | ProDesignTools.

  • I have just taken delivery of my LR5 disc. I had already downloaded the trial version. I just tried entering the serial number from my hard copy to authorise my downloaded trial version and it did not recognise the serial number. So, I loaded the hard cop

    Question: I have just taken delivery of my LR5 disc. I had already downloaded the trial version. I just tried entering the serial number from my hard copy to authorise my downloaded trial version and it did not recognise the serial number. So, I loaded the hard copy, and the instructions said that it would just overwrite the downloaded version. And again it will not recognise my serial number! I am not wanting to uninstall the trial version as I have already got quite a lot of personal preferences entered etc. Help please. I am on a macbook pro with latest OS

    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • I got a Model Number: A1181, My hard drive burned out. I bouhgt a new hard drive Wd Scorpio 500 GB. When i tried to install the MAC OS, it identies a hard drive with 3.6 TB and i'm not able to do the installation.

    I got a Model Number: A1181, My hard drive burned out. I bouhgt a new hard drive Wd Blue Scorpio 500 GB. When i tried to install the MAC OS, it identifies a hard drive with 3.6 TB and i'm not able to do the installation. I touhgt the new ard drive was bad but i was able to install windows XP. Any ideas what do i have to do?

    Well, let's hope that nothing was jiggled out of place when you were installing the new hard drive. Your optical drive may just be out of alignment or the disc you have is "dirty." Get a lint-free cloth and some rubbing alcohol, then clean the disc as thoroughly as you can starting from the center and working outward in a concentric circlular motion. See if that helps. In particular clean the inner portion well.
    If this does not help, then you have a problem. You have opened the computer yourself. That action voids all support from Apple. If you take the computer in for service the store may refuse to service the computer. This is not related to your now expired warranty.

  • Final cut is not reading events or projects from my external hard drive, what can I do?

    Final Cut X is not reading events of projects from my external hard drive, what can i do?

    Like this
    Cmd-Shift-4. Drag a box around the area to capture. Screen shot appears on the desktop. Click the camera button in the message reply window.

  • HT3275 My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. What happened?

    My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. The light that usually blinks while in use is no longer blinking and is on constant. What happened?

    abailey46 wrote:
    My Time Capsule has been backing up without any problems and all of a sudden it stops reading on my computer. The external hard drive beeps three times and the motter wont run within. The light that usually blinks while in use is no longer blinking and is on constant. What happened?
    Sorry we are unclear as to the external hard drive and its connection to the TC..
    For instance the light that blinks.. is that the TC or external hard disk or what.
    Did you try just rebooting / restart the whole network in correct order.. modem.. router / TC.. external drive.. clients with 2min gap between each.
    Are you actually running Snow Leopard as the profile states?
    How old is the TC?

  • HT4906 I tried to do the update but it reads that I don't have enough hard drive to do the update. How do clear up space on my hard drive to do the upte????

    I tried to do the update but it reads that I don't have enough hard drive to do the update. How do clear up space on my hard drive to do the upte????

    That is hard to say, as we do not know what you keep on your hard drive.
    To free space
    empty the trash, both on your Desktop and the Aperture Trash,
    Delete files and folders you do not need
    Move files to an external volume.
    There are utilities that let you find large files, like Omni Disk Sweeper, but that is not a free application.

  • How to tell date of manufacture from serial number or how to look up?also when were 1q524 introduce

    how to tell date of manufacture of 1q524 NC701AA-ABA from serial number or how to look up?
    when were they first introduced?

    dlkegarise
    See here for the release date. For the serial number the typical format is to have the 4th, 5th, and 6th characters to reference when the product was built.  The first character is the year date (Y) and the next two (WW), the week in that year it was made.
    CCSYWWZZZZ  
    Hope this helps you and anwsers your questions.  Regards.
    I work for HP. When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!

  • Adobe Reader X Pro serial number popup on launch (windows 7)

    Hi Folks
    I have Adobe CS6 and part of this volume licence comes Adober reder X. 10.0.0
    Unfortunately I'm having issues when deploying the Adober reader X package, I get a popup saying I have x amount of days left of my trial. (and it is actually counting down)
    I've allocated the CS6 suite out to many PC's maybe 700 or so, and then allocated the Adobe reder X pro out. This is a side loading application from my understanding and depends on the full CS6 to be out first.  The results I'm finding are mixed. Some staions are working fine, no popup's what so ever and others when opening a PDF or launch the application will produce the popup. This does seem to be computer specific I've tested the same network user on different stations and get different results. working, not working! I've also tried the full suite + adobe reader x pro on windows XP stations and so far it's never had the same issues, unfortunately out networks are quickly moving to windows 7, this seems to be the OS I have the problems with. I've not fully checked the difference with installed application from one station from another, I can do if required but most stations get the same apps installed via a 3rd party deployment tool.
    I used the Customisation wizard to create the application and cut down on as many popups/updates as possible using this little tool.  All works as you would expect apart from this serial number behaviour.  This is causing major issues in all our education establishments and I really need to find some solution to this problem that doesn't involve de-installing the applications, it's too far spread.
    I've been readign the forums and see a few different issues relating to serial number popup issues.  Is this a software design fault?
    Mike R

    Hi,
    You've provided details about the problem, but not about your configuration and deployment steps.
    First, follow the steps in the Admin and Wizard Guides here: http://www.adobe.com/devnet-docs/acrobatetk/index.html. Pay attention to the Activation methodologies. You may have done all that, but double check.
    At the bottom of the installation workflows section, you'll also find this: http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/licensing.html#acrobat-standa lone-and-aamee
    There is additional doc for Acrobat delivered with CS here: http://www.adobe.com/devnet/creativesuite/enterprisedeployment.html
    HTH!
    Ben

  • How to read iphone/ipad serial number from App application using Xcode?

    May I know how to read the serial number of Iphone/Ipad from my own App using xcode?
    I need it to check the security to download this application.
    Thanks in advance.

    The only information you can access is defined in UIDevice.
    https://developer.apple.com/library/ios/#documentation/uikit/reference/UIDevice_ Class/Reference/UIDevice.html

  • APDU reading mart card serial number PROBLEM !!!!!!!!

    Hi.
    I want to read serial number from smart card with help of OCF and reader.
    But I can not find solution?
    The next piece o code returns:
    sw1 = 6d +>>>>>>>> Card does not support instruction class+
    sw2 = 00
    data = null
    import opencard.core.event.CTListener;
    import opencard.core.event.CardTerminalEvent;
    import opencard.core.event.EventGenerator;
    import opencard.core.service.SmartCard;
    import opencard.core.terminal.CardTerminal;
    import opencard.core.terminal.CommandAPDU;
    import opencard.core.terminal.ResponseAPDU;
    import opencard.opt.util.PassThruCardService;
    public class Listener implements CTListener {
         private SmartCard smartcard = null;
         private CardTerminal terminal = null;
         private int slotID = 0;
         public void register() {
              EventGenerator.getGenerator().addCTListener(this);
              try {
                   EventGenerator.getGenerator().createEventsForPresentCards(this);
              } catch (Exception e) {
                   e.printStackTrace(System.err);
                   unregister();
         public void unregister()
              EventGenerator.getGenerator().removeCTListener(this);
         public void cardInserted(CardTerminalEvent event) {
              try {
                   smartcard = SmartCard.getSmartCard(event);
                   PassThruCardService ptcs = (PassThruCardService) smartcard
                             .getCardService(PassThruCardService.class, true);
                   PassThruCardService ptcs = (PassThruCardService) smartcard
                             .getCardService(PassThruCardService.class, true);
                   CommandAPDU  apdu = new CommandAPDU(0x0045);
                   ResponseAPDU res = ptcs.sendCommandAPDU(apdu);
                   System.out.print(apdu.toString() + res.toString());
                   System.out.printf("sw1 = %02x\n", res.sw1());
                   System.out.printf("sw2 = %02x\n", res.sw2());
                   System.out.println("data = " + res.data());
                   terminal = event.getCardTerminal();
                   slotID = event.getSlotID();
              } catch (Exception e) {
                   e.printStackTrace();
         public void cardRemoved(CardTerminalEvent event) {
    }Can anybody help me?
    Thank in advance

    Sebastien_Lorquet wrote:
    6D00 is not "bad CLA" but "bad INS".
    80 and 00 are ok for get data, the only difference is the presence of TLV encapsulation for 80 and not for 00 (AFAIR)This was to see if there was an interindestry standard GET DATA along with the proprietary GP GET DATA. Some cards may support a specific instruction with one CLA and not the other.
    As far as developing a client application without developing a card applet, it all depends on the card. For instance you can get a card that already supports the IOS7816 file system operations without writing any code, while other cards are blank and require to write all code before you can do anything with it.
    Cheers,
    Shane
    Edited by: safarmer on 3/11/2009 19:25

  • How can I get the serial number of the hard disk of my PC

    I want to get the serial number of my PC hardisk. Is there any command that I can pass to the System Exec.vi that will give this info.

    I rember this from some time ago. If you use 32 bits system. You will need to do a call to kernel32.dll. And the function is GetVolumeInformationA
    http://forums.ni.com/t5/LabVIEW/Call-to-WinAPI-Kernel32-dll-doesn-t-work-in-runtime/m-p/121097 It may do the trick for you
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Model Number of 120GB Hard Drive?

    I'm looking to upgrade the 100GB hard drive on my MBP to the 120GB version Apple includes. I was wondering if whoever has that hard drive in their MBP, if they can reply with the serial number found in the System Profiler? Thanks.

    The SMS is not a component of the hard drive. There are obviously differences between different manufacturers that account partly for the difference in price. Although in the case of 120 GB laptop drives there isn't a lot to choose from. Seagate's is more expensive but it also carries a 5 year warranty versus 3 years for the competitors. Otherwise the drive specs are pretty much the same.
    Visit each manufacturer's website and find the specs for their products. That's the best way to learn what the differences are. They 120 GB models for notebooks will all work.

Maybe you are looking for

  • Multiple users on one mac mini server?

    We're four ios developers looking for the cheapest mac setup, so can we just buy one mac mini server and four displays and use it sumalteneously for xcode development??

  • Faulty Devices - Blackberry Z10

    Our company recently renewed the corporate mobile phone contract with Maxis and we received Blackberry Z10 Smart Phones as free device for the plan that we signed up. We received 58 units of Blackberry Z10 in June 2014, out of which to-date, several

  • Pdf files download with .file extension thus wont open as a pdf

    Hi , when I try to download a pdf document with Firefox, the file downloads but add a .file extension thus wont open as a pdf. I do not know if this is relevant but if you try to get the file to open with adobe viewer by telling the pc to open this t

  • Spdif and toslink pr

    I have the x-fi fatalty sound card with shiny new spdif in/out and optical in/out but i cant seem to get any of these to work. I have an old DAT-recorder (yeah yeah, i?m an oldtimer) with both spdif and optical but i cant get any signal to the comput

  • Need advise: Is the MBA right for me?

    I currently have a MB, I am thiniking about the MBA but don't know if it would work for me. Here is what I would have to be able to do (every day) with the MBA: - Access internet and email (WIFI or verizon USB card) -Use iChat and Skype -Have paralle