+ Post New Thread
Results 1 to 11 of 11
Windows 7 Thread, Deploying Windows 7 through WDS - Prompt for PC name in Technical; Afternoon all, Just a quick one. Believe it or not I've got a fully prepped windows 7 image that I've ...
  1. #1

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39

    Deploying Windows 7 through WDS - Prompt for PC name

    Afternoon all,

    Just a quick one.

    Believe it or not I've got a fully prepped windows 7 image that I've managed to capture and I am able to roll out as I require.

    There's just one or two niceties that I'd like to add to the image to make our lives easier when it comes to actually doing the full rollout.

    Bascially, I'd like to get it so that WDS prompts me for a computer name prior to adding it to the network. Has anyone else managed to achieve this?

  2. #2

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    35
    We pre-stage the accounts in active directory.

    In practicality this means that we boot a new machine to the WDS server, where it waits for authorisation and us to allocate a name to the computers's guid. Using %machinename% in the unattend file will pull the name from AD. Initial builds are a bit more complicated but rebuilds are a snap.

    I know it's not exactly what you were looking for but it's the nearest we could work out and I like it.

    Matt

  3. Thanks to saundersmatt from:

    Iain.Faulkner (14th July 2010)

  4. #3


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    8,893
    Thank Post
    226
    Thanked 2,673 Times in 1,971 Posts
    Rep Power
    786
    I think all you need to do is completely remove the line below from the specialize pass in your unattend.xml file (as shown here).

    Code:
    <ComputerName></ComputerName>

  5. Thanks to Arthur from:

    Iain.Faulkner (14th July 2010)

  6. #4

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,660
    Thank Post
    859
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Change your WDS Server's PXE settings to prompt for administrator approval for all known and unknown PCs
    This will then generate a request ID when the PC is booted via F12

    name and approve the PC in WDS via the pending devices container....

  7. Thanks to Gatt from:

    Iain.Faulkner (14th July 2010)

  8. #5

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39
    Quote Originally Posted by Gatt View Post
    Change your WDS Server's PXE settings to prompt for administrator approval for all known and unknown PCs
    This will then generate a request ID when the PC is booted via F12

    name and approve the PC in WDS via the pending devices container....
    Hi Gatt,

    Just trying your approach to this, set it up to prompt for approval which it does successfully and assigns the PC a request ID. However, when I try to name and approve the PC in WDS I get an error (which I failed to write down infuriatingly!

    Now, when I try and reboot the PC back into WDS it fails :-(

    Is this something you've seen before?

  9. #6

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39
    Quote Originally Posted by Arthur View Post
    I think all you need to do is completely remove the line below from the specialize pass in your unattend.xml file (as shown here).

    Code:
    <ComputerName></ComputerName>
    Hi Arthur,

    I've already tried this (having used that particular blog as part of my build process :-) ), and it doesn't pick it up. I wonder if it's actually ignoring my answer file completely.....

  10. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,660
    Thank Post
    859
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    Quote Originally Posted by Iain.Faulkner View Post
    Hi Gatt,

    Just trying your approach to this, set it up to prompt for approval which it does successfully and assigns the PC a request ID. However, when I try to name and approve the PC in WDS I get an error (which I failed to write down infuriatingly!

    Now, when I try and reboot the PC back into WDS it fails :-(

    Is this something you've seen before?
    Not had that issue no - unless its a PC that already exists in AD or the name format is wrong...
    There is a WDSUTIL cmdlet to flush the WDS Pending Devices DB which soundsl ike the problem you now have...

  11. #8

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,660
    Thank Post
    859
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    here it is - WDSUTIL /delete-AutoAddDevices /devicetype:ApprovedDevices

  12. #9

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39
    Hi Gatt,

    Solved the initial problem, it appears I had to allow the WDS Server to create the computer within the specified OU.

    Still struggling the the second bit, the Computer is clearly "Known" to WDS and as such won't treat it as "Unknown" (makes sense) where it would then prompt for the PC username to be entered and approved. Any idea how I make this computer "Unknown" to WDS. I've tried the command you sent through previously but that hasn't resolved it.

  13. #10

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,660
    Thank Post
    859
    Thanked 646 Times in 429 Posts
    Rep Power
    498

  14. Thanks to Gatt from:

    Iain.Faulkner (14th July 2010)

  15. #11

    Join Date
    Feb 2007
    Location
    Stockport
    Posts
    853
    Thank Post
    258
    Thanked 105 Times in 81 Posts
    Rep Power
    39
    That's awesome, now working perfectly :-)

    Thanks again Gatt

SHARE:
+ Post New Thread

Similar Threads

  1. Deploying W7 with WDS - ignores unattend file
    By GoldenWonder in forum Windows 7
    Replies: 22
    Last Post: 12th February 2011, 05:14 PM
  2. [SCCM 2007] Deploying Windows 7 and BitLocker
    By Ric_ in forum O/S Deployment
    Replies: 4
    Last Post: 23rd June 2010, 07:52 PM
  3. [Windows Software] Deploying Windows XP VM
    By albertwt in forum Licensing Questions
    Replies: 5
    Last Post: 5th April 2010, 08:29 AM
  4. WDS or MDT & Deploying W7
    By djh in forum Windows 7
    Replies: 20
    Last Post: 15th March 2010, 12:21 PM
  5. [Windows Software] Deploying Windows 7 COmpanywide (50 PC)
    By albertwt in forum Licensing Questions
    Replies: 8
    Last Post: 10th February 2010, 12:26 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
  •