How to read HDD serial number(Really urgent)...

Please do let me know how to read the hard disk unique(serial) number provided by manufactruer using java program....

Please do let me know how to read the hard disk
unique(serial) number provided by manufactruer using
java program....If you're in windows you can call "vol" on the command line.
That shows your hard disk serial number. You could run the command with Runtime.exec() and capture the output.
Ps. The hard disk serial number is not provided by the manufacturer.
Hard disk serial numbers are actually generated based on the time the hard disk was formatted. So it's more like a string generated from a timestamp.
regards,
Owen

Similar Messages

  • How to read volume serial number of partition?

    Hi All,
    Is it possible to read Volume Serial Number of partition through java?
    Thanks in advance!!
    Chetan Parekh

    Hi,
    I have a same problem...................
    Where i need to find out the volume serial number through java.it is microsoft platform( win 2000 & win NT)
    Can any Java Expert send me the java code for this.................Pls help me out
    Thanx in advance
    Sachin

  • How to read the serial number of PXI Module in my C/C++ program.

    I am using PXI NI-FGEN controlling it by my C/C++ program. I would like to read the serial number of the hardware. Are there any methods to do it ?
    Actually I could not find any functions and attributes in the programming manual. So I am posting this as the last chance. For example, it looks possible to me if we can access NI-MAX in my C/C++ program. Because NI-MAX displays the serial number.
    Any information would be appreciated.

    It looks like your answer is in the NI-FGEN help file. Go to NI-FGEN -> Documentation -> NI Signal Generators Help
    From that help the inforamtion you are looking for is under the following heading:
    NI Signal Generators Help
    +Programming
    +NI-FGEN Help
    +C Reference
    +Attributes
    +Instrument-Specific Attributes
    ?NIFGEN_ATTR_SERIAL_NUMBER
    I hope this is what you're looking for,
    Ross Mau
    NI Applications Engineer

  • How to read HardDisk Serial number using java

    In my project the requirement is how to read the hard dish serial number using java library. Please do let me now if u get any help or any information regarding this issue. This is urgent for me

    In my project the requirement is how to read the hard
    dish serial number using java library. Please do let
    me now if u get any help or any information regarding
    this issue. This is urgent for meThat's a pretty goofy 'requirement' for a Java application, which is supposedly meant to do platform-independent things, to do something very platform-specific that it has no business doing in the first place.

  • HT1459 my daughter put a pass code on her i pod and she cant remember it how can i resolve this and i can not read the serial number its to faded and scratched

    my daughter put a pass code on her i pod and she cant remember it how can i resolve this and i can not read the serial number its to faded and scratched

    If you cannot remember the passcode, you will need to Restore your device...
    Connect to iTunes on the computer you usually Sync with and Restore...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808

  • HT4587 How do you read the Serial Number on the back of the Airport Express? It is sop small and silver writing on hite background?

    How do you read the Serial Number on the back of the Airport Express? It is sop small and silver writing on white background?

    http://support.apple.com/kb/ht3546

  • How to get MAC address list and HDD serial number from Windows and MAC machine?

    Hi,
    I'm developing a AIR application. I'm implementing the product key mechanishm. I need to identify the users' machines uniquely. I chose MAC address would be a better way. But a computer has list of MAC addresses including LAN card and Wi-Fi card addresses. So, I need to get the list of available MAC addresses from the computer and the Hard Disk Drive's serial number. HDD serial number would be helpful to cross verify the identity.
    I'm able to get the MAC address using NetworkInfo class. But I need to get a list of available MAC addresses and HDD serial number.
    Is there any classess to accomplish this task?
    Thanks in advance.

    See if this link can be of a little use to you.
    http://www.adobe.com/devnet/air/flex/articles/retrieving_network_interfaces.html#ionComHea ding

  • Reading Mifare Serial Number

    I am trying to read the Mifare serial number off a smart card. This is the first time that I have worked with a smart card and I am not really sure how all of the pieces fit together. I am using this as an example.
    http://www.pikopong.com/blog/2009/02/11/reading-mifare-1k-card-using-java-in-linux/
    I am able to read the UID from the card but it fails when I try to load the key. I expect this is because the key in the sample I am working off is not correct for my card. I assume my best bet for getting the key to read the serial number is to track down whoever in the organization I am doing this for writes the serial number to the card. Does that sound right? Also once I get a valid key will the rest of the example work or are there other pitfalls I have yet to encounter?

    No I am not using the same reader I am using a SDI010 from SCM. Are these the right steps to read the serial number (load key, authenticate, read?)
    I found some documentation on it that give the commands for this reader at:
    http://www.scmmicro.com/support/download/SDI010.MANUAL.V1.13.pdf
    It looks like these are the commands I should use.
    h3. Command, CLA, INS, P1, P2, Lc, Data, in, Le
    STORAGE_CARD_CMDS_LOAD_KEYS, 0xFF, 0x82, Key Structure, Key Number, Key, Length, Key, -
    STORAGE_CARD_CMDS_AUTHENTICATE_GENERAL, 0xFF, 0x86, 0x00, 0x00, 0x05, Data, -
    ISO7816_READ_BINARY, 0xFC, 0xB0, Block No., RFU, 0x00, None
    So if I find values for the parameters of those commands I should be good to go?

  • IB:How to update a serial Number which has Inventory Material Transactions?

    Dear friends
    first of all thanks for your time and valuable solutions
    Install base: How to update a serial Number which has Inventory Material Transactions
    problem description:
    Install base > quick search
    Here is Installbase record, when I query from quick search
    Rec#     Item          Item Instance           Serial Number          Status
    1     300-7000-01      3000000           1000XXX-0538JQ0003 Return for Adv Exchange
    2     300-7000-01     8000000               1000XXX-0538JQ0003-     Return for Adv Exchange
    3     300-7000-01     5000000               1000XXX-0538JQ0003-A     Return for Adv Exchange
    looking above data, first and third records are the legitimate serial numbers(correct according to the client specs), second record is not legitimate since it has a dash as suffix, we found there are many illegitimate serial Numbers exists, needs to be updated with the right serial Numbers which I analyzed in excel after pulling data from mtl_material_transactions , oe_order_lines_all , mtl_serial_numbers , mtl_system_items_b
    basically these are all RMAs
    I need to update the second record as 1094SUZ-0538JQ0003-B as per the guidelines, while updating I need to keep all the existing contracts, Warranty, what ever material transations it has, need to be same.
    we have a package updating the serial numbers using IB API (csi_Item_Instance_Pub.update_item_instance) but it is updating only the records which has no serial numbers present for that instance, if there is a serial number already exists it is not working.
    user define error msg "Serial Number 1094SUZ-0538JQ0003- has Inventory Material Transactions. This serial number cannot be used to update an existing Item Instance", but I need to update this anyway!! or am I missing something here, please advice me
    below post looks like similar issue, talks about hard update, I have no clue, by doing that the updated serial number will have same transations, contracts, dates....attached to it like the previous serial number
    IB UPDATE_ITEM_INSTANCE ERROR - doesn't allow ACTIVE_START_DATE to change
    would be great If you guys help me out, really appreciated!!
    unfortunately I couldn't find any solutoin in metalink for the existing serial number update
    code for updating the serial number using IB API
              x_msg_count := 0;
    x_msg_data := '';
    p_instance_rec.instance_id := rec.child_instance_id;
    p_instance_rec.serial_number := rec.child_serial_number;
    p_instance_rec.object_version_number := rec.child_object_number;
    p_txn_rec.transaction_id := Fnd_Api.g_miss_num;
    p_txn_rec.transaction_date := SYSDATE;
    p_txn_rec.source_transaction_date := SYSDATE;
    p_txn_rec.transaction_type_id := 1;
    csi_Item_Instance_Pub.update_item_instance
    p_api_version => 1.0,
    p_commit => Fnd_Api.g_false,
    p_init_msg_list => Fnd_Api.g_false,
    p_validation_level => 1,
    p_instance_rec => p_instance_rec,
    p_ext_attrib_values_tbl => p_ext_attrib_values_tbl,
    p_party_tbl => p_party_tbl,
    p_account_tbl => p_account_tbl,
    p_pricing_attrib_tbl => p_pricing_attrib_tbl,
    p_org_assignments_tbl => p_org_assignments_tbl,
    p_asset_assignment_tbl => p_asset_assignment_tbl,
    p_txn_rec => p_txn_rec,
    x_instance_id_lst => x_instance_id_lst,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data
    Thanks
    Suri

    Suri
    Used this. May not be perfect but should get you there. Only if the table is registered (all the seeded tables should be registered) this will work.
    select distinct a.table_name,b.column_name from fnd_tables a, fnd_columns b
    where a.table_id=b.table_id
    and upper(b.column_name) like '%SERIAL%'
    Also this is very old one but if you need history for this change add the history insert logic as well..
    DECLARE
    l_return_err VARCHAR2 (80);
    PROCEDURE debug (p_message IN VARCHAR2)
    IS
    BEGIN
    dbms_output.put_line (SUBSTR (p_message, 1, 255));
    END debug;
    BEGIN
    debug('======================================================================');
    debug('Switching from serial number XDT07406. to XDT07406 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'XDT07406'
    WHERE serial_num = 'XDT07406.';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'XDT07406'
    WHERE new_serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    UPDATE wsh_delivery_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in wsh_delivery_details updated :'||sql%rowcount);
    debug('======================================================================');
    debug('Switching from serial number jct20591 to JCT20591 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'JCT20591'
    WHERE serial_num = 'jct20591';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'JCT20591'
    WHERE new_serial_number = 'jct20591';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_return_err :='Updating in one of the script has this error:'|| substrb(sqlerrm, 1, 55);
    debug('Value of l_return_err='||l_return_err);
    END;
    Thanks
    Nagamohan

  • How can i get serial number on my photoshop from creative cloud

    how can I get serial number on my photoshop from creative cloud

    Creative Cloud applications aren’t licensed with a serial number, they are licensed by logging into CC.

  • HT4061 i CANNOT READ THE SERIAL NUMBER, but I need help - icloud has locked up my email

    Yesterday tech support had me load iCloud onto my computer and now my Outlook won't work

    Marceta wrote:
    Yesterday tech support had me load iCloud onto my computer and now my Outlook won't work
    And how is this related to an iPhone or the inabliity to read the serial number?

  • HT1267 if the iPhone is lost how to locate the serial number?

    if the iPhone is lost how to locate the serial number? what is the easiest way to track iphone??? please help.

    Look at the receipt from the Apple store (or wherever you bought it).
    Look at the box it came in.
    That's the limit of the options if you didn't record the serial number.

  • How canI get my serial number for Elements 11?

    How canI get my serial number for Elements 11?  Does anyone know how to help me.  I did puchase it sometime ago but lost all computer data and had to replace computer.  Hope someone can help.
    Thanks
    Steve

    If you have no record of it at your end, the only place you might find it is at Adobe's end via logging into your Adobe account and seeing if it is listed there.  If you registered the software it should be.
    Beyond that your only hope might be to have Adobe support check your information to see if the software/serial number is available and if it can be given to you.  Try contacting them by chat or telephone.
    Here is a link to a page with options to help make contact:
    http://www.adobe.com/support/download-install/supportinfo/

  • How can I check serial number using icloud

    how can I check serial number using icloud?

    If you are talking about an iPhone and you simply tap on settings/general/about
    Both IMEI and Serial numbers are there to see.
    You can use the *#06# short code on the phone keyboard to see IMEI as well
    Or connect your iphone to iTunes on a PC/Mac
    Click on the device in side bar and summary button at top left of browser window
    In the top panel you have :-
    Name of the device
    Capasity
    Build Version/Software version - Mouse click on it to change which is displayed
    Serial Number/UDID Identifyer - Mouse click on it to change which is displayed
    Phone number /IMEI -Mouse click on it to change which is displayed
    Its very easy to see both numbers if you actually have the device.

  • How do I find Serial number of programme (not the one on the CD cover)?

    How do I find Serial number of programme (not the one on the CD cover)?

    How is that related to Firefox support?

Maybe you are looking for

  • Using Airport Extreme Base Station As A Wireless Card?

    Hi, I don't know if this is even possible but here's what I'd like to do: I've started to share an internet connection with a cousin of mine that lives in my apartment building. The connection is in her apartment and as far as I can tell the wireless

  • Query not showing detailed result when run through query Designer or Portal

    Hi, There is one query which not showing detailed result while running through Query Designer or run in Portal. But strange thing is that it is showing the detailed result when i run it through BeX Analyzer. While all the other queries don't have thi

  • HOW to handle JCO connection failure

    if i have a JCO connection.....to process the RFC function... when i call the function...the job leave to R3 to do the rest... yet ..the connection broken..at this time.. the is no result return..and consequency receive the RFC_ERROR_COMMUNICATION ex

  • I just want to close an app!

    So I am in an app, I want to close this app so I quit it once by pressing my home button but then I have to double click the home button, hold my finger down on the icon and close it again by tapping that tiny red dot! Is there no easier way?

  • Aironet 1400 Interference?

    I have an Aironet 1410 which has been online for the past 3-4 months with no problems at all. The other day we noticed these messages coming through (I have removed mac addresses and host names). 16 Jul 1 11:42:22 Warning Packet to client HHHH.HHHH.H