Tuesday, June 10, 2014

Fixing Wrong Original MAC Address in TMAC

If you believe TMAC is displaying incorrect original MAC address then you can fix this by using following command:

tmac -n <network-adapter-name> -ro

Where, <network-adapter-name> will be the name of your network adapter you wish to fix the issue for.

Checkout this link for more info on TMAC command line options.

Note: Make sure that you run CMD.exe as administrator. To do so, right click on the CMD icon and click 'Run as administrator' option. Also use the CD command first to change the directory to where TMAC is installed to be able to run the "tmac" command.

98 comments:

  1. why cant update vendors list (oui)?
    "an error ocurred while downloading Vendor List (OUI) data.
    Error: (5) Invalid procedure call or argument"

    ReplyDelete
    Replies
    1. thanks for the feedback. it seems the OUI file format is slightly changed. will fix the issue soon.

      Delete
    2. Hi, news for the update the file?
      Today I have the same problem.

      Thank you for your work.

      Delete
    3. that issue is still pending. not getting enough time for fixing.

      Delete
  2. sorry but i don't speak english very well
    when i click Restore Original, this display Failed to restore original MAC address

    ReplyDelete
    Replies
    1. just try the command mentioned in this blog post and see if the issue is fixed.

      Delete
  3. I love your MAC changer! Has brought interesting attention here. Question. I have Verizon modem/router integrated unit. Does it have to be off or doesn't matter? Thanks!

    ReplyDelete
    Replies
    1. MAC address of your computer's network adapter is changed and no modem/router is needed to be configured.

      Delete
  4. is there anyway to reset everything that change?because after i have changed the mac addrress and it cannot return to the original address eventhough i have format my pc

    ReplyDelete
    Replies
    1. After formatting your PC, the MAC address that you see is indeed your original MAC address. Original MAC address is stored in the network adapter's flash memory and is not affected by any thing.

      Delete
  5. I admire your Mac Changing Software, my Mac Addr was blocked in router.

    Is there any way you could develop this software for Ubuntu, if not do you know alternative.

    ReplyDelete
    Replies
    1. One friend of mine has developed bash script for Linux which can do stuff similar to TMAC. Check out this link

      Delete
  6. I hv got mac of my friends [wifi router] and we are using [same internet] but the problem is i am not able to change the mac,[ethernet mac] was easily changed 1st time but now he use wifi router means tat net wire is directly pluged to router so i found router mac but the mac is not changing now error is comming use o2,etc etc shortly i am unable to connect using his net ;(

    ReplyDelete
  7. Please view thí error: http://s16.postimg.org/o8ljgwyvp/Untitled.png

    What can I do to fix it?

    ReplyDelete
    Replies
    1. I am unable to reproduce the same error.

      Delete
  8. Hi, so I arrived at this page because when I went to restore my original mac address I received a message saying something like "unable to restore original mac address". Very generic. So I tried the command you provided above and I was able to restore to my original, yay! But the only problem is it's not restoring to my original. It took the spoofed mac address and made that my original and now I can't get it to see my original mac address as "original".

    So I know this article is supposed to help with this specific scenario but it doesn't for me. It made tmac think my spoofed mac address is the new original, is there any way to fix this?

    ReplyDelete
    Replies
    1. Me again. Coming back to this it kind of sorted itself out. It does seem bugged in that 1) It was unable to restore original in the first place and 2) It's changing the original between the actual original and the new mac. Restarts don't fix it, the command listed in this article doesn't fix it. I'm not sure how it's fixing itself but over the course of a few days it seems to flip flop between them.

      Delete
    2. That command will delete registry entry used to change MAC address and will reset the network adapter. In case the network adapter doesn't reset due to any issue, TMAC will think that the active MAC address is the original one.

      You can try this command again, close TMAC, disable the network adapter manually and start TMAC again. This should fix the problem you are having.

      Delete
  9. Hello, my MAC address changer will not allow me to change back to my original MAC address. It just gives me the error 'Failed to restore original MAC Address', I have tried disabling the network adapter and it did not work. The command lines are also not working for me. I was just wondering if there was anything else that could be done to restore it, because everything I have seen on here does not help at all.

    ReplyDelete
    Replies
    1. Email me a screenshot of the TMAC window and I will get back.

      Delete
  10. I cant update vendors list (oui)
    "an error ocurred while downloading Vendor List (OUI) data.
    Error: (5) Invalid procedure call or argument"

    How Can I import file from : http://www.ieee.org/netstorage/standards/oui.txt ?

    Thanks

    ReplyDelete
    Replies
    1. This issue is still pending to be fixed. Its due to change in format of the oui.txt file.

      Delete
  11. Hi Shreyas,i would just like to say thanks for your awesome piece of software.I would also like to add that if you had a donation page i would have no issues with donating to such an excellent project.

    ReplyDelete
    Replies
    1. Thanks for the compliments. I am not accepting donations anymore. Thanks anyways :)

      Delete
  12. Shreyas, great work & great program.
    but, please, please, either fix the pending error with vendors list (oui) for the new OUI file format. The continuing error : "an error ocurred while downloading Vendor List (OUI) data.Error: (5) Invalid procedure call or argument"" is a big problem.

    or please just post information so that we can convert the ieee txt file to the db file you are using.

    in the future you might want to consider just i/o reading the ieee file as plain txt file instead of converting to a db format.

    I am happy to pay for your time as your program is my preferred solution; PLEASE LET ME KNOW WHERE TO SEND MY DONATION.
    thank you!!

    ReplyDelete
    Replies
    1. TMAC v6.0.6 update is available now. Just click Help > Check For Software Updates menu to update.

      Delete
  13. I recently had a Problem with Technitium. Always worked but I uninstalled some VPN do hickey and now when I reinstall Technitium it does not see any of my networks to be able to choose one. Any Ideas whats up?

    ReplyDelete
    Replies
    1. TMAC can read network information correctly only if the windows registry is having correct data. In case of any mismatch the software wont be able to list network list.

      Delete
  14. Hello, I have used your program many times. Some how it changed the default MAC of my WiFi to a random address and when I run the command it stays. I tried changing the registry value and that works but when I try to restore it it fails. Also when I run the command after that it goes back. Should I reinstall the driver and if that doesn't work what should I do?

    ReplyDelete
    Replies
    1. If you know the registry location, just check for "OriginalNetworkAddress" key, which TMAC adds to "remember" the original network address. You can just delete that key and "NetworkAddress" key and disable/enable your network adapter once. The MAC address that you see now is your original one.

      Delete
    2. By the NetworkAddress key do you mean the folder?

      Delete
    3. Not the "folder" but the list you see on the right side. "NetworkAddress" key may not be present since its presence means mac address was changed.

      Delete
    4. Reinstalling drivers didn't work, when the MAC was changed the NetworkAddress key wasn't there, And when I tried changing it through advanced tab it would show that mac in (Inactive: ) next to the active one. Could it have rewritten the manufacture's MAC on the network card?

      Delete
    5. When I try to restore the MAC via commands it gives me Error 457

      Delete
    6. I also found out that the error seems to be from visual basic but I don't understand it

      Delete
  15. That didn't work and it went back to being AzureWave MAC instead of being a Qualcomm Atheros MAC. At the time of posting I am currently trying to reinstall the drivers to see if that would help.

    ReplyDelete
  16. Updating the driver didn't work and also the NetworkAddress key was never there. And it is on Not Present in the Advanced tab so could TMAC rewritten the flash memory on my WiFi card and if so how could I fix it?

    ReplyDelete
    Replies
    1. TMAC only writes to registry to change MAC address so, changing MAC address in flash memory is totally out of scope. After following all the steps that I had mentioned, the MAC address you see is indeed your original one. The vendor name you see is from the database published by IEEE and the vendor name may not necessarily match with the device manufacturer.

      Delete
    2. OK thanks. Is that also the reason I got the errors. And do you know of any way I can confirm it is my original?

      Delete
    3. Wow I feel stupid. I've done some research and it turns out Asus WiFi go is made by AzureWave. Thanks for the help so much

      Delete
    4. Good that its resolved. Welcome :)

      Delete
    5. One last question though. Does it work with Windows 10? I am thinking of upgrading and I would like to know if it would worm?

      Delete
    6. Yes, it will work in windows 10.

      Delete
  17. thank's for the software and the support, i was having this issue : failed to restore original mac adress, i tried the above command u mentinied but didn't work, i tried this and it worked :
    "C:\Program Files (x86)\Technitium\TMACv6.0\TMAC.exe" -n Local Area Connection -ro

    ReplyDelete
  18. Hope the latest TMAC works with Win. 8.1 ! ! ! Will give 'er a try. By the way, TMAC. With Win 7.... I love you!

    ReplyDelete
  19. Help it not change back I tried command and it doesn't work

    ReplyDelete
  20. I tried command it's not working please help

    ReplyDelete
    Replies
    1. Email me a screenshot of the TMAC window so that I can help you.

      Delete
  21. I'm getting an "Error 7 Out of Memory" when I try to open my TMAC.

    ReplyDelete
    Replies
    1. Email a screenshot with the details of action that is causing this error to support@technitium.com.

      Delete
  22. Hi. I have been using Tmac for about 4 months. Its a AWESOME software. Recently i all of a sudden haven't been able to have internet access because it says on the Tmac that the Local Area Connection is 'non operational'. Then when i go to the control panel on my computer (windows7) its telling me that A Network Cable is unplugged. This is really strange, being that i've been using the software for a long time with no issues. i updated the software about 2 weeks ago. Also i didnt do anything different to my comp. Can you please advise me? Thanks

    ReplyDelete
    Replies
    1. Hi, "Network Cable is unplugged" means that your network adapter is not connected. If its wired ethernet adapter then check if the cabling is proper and if its wifi adapter then make sure that you have not accidentally turned off wifi from the hardware on/off switch or from keyboard function keys.

      Delete
  23. I need help, i dont understand the commands you listed and i have clicked the link and i still dont understand.
    My error message when clicking restore mac address: Failed to restore mac address.
    PLease help.
    Thanks.

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com

      Delete
    2. Sorry but the problem has somehow been solved.Thanks for your help though!

      Delete
  24. I have tried to command up top but it still does not work. I need some help.

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com

      Delete
  25. Hi, my MAC address changer will not allow me to change back to my original MAC address. It just gives me the error 'Failed to restore original MAC Address', I have tried disabling the network adapter and it did not work. The command lines are also not working for me.

    ReplyDelete
  26. Hi, my MAC address changer will not allow me to change back to my original MAC address. It just gives me the error 'Failed to restore original MAC Address', I have tried disabling the network adapter and it did not work. The command lines are also not working for me.

    ReplyDelete
    Replies
    1. You can manually fix this using registry editor. Just navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1- 08002bE10318}\[ID of NIC e.g. 0001] and delete the 'OriginalNetworkAddress' value to fix it.

      Delete
    2. Hi I installed the TMAC Ja Do More Or Less two weeks and always When I restore the original MAC Giving It That Failed Restore MAC Address Can Help Me A Solve This ? Waiting for answers

      Delete
  27. So I love love love tmac. Used it on my other windows 7 computers and it's great! I have a new computer with Windows 10 and every time I go to change mac address for wifi (as I have done with my other computers) the program freezes and the Broadcom network adapter becomes "disabled/deleted". I can restart and everything is back to normal but do you know what could be causing this?

    ReplyDelete
    Replies
    1. Thanks for the compliments. Just email me a screenshot of TMAC with the network adapter selected so that I can get some more details to help you with this.

      Delete
  28. Hi I installed the TMAC Ja Do More Or Less two weeks and always When I restore the original MAC Giving It That Failed Restore MAC Address Can Help Me A Solve This ? Waiting for answers

    ReplyDelete
    Replies
    1. You can manually fix this using registry editor. Just navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1- 08002bE10318}\[ID of NIC e.g. 0001] and delete the 'OriginalNetworkAddress' value to fix it.

      Delete
    2. Hey there is no 'OriginalNetworkAddress'

      Delete
    3. If there is no 'OriginalNetworkAddress' and no 'NetworkAddress' registry value then what you see in TMAC is your real MAC address.

      Delete
  29. Hello, I've been using TMAC for about a year now without issues, but, for the last couple weeks or so, I've had the problem where it could not restore the original MAC address (both through the restore button and the apply preset for original failing) which required me to manually input the original MAC address and press "Change now!" and I'd receive an error saying it couldn't change, but it would reflect it as changed despite the error saying it couldn't.

    Anyway, tired of manually changing it back: I searched, found this, ran the above command line, and, instead of returning to the original MAC address for my hardware, it overwrote (!) the original MAC address for my hardware with the alternate one I'd been regularly using selected from the list in TMAC.

    I ended up having to dig into some old registry backup data to recover what my original MAC address was and was able to go into the registry and change the OriginalNetworkAddress value and it seemed to work (TMAC reflected it as the original), but, after doing that last night, I started my computer today and the internet didn't work at all (was working on other devices) and the entire registry entry for my ethernet adapter had vanished.

    I ran "netsh winsock reset" and rebooted since I'd encountered that troubleshooting connection problems before and it fixed my ethernet adapter being there and internet working, but it was also back to thinking the incorrect MAC address was the original one. I've changed the registry again and maybe it'll be fine now (?), but I guess my question is: is there some deeper level storage (somewhere deeper than the registry?) of the MAC address that has been altered by TMAC that caused the above command and a Windows network reset to think the altered MAC address is the original one over the actual original one per hardware?

    Not sure it's the biggest problem in the world since I think the changes to the Windows license agreement tying the authentication to MS account instead of hardware (MAC address) mean it won't get upset about an incorrect MAC address (as happened a couple times when I forgot to revert the change before rebooting many months ago), but it's still kind of disconcerting that it seems to have lost touch with what it should be per original hardware.

    ReplyDelete
    Replies
    1. Hi. First of all, let me assure you that TMAC cannot overwrite your hardware MAC address. Everything that TMAC does is related to registry settings and to disable/enable the network adapter to apply the changes. The 'OriginalNetworkAddress' registry setting is added by TMAC when it runs for the first time on your computer. This lets TMAC display the original MAC address in the user interface when the MAC address is changed.

      So, as you are aware of using registry, just browse to the registry path for your network adapter and delete the 'NetworkAddress' and 'OriginalNetworkAddress' values. Once you have done that either disable & enable the network adapter once using Network Connections window or Device Manager, or restart your computer. Open CMD and type getmac command or run TMAC and see the MAC address displayed for the network adapter. The one you see now is your original MAC address as it was shipped with the network adapter by the manufacturer.

      So, you don't really have to worry about losing your original MAC address!

      Delete
  30. Where can i put this command? tmac -n Local Area Connection -ro

    ReplyDelete
    Replies
    1. You need to open command prompt by running it as administrator and then change directory to the TMAC installation folder and run the command in that folder.

      Delete
  31. Well, up till now, I've been pretty happy about this program. It helped me out a lot, but today I got a little problem. Under Network Connections is nothing listed. I tried now with a Lan Connection and it'll be shown but the rest is still hidden. I can't restore my Wifi Mac Address to original anymore. I already tried out the command lines, but my computer keeps telling me that this command isn't existing. Also, when I try to do any actions it TMAC tells me: Unable to restore original Mac Address or Error Code 91. Any ideas? I really need my original Mac Address back...

    ReplyDelete
    Replies
    1. Send screenshots of all the issues to support@technitium.com.

      Delete
  32. Another solution to this problem "Failed to restore original Mac address" specifically for those who uses VPN, try disabling or install VPN network adapter it works for me

    ReplyDelete
    Replies
    1. Changing MAC address of VPN is not supported. In fact, changing MAC address of VPN network adapter will not have any effect even if you somehow are able to change it. The network adapter is just there for emulating a virtual network connection and is not a real hardware adapter where MAC address is actually used at Layer 2.

      Delete
  33. I have been using TMAC for around 2 years. Everything was going on well. But today I got into trouble with the "Failed to restore original MAC Address". What should I do now??

    ReplyDelete
    Replies
    1. Send a screenshot of TMAC window which shows the network adapter details to support@technitium.com.

      Delete
  34. What exactly does this command do? Does it grab the original MAC from the hardware's flash or does it set the current (eventually changed) MAC adress as the original?

    ReplyDelete
    Replies
    1. When TMAC starts for the first time, it records the current MAC address as original. If the MAC address was changed before first start, then that confuses TMAC to believe that MAC address is changed even when it was restored.

      This command removed the original MAC address entry so that the actual MAC address is read and re-recorded as original address.

      Delete
  35. hey i cant restore my original mac adresse someone could help Me ?

    ReplyDelete
    Replies
    1. Send a screenshot of TMAC window which shows the network adapter details to support@technitium.com.

      Delete
  36. i cannot restore original settings please help

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com

      Delete
  37. i cannot restore original mac address, help me. I have sent you email of the screenshoot

    ReplyDelete
  38. I could not restore my original mac either, please help me.

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com.

      Delete
  39. Hi Shreyas, I love your work and your Mac Address changer has helped me through many nights of no wifi, but for some reason when i try to switch back to my original mac address, it says it does and it displays that I have wifi, but everything acts as if I dont have wifi. Any help?

    ReplyDelete
    Replies
    1. Thanks for the compliments. Do share more details with screenshots to support@technitium.com.

      Delete
  40. Hello! So, every time I try to change the MAC address, but every time it just crashes. Once I get to changing the WIFI mac adress, TMAC crashes on me. Anything I could do?

    ReplyDelete
  41. I have another problem.After resetting the mac address to original,everytime i restart my pc it goes back to an address i used before.Please help i really need an answer

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com.

      Delete
  42. Hi..
    I installed TMAC on main windows user in my pc
    without any problems
    But when i add another user in my pc and open it :
    Run-time error'-2147024809 (80070057)':
    Tparameter is incorrect

    ReplyDelete
    Replies
    1. Hi, make sure the other user is also admin since TMAC requires to run as admin.

      Delete
  43. What about Ethernet? my ethernet is incorrect and is displaying as all zeros.

    ReplyDelete
    Replies
    1. Just email the screenshot of TMAC main window with the network adapter selected to support@technitium.com.

      Delete
  44. Hey i need help i cannot restore my mac adress

    ReplyDelete
  45. i need help i get a error i cant change my mac adress to my original.

    ReplyDelete