MDT Database - Auto Computer Name Using MAC Address

I am trying to build a MDT server which will auto name any computer by using the MAC Address of the Network Card, I have read lots of articles and there isn't a definitive answer but I am looking for a simple answer which will work. I have tried all sorts
of things customising the Customsettings.ini and the unattend.ini and the database.
These are the settings I am looking at .
Can anyone please advise me how to get MDT to query the database and output the computer name using one of these variables.
%OSDComputername%
%Computername%
Can you please help.

Hi Walkermescc,
Since it is related to SQL database, our help might be limited. I suggest you refer to this article and it might be helpful.
http://blogs.technet.com/b/deploymentguys/archive/2011/08/05/dynamic-computer-naming-in-zti-deployments-using-mdt-and-configmgr.aspx
If you need more support about MDT and Database, you could post your issue to the MDT forum and there might be more suggestion for you. 
MDT server forum:
https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
Regards

Similar Messages

  • Looking for my computer name and mac address.  Where do i find them?

    I think this should be straightforward.  Where would I find my Mac Address and name of my computer?  I want to tether with my phone and need to give my phone this info.
    Thanks in Advance.
    Deb

    Your Computer Name is found in the Sharing preferences at the top. For your MAC address open Network preferences, select your desired port such as Wireless then click on the Advanced button. Click on the Hardware tab. You will find it there.

  • Many warnings : prevented from using mac address because it is pinned to port

    Hi
    I am seeing my system log flooded (several per second) with event 28 warnings such as :
    Port 'SWITCHPORT-SM-DB9DCFC7-E98D-438C-8998-CC0D9C14ED2B-1-1' was prevented from using MAC address '00-15-5D-00-B2-05' because it is pinned to port 'A0724966-695B-4552-B'.
    Source : VMSMP
    The environment is 2 X hyper-v 2008 r2 hosts. both have 4 NICs, 3 nics are connected to virtual switches and management OS is not allowed to share the network adapter, and then 1 NIC is obviously used by the host/mgmt OS and no virtual switch connected to
    it. I am seeing the warnings on both hosts.
    No load balancing or NIC teaming.
    All VM's have their MAC addresses assigned dynamically and I cannot see any conflicting MAC addresses.
    The warnings are logged for all or most of the MAC addresses and alternate between different "SWITCHPORT-SM-etc,etc" names.
    Performance doesn't seem to be degraded, I've run continuous pings for more than an hour with no packet loss, just a single packet spike every now and then. Network access seems fine, Backup Exec 2012 jobs are succeeding, albeit somewhat slower than what
    it was.
    I don't know when it started, since these warnings have flooded out all else.
    At first I thought it had something to do with a VM that I moved from one host to the other, where I copied the VHD accross and then created a new VM and assigned the original IP address to the new virtual NIC in the new VM. I then uninstalled the old hidden
    NIC and restarted the VM in question, but that didn't stop the warnings.
    Any ideas what could be causing this, or any tips on where I should start looking to isolate the cause ?

    Got it fixed by creating new virtual switches, moving all VMs over to them, and afterwards deleting all the old virtual switches.
    Still no idea what the cause could have been. How bizarre...

  • How can I konw , Which computer name or IP Address make SAP User lock

    Dear all,
    I have one issues about SAP user lock,
    Now I don't know which computer name or IP Address make user lock.
    How can I check it or Can you tell me about the table that keep information about the ip address or computer name?
    I can see the computer name when I use t-code al08 or sm04.
    But I don't know the table that keep data from this t-code.
    Pls suggest me for this issue.
    Regards,
    Pannee

    In SM21
    If you double click on the message "User XXXXX locked due to incorrect logon"
    You'll see under details the name of the terminal
    Terminal............ XXXXXXXXXXX
    for IP address just ping the terminal.
    Regards
    Juan

  • Device in the data base getting PXE aborted --unable to find machine using Mac address /resouce iD

    hi
    when I deploy osd to my unknown collection iam getting PXE aborted  ..earlier we used to delete machines from sccm
    by searching query based on Mac address .and clear last pxe advertisement option , but iam finding certain machines getting PXE aborted  shows device in data base when we search these machines using mac address /resouce iD unable to find in sccm or
    sccm data base . I have found some blogs where unknown collection parameters are changed to decommissioned value from "o" to "1"
    but unable to build new unknown collection , its very difficult to delete machines from SCCM console every time when pxe aborted . machines are getting pxe aborted some way its known to SCCM ,its difficult to import machines every time before machines are
    image .is there any permanent solution to override pxe aborted ,even systems are known to SCCM ,we are in sccm 2012 infrastructure
    hoping a positive replay from all technical leads
    thanks in advance
    ankith

    Hi,
    "is there any permanent solution to override pxe aborted ,even systems are known to SCCM ,we are in sccm 2012 infrastructure"
    I think there is not a permanent solution.  
    It could help if you first run the configuration manager report to locate a particular MAC address.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to get the computer name using C#?

    Hi all,
    Does anyone know how to get the computer name using c#?
    Thanks

    Try this, string computer_name = System.Environment.GetEnvironmentVariable("COMPUTERNAME");
    Naren.

  • C831 uses mac address as user name

    Hi!
    I'm trying to use this guide called Cisco IOS Easy VPN Remote with 802.1x Authentication, except I don't want to use the VPN part of it, I just want to seperate the users on a wired network based on their logon credentials, and this is the only example of this i've found.
    Anyway, the router (I use a C831) seems to send the mac address of the client as both username and password during the authentication instead of the credentials that is typed in in Windows.
    The Freeradius log looks like this (I have also tried ACS 4.0):
    rad_recv: Access-Request packet from host 10.10.118.1:1645, id=18, length=90
    User-Name = "001422dc7ca0"
    User-Password = "001422dc7ca0"
    Called-Station-Id = "0014.a863.1e32"
    Calling-Station-Id = "0014.22dc.7ca0"
    NAS-IP-Address = 10.10.118.1
    This of course causes me not to be able to use any user name I want to, and thus rendering such things useless.
    Anyone know what could be causing this?
    I'm attaching my C831 config.
    And btw, as you will see from the config, I have stated that the radius connection shall be done on port 1812, yet it say port 1645 in the Freeradius log.. strange.

    I have configured a cisco aironet 1100 for MAC authentication to a freeradius server and I am seeing the requests come in in the radius logs with username/password as macaddress/macaddress. Similar to the issue posted here. The Orinico AP2000 aps work as expected sending macaddress/sharedkey. I'm beating my head off the wall trying to figure out how to get the aironet 1100 to send macaddress/sharedkey as well. Anyone?

  • Use TCP, UDP, or other to communicate with UUT using MAC address instead of IP address

    I want to verify that the Ethernet port on my UUT works. 
    My plan was to ping the UUT and verify that I got a response.  However, the UUTs will come to test with an IP that I cannot use on the network.  [Please don't ask me to explain why -- the IT group has their rules, and rules are rules after all . . . ] 
    I can query the UUT (via the serial port) for it's MAC address.  But I cannot find any LabView VIs, or DOS executables which use the MAC address as a parameter to invoke a response from the device.
    Does anybody have an idea of how I can verify the UUT Ethernet port without having to divorce myself from the company network and set up my own private network?  [Oh and by the way, before somebody suggests it, the IT group won't let me put a 2nd network card in my PC -- rules are rules after all . . . .]

    I wouldn't worry too much about the address shown in the Remote Management tab.  The ARDAgent process, which is what is listening on his computer for connections from Remote Desktop, binds to all active network interfaces and ultimately that's all that matters. Of out curiosity though, to what IP address does the "unknown-b8-8d-##-##-##-##.home" dns name resolve?  Is it the WAN address?  I can't imagine it resolves to a private address like a 192.168.
    In any event, let's focus back on the network structure. Does the BT router have both a hard wired LAN ethernet port as well as a WiFi radio for LAN connections?  My guess is yes. I am also assuming that he does *not* have another router attached to the BT LAN ethernet port like an Airport basestation that is serving the WiFi connections.  Typically, the LAN ethernet port is given, via DHCP, a real Internet accessible address but the addresses served via DHCP for wireless clients are private network addresses only.  It's seems unlikely to me that the router is automatically forwarding incoming connections to a private network address on the WiFi network.  But if he plugs his Mac in to the ethenert LAN port on the BT router then you should be able to connect directly to the address given to it via DHCP because it *should* be a real Internet accessible address.

  • Get Network Computer name from IP address

    On a windows machine I want to be able to get the computer name if I know the IP. I have a VI that will return the MAC Address which is useful since my wireless access point does not have a static IP, I can search for the MAC Address to find it and then access it, but would like to add the feature of returning the computer name.. How can I do this?
    Thanks
    Jeff
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Attached screenshot shows how to find the name of the network adapters
    on your computer... the STR IP function has Multiple Outputs enabled to
    produce an array. 
    If you wanted to find the computer name of another computer you could
    feed the IP address string "x.x.x.x" to the STR IP function.
    Attachments:
    Screenshot.jpg ‏66 KB

  • How to Implementing ise 1.2 authentication user name against mac address

    Hi all,
    My organization wants to authenticate medical devices with certificate.
    What I'm trying to do is on the certificate the name of the user will be his mac address,
    And the ise policy will be if the user name equal to mac address than he authenticate.
    Until now I didn’t succeed.
    Is it possible?
    Lee.

    It sounds like you are trying to do two different things.
    The certificate can be done through 802.1x using peap   I dont know if your devices can handle dot1x so if not they can use MAB.  Far less secure but if its a low level device like a printer that has limited input capability then you are stuck with MAB.  
    What you could do with MAB is use the OUI and some other identifying information (if available) like device host names (This can be derived from DHCP i believe) and possibly av pairs (RADIUS) to help profile the devices.  These can be put into a custom endpoint profile that is given a specific authorization rule.
    The whole point is to try to isolate certain types of equipment so that only they get the custom authz rule 
    Does this make sense?  Im shooting a little blind here without more info.

  • Using .mac address for iTunes purchases

    Hello,
    I am really wanting to use my .mac email address (and Apple ID) for iTunes purchases. I just recently switched completely over from a Windows PC and purchased a new iMac (Woo-Hoo!). To go with the new iMac, I purchased a .mac account right before it changed to mobileMe. I will be using this .mac address a lot over the next several months, and wanted to consolidate all of my usernames, logins, Apple ID's, etc., into the one .mac address and username.
    If I understand correctly, I can't transfer stuff that I've purchase on my old Apple ID to my .mac - which is a bit inconvenient, but not too bad since I only purchased a few songs. I plan on purchasing a lot more iTunes stuff now that I have the iMac.
    My main concern is, what happens if I decide not to renew my .mac account a year or two from now, and all my purchased music is under that Apple ID? I'm a bit afraid of this because who knows if I'll still need .mac a couple years down the road. I still want to be able play the music I bought and paid for.
    Sorry to ramble, but all this ID, and login, and username stuff is a bit confusing for a longtime PC user like myself. But I'm learning quick.
    Thanks,
    RJ

    R72Sully wrote:
    My main concern is, what happens if I decide not to renew my .mac account a year or two from now, and all my purchased music is under that Apple ID? I'm a bit afraid of this because who knows if I'll still need .mac a couple years down the road. I still want to be able play the music I bought and paid for.
    Hi RJ.
    First of all... Congratulations on your new toy! They are great!
    Okay,
    If you don't keep your account active at any point from here on out, you will lose your ability to use the @mac address and would subsequently have to use the @me name instead. As you know, it is no longer dotmac, but MobileMe.
    If you want to be able to play the music you've purchased you can still have an iTunes account, but you would need to change your account info to reflect your current information. Oh and as always, back up, back up, back up
    I know it can be confusing for us just starting out. But don't worry! Before you know it you'll be amazed at how simple and straightforward most of it is. And FUN!
    All The Best-
    mwn

  • NAM shows MAC address instead of IP address in host

    Hi,
    Product: Cisco Prime NAM Appliance 2304
    Version: 5.1(3)
    Problem: We only can see MAC address on Hosts table in NAM, not IP address.
    Does anyone know what happen and how to fix it?
    Thanks!!!

    I wouldn't worry too much about the address shown in the Remote Management tab.  The ARDAgent process, which is what is listening on his computer for connections from Remote Desktop, binds to all active network interfaces and ultimately that's all that matters. Of out curiosity though, to what IP address does the "unknown-b8-8d-##-##-##-##.home" dns name resolve?  Is it the WAN address?  I can't imagine it resolves to a private address like a 192.168.
    In any event, let's focus back on the network structure. Does the BT router have both a hard wired LAN ethernet port as well as a WiFi radio for LAN connections?  My guess is yes. I am also assuming that he does *not* have another router attached to the BT LAN ethernet port like an Airport basestation that is serving the WiFi connections.  Typically, the LAN ethernet port is given, via DHCP, a real Internet accessible address but the addresses served via DHCP for wireless clients are private network addresses only.  It's seems unlikely to me that the router is automatically forwarding incoming connections to a private network address on the WiFi network.  But if he plugs his Mac in to the ethenert LAN port on the BT router then you should be able to connect directly to the address given to it via DHCP because it *should* be a real Internet accessible address.

  • LRT214 Access Policy using MAC address

    I recent upgraded to the LRT214 from a Cisco RVS4000 On the RVS4000 I used the Access policy to block internet access to certain devices identified by their MAC address during certain times of the day.  This was very helpful for enfocing the time rules for my daughters Xbox to play games using the internet.  That functionality seems to be gone in the LRT214.  I see I can bind a MAC address to a IP and then retrict that IP but that seems cumbersome-- wondering if there is a way to restrict access using ONLY the MAC address?  thanks in advance.

    This is interesting!
    I believe the Linksys device (LRT214) by design does not have the same feature as the Cisco's but basing from what I saw in the LRT's userguide, what you are trying to do can be achieved.
    The LRT has the a Firewall Access Rule feature that allows blocking by creating a "deny" rule via IP where you can specify the time of duration. I think since you are going to bind the ip to a specific mac, it could help.
    I have not tried it myself since I do not have the device at hand. I hope it will be work.

  • Change computer name using partial serial number

    I'm starting to learn Powershell and I'm stuck trying to automate a computer name change. The code below works to rename the computer and reboot but I would like to shorten it and I'm not sure how. The serial number is 15 characters which makes the computer
    name with the prefix added 18 charactes long. How can I modify it so that it takes the last 10 of the serial number plus the prefix? We are using Powershell 4.
    The script changes the name to something like MCT1234567890ABCDE
    What I would like is MCT67890ABCDE
    $serial = Get-WmiObject win32_bios | select -expand serialnumber
    $newname = "MCT" + $serial
    Rename-Computer -NewName $newname -Force -Restart

    Hi,
    The serial number is 15 characters which makes the computer name with the prefix added 18 charactes long.
    You might run into problems with this, considering there's a 15 character limit on NetBIOS names:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/4fe7b148-a01f-498f-a88a-06aef3edd81e/what-is-the-maximum-length-of-a-computer-name-in-windows?forum=winservergen
    http://support.microsoft.com/kb/909264/en-us
    Just something to be aware of.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Networking question; How to use MAC address to find out IP address.

    Hi there,
    I want to discover the IP address of an attached device (Netgear switch) on my network. I know it's MAC address – can I use this to get the IP address?
    Thanks in advance

    Short for Media Access Control address, a hardware address that uniquely identifies each node of a network. In IEEE 802 networks, the Data Link Control (DLC) layer of the OSI Reference Model is divided into two sublayers: the Logical Link Control (LLC) layer and the Media Access Control (MAC) layer. The MAC layer interfaces directly with the network medium. Consequently, each different type of network medium requires a different MAC layer.
    On networks that do not conform to the IEEE 802 standards but do conform to the OSI Reference Model, the node address is called the Data Link Control (DLC)
    I have a feeling you might have the term MAC Address confused
    Depending on the device you are using it may be that you can type in 192.168.1.1 and hit return key, and it will give you the Router Utility and this can give you the assigned IP Addresss to external devices, if the router is used.
    Don

Maybe you are looking for