<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unattend &#8211; Haikos Blog</title>
	<atom:link href="https://www.hertes.net/tag/unattend/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.hertes.net</link>
	<description>Blog von Haiko Hertes zu allen Themen rund um Microsoft, Cloud und Datacenter</description>
	<lastBuildDate>Wed, 27 Apr 2016 17:13:50 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>SCCM 2012 R2: Office 2013 (und andere) automatisiert ausrollen</title>
		<link>https://www.hertes.net/2015/07/sccm-2012-r2-office-2013-und-andere-automatisiert-ausrollen/</link>
					<comments>https://www.hertes.net/2015/07/sccm-2012-r2-office-2013-und-andere-automatisiert-ausrollen/#comments</comments>
		
		<dc:creator><![CDATA[Haiko]]></dc:creator>
		<pubDate>Sun, 05 Jul 2015 20:53:42 +0000</pubDate>
				<category><![CDATA[System Center]]></category>
		<category><![CDATA[System Center Configuration Manager]]></category>
		<category><![CDATA[Automatisierung]]></category>
		<category><![CDATA[Configuration Manager]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[MSI]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[Office 2013]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[unattend]]></category>
		<guid isPermaLink="false">http://www.hertes.net/?p=2932</guid>

					<description><![CDATA[Will man Office 2013 (oder eine andere Version) über den System Center Configuration Manager 2012 R2 (oder auch ältere Versionen) automatisch und ohne Benutzerinteraktion installieren, so bedarf es ein paar kleiner Kniffe. Den gesamten Ablauf, wie hier vorzugehen ist, möchte ich im Folgen aufzeigen. Wichtig ist, dass man als Quelle eine Volumenlizenz-DVD benötigt. Diese erkennt man am “admin”-Ordner auf der DVD im Stammverzeichnis. Vorbereiten der automatisierten Installation Zunächst muss der Inhalt der Office 2013 DVD auf ein freigegebenes Verzeichnis kopiert werden, in meinem Fall der Ordner “Sources”, welcher auf dem SCCM-Standalone-Server existiert und als “\SOURCES” freigegeben ist: Anschließend wird das&#8230;]]></description>
										<content:encoded><![CDATA[<p>Will man Office 2013 (oder eine andere Version) über den System Center Configuration Manager 2012 R2 (oder auch ältere Versionen) automatisch und ohne Benutzerinteraktion installieren, so bedarf es ein paar kleiner Kniffe. </p>
<p>Den gesamten Ablauf, wie hier vorzugehen ist, möchte ich im Folgen aufzeigen. Wichtig ist, dass man als Quelle eine Volumenlizenz-DVD benötigt. Diese erkennt man am “admin”-Ordner auf der DVD im Stammverzeichnis.</p>
<h2>Vorbereiten der automatisierten Installation</h2>
<p>Zunächst muss der Inhalt der Office 2013 DVD auf ein freigegebenes Verzeichnis kopiert werden, in meinem Fall der Ordner “Sources”, welcher auf dem SCCM-Standalone-Server existiert und als “\SOURCES” freigegeben ist:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office1.png"><img fetchpriority="high" decoding="async" title="office1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office1" src="https://www.hertes.net/wp-content/uploads/2015/07/office1_thumb.png" width="644" height="382" /></a></p>
<p>Anschließend wird das “Microsoft Office-Anpassungstool” (engl.: “Office Customization Tool”) über den Aufruf der setup.exe mit Parameter gestartet:</p>
<blockquote>
<p>setup.exe /admin</p>
</blockquote>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office2.png"><img decoding="async" title="office2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office2" src="https://www.hertes.net/wp-content/uploads/2015/07/office2_thumb.png" width="404" height="257" /></a></p>
<p>Hier wird nun eine neue Setupanpassungsdatei erstellt:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office3.png"><img decoding="async" title="office3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office3" src="https://www.hertes.net/wp-content/uploads/2015/07/office3_thumb.png" width="644" height="372" /></a></p>
<p>Außerdem lässt sich das künftige Office-Dateiformat wählen:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office3b.png"><img loading="lazy" decoding="async" title="office3b" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office3b" src="https://www.hertes.net/wp-content/uploads/2015/07/office3b_thumb.png" width="424" height="484" /></a></p>
<p>Nun können diverse Anpassungen am künftigen Setup gemacht werden. Zu Beginn kann man z.B. die Unternehmensdaten hinterlegen:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office4a.png"><img loading="lazy" decoding="async" title="office4a" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office4a" src="https://www.hertes.net/wp-content/uploads/2015/07/office4a_thumb.png" width="644" height="372" /></a></p>
<p>Außerdem muss die Lizenzierung sowie das Verhalten der Benutzeroberfläche festgelegt werden:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office4b.png"><img loading="lazy" decoding="async" title="office4b" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office4b" src="https://www.hertes.net/wp-content/uploads/2015/07/office4b_thumb.png" width="644" height="372" /></a></p>
<p>Hier wird dem Lizenzvertrag zugestimmt, die Anzeigeebene auf “Grundlegend” gestellt sowie die beiden unteren Checkboxen angewählt und die obere Checkbox abgewählt.</p>
<p>In den Setup-Eigenschaften wird noch mit einer neuen Eigenschaft “SETUP_REBOOT” und deren Wert “Never” ein Neustart nach dem Setup unterdrückt:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office5.png"><img loading="lazy" decoding="async" title="office5" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office5" src="https://www.hertes.net/wp-content/uploads/2015/07/office5_thumb.png" width="644" height="372" /></a></p>
<p>Um den “Welcome-Screen” beim ersten Start zu deaktivieren ist unter “Benutzereinstellungen ändern” / “Microsoft Office 2013” / “Datenschutz” / “Trust Center” der Eintrag “Bestätigungs-Assisten […] deaktivieren” auf&#160; “Aktiviert” zu setzen:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office6.png"><img loading="lazy" decoding="async" title="office6" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office6" src="https://www.hertes.net/wp-content/uploads/2015/07/office6_thumb.png" width="644" height="373" /></a></p>
<p>Weiterhin können bei Bedarf weitere Anpassungen gemacht werden, z.B. die zu installierenden Programmbestandteile:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office7.png"><img loading="lazy" decoding="async" title="office7" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office7" src="https://www.hertes.net/wp-content/uploads/2015/07/office7_thumb.png" width="644" height="373" /></a></p>
<p>Abschließend werden die Einstellungen in einer neuen Datei im “Updates”-Pfad unterhalb des Stamm-Pfades der Office-Installation abgespeichert:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office8.png"><img loading="lazy" decoding="async" title="office8" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office8" src="https://www.hertes.net/wp-content/uploads/2015/07/office8_thumb.png" width="644" height="264" /></a></p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office9.png"><img loading="lazy" decoding="async" title="office9" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office9" src="https://www.hertes.net/wp-content/uploads/2015/07/office9_thumb.png" width="644" height="342" /></a></p>
<h2>Erzeugen der SCCM-Anwendung</h2>
<p>Nun da die MSP-Datei erstellt wurde, kann im SCCM ein neues Anwendungs-Objekt für Office 2013 erzeugt werden:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office10.png"><img loading="lazy" decoding="async" title="office10" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto" border="0" alt="office10" src="https://www.hertes.net/wp-content/uploads/2015/07/office10_thumb.png" width="446" height="480" /></a></p>
<p>Dabei ist “Windows Installer (MSI-Datei)” als Typ auszuwählen und über den “Durchsuchen”-Dialog die proplusww.msi unterhalb des “proplus.ww”-Ordners zu öffnen:</p>
<p> <center>   </p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office11.png"><img loading="lazy" decoding="async" title="office11" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="office11" src="https://www.hertes.net/wp-content/uploads/2015/07/office11_thumb.png" width="354" height="296" /></a><a href="https://www.hertes.net/wp-content/uploads/2015/07/office12.png"><img loading="lazy" decoding="async" title="office12" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="office12" src="https://www.hertes.net/wp-content/uploads/2015/07/office12_thumb.png" width="354" height="220" /></a></p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office13.png"><img loading="lazy" decoding="async" title="office13" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="office13" src="https://www.hertes.net/wp-content/uploads/2015/07/office13_thumb.png" width="354" height="296" /></a><a href="https://www.hertes.net/wp-content/uploads/2015/07/office14.png"><img loading="lazy" decoding="async" title="office14" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="office14" src="https://www.hertes.net/wp-content/uploads/2015/07/office14_thumb.png" width="354" height="296" /></a></p>
<p> </center>  </p>
<p>Unter den “Allgemeinen Informationen” können bzw. müssen einige Informationen hinterlegt bzw. geändert werden. So kann man weitere Produkt-Details zur Installation angeben. In jedem Fall muss man im Feld “Installationsprogramm” die MSI gegen den Eintrag “setup.exe” austauschen und sicherstellen, dass als “Installationsverhalten” der Eintrag “Für System installieren” ausgewählt ist.</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office15.png"><img loading="lazy" decoding="async" title="office15" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office15" src="https://www.hertes.net/wp-content/uploads/2015/07/office15_thumb.png" width="577" height="484" /></a></p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office16.png"><img loading="lazy" decoding="async" title="office16" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office16" src="https://www.hertes.net/wp-content/uploads/2015/07/office16_thumb.png" width="579" height="484" /></a></p>
<p>Anschließend muss der “Bereitstellungstyp” des neuen Anwendungsobjektes geöffnet werden, da hier noch Änderungen vorgenommen werden müssen:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office17.png"><img loading="lazy" decoding="async" title="office17" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office17" src="https://www.hertes.net/wp-content/uploads/2015/07/office17_thumb.png" width="507" height="484" /></a></p>
<p>Auf dem Reiter “Inhalt” muss im Pfad des “Inhaltsort” abschließende “\proplus.ww” entfernt werden…</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office18.png"><img loading="lazy" decoding="async" title="office18" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office18" src="https://www.hertes.net/wp-content/uploads/2015/07/office18_thumb.png" width="561" height="484" /></a></p>
<p>… und auf dem Reiter “Programm” im Feld “Deinstallationsprogramm” statt MSI-Weges einfach nur “Setup.exe /uninstall” eingetragen werden:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office19.png"><img loading="lazy" decoding="async" title="office19" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office19" src="https://www.hertes.net/wp-content/uploads/2015/07/office19_thumb.png" width="562" height="484" /></a></p>
<p>Bei Bedarf können auf dem Reiter “Anforderungen” noch selbige definiert werden. Da ich hier eine 64-Bit-Installation verwendet habe, ist natürlich auch das entsprechende OS nötig:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2015/07/office20.png"><img loading="lazy" decoding="async" title="office20" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="office20" src="https://www.hertes.net/wp-content/uploads/2015/07/office20_thumb.png" width="560" height="484" /></a></p>
<p>Ist man damit fertig, kann man das Office-Anwendungs-Objekt jetzt wie gewohnt verteilen und anschließend für die gewünschte (idR. extra dafür neu anzulegende) Gerätesammlung bereitgestellt werden…</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hertes.net/2015/07/sccm-2012-r2-office-2013-und-andere-automatisiert-ausrollen/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Server 2012: Unattend.xml für geklonte Maschinen</title>
		<link>https://www.hertes.net/2013/02/server-2012-unattend-xml-fur-geklonte-maschinen/</link>
					<comments>https://www.hertes.net/2013/02/server-2012-unattend-xml-fur-geklonte-maschinen/#respond</comments>
		
		<dc:creator><![CDATA[Haiko]]></dc:creator>
		<pubDate>Sat, 02 Feb 2013 11:51:43 +0000</pubDate>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows Server 2012]]></category>
		<category><![CDATA[Antwortdatei]]></category>
		<category><![CDATA[DISM]]></category>
		<category><![CDATA[Image]]></category>
		<category><![CDATA[ImageX]]></category>
		<category><![CDATA[klonen]]></category>
		<category><![CDATA[unattend]]></category>
		<category><![CDATA[WIM]]></category>
		<guid isPermaLink="false">http://www.hertes.net/?p=1598</guid>

					<description><![CDATA[Will man einen Server 2012 klonen, ist es nötig, diesen vor dem Klonvorgang mit Hilfe von Sysprep vorzubereiten. Dabei gehen einige Informationen verloren, u.a. die SID, Hostname, IP-Adresse und co. Das ist hier auch gewollt. Allerdings gehen auch andere Informationen verloren, die dann nach dem Ausrollen des Images erneut eingegeben werden müssen, u.a. verschiedene Spracheinstellungen, Produkt-Key, das lokale Administratorpasswort und einiges mehr. Um nun nicht auf vielen Klonen diese Informationen immer wieder neu eingeben zu müssen, kann man sich mit einer Unattend.xml, einer sogenannten &#8222;Antwortdatei&#8220;, behelfen. In dieser kann man all diese Informationen vorab festlegen und sie werden dann automatisch&#8230;]]></description>
										<content:encoded><![CDATA[<p>Will man einen Server 2012 klonen, ist es nötig, diesen vor dem Klonvorgang mit Hilfe von Sysprep vorzubereiten. Dabei gehen einige Informationen verloren, u.a. die SID, Hostname, IP-Adresse und co. Das ist hier auch gewollt. Allerdings gehen auch andere Informationen verloren, die dann nach dem Ausrollen des Images erneut eingegeben werden müssen, u.a. verschiedene Spracheinstellungen, Produkt-Key, das lokale Administratorpasswort und einiges mehr.</p>
<p>Um nun nicht auf vielen Klonen diese Informationen immer wieder neu eingeben zu müssen, kann man sich mit einer <strong>Unattend.xml</strong>, einer sogenannten &#8222;Antwortdatei&#8220;, behelfen. In dieser kann man all diese Informationen vorab festlegen und sie werden dann automatisch verarbeitet.</p>
<p>Eine solche <strong>Unattend.xml</strong> muss entweder bereits vor dem Sysprep oder dann später mittels DISM in den Pfad <strong>%WINDIR%\Panther\Unattend</strong> gelegt werden.</p>
<p>Möchte man diese Aufgabe mit DISM für bereits existierende Images erledigen, ist der Ablauf in etwa der folgende:</p>
<pre lang="WinBatch" line="1">dism /Mount-Wim /MountDir:C:\Mount /WimFile:C:\Image.wim /index:1
mkdir C:\Mount\Windows\Panther\Unattend
copy "C:\unattend.xml" C:\Mount\Windows\Panther\Unattend
dism /Unmount-Wim /MountDir:C:\Mount /commit</pre>
<p>Damit wird das Image mittels DISM (schreibend) bereitgestellt, die Antwortdatei an den passenden Pfad kopiert und das Image zurückgeschrieben. Die Antwortdatei selber kann man mit Hilfe des &#8222;Windows System Image Manager&#8220; (SIM) erzeugen, welcher Bestandteil des WAIK und WADK ist. Nötig sind hierbei mindestens folgende Angaben im Teilbereich oobeSe</p>
<pre lang="XML" line="1">
<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>de-de</InputLocale>
            <SystemLocale>de-de</SystemLocale>
            <UILanguage>de-de</UILanguage>
            <UILanguageFallback>en-us</UILanguageFallback>
            <UserLocale>de-de</UserLocale>
</component>
<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">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideLocalAccountScreen>true</HideLocalAccountScreen>
                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>P@$$w0rd!</Value>
                    <PlainText>true</PlainText>
                </AdministratorPassword>
            </UserAccounts>
            <TimeZone>W. Europe Standard Time</TimeZone>
</component>
</pre>
<p>Damit werden die nötigen Eingaben vollständig automatisiert, der geklonte Server bootet nach dem Ausrollen des Images mehrfach durch, bis er abschliessend am Login steht. Das Administrator-Kennwort ist hier mit &#8222;P@$$w0rd!&#8220; festgelegt, kann aber geändert werden.</p>
<p>Wenn mann ohnehin eine Antwortdatei nutzt, kann man damit auch gleich noch weitere Einstellungen setzen, z.B.:</p>
<p>&#8211; Autologin<br />
&#8211; Firewall abschalten<br />
&#8211; Automatischen Start des Servermanagers abschalten<br />
&#8211; Verstärkte Sicherheit im IE abschalten<br />
&#8211; Remotedesktop einschalten<br />
&#8211; Kennwort des lokalen Admin läuft nie ab<br />
&#8211; uvm.</p>
<p>Die fertige Antwortdatei sieht dann in etwa so aus:</p>
<div><a href="https://www.hertes.net/wp-content/uploads/2013/02/unattend.xml">(Beispieldatei kann hier heruntergeladen werden)</a></div>
<p><span id="more-1598"></span></p>
<pre lang="XML" line="1">
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <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>de-de</InputLocale>
            <SystemLocale>de-de</SystemLocale>
            <UILanguage>de-de</UILanguage>
            <UILanguageFallback>en-us</UILanguageFallback>
            <UserLocale>de-de</UserLocale>
        </component>
        <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">
            <AutoLogon>
                <Password>
                    <Value>cABwAGUAZAB2AEEARwAwADEAIQBQAGEAcwBzAHcAbwByAGQA</Value>
                    <PlainText>false</PlainText>
                </Password>
                <Enabled>true</Enabled>
                <Username>Administrator</Username>
                <LogonCount>99999</LogonCount>
            </AutoLogon>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <HideLocalAccountScreen>true</HideLocalAccountScreen>
                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                <NetworkLocation>Work</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <UserAccounts>
                <AdministratorPassword>
                    <Value>cABwAGUAZAB2AEEARwAwADEAIQBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                    <PlainText>false</PlainText>
                </AdministratorPassword>
            </UserAccounts>
            <TimeZone>W. Europe Standard Time</TimeZone>
            <RegisteredOrganization>ppedv AG</RegisteredOrganization>
            <RegisteredOwner>Teilnehmer</RegisteredOwner>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <Description>Administratorkennwort läuft niemals ab</Description>
                    <Order>1</Order>
                    <RequiresUserInput>false</RequiresUserInput>
                    <CommandLine>cmd /C wmic useraccount where &quot;name=&apos;Administrator&apos;&quot; set PasswordExpires=FALSE</CommandLine>
                </SynchronousCommand>
            </FirstLogonCommands>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-ServerManager-SvrMgrNc" 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">
            <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
        </component>
        <component name="Microsoft-Windows-IE-ESC" 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">
            <IEHardenAdmin>false</IEHardenAdmin>
            <IEHardenUser>false</IEHardenUser>
        </component>
        <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">
            <fDenyTSConnections>false</fDenyTSConnections>
        </component>
        <component name="Networking-MPSSVC-Svc" 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">
            <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall>
            <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall>
            <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall>
        </component>
        <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" 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">
            <UserAuthentication>0</UserAuthentication>
        </component>
    </settings>
</unattend>

</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hertes.net/2013/02/server-2012-unattend-xml-fur-geklonte-maschinen/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
