Jump to content

I need help with my ImageUnattend.xml


Recommended Posts

Hello,

I am having a hard time trying to install applications via my WDS server. I have no problems whatsoever in installing, capturing and deploying images but somehow so far I have not been able to install applications during an unattended instalation of Windows 7 x64.

I have the applications in the same server share as the images and I am trying to run Synchronous Commands to do silent instalations of Acrobat Reader and SQL Server Express 2008. The commands syntax is correct but I had no sucess.

I tried running the commands in the deployments stage but I always got an error. Now I am trying to run them in the audit stage but so far I achieved nothing; the OS install perfectly but none of the applications will.

I have to admit that I don't fully understand the audit passes but I believe this is possible.

So far I have been doing this using VMware with a Win2K8 R2 server as WDS server but I really want to do this in the production scenario

This is my ImageUnattend.xml:

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>*</ComputerName>

<RegisteredOrganization>X Corp</RegisteredOrganization>

<RegisteredOwner>XXX</RegisteredOwner>

</component>

<component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Interfaces>

<Interface>

<Ipv4Settings>

<DhcpEnabled>true</DhcpEnabled>

</Ipv4Settings>

<Ipv6Settings>

<DhcpEnabled>true</DhcpEnabled>

</Ipv6Settings>

<Identifier>Local Area Connection</Identifier>

</Interface>

</Interfaces>

</component>

<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" 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>

<Credentials>

<Domain>x.corp.local</Domain>

<Password>Pass</Password>

<Username>Administrator</Username>

</Credentials>

<JoinDomain>x.corp.local</JoinDomain>

</Identification>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<UserAccounts>

<AdministratorPassword>

<Value>QQBrAGUAbgBhAHQAbwBuAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</AdministratorPassword>

</UserAccounts>

<RegisteredOrganization>X Corporation</RegisteredOrganization>

<RegisteredOwner>XXX</RegisteredOwner>

</component>

<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" 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>pt-pt</InputLocale>

<UILanguage>en-US</UILanguage>

<UserLocale>pt-pt</UserLocale>

<SystemLocale>pt-pt</SystemLocale>

</component>

</settings>

<settings pass="offlineServicing">

<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<EnableLUA>false</EnableLUA>

</component>

</settings>

<settings pass="auditSystem">

<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Reseal>

<Mode>OOBE</Mode>

</Reseal>

</component>

</settings>

<settings pass="auditUser">

<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<RunSynchronous>

<RunSynchronousCommand>

<Credentials>

<Domain>x.corp.local</Domain>

<Password>Pass</Password>

<Username>Administrator</Username>

</Credentials>

<Path>\\NAT-SRVW2K8-DC1\REMINST\sql-2008-express.cmd</Path>

<Description>SQL Server 2008 Express</Description>

<Order>1</Order>

</RunSynchronousCommand>

<RunSynchronousCommand>

<Credentials>

<Domain>x.corp.local</Domain>

<Password>Pass</Password>

<Username>Administrator</Username>

</Credentials>

<Description>Adobe Reader</Description>

<Order>2</Order>

<Path>\\NAT-SRVW2K8-DC1\REMINST\"AdbeRdr910_en_US.exe /sALL /rs /msi /qn"</Path>

</RunSynchronousCommand>

</RunSynchronous>

</component>

</settings>

<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

What am I doing wrong? Any ideas?

Any help will be greatly appreciated.

Thank you

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...