+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
O/S Deployment Thread, Send me your Unattend.xml file? in Technical; For the unattended on the properties of the wds *server* not the image There are two phases Deploy Image (unattended ...
  1. #16
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    For the unattended on the properties of the wds *server* not the image

    There are two phases

    Deploy Image (unattended from server properties)
    Configure image (unattended from image properties)

    The are similar, but not all properties are available for both phases

  2. #17
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    An example of an image unattended file I've used:

    Code:
    <?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="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <OEMInformation>
                    <Manufacturer>School</Manufacturer>
                    <Model>PC</Model>
                    <SupportURL>https://helpdesk.school</SupportURL>
                    <HelpCustomized>true</HelpCustomized>
                </OEMInformation>
                <WindowsFeatures>
                    <ShowInternetExplorer>true</ShowInternetExplorer>
                    <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
                    <ShowMediaCenter>false</ShowMediaCenter>
                </WindowsFeatures>
                <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
                <ComputerName>%MACHINENAME%</ComputerName>
                <CopyProfile>true</CopyProfile>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>ICT</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>GMT Standard Time</TimeZone>
            </component>
            <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DisableSR>1</DisableSR>
            </component>
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <UnsecureJoin>true</UnsecureJoin>
                </Identification>
            </component>
            <component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DisableAntiSpyware>true</DisableAntiSpyware>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UILanguageFallback>en-GB</UILanguageFallback>
                <UserLocale>en-GB</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <OEMInformation>
                    <Manufacturer>School</Manufacturer>
                    <Model>PC</Model>
                    <SupportURL>https://helpdesk.school</SupportURL>
                    <HelpCustomized>true</HelpCustomized>
                </OEMInformation>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <UserAccounts>
                    <DomainAccounts>
                        <DomainAccountList wcm:action="add">
                            <DomainAccount wcm:action="add">
                                <Group>Administrators</Group>
                                <Name>SysAdmin Users</Name>
                            </DomainAccount>
                            <Domain>domain.name</Domain>
                        </DomainAccountList>
                    </DomainAccounts>
                </UserAccounts>
                <VisualEffects>
                    <FontSmoothing>ClearType</FontSmoothing>
                </VisualEffects>
                <WindowsFeatures>
                    <ShowInternetExplorer>true</ShowInternetExplorer>
                    <ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
                    <ShowMediaCenter>true</ShowMediaCenter>
                </WindowsFeatures>
                <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <RegisteredOrganization>School</RegisteredOrganization>
                <RegisteredOwner>ICT</RegisteredOwner>
                <ShowWindowsLive>false</ShowWindowsLive>
                <TimeZone>GMT Standard Time</TimeZone>
                <AutoLogon>
                    <Password>
                        <Value>encrypted pass here</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>1</LogonCount>
                    <Username>Administrator</Username>
                </AutoLogon>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>rundll32.exe user32.dll, LockWorkStation</CommandLine>
                        <Description>Lock Machine</Description>
                        <Order>1</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>shutdown /r /t 300</CommandLine>
                        <Description>Shutdown</Description>
                        <Order>2</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>net user administrator /active:no</CommandLine>
                        <Description>Disable Admin Account</Description>
                        <Order>3</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>%ProgramFiles%\Adobe\Adobe Photoshop CS4\Photoshop.exe</CommandLine>
                        <Description>Activate Adobe</Description>
                        <Order>4</Order>
                        <RequiresUserInput>false</RequiresUserInput>
                    </SynchronousCommand>
                </FirstLogonCommands>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="catalog://agamemnon/vsources/install_windows 7 enterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  3. #18
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,300
    Thank Post
    52
    Thanked 168 Times in 148 Posts
    Rep Power
    49
    Quote Originally Posted by DMcCoy View Post
    For the unattended on the properties of the wds *server* not the image

    There are two phases

    Deploy Image (unattended from server properties)
    Configure image (unattended from image properties)

    The are similar, but not all properties are available for both phases
    I see! OK, ill give these a go, thanks!

  4. #19
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    FYI You can only have *ONE* server default unattended file which picks the image and deploys automatically. However if you prestage the machines, you can pick another unattended file with different image settings:

    Code:
    wdsutil /Add-Device /Device:L1120 /ID:001CC0693380 /ReferralServer:10.0.8.1 /WdsClientUnattend:WdsClientUnattend\Staff.xml /User:DOMAIN\WDS /JoinRights:Full /JoinDomain:Yes /OU:"OU=L11,OU=Students,OU=Computers,OU=domain,DC=name,DC=school"
    Once machines are prestaged they will always use that file until the computer object created is deleted. Means you can reimage the next year with an updated image with the same name, with just F12

    Images can all have their own unattended file
    Last edited by DMcCoy; 14th January 2013 at 09:49 PM.

  5. #20
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,300
    Thank Post
    52
    Thanked 168 Times in 148 Posts
    Rep Power
    49
    Actually id prefer to pick the image the normal way on the client, would I just remove the

    <WindowsDeploymentServices>
    <Login>
    <Credentials>
    <Domain>domain.name</Domain>
    <Password>password</Password>
    <Username>WDSUser</Username>
    </Credentials>
    </Login>
    <ImageSelection>
    <InstallImage>
    <Filename>Student.WIM</Filename>
    <ImageGroup>Student</ImageGroup>
    <ImageName>Student</ImageName>
    </InstallImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>1</PartitionID>
    </InstallTo>
    <WillShowUI>Never</WillShowUI>
    </ImageSelection>
    </WindowsDeploymentServices>

    from the server unnatend?

  6. #21
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,484
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114
    Quote Originally Posted by fairm010 View Post
    Actually id prefer to pick the image the normal way on the client, would I just remove the
    It's all or nothing, pick the image and username/password and partitioning is all manual input. You have to use MDT for anything more flexible.
    Last edited by DMcCoy; 14th January 2013 at 10:21 PM.

  7. #22


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,403
    Thank Post
    242
    Thanked 2,824 Times in 2,083 Posts
    Rep Power
    814
    Quote Originally Posted by DMcCoy View Post
    You have to use MDT for anything more flexible.
    MDT is definitely the way to go. Even Microsoft MVP Johan Arwidmark agrees...

    Yes, I know: Technically you can use plain vanilla Windows Deployment Services (WDS) and ADK to deploy Windows, but that's not a deployment solution. WDS and ADK are only plumbing tools for deployment, not a deployment solution, and MDT 2012 Update 1 will use them in the background anyway. Please do not waste your time trying to build a deployment solution on WDS and ADK, Microsoft has already done it for you: It's named MDT 2012 Update 1! (Source)

  8. #23
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,300
    Thank Post
    52
    Thanked 168 Times in 148 Posts
    Rep Power
    49
    Quote Originally Posted by Arthur View Post
    MDT is definitely the way to go. Even Microsoft MVP Johan Arwidmark agrees...
    Is MDT free? ie is it the same as WDS, just a role on the server? Does it have to be licensed?

  9. #24


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,403
    Thank Post
    242
    Thanked 2,824 Times in 2,083 Posts
    Rep Power
    814
    Quote Originally Posted by fairm010 View Post
    Is MDT free?
    It is free.

    Quote Originally Posted by fairm010 View Post
    is it the same as WDS, just a role on the server?
    You have to download MDT (and the Windows ADK) from Microsoft's website.

    Quote Originally Posted by fairm010 View Post
    Does it have to be licensed?
    No.

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. windows 7 WDS unattend.xml files not working!
    By staylor1972 in forum O/S Deployment
    Replies: 11
    Last Post: 15th February 2011, 11:01 AM
  2. [MS Office - 2007] VERY URGENT - Can Someone Make Me An XML File For Deployment Or Help Please!
    By pritchardavid in forum Office Software
    Replies: 19
    Last Post: 28th January 2010, 09:21 PM
  3. Replies: 7
    Last Post: 23rd January 2007, 12:29 AM
  4. Help with unattended answer file.
    By Kyle in forum Windows
    Replies: 3
    Last Post: 5th November 2006, 06:40 PM
  5. Wireless ... Give me your brains
    By ajbritton in forum Wireless Networks
    Replies: 36
    Last Post: 25th October 2005, 07:47 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
  •