Getting Mac Address of Windows 7 Machine

Hi all,
Our application used to gather the Mac address of the client machine. For this purpose, i was using the Java bean(ClientInfos.fmb) to get the information. It used to work fine until
the OS was Windows XP. As soon as the Windows 7 has come, the application/java bean could not collect the mac address.
Pls let me know if there is any working for this problem.
Even if there is any other alternative, I would love to adopt.
One of the solution, I was thinking that to run a client_host command using webutil, write the output in a notepad. Get the mac address from the notepad.
If it is possible, give me some clue,so that i can fight it down.
Thanks & Regards,
Alok Dubey

There are likely several ways to accomplish this. You will need a custom java bean or webutil. WebUtil does not have a built-in function that can do what you want, but it will give you access to the system and/or registry. The problem with which you are faced is that some machines may have more than one net adapter and therefore more than one mac. Anyway.... you can use the CLIENT_HOST command to execute this Windows command:
GETMAC*
You can also execute GETMAC /NH+ and the data will be displayed without the column headers. If you write this info to a temp text file on the client, you can then read it with CLIENT_TEXT_IO. Use the pl/sql substr function to exact whatever part of the info you want to use.
More info about the above command can be found on the MS website here:
http://technet.microsoft.com/en-us/library/bb490913.aspx

