WikiStart: Unattend_UCOAPPS5X.xml

File Unattend_UCOAPPS5X.xml, 10.6 KB (added by miriam, 7 años ago)

Fichero sysprep para los UCOAPPS

Línea 
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Plantilla del fichero unattend.xml para hace el sysprep de las máquinas UCOAPPS
4    Hay dos parámetros que se introducen en el primer formulario "Inital Run->Use Cloud-Init/Syspre" de las propiedades del pool/maquina
5   
6         1.- IP fija de la máquina en el campo "Domain"
7         2.- Product Key en el campo "Organization name"
8         
9    Todos los demás parámetros están incluidos en la plantilla por defecto
10-->
11<unattend xmlns="urn:schemas-microsoft-com:unattend">
12    <settings pass="specialize">
13        <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">
14            <ComputerName><![CDATA[$ComputerName$]]></ComputerName>
15            <RegisteredOrganization>Universidad de Cordoba</RegisteredOrganization>
16            <RegisteredOwner>User</RegisteredOwner>
17            <ProductKey><![CDATA[$OrgName$]]></ProductKey>
18        </component>
19         <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">
20            <Interfaces>
21                <Interface wcm:action="add">
22                    <Ipv4Settings>
23                        <DhcpEnabled>false</DhcpEnabled> 
24                        <Metric>10</Metric> 
25                        <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
26                    </Ipv4Settings>
27                    <Ipv6Settings>
28                        <DhcpEnabled>false</DhcpEnabled> 
29                        <Metric>30</Metric> 
30                        <RouterDiscoveryEnabled>false</RouterDiscoveryEnabled> 
31                    </Ipv6Settings>
32                    <Identifier>Ethernet</Identifier>
33                    <UnicastIpAddresses>
34                        <IpAddress wcm:action="add" wcm:keyValue="1"><![CDATA[$JoinDomain$/24]]></IpAddress>
35                    </UnicastIpAddresses>
36                    <Routes>
37                        <Route wcm:action="add">
38                            <Identifier>1</Identifier> 
39                            <Metric>10</Metric> 
40                            <NextHopAddress>150.214.110.1</NextHopAddress> 
41                            <Prefix>0.0.0.0/0</Prefix> 
42                        </Route>
43                    </Routes>
44                </Interface>
45            </Interfaces>
46        </component>
47        <component name="Microsoft-Windows-DNS-Client" 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">
48            <DNSDomain>uco.es</DNSDomain>
49            <DNSSuffixSearchOrder>
50                <DomainName wcm:action="add" wcm:keyValue="1">uco.es</DomainName>
51                <DomainName wcm:action="add" wcm:keyValue="2">priv.uco.es</DomainName>
52            </DNSSuffixSearchOrder>
53            <UseDomainNameDevolution>false</UseDomainNameDevolution>
54            <Interfaces>
55                <Interface wcm:action="add">
56                    <Identifier>Ethernet</Identifier>
57                    <DNSDomain>uco.es</DNSDomain>
58                    <DNSServerSearchOrder>
59                        <IpAddress wcm:action="add" wcm:keyValue="1">172.16.129.3</IpAddress>
60                        <IpAddress wcm:action="add" wcm:keyValue="2">150.214.110.3</IpAddress>
61                    </DNSServerSearchOrder>
62                    <EnableAdapterDomainNameRegistration>false</EnableAdapterDomainNameRegistration>
63                    <DisableDynamicUpdate>false</DisableDynamicUpdate>
64                </Interface>
65            </Interfaces>
66        </component>       
67        <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">
68            <Identification>
69                <UnsecureJoin>false</UnsecureJoin>
70                <Credentials>
71                    <Domain>uco.es</Domain>
72                    <Password>c100cpb</Password>
73                    <Username>Administrador</Username>
74                </Credentials>
75                <DebugJoin>true</DebugJoin>
76                <JoinDomain>uco.es</JoinDomain>
77                <MachineObjectOU>OU=UCOAPPS,OU=UCOGRANJA2016,DC=uco,DC=es</MachineObjectOU>
78            </Identification>
79        </component>
80        <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
81            <fDenyTSConnections>false</fDenyTSConnections>
82        </component>
83        <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">
84            <RunSynchronous>
85               <RunSynchronousCommand wcm:action="add">
86                    <Order>1</Order>
87                    <Path>cmd /C mkdir C:\Windows\Setup\Scripts</Path>
88                    <WillReboot>Never</WillReboot>
89               </RunSynchronousCommand>
90               <RunSynchronousCommand wcm:action="add">
91                    <Order>2</Order>
92                    <Path>cmd /C echo dsmod group "CN=ServidoresXenApp,OU=UCOAPPS,OU=UCOGRANJA2016,DC=uco,DC=es" -addmbr "CN=<![CDATA[$ComputerName$]]>,OU=UCOAPPS,OU=UCOGRANJA2016,DC=uco,DC=es" -u Administrador -p c100cpb > C:\Windows\Setup\Scripts\SetupComplete.cmd</Path>
93                    <WillReboot>Never</WillReboot>
94                </RunSynchronousCommand>
95                <RunSynchronousCommand wcm:action="add">
96                    <Order>3</Order>
97                    <Path>cmd /C echo net localgroup "Usuarios de escritorio remoto" UCO\ACCESORDP /add >> C:\Windows\Setup\Scripts\SetupComplete.cmd</Path>
98                    <WillReboot>Never</WillReboot>
99                </RunSynchronousCommand>
100                <RunSynchronousCommand wcm:action="add">
101                    <Order>4</Order>
102                    <Path>cmd /C echo shutdown -r >> C:\Windows\Setup\Scripts\SetupComplete.cmd</Path>
103                    <WillReboot>Never</WillReboot>
104                </RunSynchronousCommand>
105                <RunSynchronousCommand wcm:action="add">
106                    <Order>5</Order>
107                    <Path>cmd /C echo del C:\Windows\Setup\Scripts\SetupComplete.cmd >> C:\Windows\Setup\Scripts\SetupComplete.cmd</Path>
108                    <WillReboot>Never</WillReboot>
109                </RunSynchronousCommand>
110            </RunSynchronous>
111        </component>
112    </settings> 
113    <settings pass="oobeSystem">
114        <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" 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">
115            <HKLMProxyEnable>false</HKLMProxyEnable>
116        </component>
117        <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">
118            <InputLocale>es</InputLocale>
119            <SystemLocale>es</SystemLocale>
120            <UILanguage>es</UILanguage>
121            <UILanguageFallback>en-US</UILanguageFallback>
122            <UserLocale>es</UserLocale>
123        </component>
124        <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">
125            <Display>
126                <ColorDepth>32</ColorDepth>
127                <HorizontalResolution>1024</HorizontalResolution>
128                <RefreshRate>75</RefreshRate>
129                <VerticalResolution>768</VerticalResolution>
130            </Display>
131            <OOBE>
132                <HideEULAPage>true</HideEULAPage>
133                <SkipUserOOBE>true</SkipUserOOBE>
134            </OOBE>
135            <UserAccounts>
136                <AdministratorPassword>
137                    <Value>c100cpb</Value>
138                    <PlainText>true</PlainText>
139                </AdministratorPassword>
140            </UserAccounts>
141            <RegisteredOrganization>Universidad de Cordoba</RegisteredOrganization>
142            <RegisteredOwner>User</RegisteredOwner>
143            <TimeZone>Central Europe Standard Time</TimeZone>
144        </component>
145    </settings>
146    <settings pass="windowsPE">
147        <component name="Microsoft-Windows-International-Core-WinPE" 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">
148            <SetupUILanguage>
149                <UILanguage>es</UILanguage>
150            </SetupUILanguage>
151            <InputLocale>es</InputLocale>
152            <UILanguage>es</UILanguage>
153            <SystemLocale>es</SystemLocale>
154            <UILanguageFallback>en-US</UILanguageFallback>
155            <UserLocale>es</UserLocale>
156        </component>
157        <component name="Microsoft-Windows-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">
158            <UserData>
159                <AcceptEula>true</AcceptEula>
160                <Organization>Universidad de Cordoba</Organization>
161                <FullName>User</FullName>
162            </UserData>
163        </component>
164    </settings>
165    <cpi:offlineImage cpi:source="catalog://catalogs/windows2012-x86/sources/install_windows longhorn serverenterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
166</unattend>