<?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>Automatisierung &#8211; Haikos Blog</title>
	<atom:link href="https://www.hertes.net/tag/automatisierung/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>Thu, 09 Dec 2021 18:20:51 +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>Azure &#8211; VMs nach zeit gesteuert hoch- und runterfahren</title>
		<link>https://www.hertes.net/2019/07/azure-vms-nach-zeit-gesteuert-hoch-und-runterfahren/</link>
					<comments>https://www.hertes.net/2019/07/azure-vms-nach-zeit-gesteuert-hoch-und-runterfahren/#respond</comments>
		
		<dc:creator><![CDATA[Haiko]]></dc:creator>
		<pubDate>Sun, 21 Jul 2019 15:48:43 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Automatisierung]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Skript]]></category>
		<guid isPermaLink="false">https://www.hertes.net/?p=3819</guid>

					<description><![CDATA[In meinen Workshops und anderen Kundenterminen kommt immer wieder die Frage, wie man Virtuelle Maschinen in Azure nach Zeit gesteuert hoch- und wieder runterfahren kann. Das ist eigentlich ganz einfach – man benötigt dazu nur folgendes: Einen Azure Automation Account Ein PowerShell Runbook mit entsprechendem Skript VMs mit den entsprechenden Tags Ich habe mich dazu zu folgenden Tags entschieden: AutoShutdown – Entscheidet, ob die VM automatisch heruntergefahren werden soll; kennt die Werte “Yes” and “No” AutoShutdownTime – enthält die entsprechende Zeit für den Shutdown im Format HH:mm:ss nach UTC AutoStartup – Entscheidet, ob die VM automatisch gestartet werden soll; kennt&#8230;]]></description>
										<content:encoded><![CDATA[<p>In meinen Workshops und anderen Kundenterminen kommt immer wieder die Frage, wie man Virtuelle Maschinen in Azure nach Zeit gesteuert hoch- und wieder runterfahren kann. Das ist eigentlich ganz einfach – man benötigt dazu nur folgendes:</p>
<ul>
<li>Einen Azure Automation Account</li>
<li>Ein PowerShell Runbook mit entsprechendem Skript</li>
<li>VMs mit den entsprechenden Tags</li>
</ul>
<p>Ich habe mich dazu zu folgenden Tags entschieden:</p>
<ul>
<li>AutoShutdown – Entscheidet, ob die VM automatisch heruntergefahren werden soll; kennt die Werte “Yes” and “No”</li>
<li>AutoShutdownTime – enthält die entsprechende Zeit für den Shutdown im Format HH:mm:ss nach UTC</li>
<li>AutoStartup – Entscheidet, ob die VM automatisch gestartet werden soll; kennt die Werte “Yes” and “No”</li>
<li>AutoStartupTime – enthält die entsprechende Zeit für den Start im Format HH:mm:ss nach UTC</li>
</ul>
<p><a href="https://www.hertes.net/wp-content/uploads/2019/07/image-1.png"><img fetchpriority="high" decoding="async" style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;" title="image" src="https://www.hertes.net/wp-content/uploads/2019/07/image_thumb-1.png" alt="image" width="642" height="216" border="0" /></a></p>
<p>Das PowerShell-Skript findet ihr in meinem GitHub Repo:</p>
<p>https://github.com/HaikoHertes/scripts/blob/master/Azure/Automation/Snoozing/StartAndStopVMsWithAzureAutomation.ps1</p>
<p>Das Skript ist etwas komplexer als die beiden anderen im Repo, berücksichtigt dabei aber auch, dass eine VM ggf. morgens heruntergefahren und abends gestartet werden soll.</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2019/07/image-2.png"><img decoding="async" style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;" title="image" src="https://www.hertes.net/wp-content/uploads/2019/07/image_thumb-2.png" alt="image" width="642" height="349" border="0" /></a></p>
<p>Auf Youtube habe ich ein Video veröffentlicht, dass das Vorgehen mit anderen Skripten zeigt:</p>
<p><a href="https://youtu.be/D61XWOeN_w8" target="_blank" rel="noopener noreferrer"><img decoding="async" style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border: 0px;" title="YoutubeStartfolieAzure" src="https://www.hertes.net/wp-content/uploads/2019/07/YoutubeStartfolieAzure.jpg" alt="YoutubeStartfolieAzure" width="642" height="362" border="0" /></a></p>
<p>Probiert es einfach mal aus – viel Spaß!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hertes.net/2019/07/azure-vms-nach-zeit-gesteuert-hoch-und-runterfahren/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure / PowerShell – Azure SQL Performance Empfehlungen per PowerShell abholen und verteilen</title>
		<link>https://www.hertes.net/2019/03/azure-powershell-azure-sql-performance-empfehlungen-per-powershell-abholen-und-verteilen/</link>
					<comments>https://www.hertes.net/2019/03/azure-powershell-azure-sql-performance-empfehlungen-per-powershell-abholen-und-verteilen/#respond</comments>
		
		<dc:creator><![CDATA[Haiko]]></dc:creator>
		<pubDate>Wed, 27 Mar 2019 18:10:15 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Automatisierung]]></category>
		<category><![CDATA[Azure SQL]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Tuning]]></category>
		<guid isPermaLink="false">https://www.hertes.net/?p=3755</guid>

					<description><![CDATA[Azure und insbesondere Azure SQL ist klasse &#8211; es nimmt einem viele Dinge der täglichen Verwaltung ab, einiges davon sogar automatisch. Klar, das hat seinen Preis, immerhin ist Azure SQL nicht ganz billig, aber wenn man es schon bezahlt, dann kann man auch seine Fähigkeiten nutzen. Eine davon ist, automatisch anhand der Nutzung einer Datenbank Empfehlungen für die Leistungsoptimierung zu geben. Diese kann man sich im UI bzw. dem Azure Portal anschauen. Dazu öffnet man entweder links im Blade den Punkt &#8222;Recommondations&#8220; unterhalb von &#8222;Intelligent Performance&#8220; oder den Punkt &#8222;Performance&#8220; auf der Main-Page bei den Notifications: Dort sieht man dann&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Azure und insbesondere Azure SQL ist klasse &#8211; es nimmt einem viele Dinge der täglichen Verwaltung ab, einiges davon sogar automatisch. Klar, das hat seinen Preis, immerhin ist Azure SQL nicht ganz billig, aber wenn man es schon bezahlt, dann kann man auch seine Fähigkeiten nutzen. Eine davon ist, automatisch anhand der Nutzung einer Datenbank Empfehlungen für die Leistungsoptimierung zu geben. Diese kann man sich im UI bzw. dem Azure Portal anschauen. Dazu öffnet man entweder links im Blade den Punkt &#8222;Recommondations&#8220; unterhalb von &#8222;Intelligent Performance&#8220; oder den Punkt &#8222;Performance&#8220; auf der Main-Page bei den Notifications:</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1024" height="501" src="https://www.hertes.net/wp-content/uploads/2019/03/image-1024x501.png" alt="" class="wp-image-3756" srcset="https://www.hertes.net/wp-content/uploads/2019/03/image-1024x501.png 1024w, https://www.hertes.net/wp-content/uploads/2019/03/image-300x147.png 300w, https://www.hertes.net/wp-content/uploads/2019/03/image-768x375.png 768w, https://www.hertes.net/wp-content/uploads/2019/03/image.png 1921w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Dort sieht man dann einige Empfehlungen aufgeführt (vorausgesetzt, Azure hat etwas gefunden, was wiederum eine regelmäßige Nutzung der Datenbank voraussetzt):</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1024" height="482" src="https://www.hertes.net/wp-content/uploads/2019/03/image-2-1024x482.png" alt="" class="wp-image-3758" srcset="https://www.hertes.net/wp-content/uploads/2019/03/image-2-1024x482.png 1024w, https://www.hertes.net/wp-content/uploads/2019/03/image-2-300x141.png 300w, https://www.hertes.net/wp-content/uploads/2019/03/image-2-768x361.png 768w, https://www.hertes.net/wp-content/uploads/2019/03/image-2.png 1721w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Diese Daten kann man sich auch automatisch abrufen und auf Wunsch dann z.B. an die Entwickler verteilen. Dazu bediene ich mich einfach der PowerShell:</p>



<pre lang="PowerShell" line="1">
$ErrorActionPreference = "Stop"
$SubscriptionId = "YOUR_SUBSCRIPTION_ID"

function Get-SQLServerRecommendations()
{
    # Define the resource types
    $resourceTypes = ("Microsoft.Sql/servers/databases")
    $advisors = ("CreateIndex", "DropIndex","DbParameterization","SchemaIssue");
    $results = @()

    # Loop through all subscriptions
   
    $rgs = Get-AzureRmResourceGroup

    # Loop through all resource groups
    foreach($rg in $rgs) {
        $rgname = $rg.ResourceGroupName;

        # Loop through all resource types
        foreach($resourceType in $resourceTypes) {
            $resources = Get-AzureRmResource -ResourceGroupName $rgname -ResourceType $resourceType

            # Loop through all databases
            # Extract resource groups, servers and databases
            foreach ($resource in $resources) {
                $resourceId = $resource.ResourceId
                if ($resourceId -match ".*RESOURCEGROUPS/(?<content>.*)/PROVIDERS.*") {
                    $ResourceGroupName = $matches['content']
                } else {
                    continue
                }
                if ($resourceId -match ".*SERVERS/(?<content>.*)/DATABASES.*") {
                    $ServerName = $matches['content']
                } else {
                    continue
                }
                if ($resourceId -match ".*/DATABASES/(?<content>.*)") {
                    $DatabaseName = $matches['content']
                } else {
                    continue
                }

                # Skip if master
                if ($DatabaseName -eq "master") {
                    continue
                }

                # Loop through all Automatic tuning recommendation types
                foreach ($advisor in ($advisors -notmatch "SchemaIssue")) {
                    $recs = Get-AzureRmSqlDatabaseRecommendedAction -ResourceGroupName $ResourceGroupName -ServerName $ServerName  -DatabaseName $DatabaseName -AdvisorName $advisor
                    foreach ($r in $recs) {
                        if ($r.State.CurrentValue -eq "Active") {
                            $object = New-Object -TypeName PSObject
                            $object | Add-Member -Name 'SubscriptionId' -MemberType Noteproperty -Value $subscriptionId
                            $object | Add-Member -Name 'ResourceGroupName' -MemberType Noteproperty -Value $r.ResourceGroupName
                            $object | Add-Member -Name 'ServerName' -MemberType Noteproperty -Value $r.ServerName
                            $object | Add-Member -Name 'DatabaseName' -MemberType Noteproperty -Value $r.DatabaseName
                            $object | Add-Member -Name 'Advisor' -MemberType Noteproperty -Value $advisor
                            $object | Add-Member -Name 'Script' -MemberType Noteproperty -Value $r.ImplementationDetails.Script
                            $results += $object
                        }
                    }
                }
            }
        }
    }
    Return $results
}

$AzurePasswordSecure = ConvertTo-SecureString "$($YOUR_AZURE_PASSWORD)" -AsPlainText -Force
$AzureCredentials = New-Object System.Management.Automation.PSCredential ("$YOUR_AZURE_USER", $AzurePasswordSecure)
Connect-AzureRmAccount -Credential $AzureCredentials | Out-Null
Select-AzureRmSubscription -Subscription $SubscriptionId | Out-Null

$Recommendations = Get-SQLServerRecommendations
$table = $Recommendations | Sort-Object DatabaseName,Advisor | Format-Table Databasename,Advisor,Script -AutoSize -Wrap
Write-Output $table

$head = "<style>
td {background-color:lightgrey;}
table {width:100%;}
th {font-size:14pt;background-color:lightblue;}
</style>
<title>SQL Server performance recommendations</title>"

[string]$html = $Recommendations | ConvertTo-Html -Property Databasename,Advisor,Script -Body "<h1>Azure SQL Server automatic tuning recommendations for $stage</h1>Auto-generated by PUT_SOMETHING_HERE<br><br>" -Head $head

Send-MailMessage -Body $html -SmtpServer YOUR.SMTPSERVER.COM -From sender@domain.com -To recipient@domain.com -Subject "MS SQL Recommendations - $(Get-Date -Format "yyyy-dd-MM HH:mm:ss")" -BodyAsHtml
</pre>



<p></p>



<p>Dieses Script wiederum kann man dann z.B. per Jenkins regelmäßig auslösen. Oder alternativ ein Azure Automation Runbook dafür anlegen&#8230; Viel Spaß beim Ausprobieren!</p>



<p>Die Mails sehen dann in etwa so aus:</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="802" height="896" src="https://www.hertes.net/wp-content/uploads/2019/03/image-3.png" alt="" class="wp-image-3760" srcset="https://www.hertes.net/wp-content/uploads/2019/03/image-3.png 802w, https://www.hertes.net/wp-content/uploads/2019/03/image-3-269x300.png 269w, https://www.hertes.net/wp-content/uploads/2019/03/image-3-768x858.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hertes.net/2019/03/azure-powershell-azure-sql-performance-empfehlungen-per-powershell-abholen-und-verteilen/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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 loading="lazy" 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 loading="lazy" 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 loading="lazy" 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>AutoAdminLogon f&#252;r Windows Server 2012 R2 und andere OS</title>
		<link>https://www.hertes.net/2014/12/autoadminlogon-fr-windows-server-2012-r2-und-andere-os/</link>
					<comments>https://www.hertes.net/2014/12/autoadminlogon-fr-windows-server-2012-r2-und-andere-os/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 18 Dec 2014 14:28:08 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Client]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Server 2012]]></category>
		<category><![CDATA[Windows Server 2012 R2]]></category>
		<category><![CDATA[Automatisierung]]></category>
		<category><![CDATA[Logon]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.hertes.net/?p=2547</guid>

					<description><![CDATA[Manchmal besteht der Wunsch, auf einem Windows-System eine automatische Anmeldung nach dem (Neu)Start durchzuführen. Dies ist mit sehr einfachen Mitteln möglich und funktioniert sowohl bei Client- als auch Server-Betriebssystemen, auch bei älteren. Nötig ist dazu nur der Zugriff auf die Registry und ein passendes Benutzerkonto. Als erstes wird der Registrierungseditor mittels “regedit.exe” geöffnet: Dort muss zu dem Schlüssel unter HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon navigiert werden. Abschließend sind folgende Schlüssel nötig (alle als Zeichenfolge, REG_SZ) AutoAdminLogon = “1” DefaultUserName = BENUTZER DefaultPassword = PASSWORT DefaultDomainName = DOMÄNE So etwa wie im Screenshot… Das war es schon gewesen. Beim nächsten Neustart ist die automatische&#8230;]]></description>
										<content:encoded><![CDATA[<p>Manchmal besteht der Wunsch, auf einem Windows-System eine automatische Anmeldung nach dem (Neu)Start durchzuführen. Dies ist mit sehr einfachen Mitteln möglich und funktioniert sowohl bei Client- als auch Server-Betriebssystemen, auch bei älteren. Nötig ist dazu nur der Zugriff auf die Registry und ein passendes Benutzerkonto.</p>
<p>Als erstes wird der Registrierungseditor mittels “regedit.exe” geöffnet:</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2014/12/autoadminlogon1.png"><img loading="lazy" decoding="async" title="autoadminlogon1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="autoadminlogon1" src="https://www.hertes.net/wp-content/uploads/2014/12/autoadminlogon1_thumb.png" width="476" height="284" /></a></p>
<p>Dort muss zu dem Schlüssel unter HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon navigiert werden.</p>
<p>Abschließend sind folgende Schlüssel nötig (alle als Zeichenfolge, REG_SZ)</p>
<ul>
<li>AutoAdminLogon = “1”</li>
<li>DefaultUserName = BENUTZER</li>
<li>DefaultPassword = PASSWORT</li>
<li>DefaultDomainName = DOMÄNE</li>
</ul>
<p>So etwa wie im Screenshot…</p>
<p><a href="https://www.hertes.net/wp-content/uploads/2014/12/autoadminlogon2.png"><img loading="lazy" decoding="async" title="autoadminlogon2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="autoadminlogon2" src="https://www.hertes.net/wp-content/uploads/2014/12/autoadminlogon2_thumb.png" width="644" height="227" /></a></p>
<p>Das war es schon gewesen. Beim nächsten Neustart ist die automatische Anmeldung aktiv…</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.hertes.net/2014/12/autoadminlogon-fr-windows-server-2012-r2-und-andere-os/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
