+ Post New Thread
Results 1 to 12 of 12
O/S Deployment Thread, Computer Naming- How does this work/ best way to do this in Technical; Hi all, I'm starting to plan the migration to windows 7 and have setup WDS , MDT2010 on 2008R2. It ...
  1. #1

    Join Date
    Dec 2009
    Location
    London
    Posts
    16
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Computer Naming- How does this work/ best way to do this

    Hi all,
    I'm starting to plan the migration to windows 7 and have setup WDS, MDT2010 on 2008R2.
    It is obviously different from RIS which is what we currently use for XP.

    My question is- how does everyone deal with the join to domain using an existing computer account, as well as adding a new pc to the network?

    I know you can populate the DB with some key computer details (MAC, computer name) but is this the only way?
    We only add pc's once a year to the school but might re image them as much as three times during the year- so the process must be as quick and easy as possible.
    In RIS all we do is hit F12, login and select the image with a quick hit of enter to start the process, while noting the existing computer account was being used therefore in the correct OU.

    I have read alot of guides but I just can't understand how to proceed!
    Any advice or pointers would be very much appreciated.

    Joe
    Last edited by ZeroHour; 4th May 2011 at 02:44 AM.

  2. #2
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,346
    Thank Post
    676
    Thanked 169 Times in 154 Posts
    Blog Entries
    78
    Rep Power
    85
    I use some scripting to see if the machine is already known to SCCM. If its not, then a prompt for name is shown. If it is know, then SCCM manages the domain add and the ad account which is already there is reused. SCCM uses a secondary database to monitor machine names - which is distinct from AD. See my blog on here which has the info..., or PM me if you would like to do a remote session.

  3. #3

    Join Date
    Mar 2007
    Posts
    1,791
    Thank Post
    82
    Thanked 296 Times in 227 Posts
    Rep Power
    87
    if you leave the name blank it will prompt you for a name, not sure if thats an option?

  4. #4

    Join Date
    Dec 2009
    Location
    London
    Posts
    16
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi- I forgot to say that we don't use SCCM.

    We could name each pc as we go around- but would take the technician significantly longer aswell as having to move the computer into the correct OU and creating multiple computer accounts unless I have got that wrong.

  5. #5
    tarquel's Avatar
    Join Date
    Jun 2005
    Location
    Powys, Mid-Wales, UK
    Posts
    1,740
    Thank Post
    13
    Thanked 45 Times in 35 Posts
    Rep Power
    29
    Hi Joe.

    Make sure you're running MDT 2010 Update 1 first of all:

    Download details: Microsoft Deployment Toolkit (MDT) 2010 Update 1

    Additionally, download and look at the documents in that print ready zip specifically the Quick Start Guides (minus the SCCM one hehe)

    I found it pretty invaluable initally, although I was following the SCCM one, there should be plenty in that document pack to sift through.

    Providing you have WDS / DHCP etc all set up, you can find some guides in the stickied thread here: [ Complete guide to ] or check the forums here: [ http://www.windows-noob.com ] for bits n' bobs

    I'm planning to write up something myself soon regarding both MDT deployments and SCCM deployments so er....watch this space

  6. #6

    Join Date
    Dec 2009
    Location
    London
    Posts
    16
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Tarqel,
    Thanks for the pointers but I really can't find much about computer naming anywhere.

    I have found a another forum with a way around this using a webservice:
    RIS-style naming with MDT 2010: Use a web service - Michael Niehaus' Windows and Office deployment ramblings - Site Home - TechNet Blogs

    When I boot into litetouch, all I want is for the pc which is most cases would be pre existing to have it's correct computer name pulled in from AD. At the moment even though a computer account already exists I get MININT-HFKW822.

    Thanks

  7. #7
    tarquel's Avatar
    Join Date
    Jun 2005
    Location
    Powys, Mid-Wales, UK
    Posts
    1,740
    Thank Post
    13
    Thanked 45 Times in 35 Posts
    Rep Power
    29
    You can configure Task Sequence variables in the Task Sequence to do this.

    Lets put it another way, how do YOU want it to name the computers?

    The MININT thing is because its being executed from PXE and thus treating it as a bare metal install.

    While I'm only really on the angle of SCCM with MDT OS deployment, i believe alot of it is the same - as far as the Task Sequences go - so tell me how you want to name them first i.e. do u want it to auto take the Asset Tag or Service Tag [if Dell], do you want it so you can type the name in yourself, etc etc?

    Cheers

  8. #8

    Join Date
    Dec 2009
    Location
    London
    Posts
    16
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Well, if the machine is not known to the domain a generic name such as MININT.... is fine as I can choose to rename it either there and then or in windows. What I would like is for the computer name to be set to whatever it is known as in AD. To do this though a query would need to run against the AD- perhaps looking at the objectGUID (netbootGUID was what RIS used to use if I have this right).
    I'm basically used to how RIS did things and want to try and replicate this as. Unless I am missing something really obvious- which is always possible.
    Thanks

  9. #9
    tarquel's Avatar
    Join Date
    Jun 2005
    Location
    Powys, Mid-Wales, UK
    Posts
    1,740
    Thank Post
    13
    Thanked 45 Times in 35 Posts
    Rep Power
    29
    I havent personally got it to "look up" its own name when deploying via MDT/SCCM but certainly sounds good if its possible. I know that if you script the joining using the Task Sequence, it will auto use the same computer object in AD etc i.e. no duplicates, at least, it works for us

    What I'm aiming to do is to use the Asset Tag [NOT Service Tag] of a machine (we use Dell) and have that populate the computer name automatically. Currently, it isnt used so I'd have it go something like this:

    - Pre selection of Task Sequence, check the asset tag and replace the computername variable with this
    - If correct, then the techie performing the deployment doesnt need to alter it, but if it hasnt been set yet, then they can correct this to what it should be
    - During the Task Sequence deployment of the OS, it writes back the chosen computername into the BIOS of that machine (so its set for a future time)

    Unfortunately, Dell's tool isnt the easiest (i.e. seems in some way to have to be installed / added to the Boot Image) so I cant just roll out a update to all machines with a script that auto places their computername into the BIOS of their machine

    At least.... I dont *think* i can

    Anyhow, thats just an example of what I'm aiming to do, and as I say, when the Task Sequence joins the machine to the domain, and uses this computername, if it already exists, that object is used so theres no error or duplicate errors (at least I havent seen any), which isnt like RIS that would [rightly] moan if you were trying to add a computer that already exists in AD. MDT seems to handle it better, or at least, SCCM with MDT does at any rate.

  10. #10
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    54
    I used the guide here Deploying Windows 7 - Part 1: Windows AIK 2.0 Enhancements and I'm using the MDT Database to name computers. Had spiceworks to export the mac addresses though so that made it a bit easier. If you have the mac addresses of the clients though this is really easy to do and I've managed to get a fully automated install with this

  11. #11

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35
    I know this thread related to MDT, which I don't use as it appears to be overly complicated, but I have computer names pulled from AD. This may be somewhat applicable to you MDT users.

    I use plain WDS with the standard windows 7 boot.wim and install.wim, to this I attach an unattend file which contains amongst other things the following.
    Code:
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
            <RegisteredOrganization>My School</RegisteredOrganization>
            <RegisteredOwner>My Dept</RegisteredOwner>
            <TimeZone>GMT Standard Time</TimeZone>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
            <ProductKey>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</ProductKey>
            <ComputerName>%MACHINENAME%</ComputerName>
        </component>
    </settings>
    On the WDS server's properties, under PXE Response I have:
    Respond to all client computers (and require approval)
    Under AD DS I have:
    Computer Account Location set to a custom OU for newly built computers.

    To build a fresh machine, I boot it via PXE, whereby it waits until it is authorised on the WDS server. I use the Name and Approve option which will assign a new computer account to that designated computer name with the corresponding computer GUID on the AD remote install tab. During the sysprep phase of install, the computername is pulled from AD via the %machinename% variable.

    Subsequent reinstalls do not require naming or approving and will again pull the corresponding computer name via AD.

    Apologies for the long winded reply, I just thought an overview was important.

    Matt

  12. #12

    Join Date
    Dec 2009
    Location
    London
    Posts
    16
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Matt- thanks, it has made me think that what I want to do with MDT/Deployment Workbench is not possible at least not without some third party modifications. I'm considering just going back to use WDS as it will do what I've asked (very similar to RIS).

    I'd like to here from other members on what configuration they use, specifically with naming when use MDT/WorkBench/Lite Touch

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. Win7, WAIK and Computer Naming
    By timbo343 in forum Windows 7
    Replies: 13
    Last Post: 4th February 2011, 11:23 AM
  2. [Fog] Computer naming problems after ghosting
    By Chad_Brad in forum O/S Deployment
    Replies: 4
    Last Post: 14th September 2010, 03:33 PM
  3. Computer Spec. for Photoshop work
    By kennysarmy in forum Hardware
    Replies: 0
    Last Post: 8th July 2010, 09:49 PM
  4. Computer Buddies! (Volunteer work | Kent)
    By Anon in forum Educational IT Jobs
    Replies: 0
    Last Post: 16th February 2009, 09:42 AM
  5. Replies: 7
    Last Post: 14th December 2007, 10:38 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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