win 7 sysprep

    Results 1 to 8 of 8
    Windows 7 Thread, win 7 sysprep in Technical; ive just altered my normal x64 win 7 sysprep file to try and get it to autojoin a domain but ...
    1. #1


      Join Date
      Mar 2009
      Location
      Leeds
      Posts
      6,588
      Thank Post
      228
      Thanked 856 Times in 735 Posts
      Rep Power
      296

      win 7 sysprep

      ive just altered my normal x64 win 7 sysprep file to try and get it to autojoin a domain but ask for computer name does the following look right (as atm short of sysprepping my home pc/laptop (and i dont have a domain here anyway) does this look right to anyone?
      Code:
      
      
          
              
                  true
                  true
              
          
          
              
                  true
                  true
                  http://www.leedslearning.net
              
              
                  0809:00000809
                  en-GB
                  en-GB
                  en-GB
                  en-GB
              
              
                  false
                  some school
                  some school
                  GMT Standard Time
              
              
                  
                      
                          domain.local
                          password
                          username
                      
                      domain.local
                      ou=staff domained laptops win7x64,dc=domain,dc=local
                  
              
          
          
      

    2. #2
      DMcCoy's Avatar
      Join Date
      Oct 2005
      Location
      Isle of Wight
      Posts
      3,453
      Thank Post
      10
      Thanked 493 Times in 433 Posts
      Rep Power
      111
      You can't ask for a computer name *and* join the domain with the supplied sysprep. You either need to prestage the name or use something like mysysprep2 or script the join in a late stage.

      With the supplied tools, the join will happen BEFORE the computer name is changed. When this is changed in the oobe pass, then the machine account trust from the domain gets broken.

      Microsoft know, they don't care.

    3. Thanks to DMcCoy from:

      sted (1st July 2010)

    4. #3

      Join Date
      Apr 2008
      Location
      Bloomsburg
      Posts
      51
      Thank Post
      14
      Thanked 14 Times in 9 Posts
      Rep Power
      15
      You can actually have it prompt you for a computer name, and then in the oobe System phase run a powershell command to have it join to the domain, all it will ask you is for a valid PW. This is how we are currently setting up our Win7 PC's.

      Code:
      C:\windows\system32\windowspowershell\v1.0\powershell.exe -command "Add-Computer -domainname xxxx -cred xxxx\administrator"

    5. Thanks to ces973 from:

      sted (1st July 2010)

    6. #4


      Join Date
      Mar 2009
      Location
      Leeds
      Posts
      6,588
      Thank Post
      228
      Thanked 856 Times in 735 Posts
      Rep Power
      296
      thanks both its not essential it joins the domain but would be nice although sometimes with win7 ive found if i fore the image out from wds (using my old sysprep file basically the same without the domain bits) it will autoname them username1 and domain it without being asked if only it was consistent lol

    7. #5

      Gatt's Avatar
      Join Date
      Jan 2006
      Posts
      6,659
      Thank Post
      858
      Thanked 646 Times in 429 Posts
      Rep Power
      498
      with WDS, you can set it so that unknown computers must be approved by an administrator
      this generates a Request ID, adds the PC to the Pending Devices container in WDS.. right click the ID and give it the appropriate name, this then creates the AD comptuer account and auto-names the PC during imaging.

      right click servername.domain.local then choose properties then set the PXE Response Tab as shown...

      wds-ad-approval.PNG

      It only does this the once..

      The ONLY caveat I have found is that if you delete a WDS-Staged Computer account, you need to wait 30 days before you can WDS it again, this is something to do with the WDS ID Database not syncing with AD...

    8. #6
      mhundley's Avatar
      Join Date
      Oct 2007
      Location
      Worcester
      Posts
      47
      Thank Post
      11
      Thanked 8 Times in 7 Posts
      Rep Power
      15
      The ONLY caveat I have found is that if you delete a WDS-Staged Computer account, you need to wait 30 days before you can WDS it again
      We had a similar issue and found that by using the following command it will clear things out and WDS will then give the machine an IP address and allow you to continue again.

      WDSUTIL /Delete-AutoAddDevices /DeviceType:ApprovedDevices

    9. #7

      Gatt's Avatar
      Join Date
      Jan 2006
      Posts
      6,659
      Thank Post
      858
      Thanked 646 Times in 429 Posts
      Rep Power
      498
      Doesn't that delete all devices and force them to receive new request IDs ?

    10. #8
      mhundley's Avatar
      Join Date
      Oct 2007
      Location
      Worcester
      Posts
      47
      Thank Post
      11
      Thanked 8 Times in 7 Posts
      Rep Power
      15
      Quite probably, we were looking to continually rebuild a test machine and this was the only way we found to make it work.

      We are still in the learning stage though so any advice will be greatfully recieved, especially if we are committing a huge no no in using that command.

    SHARE:

    Similar Threads

    1. Win 2003 32-bit > Win 2008 R2 64-bit
      By Chuckster in forum Windows Server 2008 R2
      Replies: 10
      Last Post: 18th February 2010, 04:47 PM
    2. Sysprep
      By Chuckster in forum Windows
      Replies: 16
      Last Post: 29th October 2009, 12:05 PM
    3. Sysprep help Please
      By Ste_Harve in forum Windows
      Replies: 25
      Last Post: 31st July 2008, 02:51 PM
    4. Sysprep
      By tosca925 in forum Windows
      Replies: 14
      Last Post: 7th April 2006, 01:53 PM

    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
    •