<?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>Markus Bäker &#187; bug</title>
	<atom:link href="http://www.mbaeker.de/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mbaeker.de</link>
	<description>Use %~dp0 !!!</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:49:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>SCOM: SCOM 2007 R2 Cumulative Update 5</title>
		<link>http://www.mbaeker.de/2011/08/scom-scom-2007-r2-cumulative-update-5/</link>
		<comments>http://www.mbaeker.de/2011/08/scom-scom-2007-r2-cumulative-update-5/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 12:00:06 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[HAL]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SC Software Updates]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=652</guid>
		<description><![CDATA[Gestern habe ich noch gefragt, ob es schon einen Agent für RHEL6 gibt. Heute stoße ich über den Hinweis, dass das Cumulativ Update 5 (CU5) schon seit 3 Tagen verfügbar ist! Es korrigiert einen recht störenden Agent Update Bug im CU4 (beim Update des Agents, der normalerweise kein Neustart des Servers benötigt wurden automatisch andere [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="refresh" src="http://www.mbaeker.de/wp-content/uploads/2011/08/refresh.png" alt="refresh" width="32" height="32" align="left" border="0" />Gestern habe ich noch gefragt, ob es schon einen Agent für RHEL6 gibt. Heute stoße ich über den Hinweis, dass das Cumulativ Update 5 (CU5) schon seit 3 Tagen verfügbar ist!</p>
<p>Es korrigiert einen recht störenden Agent Update Bug im CU4 (beim Update des Agents, der normalerweise kein Neustart des Servers benötigt wurden automatisch andere Dienste neugestartet und hat somit zu Serviceunterbrechungen geführt) und ein paar andere Fehler. Zusätzlich beinhaltet es den Agent für Red Hat 6.</p>
<p>Zu finden ist es unter <a title="http://support.microsoft.com/kb/2495674" href="http://support.microsoft.com/kb/2495674">http://support.microsoft.com/kb/2495674</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/08/scom-scom-2007-r2-cumulative-update-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enteo, Powershell und Wake on Lan (WoL)</title>
		<link>http://www.mbaeker.de/2011/07/enteo-powershell-und-wake-on-lan-wol/</link>
		<comments>http://www.mbaeker.de/2011/07/enteo-powershell-und-wake-on-lan-wol/#comments</comments>
		<pubDate>Sat, 09 Jul 2011 09:44:00 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Batchdatei]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Enteo]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=591</guid>
		<description><![CDATA[Wie versprochen geht es weiter mit der Automatisierung von Enteo durch Powershell. In diesem Blog Eintrag nehme ich mir die Funktion für das Aufwecken eines PCs vor. Leider funktioniert hier die WoL Funktion von Enteo nicht immer. Das liegt u.a. daran, dass bei einem neuen PC nicht alle Informationen vorliegen. In den meisten Netzen wird [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="box" src="http://www.mbaeker.de/wp-content/uploads/2011/07/box.png" alt="box" width="96" height="96" align="left" border="0" />Wie versprochen geht es weiter mit der Automatisierung von Enteo durch Powershell. In diesem Blog Eintrag nehme ich mir die Funktion für das Aufwecken eines PCs vor. Leider funktioniert hier die WoL Funktion von Enteo nicht immer. Das liegt u.a. daran, dass bei einem neuen PC nicht alle Informationen vorliegen. In den meisten Netzen wird ein normales WoL Paket (ein Broadcast Paket) nicht an alle Subnetze verteilt. Der Enteo Server und der zu weckende Client sind im Allgemeinen in unterschiedlichen Subnetzen beheimatet. Daher muss mit einem directed Broadcast gearbeitet werden. Dazu wird das Broadcast Paket direkt an die Broadcast Adresse des Zielsubnetzes geschickt. Dazu ist aber die IP Adresse und die Subnetzmaske zur Ermittlung der Broadcast Adresse notwendig. Diese Information liegt Enteo nicht immer vor und ich habe noch keinen Weg gefunden, diese Info beim Erstellen des Computerkontos mitzugeben.</p>
<p><span id="more-591"></span></p>
<p>Daher versucht die nachfolgende Funktion zuerst ein WoL per Enteo anzustossen und danach direkt im Anschluss ein WoL per Kommandozeile. Ich verwende dafür das Tool mc-wol.exe. Es ist ein reines Kommandozeilen Tool und somit gut in einer Powershell aufzurufen.</p>
<pre class="brush: powershell; title: ; notranslate">
function doWOL
{
   param($PC,[string]$WOL)
   if (-not $debug)
   {
      Wakeup-EmdbComputer $PC.Path | out-null
      $cmd=&quot;C:\Scripte\psexec.exe \\wolserver -s -c &quot;+$WOL
      output $pc.name &quot; Remote WOL: $wol&quot;
      changelog $pc.name &quot;WOL: $cmd&quot;
      invoke-expression -command $cmd | out-null
   }
   else
   {
      output $pc.name &quot;Debugmodus: Hätte WOL per Enteo und WOL per Kommandozeile durchgeführt&quot;
   }
}
</pre>
<p>Die Funktion benötigt zwei Parameter: Das Emdb-Computerobjet des auzuweckenden PCs und die Kommandozeile für mc-wol.exe. Je nach Umgebung darf nicht jedes Quellsystem ein directed Broadcast Paket verschicken. In diesem Beispiel darf es nur der WOLServer. Daher wird die Kommandozeile, die in Zeile 7 zusammengebaut wird per psexec auf diesem ausgeführt. Die Ausführung erfolgt mit <code>invoke-expression</code> in Zeile 10.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/07/enteo-powershell-und-wake-on-lan-wol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCOM: Mime-encoded Detailansicht in der Konsole</title>
		<link>http://www.mbaeker.de/2011/03/scom-mime-encoded-detailansicht-in-der-konsole/</link>
		<comments>http://www.mbaeker.de/2011/03/scom-mime-encoded-detailansicht-in-der-konsole/#comments</comments>
		<pubDate>Tue, 22 Mar 2011 18:35:30 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[scom]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=427</guid>
		<description><![CDATA[Sehr selten kommt es vor, dass in der SCOM Konsole im Detailbereich nur Buchstabensalat angezeigt wird. Der Text ähnelt dann einer Email in der Quellcodeansicht. From: Subject: srv.com Date: 7/7/2009 9:31:27 AM MIME-Version: 1.0 Content-Type: multipart/related; boundary=&#34; ==_NextPart_2cb688e489140fa2448a12bde7ba1e43&#34;; type=&#34;text/html&#34; X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 This is a multi-part message in MIME format. &#8211; ==_NextPart_2cb688e489140fa2448a12bde7ba1e43 [...]]]></description>
			<content:encoded><![CDATA[<p>Sehr selten kommt es vor, dass in der SCOM Konsole im Detailbereich nur Buchstabensalat angezeigt wird. Der Text ähnelt dann einer Email in der Quellcodeansicht.</p>
<blockquote><p><strong>From: Subject: srv.com Date: 7/7/2009 9:31:27 AM MIME-Version: 1.0 Content-Type: multipart/related; boundary=&quot;</strong></p>
<p><strong>=</strong><strong>=_NextPart_2cb688e489140fa2448a12bde7ba1e43&quot;; type=&quot;text/html&quot; X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 This is a multi-part message in MIME format. &#8211;</strong></p>
<p><strong>==_NextPart_2cb688e489140fa2448a12bde7ba1e43 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://localhost/graypixel.gif R0lGODlhAQABAPAAAMDAwP///ywAAAAAAQABAAACAkQBADs= &#8211;==_NextPart_2cb688e489140fa2448a12bde7ba1e43 Content-Type: image/png Content-Transfer-Encoding: base64 Content-Location: http://localhost/source.gif […]3V5vwAAAABJRU5ErkJggg== &#8211;</strong></p>
<p><strong>==_NextPart_2cb688e489140fa2448a12bde7ba1e43 Content-Type: text/html; encoding=utf-8; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Location: http://localhost/statedetails.htm […]DQo8L3RhYmxlPg0KDQo8L2JvZHk+DQoNCjwvaHRtbD4NCg== &#8211;==_NextPart_2cb688e489140fa2448a12bde7ba1e43&#8211;</strong></p>
</blockquote>
<p>Zum Decoden der Ansicht benötigt die Konsole Teile der Outlook Express Installation auf einem XP-Client. Einige Kunden haben OE aber aus ihrem Installationsimage entfernt. Dies ist offiziell nicht von Microsoft Support, ist aber z.B. mittels nLite möglich.</p>
<p>Das Problem und eine Lösung wird auch hier beschrieben: <a title="http://www.systemcentercentral.com/BlogDetails/tabid/143/indexId/74171/Default.aspx" href="http://www.systemcentercentral.com/BlogDetails/tabid/143/indexId/74171/Default.aspx">http://www.systemcentercentral.com/BlogDetails/tabid/143/indexId/74171/Default.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/03/scom-mime-encoded-detailansicht-in-der-konsole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADDS: Nicht gel&#246;schtes Profil beim Abmelden</title>
		<link>http://www.mbaeker.de/2011/03/adds-nicht-gelschtes-profil-beim-abmelden/</link>
		<comments>http://www.mbaeker.de/2011/03/adds-nicht-gelschtes-profil-beim-abmelden/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 17:59:06 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Active Directory Domain Service]]></category>
		<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[adds]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[Winlogon]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=419</guid>
		<description><![CDATA[Probembeschreibung: In einigen sichereren Umgebungen sollen servergespeicherte Profile beim Abmelden gelöscht werden. Nach einem Upgrade auf IE8 war dies bei einem Kunden nicht mehr der Fall. Es blieben immer Reste von Anwendungsdateien zurück. Im Speziellen fiel dabei die index.dat vom IE8 auf. Fehleranalyse: Um der Ursache auf den Grund zu gehen, wurde das Debugging bei [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="icon-12" border="0" alt="icon-12" align="left" src="http://www.mbaeker.de/wp-content/uploads/2011/03/icon-12.png" width="64" height="64" />Probembeschreibung:</strong> In einigen sichereren Umgebungen sollen servergespeicherte Profile beim Abmelden gelöscht werden. Nach einem Upgrade auf IE8 war dies bei einem Kunden nicht mehr der Fall. Es blieben immer Reste von Anwendungsdateien zurück. Im Speziellen fiel dabei die index.dat vom IE8 auf.</p>
<p><strong>Fehleranalyse:</strong> Um der Ursache auf den Grund zu gehen, wurde das Debugging bei der Profilverarbeitung erhöht: Aktivieren des Environment Debug Loggings von Winlogon (<a href="http://support.microsoft.com/kb/221833/en-us"><u>http://support.microsoft.com/kb/221833/en-us</u></a>). Die dabei im Log gefundenen Fehler wurde an Google übergeben <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://www.mbaeker.de/wp-content/uploads/2011/03/wlEmoticon-winkingsmile.png" /></p>
<p><strong>Ursache:</strong> Ursache ist ein Fehler im IE8 mit einer speziellen Gruppenrichtlinieneinstellung (Hinzufügen von Trusted Domains per GPO). Das Problem ist hier beschrieben: <a href="http://support.microsoft.com/kb/974277/en-us"><u>http://support.microsoft.com/kb/974277/en-us</u></a></p>
<p>Der darin beschriebene Workraround mit einer manuellen Registryeinstellung wurde getestet und war erfolgreich. Folgende Einstellung muss durchgeführt werden:</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_USE_IETLDLIST_FOR_DOMAIN_DETERMINATION]</p>
<p>&quot;winlogon.exe&quot;=dword:00000000</p>
<p>Diese Einstellung ist natürlich auch per GPO verteilbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/03/adds-nicht-gelschtes-profil-beim-abmelden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fehlermeldung bei der Installation des Visio Add-In for Disk Space</title>
		<link>http://www.mbaeker.de/2011/03/fehlermeldung-bei-der-installation-des-visio-add-in-for-disk-space/</link>
		<comments>http://www.mbaeker.de/2011/03/fehlermeldung-bei-der-installation-des-visio-add-in-for-disk-space/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 17:36:58 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=395</guid>
		<description><![CDATA[Sollte bei der Installation des Visio Add-In for Disk Space (http://visiotoolbox.com/2010/add-ins.aspx)  für den System Center Operations Manager (SCOM) auf einem Windows 7 x64 mit Visio 2010 x64 folgende Fehlermeldung auftauchen: so liegt das laut dem Installer-Log (wenn man das Setup mit msiexec /I … /l* install.log aufruft) an einem fehlenden Registry Key: &#160; […] Action [...]]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;" title="icon-06" src="http://www.mbaeker.de/wp-content/uploads/2011/03/icon-06.png" border="0" alt="icon-06" width="64" height="64" align="left" />Sollte bei der Installation des Visio Add-In for Disk Space (<a title="http://visiotoolbox.com/2010/add-ins.aspx" href="http://visiotoolbox.com/2010/add-ins.aspx">http://visiotoolbox.com/2010/add-ins.aspx</a>)  für den System Center Operations Manager (SCOM) auf einem Windows 7 x64 mit Visio 2010 x64 folgende Fehlermeldung auftauchen:</p>
<p><a rel="shadowbox" href="http://www.mbaeker.de/wp-content/uploads/2011/03/visio-add-in-error.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="visio-add-in-error" src="http://www.mbaeker.de/wp-content/uploads/2011/03/visio-add-in-error_thumb.png" border="0" alt="visio-add-in-error" width="425" height="344" /></a></p>
<p>so liegt das laut dem Installer-Log (wenn man das Setup mit msiexec /I … /l* install.log aufruft) an einem fehlenden Registry Key:</p>
<p>&nbsp;</p>
<blockquote><p>[…]</p>
<p>Action 09:29:31: RollbackCleanup. Removing backup files</p>
<p>DEBUG: Error 2835:  The control ErrorIcon was not found on dialog ErrorDialog</p>
<p>The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,</p>
<p>Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.  <span style="background-color: #ffff00;">Custom action VisSolPublish_BumpVisioChangeId script error -2147024894, WshShell.RegRead: Ungültige Wurzel in Registrierungsschlüssel &#8220;HKLM\Software\Microsoft\Office\Visio\ConfigChangeID</span>&#8220;. Line 3, Column 1,</p>
<p>MSI (s) (14:34) [09:29:33:624]: Product: Visio Add-In for Disk Space Monitoring &#8212; Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.  Custom action VisSolPublish_BumpVisioChangeId script error -2147024894, WshShell.RegRead: Ungültige Wurzel in Registrierungsschlüssel &#8220;HKLM\Software\Microsoft\Office\Visio\ConfigChangeID&#8221;. Line 3, Column 1,</p>
<p>Action 09:29:33: Rollback. Rolling back action:</p>
<p>[…]</p></blockquote>
<p>In der Registry ist dieser Schlüssel auch nicht zu finden.</p>
<p>Legt man ihn in folgender Form an:</p>
<blockquote><p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Visio]</p>
<p>&#8220;ConfigChangeID&#8221;=dword:00000000</p></blockquote>
<p>so läuft das Setup erfolgreich durch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/03/fehlermeldung-bei-der-installation-des-visio-add-in-for-disk-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCOM ACS over forest borders</title>
		<link>http://www.mbaeker.de/2010/12/scom-acs-over-forest-borders/</link>
		<comments>http://www.mbaeker.de/2010/12/scom-acs-over-forest-borders/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 16:54:16 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=361</guid>
		<description><![CDATA[Sometimes the acs forwarder doesn&#8217;t connects successfully to the acs server and states in the operations manager event log, that you have to activate debugging to see more details. You can activate it by following this instruction: Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdtAgent\Parameters Create DWORD value = TraceFlags Edit the TraceFlags entry and enter decimal value 524420 Restart [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-364" title="icon-01" src="http://www.mbaeker.de/wp-content/uploads/2010/12/icon-01.png" alt="" width="64" height="64" />Sometimes the acs forwarder doesn&#8217;t connects successfully to the acs server and states in the operations manager event log, that you have to activate debugging to see more details.</p>
<p>You can activate it by following this instruction:</p>
<ol>
<li>Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AdtAgent\Parameters</li>
<li>Create DWORD value = TraceFlags</li>
<li>Edit the TraceFlags entry and enter decimal value <strong>524420</strong></li>
<li>Restart the AdtAgent service</li>
</ol>
<p>(Source: <a href="http://helpmemanage.blogspot.com/2007/05/enable-detailed-logging-for-acs.html" target="_blank">http://helpmemanage.blogspot.com/2007/05/enable-detailed-logging-for-acs.html</a>)</p>
<p>You can find the log under c:\windows\temp</p>
<p>One cause can be that the acs cannot operate over forest borders or from a workgroup (kerberos authentication &#8211; some reason for the scom agent).</p>
<p>The workaround is a little bit mor complicated that a simple certificate exchange.</p>
<p>A good and working explanation can be found here:</p>
<p><a href="http://www.directtechnology.com/BlogEngine/post/2010/08/17/Problems-with-non-trusted-computers-reporting-to-ACS-%28Audit-Collection-Services%29.aspx" target="_blank">http://www.directtechnology.com/BlogEngine/post/2010/08/17/Problems-with-non-trusted-computers-reporting-to-ACS-%28Audit-Collection-Services%29.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2010/12/scom-acs-over-forest-borders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual activate debug for GPP</title>
		<link>http://www.mbaeker.de/2010/12/manual-activate-debug-for-gpp/</link>
		<comments>http://www.mbaeker.de/2010/12/manual-activate-debug-for-gpp/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 18:17:42 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Active Directory Domain Service]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=356</guid>
		<description><![CDATA[Sometimes you have to debug group policy preferences (gpp) and don&#8217;t want to activate the debugging with another group policy. You can simpe activate the debugging with two registry entries: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}] "LogLevel"=dword:00000003 "TraceLevel"=dword:00000002 This will activate the debugging for data sources (odbc). Which part you debug is defined by the guid in the registry [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you have to debug group policy preferences (gpp) and don&#8217;t want to activate the debugging with another group policy.</p>
<p>You can simpe activate the debugging with two registry entries:</p>
<pre><span style="font-family: Arial,sans-serif; font-size: x-small;">
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{728EE579-943C-4519-9EF7-AB56765798ED}]
"LogLevel"=dword:00000003
"TraceLevel"=dword:00000002
</span></pre>
<div>This will activate the debugging for data sources (odbc). Which part you debug is defined by the guid in the registry path.</div>
<div>It works directly with a gpupdate. You can find the log files under %allusers%\Application Data\Microsoft\Group Policies&#8230;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2010/12/manual-activate-debug-for-gpp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCOM2Nagios 1.4</title>
		<link>http://www.mbaeker.de/2010/04/scom2nagios-1-4/</link>
		<comments>http://www.mbaeker.de/2010/04/scom2nagios-1-4/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:36:34 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[SCOM2Nagios]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[connector]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[scom]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=308</guid>
		<description><![CDATA[Find the newest version on top of: http://www.mbaeker.de/tag/scom2nagios/ Released a new Version of the SCOM2Nagios Connector. Changes: 1.4 * NEW: variables for processing instruction * NEW: change case of output (upper/lower) * BUG: no crash if scom connection is lost * BUG: no longer needs fullpath in config Example: &#60;instruction&#62; &#60;input field=&#8221;path&#8221; compare=&#8221;containsIgnoreCase&#8221;&#62;mcscom&#60;/input&#62; &#60;output field=&#8221;host&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Find the newest version on top of: <a href="http://www.mbaeker.de/tag/scom2nagios/">http://www.mbaeker.de/tag/scom2nagios/</a></p>
<p>Released a new Version of the SCOM2Nagios Connector. Changes:</p>
<p>1.4</p>
<p>* NEW: variables for processing instruction<br />
* NEW: change case of output (upper/lower)<br />
* BUG: no crash if scom connection is lost<br />
* BUG: no longer needs fullpath in config</p>
<p>Example:</p>
<blockquote><p>&lt;instruction&gt;<br />
&lt;input field=&#8221;path&#8221; compare=&#8221;containsIgnoreCase&#8221;&gt;mcscom&lt;/input&gt;<br />
&lt;output field=&#8221;host&#8221; case=&#8221;upper&#8221;&gt;$path&lt;/output&gt;<br />
&lt;/instruction&gt;</p></blockquote>
<p>If path contains mcscom than replace the host in the output with the upper case of the ObjectFullPath variable of the input alert.</p>
<p>Possible replacement variables:</p>
<blockquote><p>path, netbios, fullname, severity, state, name, description, alertid</p></blockquote>
<p>Download: <a class="downloadlink" href="http://www.mbaeker.de/downloads/SCOM2Nagios_1.4.zip" title="Version1.4 downloaded 615 times" >SCOM2Nagios (615)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2010/04/scom2nagios-1-4/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Rollout von WinZip 12 mit SCCM</title>
		<link>http://www.mbaeker.de/2009/10/rollout-von-winzip-12-mit-sccm/</link>
		<comments>http://www.mbaeker.de/2009/10/rollout-von-winzip-12-mit-sccm/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:24:25 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Configuration Manager]]></category>
		<category><![CDATA[Deutsch]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[adds]]></category>
		<category><![CDATA[Batchdatei]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[SCCM]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=221</guid>
		<description><![CDATA[Hier mal eine kleine Batchdatei zur Verteilung von WinZip inkl. des Lizenzfiles: @echo off rem alte winzip version deinstallieren MsiExec.exe /X{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5} /l* %systemroot%\deinstall_winzip111.log /qn REBOOT=REALLYSUPPRESS rem copy Lizenzfile to all Users profile md &#8220;%ALLUSERSPROFILE%\WinZip\&#8221; copy /y &#8220;%~dp0winzip.wzmul&#8221; &#8220;%ALLUSERSPROFILE%\WinZip\&#8221; rem neue Version installieren: rem Erklärung der Parameter: rem /noqp = no quickpick icon in system tray [...]]]></description>
			<content:encoded><![CDATA[<p>Hier mal eine kleine Batchdatei zur Verteilung von WinZip inkl. des Lizenzfiles:</p>
<p>@echo off</p>
<p>rem alte winzip version deinstallieren</p>
<p>MsiExec.exe /X{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5} /l* %systemroot%\deinstall_winzip111.log /qn REBOOT=REALLYSUPPRESS</p>
<p>rem copy Lizenzfile to all Users profile</p>
<p>md &#8220;%ALLUSERSPROFILE%\WinZip\&#8221;</p>
<p>copy /y &#8220;%~dp0winzip.wzmul&#8221; &#8220;%ALLUSERSPROFILE%\WinZip\&#8221;</p>
<p>rem neue Version installieren:</p>
<p>rem Erklärung der Parameter:</p>
<p>rem /noqp = no quickpick icon in system tray</p>
<p>rem /notip = no tip of the day</p>
<p>rem /noc4u = don&#8217;t check for updates</p>
<p>rem /nopredefinedjobs = no predefined sample jobs in the Winzip menu</p>
<p>rem ADDDESKTOPICON=0 (Disable the WinZip Desktop icon to the user&#8217;s desktop)</p>
<p>rem ADDMENUGROUP=1 (Add a WinZip Menu Group item to&#8230; Start-&gt; All Programs -&gt; WinZip for each user )</p>
<p>rem ADDSTARTMENU=0 (Disable WinZip to the top of each user&#8217;s Start Menu)</p>
<p>rem  ALLUSERS=1 (per Machine)</p>
<p>rem Accept=Yes (Accept EULA)</p>
<p>msiexec /i &#8220;%~dp0wz121gev.msi&#8221; /qn /l* %systemroot%\install_winzip121.log ADDDESKTOPICON=0 ADDMENUGROUP=1 ADDSTARTMENU=0 ALLUSERS=1 Accept=Yes INSTALLCMD=&#8221;/noqp /notip /noc4u /nopredefinedjobs /autoinstall&#8221; REBOOT=REALLYSUPPRESS /m winzip.mif</p>
<p>In SCCM ein Package mit den Installationsfiles erstellen. Die WinZip MSI Version von der CD kopieren und ins gleiche Verzeichnis die Lizenzdatei hineinstellen. Als Programm die oben beschriebene Batchdatei eintragen. Bei den  Reporting Information wird im Dateinamen winzip eingetragen.</p>
<p>Mein Standardvorgehen:</p>
<ul>
<li>Möglichst keine statischen Pfade, sondern immer Variablen (z.B. %systemroot% anstatt c:\windows)</li>
<li>Möglichst immer absolute Pfade zu Dateien &#8211; man weiss ja nie worauf gerade der aktuelle Pfad zeigt. Daher immer ein %~dp0 (%0: Pfad zu Batchdatei, ~: Falls &#8220;, dann entfernen, d: Laufwerksbuchstabe, p: Pfad, %~dp0: Pfad zur Batchdatei ohne Name der Batchdatei (aber mit \ am Ende))</li>
<li>Möglichst viel loggen, dass hilft beim Debuggen</li>
<li>Möglichst immer die original Setupdateien verwenden. Der Hersteller dürfte dort bereits sein KnowHow eingebaut haben.</li>
</ul>
<p>Noch Fragen? -&gt; Comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2009/10/rollout-von-winzip-12-mit-sccm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpsMgr ADDS 2003 Management Pack Bug</title>
		<link>http://www.mbaeker.de/2009/01/opsmgr-adds-2003-management-pack-bug/</link>
		<comments>http://www.mbaeker.de/2009/01/opsmgr-adds-2003-management-pack-bug/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 17:26:22 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[adds]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[HAL]]></category>
		<category><![CDATA[scom]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=35</guid>
		<description><![CDATA[Heute konnte ich mir endlich die Zeit nehmen einen Alert im SCOM genauer zu betrachten. Obwohl über 2GB auf der NTDS Platte des DCs frei waren und die Subdomäne nur eine Datenbankgröße von 512MB hat, meldete SCOM regelmäßig, dass die Platte zu voll sei. In diesem Fall sieht die Berechnung folgendermaßen aus: Name der Regel [...]]]></description>
			<content:encoded><![CDATA[<p>Heute konnte ich mir endlich die Zeit nehmen einen Alert im SCOM genauer zu betrachten. Obwohl über 2GB auf der NTDS Platte des DCs frei waren und die Subdomäne nur eine Datenbankgröße von 512MB hat, meldete SCOM regelmäßig, dass die Platte zu voll sei.</p>
<p>In diesem Fall sieht die Berechnung folgendermaßen aus:</p>
<p>Name der Regel im MP: <strong><em>AD Database Drive Free Collection</em></strong></p>
<p>Aktuelle Größen:</p>
<p><em>ntds.dit: 454672 kbytes<br />
ntds.logs: 10240 kbytes</em> (das MP Skript betrachtet nur das edb.log File)</p>
<p>Folgende Defaultparameter werden an das Skript übergeben (sind überschreibbar):<br />
<em>&lt;Threshold_DIT&gt;0.2&lt;/Threshold_DIT&gt; (also 20%)<br />
&lt;Boundary_DIT&gt;500000&lt;/Boundary_DIT&gt;<br />
&lt;Boundary_LOG&gt;200000&lt;/Boundary_LOG&gt;<br />
&lt;Threshold_LOG&gt;0.05&lt;/Threshold_LOG&gt;</em></p>
<p>Die Berechnung sieht so aus (aus dem Skript kopiert):</p>
<p><em>lReserveLog = lSizeDB * CDbl(LOG_THRESHOLD)<br />
If (lReserveLog &lt; LOG_BOUNDARY) Then<br />
lReserveLog = LOG_BOUNDARY<br />
End If<br />
lReserveDB = lSizeDB * CDbl(DIT_THRESHOLD)<br />
If (lReserveDB &lt; DIT_BOUNDARY) Then<br />
lReserveDB = DIT_BOUNDARY<br />
End If</em></p>
<p>Anhand dieses Beispiels:</p>
<ul>
<li>DIT: 454MByte*0.2 -&gt; 90,8MB (&lt;500000) -&gt; Boundary 500MByte</li>
<li>LOG: 454MByte*0,05 -&gt; 22,7MB (&lt;200000) -&gt; Boundary 200MByte</li>
</ul>
<p>Die Berechnung der Logfilegröße basiert auf der ADDS Datenbankgröße (DIT)</p>
<p>Die Logdateien und die DB liegen auf der gleichen Partition. Daher gilt:</p>
<p><em> If (lFreeSpaceDB &lt; (lReserveDB + lReserveLog)) Then<br />
bSuccess = False</em></p>
<p><em> strMessage = &#8220;Free space (&#8221; &amp; lFreeSpaceDB &amp; &#8220;KB) on drive &#8221; &amp;  UCase(Left(strPathDB, 2)) &amp; &#8221; is lower than the required reserved space for AD Database and Log file. It should be at least &#8221; &amp; (lReserveLog + lReserveDB) &amp; &#8221; KBytes.&#8221;</em></p>
<p>Somit muss der freie Platz größer als 700MByte sein. Was in diesem Beispiel zutrifft.</p>
<p>Trotzdem erscheint im Eventlog und im SCOM die Fehlermeldung:</p>
<p><em>AD Database and Log : Free space (2614404KB) on drive D: is lower than the required reserved space for AD Database and Log file.<br />
It should be at least 3182704 KBytes.</em></p>
<p>Wenn man 3182704 durch die DB Größe (454672) teilt erhält man exakt 7. Die entspricht 2+5, d.h. es gibt ein Problem mit dem Komma-Trenner (<em><strong>,</strong></em> in deutsch, <strong><em>.</em></strong> in english)</p>
<p>Ich habe dies überprüft, in dem ich das Skript angepasst habe, damit es die erhaltenen Parameter auch in die Registry speichert (<em>setData</em>..):<br />
Die Boundary Werte sind korrekt, aber Threshold Werte sind auf 5 (log) und 2 (dit) !</p>
<p><em><strong>Lösung:</strong></em></p>
<p>Override auf deutschen DCs mit 0,05 und 0,2</p>
<p><em><strong>Test:</strong></em><br />
Die Datenbankplatte wurde etwas gefüllt. Kurz darauf wurde folgende korrekte Meldung generiert:</p>
<p><em>AD Database and Log : Free space (225996KB) on drive D: is lower than the required reserved space for AD Database and Log file. It should be at least 700000 KBytes</em></p>
<p>Natürlich könnte man als Alternativen Workaround immer die 7fache Größe der Datenbank als freien Speicherplatz bereitstellen, aber gerade wenn man Domänencontroller virtualisiert und die Platten vollständig reserviert, ist dies kein gangbarer Weg. Microsoft sollte hier wie üblich auf die Ländereinstellungen achten! (Oder Nachkommastellen vermeiden. Die Prozentwerte könnten auch als 5% angegeben werden, anstatt 0.05)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2009/01/opsmgr-adds-2003-management-pack-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

