+ Post New Thread
Results 1 to 14 of 14
O/S Deployment Thread, Win 7 pro 32bit, unattended.xml in Technical; Hello, I'm completely new to being an ICT Technician in school and my Network manager and I are attempting to ...
  1. #1

    Join Date
    Jun 2013
    Location
    Bath
    Posts
    7
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Win 7 pro 32bit, unattended.xml

    Hello, I'm completely new to being an ICT Technician in school and my Network manager and I are attempting to Migrate to Windows 7 Pro 32bit in summer holidays.

    Now i'm trying to create a xml file for every model of laptop, and desktop in our school as we have many types which all support Windows 7, however for now I'm just trying to get one freshly installed version of Windows sysprep'ed to then take an image and store it on a network share.

    However having problems connecting to the school domain with basic settings using a custom xml file and sysprep. The computer does everything else in the unattend.xml file apart from joining the domain. From what I understand it may not join the domain because usually when joining manually it will ask us to restart machines after joining the domain. It does not do this at all.

    Our network is large and we need to make installation quick and simple with minimal input due to the quantity of machines.

    So for now i'm using one laptop to reboot with sysprep and a basic xml file with and using only these methods.

    So first of all heres the xml file, please note I've changed any confidential information and put in fake details in to protect the network:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <RegisteredOrganization>The School</RegisteredOrganization>
    <RegisteredOwner>ICT</RegisteredOwner>
    <ShowWindowsLive>false</ShowWindowsLive>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Identification>
    <Credentials>
    <Domain>Domain name</Domain>
    <Password>domain password</Password>
    <Username>administrator</Username>
    </Credentials>
    <UnsecureJoin>false</UnsecureJoin>
    <JoinDomain>Domain name</JoinDomain>
    <MachineObjectOU>ldap string</MachineObjectOU>
    </Identification>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="Error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>password</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>password</Value>
    <PlainText>false</PlainText>
    </Password>
    <DisplayName>Support</DisplayName>
    <Name>Support</Name>
    <Group>Administrators</Group>
    </LocalAccount>
    </LocalAccounts>
    <DomainAccounts>
    <DomainAccountList wcm:action="add">
    <Domain>domain name</Domain>
    <DomainAccount wcm:action="add">
    <Group>Administrators</Group>
    <Name>Domain Admins</Name>
    </DomainAccount>
    </DomainAccountList>
    </DomainAccounts>
    </UserAccounts>
    <RegisteredOrganization>School name</RegisteredOrganization>
    <RegisteredOwner>ICT</RegisteredOwner>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>Greenwich Mean Time</TimeZone>
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1400</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>1050</VerticalResolution>
    </Display>
    </component>
    </settings>
    <cpifflineImage cpi:source="al.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    The sysprep command I use is: sysprep /generalize /oobe /reboot /unattend:c:\6715b.xml

    Hopefully someone can help

    Thanks.
    Last edited by asheppard1; 18th June 2013 at 03:49 PM.

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,814
    Thank Post
    231
    Thanked 888 Times in 763 Posts
    Rep Power
    301
    i wouldnt bother id look at mdt "one image to rule them all" just fill it full of drivers and let it go

  3. #3

    Join Date
    Jun 2013
    Location
    Bath
    Posts
    7
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Is it just not possible?

  4. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,814
    Thank Post
    231
    Thanked 888 Times in 763 Posts
    Rep Power
    301
    Quote Originally Posted by asheppard1 View Post
    Is it just not possible?
    to create a per machine type image for every pc you can do it its just a lot of work that you can avoid. Set up base image as you want on a vm, snaphot,capture into mdt fire out to owt and it picks the right driver less time less storage space and easier to keep up to date

  5. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,266
    Thank Post
    242
    Thanked 1,575 Times in 1,254 Posts
    Rep Power
    341
    You can inject Win 7 drivers in bulk using the pnputil.exe tool (built in Win 7).

    I normally create a directory labelled C:\Drivers then sub folders containing all the extracted driver files.

    Microsoft PnP Utility
    Usage:
    ------
    pnputil.exe [-f | -i] [ -? | -a | -d | -e ] <INF name>
    Examples:
    pnputil.exe -a a:\usbcam\USBCAM.INF -> Add package specified by USBCAM.INF
    pnputil.exe -a c:\drivers\*.inf -> Add all packages in c:\drivers\
    pnputil.exe -i -a a:\usbcam\USBCAM.INF -> Add and install driver package
    pnputil.exe -e -> Enumerate all 3rd party packages
    pnputil.exe -d oem0.inf -> Delete package oem0.inf
    pnputil.exe -f -d oem0.inf -> Force delete package oem0.inf
    pnputil.exe -? -> This usage screen
    Once Sysprep has run, devices will have drivers installed automatically as the pnputil.exe updates Win 7 own driver store.

  6. #6

    Join Date
    Sep 2011
    Posts
    63
    Thank Post
    9
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    Id 100% use the MDT to do this.

    You can do very easy driver deployment with the MDT which is why it is so desirable for your situation.

    Using Windows SIM (System Image manager) will also help with making the XML if your not using at the moment.

    Just reading through your stuff and saw <JoinDomain>abbeyfield.sch.uk</JoinDomain> to me this seems funny. i am lead to believe this is wrong from what i know, but could be right. to double check go onto active directory users and computers and at the top of the tree should be like something in the format of <domain.name> for example my home one i use for learning stuff is "JOE.Internal" i think this is what is causing your issues but i may be wrong.

    personally i ALWAYS remove all of these form every XML file:
    <Display>
    <ColorDepth>32</ColorDepth>
    <HorizontalResolution>1400</HorizontalResolution>
    <RefreshRate>60</RefreshRate>
    <VerticalResolution>1050</VerticalResolution>
    </Display>

    Also for testing purposes might be worth taking out
    <MachineObjectOU>ldap string</MachineObjectOU> just to see if it adds it to the root of the domain (in the "Computers" Folder) or if your using the MDT you can prename a computer object and it will force join the domain over the top of the computer.

    Thanks
    Joe

    EDIT. just thought. If your computer has RSAT installed and your on windows 7 / 8 you could open powershell and run this:
    import-module activedirectory
    get-adcomputer $ENV:Computername -property * | select-object DistinguishedName

    the output from the second will give you a long thing like,
    CN=CompName,OU=StudentPCs,OU=Silly,DC=abbyfield,DC =sch

    the ones that are DC= are your domain name. so for the example above your it would look like.
    <JoinDomain>abbyfield.sch</JoinDomain>

    Hope that helps.
    Last edited by jugglerjoe; 18th June 2013 at 03:06 PM.

  7. #7

    Join Date
    Jun 2013
    Location
    Bath
    Posts
    7
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks for your help. I checked our Domain in AD and this information is correct but haven't tried using the ldap structure i.e. ou=,dc=,dc - etc We're looking into MDT right now...

  8. #8

    Join Date
    Sep 2011
    Posts
    63
    Thank Post
    9
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    IF you have the time to set it up id totally recommend it, even if youy use SCCM or whatever the MDT add on is still good :P

  9. #9
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    49
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Just use MDT and WDS. I used it in my school and it's perfect. You have one golden image that you push on all your client and that's it. It takes about a week to install MDT and configure it properly with all the settings you like. If you need help ask.

  10. #10

    Join Date
    Jun 2013
    Location
    Bath
    Posts
    7
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Originally we were going to just use the xml file and ghost the final image with FOG or Symantec's Ghosting imaging software?

  11. #11
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    49
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by asheppard1 View Post
    Originally we were going to just use the xml file and ghost the final image with FOG or Symantec's Ghosting imaging software?

    I'm not sure it's going to work but it's worth a go.

  12. #12

    Join Date
    Aug 2012
    Posts
    36
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    5
    WDS and add the drivers to the wds server - you can set groups of drivers for hardware type or Motherboard ID (there are other options like vendor etc) really easy and simple

  13. #13
    steewy's Avatar
    Join Date
    Jan 2013
    Location
    Guildford
    Posts
    49
    Thank Post
    1
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by bshingler View Post
    WDS and add the drivers to the wds server - you can set groups of drivers for hardware type or Motherboard ID (there are other options like vendor etc) really easy and simple
    Definitely the way to go. It's easy to add groups of drivers enven X86 and X64. I was using Ghost Cast Console before and MDT is much quicker and easier to use.

  14. #14

    Join Date
    Sep 2011
    Posts
    63
    Thank Post
    9
    Thanked 8 Times in 8 Posts
    Rep Power
    15
    +1 to steewy and bshingler

    you can do custom driver dpeloyment with the MDT which is why i like it. requires some forward organising but its fairly simple, see here

SHARE:
+ Post New Thread

Similar Threads

  1. win 7 64bit unattend.xml
    By paulhowes in forum O/S Deployment
    Replies: 0
    Last Post: 17th July 2012, 11:59 PM
  2. [MDT] unattend.xml
    By garethedmondson in forum O/S Deployment
    Replies: 8
    Last Post: 28th November 2011, 02:38 PM
  3. [WDS] Win 7 unattend.xml help
    By Ste_Harve in forum O/S Deployment
    Replies: 5
    Last Post: 1st February 2010, 01:51 PM
  4. Replies: 1
    Last Post: 30th November 2009, 10:52 AM
  5. WDS - Unattended.xml has anyone got one?
    By Dos_Box in forum Windows Server 2008
    Replies: 2
    Last Post: 20th February 2008, 03:49 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
  •