+ Post New Thread
Results 1 to 11 of 11
O/S Deployment Thread, Assigning diferent computer names to machines during deployment using MDT/WDS in Technical; Hi All, I was wondering what the best approach would be to assign multiple machines each with their own unique ...
  1. #1

    Join Date
    Oct 2012
    Location
    Toronto
    Posts
    9
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Assigning diferent computer names to machines during deployment using MDT/WDS

    Hi All,

    I was wondering what the best approach would be to assign multiple machines each with their own unique computer name during my deployment. I have been given the responsibility to deploy about 100 computers in an environment and needed to assign different computer names to each machine. Currently I have a setup using MDT for the actual deployment and WDS that is used for the PXE boot. Is there a way (preferable without using a PowerShell script) that I can deploy these machines? The reason I say preferably without PowerShell script is because I'm a rookie with scripting. If there is any other way to do this, please let me know!

    Thanks for any help you guys can provide!

    -Mehrdad

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,938
    Thank Post
    114
    Thanked 272 Times in 250 Posts
    Rep Power
    104
    You need to look at the database part of MDT this will suit your needs.

  3. Thanks to ChrisH from:

    mehrdadi (19th October 2012)

  4. #3

    Join Date
    Oct 2012
    Location
    Toronto
    Posts
    9
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by ChrisH View Post
    You need to look at the database part of MDT this will suit your needs.
    Thanks Chris! Anything in particular that I should be looking for? I'm in the process of downloading SQL 2008 Express on a test machine as we speak.

  5. #4

    Join Date
    Jan 2007
    Location
    Nottinghamshire
    Posts
    530
    Thank Post
    1
    Thanked 84 Times in 58 Posts
    Rep Power
    37
    I scanned in the ethernet mac barcodes off the laptop/box laptop came in, into a spreadsheet, which had a column for asset tag number, 100-200, and another column for computer name "laptop"&tag, and then a 3rd column which converted mac to wdsutil format: =LEFT(H169,2)&"-"&MID(H169,3,2)&"-"&MID(H169,5,2)&"-"&MID(H169,7,2)

    then created a wdsutil command ="wdsutil /add-device /device:"&J169&" /id:"&AE169

    copy and paste that column into a bat file, run on server.

    Dunno how that would work with MDT

  6. Thanks to mavhc from:

    mehrdadi (19th October 2012)

  7. #5

    Join Date
    Oct 2012
    Location
    Toronto
    Posts
    9
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Finding UUIDs and/or MAC addresses.

    Thanks for that!

    Since my last post I managed to find a way to import the new computer names (and other variables) using a basic PowerShell script. The MDT database option definitely looks like the way I'd like to go. This however brings up a new question.

    MDT gives us the option to deploy images (with certain configurations like OSDComputerName, OrgName, etc.. preconfigured) however part of the process requires us to attach those names to a unique identifier on the new boxes (eg: UUID, MAC address, Asset Tag). My question is, how would I find the UUID or Mac address of those machines with minimal time/effort keeping in mind they are all VM's being build on VMware and Hyper-V platforms...? If I can find a list of all the UUID's or MAC addresses to deploy to, this would make the deployment pretty straightforward. I would prefer to use UUIDs because the MAC address may be Dynamic as per my management team.

    The setup I have is as follows: We have 6 new racks each with about 12 new blade servers. We have to deploy images to those blades at first and then deploy images to the VM's that will reside on those blades (we're looking at about 200 machines in total that will require deployment). Thanks for any further help you guys can provide.

    As with anything I do, I'm not looking for someone to hand me an answer in full but more so provide me with some direction as to what I can look up and research myself.

    -Mehrdad
    Last edited by mehrdadi; 16th October 2012 at 04:14 PM.

  8. #6

    Join Date
    Oct 2012
    Location
    Toronto
    Posts
    9
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Anyone?

  9. #7
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    815
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    39
    For the Hyper-V VMs I think you can set your own UUID, so I guess you could just generate them yourself and use Powershell to bulk populate everything. For the physical servers, you could make a really basic Task Sequence that installed Windows and joined the domain using something unique for the hostnames, then retreive all of the UUID values remotely.

    Code:
    get-wmiobject Win32_ComputerSystemProduct -computername <COMPUTERNAME> | Select-Object -ExpandProperty UUID
    ...or if you don't want to join the domain for some reason, write a script to get the UUID and then save it somewhere, then run this as an application in the basic Task Sequence.

    Then re-deploy with the final Task Sequence once you have imported the UUIDs into MDT.

  10. Thanks to morganw from:

    mehrdadi (19th October 2012)

  11. #8

    Join Date
    Oct 2012
    Location
    Toronto
    Posts
    9
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Awesome thank you! I will definitely take a look at generating my own UUID's with Hyper-V VMs. Did not know this was possible but it will make my life so much easier. I will probably get the MAC addresses and/or UUID's for the physical blades so that should be pretty straightforward. Thanks again guys! You've been a big help!

  12. #9
    ADMaster's Avatar
    Join Date
    May 2012
    Posts
    264
    Thank Post
    4
    Thanked 26 Times in 22 Posts
    Rep Power
    12
    It sounds like you have your answer now, but here is what I did.

    I have my deployment rules set up so that the only questions asked are what image, and hostname.

    This works for my environment because we have to handle each computer before imaging anyway.

    The database option does sound like the best long term solution for you.

  13. #10
    Tsonga's Avatar
    Join Date
    Oct 2012
    Location
    Dorset
    Posts
    151
    Thank Post
    8
    Thanked 19 Times in 16 Posts
    Rep Power
    7
    Like above, I have setup MDT so it only asks for name and task sequence, I think that is as lite as the litetouch can get. Next stage would be SCCM.

  14. #11
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    815
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    39
    I used to run everything with the database, so just PXE booting with WDS was needed (so just one key press). You can take it further if you are brave.
    ZeroTouch for MDT 2010 without SCCM! | IThastobecool.com

SHARE:
+ Post New Thread

Similar Threads

  1. Serif software deployment using MDT 2010
    By qehsmft in forum Windows
    Replies: 1
    Last Post: 24th April 2012, 01:15 PM
  2. Replies: 3
    Last Post: 10th June 2010, 02:04 PM
  3. [MDT] Handy Guide for Windows 7 Deployment using MDT 2010
    By Fatmas in forum O/S Deployment
    Replies: 0
    Last Post: 19th May 2010, 02:21 PM
  4. IP Address to Computer Name
    By Gambit in forum Windows
    Replies: 17
    Last Post: 23rd April 2007, 03:16 PM
  5. Deploy Default User to Machine Groups
    By monkey_boy in forum How do you do....it?
    Replies: 6
    Last Post: 25th January 2007, 10:45 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •