<?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; Plugins</title>
	<atom:link href="http://www.mbaeker.de/tag/plugins/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: Notify by ICQ, MSN, Jabber or Facebook</title>
		<link>http://www.mbaeker.de/2011/11/scom-notify-by-icq-msn-jabber-or-facebook/</link>
		<comments>http://www.mbaeker.de/2011/11/scom-notify-by-icq-msn-jabber-or-facebook/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 13:36:18 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Operations Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[scom]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=781</guid>
		<description><![CDATA[On thing I was always missing in System Center Operations Manager (SCOM) was the notification with other instant messaging (IM) protocols than the build in Microsoft Communicator. On friday I had some time to test a solution which I will describe here. On warnung at the beginning: This current solution is experimental. It will run [...]]]></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="aim" src="http://www.mbaeker.de/wp-content/uploads/2011/11/aim.png" alt="aim" width="84" height="84" align="left" border="0" />On thing I was always missing in System Center Operations Manager (SCOM) was the notification with other instant messaging (IM) protocols than the build in Microsoft Communicator.</p>
<p>On friday I had some time to test a solution which I will describe here.</p>
<p>On warnung at the beginning: This current solution is experimental. It will run a Miranda client in the system context and can be a large security hole for your SCOM server!</p>
<p>The first thing I had to to is finding a client which can be controlled by command line or by a SDK. I stumbled upon the <a href="http://www.eblis.tla.ro/index.php?option=com_content&amp;task=view&amp;id=14&amp;Itemid=26" target="_blank">command line plugin</a> for Miranda IM. Miranda IM is an open source mutli-protocol instant messaging client. With it you can integrate multiple protocols with plugins.</p>
<p><span id="more-781"></span></p>
<p>I created a test ICQ account and a surrounding batch file for miranda:</p>
<pre class="brush: plain; title: ; notranslate">
setlocal

set log=&quot;c:\logging.log&quot;
echo. &gt;&gt; %log%
echo starting %date% %time% &gt;&gt; %log%

rem läuft miranda schon?
tasklist | findstr /i miranda32.exe
if %errorlevel%.==0. goto laeuft
echo Starte Miranda im System Kontext &gt;&gt; %log%
start &quot;&quot; &quot;%~dp0miranda32.exe&quot;
echo 10 sec warten...
ping -w 1000 -n 10 128.0.0.1
goto weiter

:laeuft
echo Miranda laeuft schon  &gt;&gt; %log%