Similar Messages

  • How to get MAC address from client machine ?

    Hi dear,
    We are implementing security measures for a banking system, so it is required that we track the MAC address of the registered clients along with other parameters. How do we get the MAC address from client machine using ADF or running scripts in client side?
    thanks all

    Hi,
    Welcome to OTN.
    Your question has nothing to do with ADF as such. Googling would give you plenty of such topics.
    -Arun

  • How to get MAC address using java code

    hi friends
    please write me, How can I get MAC Address of local machine using java code.I don't want to use JNI.
    Please reply me. Its urgent for me
    Thanks in advance
    US

    You have several ways under *nix
    ifconfig -a | grep HWwill output something like
    eth0      Lien encap:Ethernet  HWaddr 00:11:FF:74:FF:B4combined with Runtime.getRuntime().exec("")and Process.getInputStream()you should be able to read it easilly.
    Under Windows (and Linux of course) try jpcap (http://sourceforge.net/projects/jpcap)
    You can also use jnative as a generic tool (http://sourceforge.net/projects/jnative)
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • "failed to get MAC address for machine"

    here is the jist of things.
    installed leopard and have it pimped out to my personal specs. I like where everything is and how things are working. No issues. just so you know, i only use WIFI for internet, i share with the guys upstairs. In order to get wifi on my machine, i use a USB dongle. works great no issues with it ever, well until i physically broke it. No big deal. So i replaced it with another one, different drivers/chipset worked.. And since i installed leopard i only backed it up once with TM, i dont care for daily/hrly backups, weekly is fine for me. Now after 2 weeks and a new usb network card. TM gives me an error. i click on the little red i and it says "the backup volume could not be found" so googled and searched the forums not much help, so i tried and formated my ext drive repaired and click on TM again, same error. In the error log in console, right after i turn on TM i get this error, "failed to get MAC address for machine" then 180 secs later, TM fails. again, and again.
    Can anyone tell me where i can find what MAC address its looking for??? ethernet has never been plugged in to my machine ever. its only been online via USB wifi. Im really lost here, i dont know what i can do.. im sure if i try another drive ill get the same error. please help if you can.. much appriciated.
    Jamie

    yeah i get a 'failed to get mac address' message too. what's weird is that it seems that leopard 'broke' my ethernet (there was no mac address, couldn't connect to the internet through ethernet after a clean install), and then 10.5.2 'fixed' it. for some reason, i have an 'ethernet 2' heading in system preferences that works correctly and has a mac address and everything, while the regular 'ethernet' tab doesn't work at all. however, i still get this time machine error. i don't understand why time machine is so incredibly fickle. sorry, i'm really of no help to anyone, other than adding another voice to the frustration.

  • Provide alternative for Active X objects in Firefox to get client information. As I have to fetch MAC Address of client machine at login.

    As I have to fetch MAC Address of client machine at login, this is possible using ActiveX objects in IE but how it can be achieved using Javascript in Firefox browser. Plz reply.............................

    You would need the user to install some kind of add-on in order to do this. Or you could explore whether it's possible in Flash or Java (but I'd be surprised if it is).

  • I brought my itunes library onto a mac from a windows machine and now i have two separate libraries.  How can I merge them?

    I moved to Mac from a Windows machine where I had downloaded all of my CDs into iTunes.  When I got my Mac it only put my purchased items into my library.  So I merged my windows library and it created a whole new user account with that on it.  I now have two libraries and can only sync music with one account or I lose all of my imported CDs.  Help!  How do I merge them. 

    The easiest way is to get both computers on your home network and copy the files over the network. It's easier than you think
    Check this earlier thread:
    [How do I move my itunes library to new computer|http://discussions.apple.com/thread.jspa?messageID=7937172&#7937172]
    That thread mentions Target Disk Mode, which won't help moving from a PC to a Mac. But you can use file sharing to copy the files.
    As the articles all say: don't forget to de-authorize your PC before you get rid of it.

  • Get mac address in a container or zone non-global

    I am developing an aplication in c/c++ and in global machine I can get mac address, but in zone non-global don't.
    I have to get the mac address in zone non-global? If so, how?
    Thanks

    Igor_freitas wrote:
    I am developing an aplication in c/c++ and in global machine I can get mac address, but in zone non-global don't.
    I have to get the mac address in zone non-global? If so, how?A non-global zone using a shared-ip stack doesn't have rights to network connection. So you can't easily query the network device directly.
    You can probably run 'arp -a' in the zone and look for your zone's hostname. That's pretty close.
    Darren

  • How to get MAC address from IP address in LAN

    Hi all,
    How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
    Code examples are highly appreciated.
    Thanks & Regards,
    abel...

    abel wrote:
    Yeah that is only working for local system, but how to get remote system's MAC ..?
    Thanks for quick reply ...
    Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
    As a curious aside how did you manage to get the list of IPs?

  • How to get MAC ADDRESS in mais.asc using FMS

    Hello,
    i need to get the Mac Address of every machine connected to my fms, is that possible with FMS?
    THX

    It's also available in System Information, under the Network section.
    Hold down option and select System Information from the Apple menu.
    Select Network, then the particular service type: Airport, Ethernet, Firewire
    Scroll down till you see MAC Address:
    You can also reveal it in the Terminal with ifconfig. en0 is usually ethernet, en1 is Airport, but that depends on your configuration.

  • Get mac address in container or zone

    I am developing an aplication in c/c++ and in global machine I can get mac address, but in zone non-global don't.
    I have to get the mac address in zone non-global? If so, how?
    Thanks

    Are the mechanisms the same to extract the mac address from the zone as it would be on the global zone?
    What I mean is, programaticaly, would the same code that extracts the mac address of an interface from the global zone work within a non-global zone, or does the zone need to have priviledges set for this to be allowed?
    Edited by: Asgaroth on Jun 19, 2008 12:42 AM

  • Get mac address in zone or container

    I am developing an aplication in c/c++ and in global machine I can get mac address, but in zone non-global don't.
    I have to get the mac address in zone non-global? If so, how?
    Thanks

    Are the mechanisms the same to extract the mac address from the zone as it would be on the global zone?
    What I mean is, programaticaly, would the same code that extracts the mac address of an interface from the global zone work within a non-global zone, or does the zone need to have priviledges set for this to be allowed?
    Edited by: Asgaroth on Jun 19, 2008 12:42 AM

  • How to trace MAC  Address Of a Machine with PL/SQL

    As MAC Address Of a Machine is Unique, for security, how to use trace the MAC Address of a machine on a WAN/LAN and record it in the database.Please note that it is important part of Audit Trail

    MAC ADDRESS is unique, whereas IP Address is variable. Experienced user can very easily change (fake) MAC address.
    Maybe you will be surprised it is trivial as changing of IP.
    You may be able to build a component that is external to the database that can determine a MACOn linux (for example) you could use "arping" command or retrive MAC adressess from arp cache using "arp" command. arp cache stores MAC adresess of all computers which are or was connected to machine. These commands can run only privileged user (root) but you could give execute privilege for specific user (oracle) via "sudo". You can execute this commands using external procedure or call it from Java stored procedure.
    It think tracking of IP will be enough beause IP must be unique on network (or in specific subnet).
    So MAC tracking is waste of time (IMHO).

  • Get MAC Address...

    How get MAC Address of a computer using SQL Query....help me....

    Hello Sukanta,
    I concur with SBH above. I do not believe that there is a way in SQL or PL/SQL to get the MAC address.
    Also, in multihomed computers, there would be as many MAC addresses as there are NICs present. Therefore, if MAC addresses where to be obtained, they would likely have to come up from a table (and a MAC address table surely does not exist in Oracle.)
    If you are looking for some sort of unique identifier, you may be able to create one using some combination of DBID, SYSDATE and a randomly generated number.
    HTH,
    John.

  • 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

  • Getting the MAC address of the machine

    Is there any method to get the MAC address of machine in java.?????????????
    In our proxy server application we get the IP address of each client connected our proxy server.
    But as the IP addresses are dynamic , we can't trace the location of the machine whenever any client does malicious downloads.

    Thanks It works .
    The code is as follows .
    It works when the machine is connected to internet while throws a null pointer exception when not connected .
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.net.UnknownHostException;
    public class MacAddress {
    public static void main(String[] args) throws SocketException, UnknownHostException {
    try {          
    InetAddress address = InetAddress.getLocalHost();
    * Get NetworkInterface for the current host and then read the
    * hardware address.
    NetworkInterface ni = NetworkInterface.getByInetAddress(address);
    byte[] mac = ni.getHardwareAddress();
    * Extract each array of mac address and convert it to hexa with the
    * following format 08-00-27-DC-4A-9E.
    for (int i = 0; i < mac.length; i++) {
    System.out.format("%02X%s", mac, (i < mac.length - 1) ? "-" : "");
    // System.out.print(mac);
    } catch (UnknownHostException e) {
    e.printStackTrace();     
    } catch (SocketException e) {
    e.printStackTrace();

Maybe you are looking for