:weiter
echo mimcmd message %~1 &quot;%~2&quot; &gt;&gt; %log%
mimcmd message %~1 &quot;%~2&quot;&gt;&gt; %log%
endlocal
</pre>
<p>First it checks if miranda is already running. The command Tasklist is only available in Windows 2008 and later. If it isn’t running it will be startet (has to be in the same directory as the batch file) and the batch waits for 10 seconds. After that it will use the mimcmd command the send the message.</p>
<p>The batch file takes two parameter: 1. the target of the im (can be more than one) 2. The message to send.</p>
<p>To use this batch file you have to create a Command Notification Channel in SCOM:</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/notificationChannel1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="notificationChannel1" src="http://www.mbaeker.de/wp-content/uploads/2011/11/notificationChannel1_thumb.png" alt="notificationChannel1" width="345" height="304" border="0" /></a></p>
<p>And here the interesting command line call:</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/notificationChannel2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="notificationChannel2" src="http://www.mbaeker.de/wp-content/uploads/2011/11/notificationChannel2_thumb.png" alt="notificationChannel2" width="352" height="310" border="0" /></a></p>
<p>I have used only one target. You can define more then one target by surounding the second parameter (everything between 5 and 49) with qoutes like this: “ICQNumber1 ICQNumber2” or if you want to specify the protocol: “ICQNumber1:ICQ MSNAlias:MSN”. For details look into the readme of the command line plugin.</p>
<p>For sending something to this channel you have to create a subscriber:</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/subscriber.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="subscriber" src="http://www.mbaeker.de/wp-content/uploads/2011/11/subscriber_thumb.png" alt="subscriber" width="354" height="312" border="0" /></a></p>
<p>And after that you create a normal subscription with the channel and the subscriber.</p>
<p>If everything worded correctly you will see after the first alert in the process list (task manager):</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/taskmgr.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="taskmgr" src="http://www.mbaeker.de/wp-content/uploads/2011/11/taskmgr_thumb.png" alt="taskmgr" width="446" height="223" border="0" /></a></p>
<p>a miranda process in the system context. And in you IM client:</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/im.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="im" src="http://www.mbaeker.de/wp-content/uploads/2011/11/im_thumb.png" alt="im" width="463" height="146" border="0" /></a></p>
<p>To increase the security you should deactivate and delete all plugins that aren’t necessary. Here is my plugin list:</p>
<p><a href="http://www.mbaeker.de/wp-content/uploads/2011/11/plugins.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="plugins" src="http://www.mbaeker.de/wp-content/uploads/2011/11/plugins_thumb.png" alt="plugins" width="222" height="314" border="0" /></a></p>
<p>Outlook:</p>
<p>I will try to start the miranda process with lower privileges but still in the system context.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2011/11/scom-notify-by-icq-msn-jabber-or-facebook/feed/</wfw:commentRss>
		<slash:comments>2</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>Twitter?</title>
		<link>http://www.mbaeker.de/2009/03/twitter/</link>
		<comments>http://www.mbaeker.de/2009/03/twitter/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:46:30 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=80</guid>
		<description><![CDATA[Ich habe mich jetzt mal bei Twitter angemeldet. (@AllDoneHere) Skeptisch bin ich immer noch, aber probieren geht über studieren. Natürlich hat dieses WordPress jetzt auch entsprechende Plugins zur Integration mit Twitter. Darunter fällt u.a. der Link &#8220;Send To Twitter&#8221; über jeden Post.]]></description>
			<content:encoded><![CDATA[<p>Ich habe mich jetzt mal bei Twitter angemeldet. (@AllDoneHere)<br />
Skeptisch bin ich immer noch, aber probieren geht über studieren. Natürlich hat dieses WordPress jetzt auch entsprechende Plugins zur Integration mit Twitter. Darunter fällt u.a. der Link &#8220;Send To Twitter&#8221; über jeden Post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2009/03/twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aktualisierungen</title>
		<link>http://www.mbaeker.de/2008/12/aktualisierungen/</link>
		<comments>http://www.mbaeker.de/2008/12/aktualisierungen/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 14:54:20 +0000</pubDate>
		<dc:creator>markus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mbaeker.de/?p=21</guid>
		<description><![CDATA[Gerade gestartet und schon aktualisiert. WordPress läuft jetzt als Version 2.7. Diese Gelegenheit habe ich genutzt, die Vorschläge von Bren Ozar aus seinem Blog-Eintrag How to Start a Technical Blog, Part 3: WordPress Plugins umzusetzen. Ich habe jetzt ein paar sinnvolle Plugins hinzugefügt. OpenID finde ich mit das interessantest davon.]]></description>
			<content:encoded><![CDATA[<p>Gerade gestartet und schon aktualisiert. WordPress läuft jetzt als Version 2.7. Diese Gelegenheit habe ich genutzt, die Vorschläge von Bren Ozar aus seinem Blog-Eintrag<br />
<a href="http://www.brentozar.com/archive/2008/12/how-to-start-a-technical-blog-part-3-wordpress-plugins/" target="_blank">How to Start a Technical Blog, Part 3: WordPress Plugins</a><br />
umzusetzen. Ich habe jetzt ein paar sinnvolle Plugins hinzugefügt. OpenID finde ich mit das interessantest davon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbaeker.de/2008/12/aktualisierungen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

