<?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># Defining Chaos In Order &#187; Windows</title>
	<atom:link href="http://mattiasgeniar.be/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattiasgeniar.be</link>
	<description>Tips, Tricks &#38; Rants of a Sys Admin</description>
	<lastBuildDate>Fri, 30 Jul 2010 08:09:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>TCP Traffic Redirection on Windows</title>
		<link>http://mattiasgeniar.be/2010/04/14/tcp-traffic-redirection-on-windows/</link>
		<comments>http://mattiasgeniar.be/2010/04/14/tcp-traffic-redirection-on-windows/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 18:15:37 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://mattiasgeniar.be/?p=1920</guid>
		<description><![CDATA[A very nifty tool, called RINETD. Redirects TCP connections from one IP address and port to another. rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the configfile. How to use it &#8230; <a href="http://mattiasgeniar.be/2010/04/14/tcp-traffic-redirection-on-windows/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A very nifty tool, called <a href="http://www.boutell.com/rinetd/" onclick="pageTracker._trackPageview('/outgoing/www.boutell.com/rinetd/?referer=');">RINETD</a>.</p>
<blockquote><p>Redirects TCP connections from one IP address and port to another. rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the configfile.</p></blockquote>
<p><strong>How to use it</strong></p>
<p>First of, download it from the <a href="http://www.boutell.com/rinetd/" onclick="pageTracker._trackPageview('/outgoing/www.boutell.com/rinetd/?referer=');">website</a>. The Windows 2000 version also works on Server 2003.</p>
<p>Create a new config file, called &#8220;<strong>config.cfg</strong>&#8221; in the same folder as where you&#8217;ve extracted the file. Add the following line. The format is &#8220;<strong>&lt;source&gt; &lt;port&gt; &lt;destination&gt; &lt;port&gt;</strong>&#8220;.</p>
<blockquote><p>0.0.0.0 80 192.168.100.1 80</p></blockquote>
<p>And start the daemon by executing the following.</p>
<blockquote>
<div id="_mcePaste">C:\Folder\Where\You\Extracted\rinetd&gt;rinetd.exe -c <strong>config.cfg</strong></div>
</blockquote>
<p>This will start the daemon, using the config file mentioned. The example lets you redirect all traffic (0.0.0.0) on port 80 to a new server (192.168.100.1) on port 80. A perfect HTTP redirection!</p>
<p>You can add multiple rules, change ports, &#8230; A new rule should be started on a new line.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2010/04/14/tcp-traffic-redirection-on-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cool Windows Screensaver: The Blue Screen Of Death</title>
		<link>http://mattiasgeniar.be/2009/11/28/cool-windows-screensaver-the-blue-screen-of-death/</link>
		<comments>http://mattiasgeniar.be/2009/11/28/cool-windows-screensaver-the-blue-screen-of-death/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 14:09:04 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bsod]]></category>
		<category><![CDATA[screensaver]]></category>

		<guid isPermaLink="false">http://mattiasgeniar.be/?p=1805</guid>
		<description><![CDATA[Here&#8217;s a fun piece of software by SysInternals: BlueScreen. It does what the name implies: Bluescreen is a screen saver that not only authentically mimics a BSOD, but will simulate startup screens seen during a system boot. * On NT &#8230; <a href="http://mattiasgeniar.be/2009/11/28/cool-windows-screensaver-the-blue-screen-of-death/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a fun piece of software by <a href="http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx" onclick="pageTracker._trackPageview('/outgoing/technet.microsoft.com/en-us/sysinternals/bb842062.aspx?referer=');">SysInternals</a>: <a href="http://technet.microsoft.com/en-us/sysinternals/bb897558.aspx" onclick="pageTracker._trackPageview('/outgoing/technet.microsoft.com/en-us/sysinternals/bb897558.aspx?referer=');">BlueScreen</a>. It does what the name implies:</p>
<blockquote><p>Bluescreen is a screen saver that not only authentically mimics a <a href="http://en.wikipedia.org/wiki/Blue_Screen_of_Death" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Blue_Screen_of_Death?referer=');">BSOD</a>, but will simulate startup screens seen during a system boot.</p>
<p>* On NT 4.0 installations it simulates chkdsk of disk drives with errors!<br />
* On Win2K and Windows 9x it presents the Win2K startup splash screen, complete with rotating progress band and progress control updates!<br />
* On Windows XP and Windows Server 2003 it presents the XP/Server 2003 startup splash screen with progress bar!</p></blockquote>
<p>Now that&#8217;s cool! :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2009/11/28/cool-windows-screensaver-the-blue-screen-of-death/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Release Candidate Available For Download</title>
		<link>http://mattiasgeniar.be/2009/05/05/windows-7-release-candidate-available-for-download/</link>
		<comments>http://mattiasgeniar.be/2009/05/05/windows-7-release-candidate-available-for-download/#comments</comments>
		<pubDate>Tue, 05 May 2009 07:00:32 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[RC]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://mattiasgeniar.be/?p=1650</guid>
		<description><![CDATA[Get it, while it&#8217;s hot! A fun sidenote, though: The RC will expire on June 1, 2010. Starting on March 1, 2010, your PC will begin shutting down every two hours. Windows will notify you two weeks before the bi-hourly &#8230; <a href="http://mattiasgeniar.be/2009/05/05/windows-7-release-candidate-available-for-download/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Get it, <a href="http://www.microsoft.com/windows/windows-7/download.aspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/windows/windows-7/download.aspx?referer=');">while it&#8217;s hot</a>!</p>
<p>A fun sidenote, though:</p>
<blockquote><p>The RC will expire on June 1, 2010. Starting on March 1, 2010, <strong>your PC will begin shutting down every two hours</strong>. Windows will notify you two weeks before the bi-hourly shutdowns start. To avoid interruption, you’ll need to install a non-expired version of Windows before March 1, 2010. You’ll also need to install the programs and data that you want to use.</p></blockquote>
<p>What a way to let users know they should update/upgrade! ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2009/05/05/windows-7-release-candidate-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect SQL Server Management Studio Express To Alternate TCP Port</title>
		<link>http://mattiasgeniar.be/2009/03/11/connect-sql-server-management-studio-express-to-alternate-tcp-port/</link>
		<comments>http://mattiasgeniar.be/2009/03/11/connect-sql-server-management-studio-express-to-alternate-tcp-port/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 20:00:43 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://mattiasgeniar.be/?p=1551</guid>
		<description><![CDATA[Since I didn&#8217;t find it right away, here&#8217;s the solution. The default notation &#8220;server:port&#8221; doesn&#8217;t work here (for God knows what reason). You need to seperate the hostname and port with a comma. Here&#8217;s an example.   What ever happened &#8230; <a href="http://mattiasgeniar.be/2009/03/11/connect-sql-server-management-studio-express-to-alternate-tcp-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since I didn&#8217;t find it right away, here&#8217;s the solution. The default notation &#8220;server:port&#8221; doesn&#8217;t work here (for God knows what reason). You need to seperate the hostname and port with a comma. Here&#8217;s an example.</p>
<p> </p>
<div id="attachment_1552" class="wp-caption aligncenter" style="width: 426px"><img class="size-full wp-image-1552" title="sql_server_alternate_port" src="http://mattiasgeniar.be/wp-content/uploads/2009/03/sql_server_alternate_port.png" alt="SQL Server Alternate Port" width="416" height="308" /><p class="wp-caption-text">SQL Server Alternate Port</p></div>
<p>What ever happened to the default point seperation? :-(</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2009/03/11/connect-sql-server-management-studio-express-to-alternate-tcp-port/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PowerShell: Windows Scripting Made Fun Again!</title>
		<link>http://mattiasgeniar.be/2009/02/27/powershell-windows-scripting-made-fun-again/</link>
		<comments>http://mattiasgeniar.be/2009/02/27/powershell-windows-scripting-made-fun-again/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 19:48:02 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[get-date]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://mattiasgeniar.be/?p=1516</guid>
		<description><![CDATA[Windows Scripting used to be horrible. You got a lousy language to write in &#8211; Visual Basic (especially coming from C-like languages) &#8211; and it just didn&#8217;t seem all that powerfull. Any action you wanted done, required quite a few &#8230; <a href="http://mattiasgeniar.be/2009/02/27/powershell-windows-scripting-made-fun-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Windows Scripting used to be horrible. You got a lousy language to write in &#8211; Visual Basic (especially <a href="http://mattiasgeniar.be/about/">coming from C-like languages</a>) &#8211; and it just didn&#8217;t seem all that powerfull. Any action you wanted done, required quite a few lines of code, a healthy supply of patience and.</p>
<p>But now, there&#8217;s a new kid in town; <a href="http://en.wikipedia.org/wiki/Windows_PowerShell" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Windows_PowerShell?referer=');">Windows PowerShell</a>.</p>
<p>And they choose its name right; <strong>Power</strong>Shell. It IS powerful.<span id="more-1516"></span></p>
<p>One of the most intriguing features is its ability to pipe output from one command, to the other.</p>
<p>How there &#8211; what&#8217;s new in that? Linux has had this for many years now, and even the command prompt in windows allowed you to pipe output onto another program.</p>
<p>It&#8217;s they way it pipes that output. <a href="http://wiki.linuxquestions.org/wiki/Pipe" onclick="pageTracker._trackPageview('/outgoing/wiki.linuxquestions.org/wiki/Pipe?referer=');">Normal shells</a> take the output of a certain command (which is plain text), and passes that text on as the input for the next command. PowerShell does this better; it takes the output from the first command, which can be anything from plain text, to an array of objects, to a SQL record set &#8211; and intelligently feeds it to the second command, which interprets its datatype (String, Hashtable, RecordSet, &#8230;) and can immediately process it.</p>
<p>This allows for much more robust programs, that get things done quicker &#8211; and in fewer lines of code. Granted, it has a bit of a weird syntax to get used to &#8211; but once you grasp it, the only limits you will reach are those of your own imagination.</p>
<p>There&#8217;s a very interesting video on Channel9 featuring <a href="http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Erik-Meijer-and-Jeffrey-Snover-Inside-PowerShell/" onclick="pageTracker._trackPageview('/outgoing/channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Erik-Meijer-and-Jeffrey-Snover-Inside-PowerShell/?referer=');">Erik Meijer and Jeffrey Snover on how PowerShell was built, and what it&#8217;s capabilities are</a>. Since the video features the creator of PowerShell, it really drills down to the very details of it.</p>
<p><strong>Installing PowerShell</strong></p>
<p>It&#8217;s a built-in feature in Windows Server 2008, but runs just as well in earlier versions of Windows Server (as well as Windows XP/Vista). You can <a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx?referer=');">download it, and install it</a> (without rebooting the desktop/server!).</p>
<p><strong>Get it going</strong></p>
<p>Nothing fancy about that. Start it from your Start menu (or add a shortcut to <em>%systemroot%/system32/</em> directory to the PowerShell executable, to start it from the <em>Run</em> screen).</p>
<div id="attachment_1517" class="wp-caption aligncenter" style="width: 381px"><img class="size-full wp-image-1517" title="start_run_powershell" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/start_run_powershell.png" alt="Start PowerShell" width="371" height="112" /><p class="wp-caption-text">Start PowerShell</p></div>
<p>You&#8217;ll see a new &#8220;command prompt&#8221; like screen, with a blue background color.</p>
<p><strong>Your first command</strong></p>
<p>Nothing like losing your virginity on a new scripting language, so allow me to pick your cherry; type the following cmdlet: <strong>Get-Date</strong>. This will print the current date, in your current open shell, in a localized language.</p>
<div id="attachment_1519" class="wp-caption aligncenter" style="width: 306px"><img class="size-full wp-image-1519" title="powershell_get_date_1" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_get_date_1.png" alt="Get-Date: Date &amp; Time in Powershell" width="296" height="72" /><p class="wp-caption-text">Get-Date: Date &amp; Time in Powershell</p></div>
<p>One of the key features of PowerShell, is that almost everything is an object, from which you can invoke methods, of retrieve properties. If you want to retrieve a property from an object, that isn&#8217;t assigned to a variable, you need to enclose it in round brackets. Try the following command for instance:</p>
<p><strong>(Get-Date).Year</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<div id="attachment_1520" class="wp-caption aligncenter" style="width: 210px"><strong><img class="size-full wp-image-1520" title="powershell_get_date_2" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_get_date_2.png" alt="Get-Date Object: (Get-Date).Year" width="200" height="49" /></strong><p class="wp-caption-text">(Get-Date).Year</p></div>
<p><strong> </strong></p>
<p>This will parse the object &#8220;Get-Date&#8221;, and show the property &#8220;Year&#8221;. Obviously, there&#8217;s &#8220;Minute&#8221;, &#8220;Hour&#8221;, &#8220;Second&#8221;, &#8220;Month&#8221;, &#8230; A detailed overview at Microsoft&#8217;s Technet; <a href="http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-date.mspx" onclick="pageTracker._trackPageview('/outgoing/www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/get-date.mspx?referer=');">Listing Date &amp; Time Information: Get-Date</a>.</p>
<p><strong>Variables</strong></p>
<p>Finally one of the few languages that has adopted the dollar-sign variable notation; <strong>$value = &#8220;string&#8221;</strong>.</p>
<p>You can try this immediately in the PowerShell: <strong>$variable = &#8220;Here&#8217;s my value.&#8221;</strong>.  This will assign the value &#8220;Here&#8217;s my value&#8221; to the variable &#8220;$variable&#8221;. Print it, by typing <strong>$variable</strong>.</p>
<div id="attachment_1518" class="wp-caption aligncenter" style="width: 307px"><img class="size-full wp-image-1518" title="powershell_variable" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_variable.png" alt="Variable Assigning" width="297" height="51" /><p class="wp-caption-text">Variable Assigning</p></div>
<p>To complete the example above, the following is also possible.</p>
<blockquote><p>$dteCurrentDate = Get-Date<br />
$dteCurrentDate.Year<br />
$dteCurrentDate.Month<br />
$dteCurrentDate.ToString()<br />
$dteCurrentDate.AddDays(10).ToString()</p></blockquote>
<div id="attachment_1521" class="wp-caption aligncenter" style="width: 386px"><img class="size-full wp-image-1521" title="powershell_get_date_3" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_get_date_3.png" alt="Get-Date Properties" width="376" height="135" /><p class="wp-caption-text">Get-Date Properties</p></div>
<p><strong>PowerShell&#8217;s awesomeness</strong></p>
<p>Let&#8217;s get to the fun part. Piping output from one cmdlet to another, and parsing its objects/properties immediately. Issue the following command.</p>
<p><strong>ls</strong></p>
<p>Unix users will know this as the command to list files &amp; folders in a particular directory (and without a parameter, the current directory). Similar to &#8220;dir&#8221; in command prompt. Output ought to be similar to this.</p>
<div id="attachment_1522" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-1522" title="powershell_ls_full" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_ls_full.png" alt="ls: Mode, LastWriteTime, Length, Name" width="490" height="140" /><p class="wp-caption-text">ls: Mode, LastWriteTime, Length, Name</p></div>
<p>Now image you only want the columns Name and Length, in that order?</p>
<p><strong>ls | Select Name, Length</strong></p>
<p>This will parse the output of &#8220;ls&#8221; (which normally includes columns such as Mode, LastWriteTime, Length &amp; Name) and filter it down to only the &#8220;Name&#8221; and &#8220;Length&#8221; column.</p>
<div id="attachment_1523" class="wp-caption aligncenter" style="width: 500px"><img class="size-full wp-image-1523" title="powershell_ls_selected" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_ls_selected.png" alt="ls | Select Name, Length" width="490" height="101" /><p class="wp-caption-text">ls | Select Name, Length</p></div>
<p><strong>GUI: command completion, syntax highlighting &amp; more</strong></p>
<p>While writing in a plain old notepad/wordpad will work too, it&#8217;s always nice to have a GUI around for code completion &amp; syntax highlighting. <a href="http://www.powergui.org/index.jspa" onclick="pageTracker._trackPageview('/outgoing/www.powergui.org/index.jspa?referer=');">PowerGUI</a> is powerfect (pun intended) for that.</p>
<div id="attachment_1533" class="wp-caption aligncenter" style="width: 360px"><img class="size-full wp-image-1533" title="powershell_powergui" src="http://mattiasgeniar.be/wp-content/uploads/2009/02/powershell_powergui.png" alt="PowerGUI Interface" width="350" height="245" /><p class="wp-caption-text">PowerGUI Interface</p></div>
<p>Especially useful when you&#8217;re just starting to get into it, the code completion can help find that one cmdlet you just couldn&#8217;t remember. Definately <a href="http://www.powergui.org/downloads.jspa" onclick="pageTracker._trackPageview('/outgoing/www.powergui.org/downloads.jspa?referer=');">worth the download</a>.</p>
<p><strong>Wrap it up</strong></p>
<p>These are some of the basics of PowerShell, and don&#8217;t actually dive deep into it. I&#8217;ll be writing a few more segments on PowerShell, which go deeper into directory looping &amp; filtering, sending mails from PowerShell, running MySQL queries, basic operations, &#8230;</p>
<p>I&#8217;m loving all the cool things you can accomplish through PowerShell, you should too! ;-)</p>
<p>In the meantime, here are some very interesting links to learn more about PowerShell.</p>
<ul>
<li><a href="http://channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Erik-Meijer-and-Jeffrey-Snover-Inside-PowerShell/" onclick="pageTracker._trackPageview('/outgoing/channel9.msdn.com/shows/Going+Deep/Expert-to-Expert-Erik-Meijer-and-Jeffrey-Snover-Inside-PowerShell/?referer=');">Expert to Expert: Erik Meijer and Jeffrey Snover &#8211; Inside PowerShell</a> (Video)</li>
<li><a href="http://weblogs.asp.net/steveschofield/archive/2007/01/25/basic-powershell-examples-couple-useful-commands.aspx" onclick="pageTracker._trackPageview('/outgoing/weblogs.asp.net/steveschofield/archive/2007/01/25/basic-powershell-examples-couple-useful-commands.aspx?referer=');">Basic PowerShell examples, couple useful commands</a></li>
<li><a href="http://thepowershellguy.com/blogs/posh/archive/2007/03/31/powershell-examples-used-on-ars-technica.aspx" onclick="pageTracker._trackPageview('/outgoing/thepowershellguy.com/blogs/posh/archive/2007/03/31/powershell-examples-used-on-ars-technica.aspx?referer=');">PowerShell examples used on Ars Technica</a></li>
<li><a href="http://stackoverflow.com/questions/474849/is-powershell-a-good-upgrade-for-a-batch-file" onclick="pageTracker._trackPageview('/outgoing/stackoverflow.com/questions/474849/is-powershell-a-good-upgrade-for-a-batch-file?referer=');">Is PowerShell a good upgrade for a batch file?</a></li>
<li><a href="http://stackoverflow.com/questions/33559/how-to-get-started-with-powershell" onclick="pageTracker._trackPageview('/outgoing/stackoverflow.com/questions/33559/how-to-get-started-with-powershell?referer=');">How to get started with PowerShell?</a></li>
<li><a href="http://stackoverflow.com/questions/546275/windows-scripting-vbscript-dos-js-python" onclick="pageTracker._trackPageview('/outgoing/stackoverflow.com/questions/546275/windows-scripting-vbscript-dos-js-python?referer=');">Windows Scripting: VBScript, DOS, JS, Python, …</a></li>
<li><a href="http://www.powershellpro.com/powershell-tutorial-introduction/" onclick="pageTracker._trackPageview('/outgoing/www.powershellpro.com/powershell-tutorial-introduction/?referer=');">PowerShell tutorials</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2009/02/27/powershell-windows-scripting-made-fun-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Animated GIF&#8217;s In Outlook 2003 &amp; 2007</title>
		<link>http://mattiasgeniar.be/2008/11/21/animated-gifs-in-outlook-2003-2007/</link>
		<comments>http://mattiasgeniar.be/2008/11/21/animated-gifs-in-outlook-2003-2007/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 18:00:51 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[animated gif]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[outlook]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=1166</guid>
		<description><![CDATA[Don&#8217;t bother, it&#8217;s just not possible. Outlook 2007 will use the rendering engine of Word. As it is now, Word 2007 (which will be installed when using Outlook 2007) does not support animated gifs. Only the first frame of the animated &#8230; <a href="http://mattiasgeniar.be/2008/11/21/animated-gifs-in-outlook-2003-2007/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t bother, it&#8217;s just <a href="http://www.campaignmonitor.com/blog/archives/2007/07/support_for_animated_gifs_in_h.html" onclick="pageTracker._trackPageview('/outgoing/www.campaignmonitor.com/blog/archives/2007/07/support_for_animated_gifs_in_h.html?referer=');">not possible</a>. Outlook 2007 will use the rendering engine of Word. As it is now, Word 2007 (which will be installed when using Outlook 2007) does not support animated gifs. Only the first frame of the animated image will be displayed &#8211; so better make this as informative as possible!</p>
<p>Strange how previous versions of Outlook had this functionality, and the &#8220;new&#8221; version doesn&#8217;t. Apparently, the change from rendering engine, from Internet Explorer to Word, was done for &#8220;consistency&#8221; purposes. They did accomplish that &#8211; it&#8217;s now consistently harder to get anything to work in Outlook.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/11/21/animated-gifs-in-outlook-2003-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AVG Screws Up, Accidentally Deletes user32.dll System Library</title>
		<link>http://mattiasgeniar.be/2008/11/12/avg-screws-up-accidentally-deletes-user32dll-system-library/</link>
		<comments>http://mattiasgeniar.be/2008/11/12/avg-screws-up-accidentally-deletes-user32dll-system-library/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 23:14:36 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[agv]]></category>
		<category><![CDATA[user32.dll]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=1193</guid>
		<description><![CDATA[Users who recently updated their AVG to the latest Virus Definitions, could find themselves in real trouble when rebooting their PC. Apparently, the latest definition automatically quarantines and deletes the file user32.dll, a Windows system library needed to successfully start &#8230; <a href="http://mattiasgeniar.be/2008/11/12/avg-screws-up-accidentally-deletes-user32dll-system-library/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Users who recently updated their AVG to the latest Virus Definitions, could find themselves in real trouble when rebooting their PC.</p>
<p>Apparently, the latest definition automatically quarantines and deletes the file <strong>user32.dll</strong>, a Windows system library needed to successfully start your computer. As a result, the computer will display an option list, with choices of boot-up (safe mode, safe mode with networking options, &#8230;). A screenshot can be found below.</p>
<div id="attachment_1199" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/11/avgprobleem_01.jpg" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/11/avgprobleem_01.jpg?referer=');"><img class="size-full wp-image-1199" title="avgprobleem_01" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/11/avgprobleem_01.jpg" alt="AVG's Missing user32.dll Effect" width="500" height="376" /></a><p class="wp-caption-text">AVG&#39;s Missing user32.dll Effect</p></div>
<p>The problem only spread to 5 European countries: the <strong>Netherlands</strong>, <strong>France</strong>, <strong>Italy</strong>, <strong>Portugal </strong>and <strong>Spain</strong>. Although some users in <strong>Belgium </strong>are effected too, for using Dutch software. It only seems to effect Windows XP SP2 users.</p>
<p><a href="http://www.avg.com/support" onclick="pageTracker._trackPageview('/outgoing/www.avg.com/support?referer=');">AVG&#8217;s Support Pages</a>: &#8220;<em>In case you are not able to run your Windows XP operating system after AVG 8.0 virus definition update, it may be caused by a false positive on a specific &#8220;user32.dll&#8221; system file. The file was moved to the AVG Virus Vault and deleted. </em><strong><em>Therefore it is not possible to start Windows.</em></strong><em> &#8221;</em></p>
<p>The result: hundreds of thousands of computers world wide won&#8217;t start, because of that missing file. There&#8217;s a fix, of course, but it&#8217;s quite technical and won&#8217;t be sufficient for your average facebook-myspace-youtube-generation. They&#8217;ll have to call their ICT guy, and pay royally for a screw-up some other company made.</p>
<p><strong>The fix tool can be found on </strong><a href="http://www.avg.com/support" onclick="pageTracker._trackPageview('/outgoing/www.avg.com/support?referer=');"><strong>AVG&#8217;s Support pages</strong></a><strong>.</strong> Dutch people can find <a href="http://www.nucia.nl/forum/showthread.php?t=42813" onclick="pageTracker._trackPageview('/outgoing/www.nucia.nl/forum/showthread.php?t=42813&amp;referer=');">an answer here</a> (or <a href="http://www.xs4all.nl/~wankytan/avg.html" onclick="pageTracker._trackPageview('/outgoing/www.xs4all.nl/_wankytan/avg.html?referer=');">mirror&#8217;d</a>).</p>
<p>Could you charge Grisoft (owner of the AVG virusscan) for this, given the fact that most people use AVG&#8217;s free virus scanner? Will their EULA cover this sufficiently?</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/11/12/avg-screws-up-accidentally-deletes-user32dll-system-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Widgets, Gadgets, &#8230; You Can Keep&#8217;m!</title>
		<link>http://mattiasgeniar.be/2008/10/28/widgets-gadgets-you-can-keepm/</link>
		<comments>http://mattiasgeniar.be/2008/10/28/widgets-gadgets-you-can-keepm/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:48:49 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[gadgets]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=1108</guid>
		<description><![CDATA[Around the same time when &#8220;Web 2.0&#8243; became (in)famous, there was also the uprising of widgets and gadgets. Meaningless clutter on your desktop/homepage, supposedly to give you &#8220;at-a-glance&#8221; information about subjects you like (the weather in a country thousands of &#8230; <a href="http://mattiasgeniar.be/2008/10/28/widgets-gadgets-you-can-keepm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Around the same time when &#8220;Web 2.0&#8243; became (in)famous, there was also the uprising of widgets and gadgets. Meaningless clutter on your desktop/homepage, supposedly to give you &#8220;at-a-glance&#8221; information about subjects you like (the weather in a country thousands of miles from your location, a largely oversized clock, news tickers, &#8230;). This is a trend that continues to grow, as more and more application go for a &#8220;widget&#8221;-style display.</p>
<p>So, am I the only one that seriously dislikes this?<span id="more-1108"></span></p>
<p>When I first saw the screenshots of a Windows Vista desktop, I disliked it. It may have had its improvements graphic-wise, and it may have looked really slick, but the default menu &amp; sidebar were a big no-no for me.</p>
<div id="attachment_1109" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/windows-vista-sidebar.jpg" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/windows-vista-sidebar.jpg?referer=');"><img class="size-full wp-image-1109" title="windows-vista-sidebar" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/windows-vista-sidebar.jpg" alt="Windows Vista's Sidebar" width="450" height="340" /></a><p class="wp-caption-text">Windows Vista&#39;s Sidebar</p></div>
<p>Take a look at the screenshot above. You&#8217;ve just lost a big portion of your screen, to a bloated sidebar, filled with information you don&#8217;t need. See that big-ass clock in the top right corner? Guess what; there&#8217;s already a clock in the bottom right one. It&#8217;s been there for at least 10 years.</p>
<p>Those rotating pictures in the sidebar. Do you _really_ need it? You can&#8217;t live for a day without having seen at least hundreds of your vacation pictures? It&#8217;s a useless feature, and you&#8217;re better of removing it &#8211; if only to remove a form of distraction that&#8217;ll keep you from your what you should be doing &#8211; being productive!</p>
<p>And to that extent, Windows Vista managed to sneak in extremely large desktop icons. I liked the size in Windows XP, why couldn&#8217;t they just keep it like that, by default? Your desktop looks cluttered if you have more than 10 icons, where this never was an issue before.</p>
<p>But no worries &#8211; they&#8217;ll get it right with <a href="http://arstechnica.com/news.ars/post/20081028-first-look-at-windows-7.html" onclick="pageTracker._trackPageview('/outgoing/arstechnica.com/news.ars/post/20081028-first-look-at-windows-7.html?referer=');">Windows 7</a>. I mean, they have to. Right?</p>
<div id="attachment_1110" class="wp-caption aligncenter" style="width: 509px"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/desktop-gadgets.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/desktop-gadgets.png?referer=');"><img class="size-full wp-image-1110" title="desktop-gadgets" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/desktop-gadgets.png" alt="Windows 7 - Gadgets" width="499" height="375" /></a><p class="wp-caption-text">Windows 7 - Gadgets</p></div>
<p>Guess again.</p>
<p>&#8220;We removed the sidebar to make room for &#8230; gadgets!&#8221;.</p>
<p>This brings me to my original point: gadgets or widgets are a step back in productivity. They fill up your desktop, makes it look unorganized and distracts you from whatever it is you should be doing. They may have tried to make it look better, but at what cost?</p>
<p>A desktop should be kept for your most used application icons, not for duplicate information (2 clocks, really?). A clean, well-organized desktop is a true haven for productivity. You know every icon by heart, every position. You know where to click. You have your workspace just the way you like it.</p>
<p>Don&#8217;t spoil it with Gadgets/Widgets. Just don&#8217;t. I&#8217;ll stick to my Windows XP with Windows 2000 look for a while, as long as this &#8220;evolution&#8221; of gadgets continues.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/28/widgets-gadgets-you-can-keepm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Exploring New Limits For Windows&#8217; Task Manager (Through The Command Line)</title>
		<link>http://mattiasgeniar.be/2008/10/27/exploring-new-limits-for-windows-task-manager-through-the-command-line/</link>
		<comments>http://mattiasgeniar.be/2008/10/27/exploring-new-limits-for-windows-task-manager-through-the-command-line/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 18:00:06 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[task]]></category>
		<category><![CDATA[task manager]]></category>
		<category><![CDATA[tasklist.exe]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=961</guid>
		<description><![CDATA[Everyone knows the Windows Task Manager (accessed through CTRL+SHIFT+ESC or via CTRL+ALT+DEL), and perhaps even Process Explorer (by Microsoft) as a tool used to identify all processes &#38; programs running on your computer. You can use to shut dow services &#8230; <a href="http://mattiasgeniar.be/2008/10/27/exploring-new-limits-for-windows-task-manager-through-the-command-line/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Everyone knows the Windows Task Manager (accessed through CTRL+SHIFT+ESC or via CTRL+ALT+DEL), and perhaps even <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" onclick="pageTracker._trackPageview('/outgoing/technet.microsoft.com/en-us/sysinternals/bb896653.aspx?referer=');">Process Explorer</a> (by Microsoft) as a tool used to identify all processes &amp; programs running on your computer.</p>
<p>You can use to shut dow services that are slowing down your computer, ending programs that aren&#8217;t responding and in general finding out which programs are currently operating.</p>
<p>Did you know you can get the same information (+ a <em>crapload </em>more) through the command line?<span id="more-961"></span></p>
<p>Your task manager could show you the following information.</p>
<p><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_1.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_1.png?referer=');"><img class="aligncenter size-full wp-image-963" title="task_manager_1" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_1.png" alt="" width="404" height="449" /></a></p>
<p>A full list of your processes is shown, some more clear than others. &#8220;Firefox.exe&#8221; is the obvious executable for the Firefox browser. &#8220;PaintDotNet.exe&#8221; is the <a href="http://www.getpaint.net/" onclick="pageTracker._trackPageview('/outgoing/www.getpaint.net/?referer=');">advanced Paint-editor</a> program. But what is &#8220;<strong>svchost.exe</strong>&#8220;, run as a Local Service? And why does it have multiple instances?</p>
<p>This information isn&#8217;t shown in the default Task Manager, but can be obtained through the command line. Open up your command line (start &gt; execute &gt; cmd) and hit the following command: <strong>tasklist /SVC</strong></p>
<p>The <strong>/SVC</strong> parameter will make each running process display the services. This&#8217;ll give you your task-list, with additional info &#8211; like this.</p>
<p style="text-align: center;"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_2.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_2.png?referer=');"><img class="aligncenter size-full wp-image-965" title="task_manager_2" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_2.png" alt="" width="490" height="210" /></a></p>
<p style="text-align: left;">You now see that the service &#8220;<strong>svchost.exe</strong>&#8221; (split this up in &#8220;<strong>SVC</strong>&#8221; and &#8220;<strong>host.exe</strong>&#8221; and you see where the parameter name <strong>/SVC</strong> comes from), together with the services that belong to it.</p>
<p style="text-align: left;">Several instances of the &#8220;svchost.exe&#8221; are active, each with a different set of services. There&#8217;s a process to keep track of the DNS Cache, one for the networking-functions such as DHCP, SharedAccess, time-sync, &#8230;</p>
<p style="text-align: left;">By issuing the command <strong>tasklist /M</strong>, we can see all the external DLL-files a certain process uses.</p>
<p style="text-align: center;"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_3.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_3.png?referer=');"><img class="aligncenter size-full wp-image-968" title="task_manager_3" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_3.png" alt="" width="490" height="325" /></a></p>
<p style="text-align: left;">You can also use filters, to only display those processes you want. By adding the &#8220;<strong>/FI</strong>&#8221; parameter, you can filter on process name (imagename), the status of the process, &#8230;</p>
<p style="text-align: left;">This is the result for <strong>tasklist /FI &#8220;IMAGENAME eq SVCHOST.EXE&#8221;</strong>. A list of all running processes with the name &#8220;svchost.exe&#8221;.</p>
<p style="text-align: left;"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_4.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_4.png?referer=');"><img class="aligncenter size-full wp-image-969" title="task_manager_4" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_4.png" alt="" width="500" height="143" /></a></p>
<p style="text-align: left;">This can be expanded to show all the processes titled &#8220;svchost.exe&#8221;, and to display the extra services-info; <strong>tasklist /SVC /FI &#8220;IMAGENAME eq SVCHOST.EXE&#8221;</strong>.</p>
<p style="text-align: left;"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_5.png" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_5.png?referer=');"><img class="aligncenter size-full wp-image-970" title="task_manager_5" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/10/task_manager_5.png" alt="" width="500" height="190" /></a></p>
<p style="text-align: left;">There are a lot of possible options available, and it can give you a great deal of extra information about your current processes &amp; services, that the normal Task Manager can&#8217;t give you.</p>
<p style="text-align: left;">You can find out more by launching <strong>tasklist /?</strong> to see all the possible parameters.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/27/exploring-new-limits-for-windows-task-manager-through-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Reset A (Administrator) Password On A Windows Server 2003</title>
		<link>http://mattiasgeniar.be/2008/10/23/how-to-reset-a-administrator-password-on-a-windows-server-2003/</link>
		<comments>http://mattiasgeniar.be/2008/10/23/how-to-reset-a-administrator-password-on-a-windows-server-2003/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 18:00:18 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[server 2003]]></category>
		<category><![CDATA[w2003]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=948</guid>
		<description><![CDATA[There are several tools to reset a user password on a Windows Server/Desktop. Here&#8217;s one that definately works: Offline NT Password &#38; Registry Editor (also called: Nordahl&#8217;s NTPasswd). There is a very detailed walkthrough available, on how to reset an &#8230; <a href="http://mattiasgeniar.be/2008/10/23/how-to-reset-a-administrator-password-on-a-windows-server-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are several tools to reset a user password on a Windows Server/Desktop. Here&#8217;s one that definately works: <a href="http://home.eunet.no/pnordahl/ntpasswd/" onclick="pageTracker._trackPageview('/outgoing/home.eunet.no/pnordahl/ntpasswd/?referer=');">Offline NT Password &amp; Registry Editor</a> (also called: Nordahl&#8217;s NTPasswd).</p>
<p>There is a very detailed walkthrough available, on <a href="http://home.eunet.no/pnordahl/ntpasswd/walkthrough.html" onclick="pageTracker._trackPageview('/outgoing/home.eunet.no/pnordahl/ntpasswd/walkthrough.html?referer=');">how to reset an Administrator password</a> on a NT/2000/XP/2003 machine, which will guide you directly through all the steps involved.</p>
<p>Some notes;</p>
<ul>
<li>If you have a server with a (software) RAID1 config, the boot-disk will see 2 separate disks. Just apply the password-reset to the first one.</li>
<li>After applying the reset, your server will first perform a checkdisk, and require another reboot &#8211; afterwards, the reset will be completed.</li>
<li>It was verified to work on a Windows Server 2003 SP2, in October 2008.</li>
</ul>
<div>There are hundreds of other tools, some free, some not. This one has worked several times already &#8211; it&#8217;s the one I&#8217;ll keep using and promoting.</div>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/23/how-to-reset-a-administrator-password-on-a-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Reading A .FLV File From Flash &#8211; Not Working Because Of Missing MIME Type</title>
		<link>http://mattiasgeniar.be/2008/10/19/reading-a-flv-file-from-flash-not-working-because-of-missing-mime-type/</link>
		<comments>http://mattiasgeniar.be/2008/10/19/reading-a-flv-file-from-flash-not-working-because-of-missing-mime-type/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 18:00:24 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=943</guid>
		<description><![CDATA[By default, reading a .FLV file from another flash-file doesn&#8217;t work because the MIME-type of the .FLV file is missing. You need to explicitly define this (ie: in IIS) to allow these files to be interpreted as flash-files. You can &#8230; <a href="http://mattiasgeniar.be/2008/10/19/reading-a-flv-file-from-flash-not-working-because-of-missing-mime-type/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default, reading a .FLV file from another flash-file doesn&#8217;t work because the MIME-type of the .FLV file is missing. You need to explicitly define this (ie: in <strong>IIS</strong>) to allow these files to be interpreted as flash-files.</p>
<p>You can do so by logging into the IIS Manager, and right-clicking the particular website. Select <strong>Properties</strong>.</p>
<p>At the tab &#8220;<strong>HTTP Headers</strong>&#8220;, at the bottom, there is an option to define &#8220;<strong>File Types</strong>&#8220;. Add a new MIME type, and define it as &#8220;<strong>flv</strong>&#8221; extension and &#8220;<strong>video/x-flv</strong>&#8221; as content type.</p>
<p>Save it, and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/19/reading-a-flv-file-from-flash-not-working-because-of-missing-mime-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardware Testing: Randomly Play &#8220;Fur Elise&#8221;</title>
		<link>http://mattiasgeniar.be/2008/10/17/hardware-testing-randomly-play-fur-elise/</link>
		<comments>http://mattiasgeniar.be/2008/10/17/hardware-testing-randomly-play-fur-elise/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 18:00:31 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[fur elise]]></category>
		<category><![CDATA[lol]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=940</guid>
		<description><![CDATA[This has got to be one of the weirder features ever made:Computer Randomly Plays Classical Music During normal operation or in Safe mode, your computer may play &#8220;Fur Elise&#8221; or &#8220;It&#8217;s a Small, Small World&#8221; seemingly at random. This is &#8230; <a href="http://mattiasgeniar.be/2008/10/17/hardware-testing-randomly-play-fur-elise/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p class="title">This has got to be one of the weirder features ever made:<a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;261186" onclick="pageTracker._trackPageview('/outgoing/support.microsoft.com/default.aspx?scid=kb_en-us_261186&amp;referer=');">Computer Randomly Plays Classical Music</a></p>
<blockquote>
<p class="title">During normal operation or in Safe mode, your computer may play &#8220;Fur Elise&#8221; or &#8220;It&#8217;s a Small, Small World&#8221; seemingly at random. This is an indication sent to the PC speaker from the computer&#8217;s BIOS that the CPU fan is failing or has failed, or that the power supply voltages have drifted out of tolerance. This is a design feature of a detection circuit and system BIOSes developed by Award/Unicore from 1997 on.</p>
</blockquote>
<p class="title">How do you come up with this stuff?!</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/17/hardware-testing-randomly-play-fur-elise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Allow Empty Passwords In Remote Desktop (RDP &#8211; WinXP/2000/2003)</title>
		<link>http://mattiasgeniar.be/2008/10/03/how-to-allow-empty-passwords-in-remote-desktop-rdp-winxp20002003/</link>
		<comments>http://mattiasgeniar.be/2008/10/03/how-to-allow-empty-passwords-in-remote-desktop-rdp-winxp20002003/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 18:00:05 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[gpedit]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rdp]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=766</guid>
		<description><![CDATA[It&#8217;s a security risk in most situations, but for a home network this can really be useful (where not every computer _needs_ a password). So, what to change to allow empty passwords to be entered when making a remote desktop &#8230; <a href="http://mattiasgeniar.be/2008/10/03/how-to-allow-empty-passwords-in-remote-desktop-rdp-winxp20002003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a security risk in most situations, but for a home network this can really be useful (where not every computer _needs_ a password). So, what to change to allow empty passwords to be entered when making a remote desktop connection to another computer/server?<span id="more-766"></span></p>
<p>Here&#8217;s what you need to do on that specific PC:</p>
<p><strong>Go to Start &gt; Run &gt; &#8220;gpedit.msc&#8221;</strong><em> (without quotes)</em><strong><br />
</strong></p>
<p>This opens up the Group Policy Editor, where you need to change a small thing. Use the menu on the left, to browse to <strong>Computer Configuration &gt; Windows Settings &gt; Security Settings &gt; Local Policies &gt; Security Options</strong>. Once you get there, double click the &#8220;<strong>Accounts: Limit local account use of blank passwords to console login only</strong>&#8220;-option, and change its value to <strong>Disabled</strong>.</p>
<p>You can now leave your password blank or empty, when connection to that remote host. This also works to allow empty passwords in network shares as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/10/03/how-to-allow-empty-passwords-in-remote-desktop-rdp-winxp20002003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prevent Thumbs.db Files From Being Created And Stored</title>
		<link>http://mattiasgeniar.be/2008/09/29/prevent-thumbsdb-files-from-being-created-and-stored/</link>
		<comments>http://mattiasgeniar.be/2008/09/29/prevent-thumbsdb-files-from-being-created-and-stored/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 18:00:16 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[thumbnails]]></category>
		<category><![CDATA[thumbs.db]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=771</guid>
		<description><![CDATA[By default, whenever you pick &#8220;thumbnail&#8221; or &#8220;tiles&#8221; view, in your Windows Explorer, a local cache of a pictures thumbnail will be stored in that directory, in a file called Thumbs.db. It speeds things up next time you open that &#8230; <a href="http://mattiasgeniar.be/2008/09/29/prevent-thumbsdb-files-from-being-created-and-stored/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default, whenever you pick &#8220;thumbnail&#8221; or &#8220;tiles&#8221; view, in your Windows Explorer, a local cache of a pictures thumbnail will be stored in that directory, in a file called <strong>Thumbs.db</strong>. It speeds things up next time you open that directory, because it can load the image from the cache &#8211; but it also creates an extra file in every directory &#8230;</p>
<p>This can be annoying when you&#8217;re used to publishing things through SVN, or when uploading several directories. The silly Thumbs.db will be uploaded as well.<span id="more-771"></span></p>
<p>You can disable it by going to <strong>Tools </strong>&gt; <strong>Folder Options</strong> and checking the option &#8220;<strong>do not cache thumbnails</strong>&#8220;.</p>
<div id="attachment_772" class="wp-caption alignnone" style="width: 256px"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/09/thumbs-db.jpg" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/09/thumbs-db.jpg?referer=');"><img class="size-medium wp-image-772" title="thumbs-db" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/09/thumbs-db-246x300.jpg" alt="Do not cache thumbnails" width="246" height="300" /></a><p class="wp-caption-text">Do not cache thumbnails</p></div>
<p>When you select &#8220;<strong>Apply to all folders</strong>&#8220;, not a single folder on your PC will create that file. If the file already existed, it&#8217;ll still be there &#8211; so you should still manually delete those. <em>(Start a search in your &#8220;My Computer&#8221; for &#8220;Thumbs.db&#8221;, select them all and hit the delete button)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/09/29/prevent-thumbsdb-files-from-being-created-and-stored/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;The service could not bind instance 1. The data is the error code.&#8221;</title>
		<link>http://mattiasgeniar.be/2008/09/20/the-service-could-not-bind-instance-1-the-data-is-the-error-code/</link>
		<comments>http://mattiasgeniar.be/2008/09/20/the-service-could-not-bind-instance-1-the-data-is-the-error-code/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 18:00:53 +0000</pubDate>
		<dc:creator>Matti</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.mattiasgeniar.be/?p=716</guid>
		<description><![CDATA[When you suddenly find your Default SMTP Virtual Server stopped in your IIS Manager, you could find it throwing the following error when you try to start it manually. The event viewer will only tell you the following message: Event &#8230; <a href="http://mattiasgeniar.be/2008/09/20/the-service-could-not-bind-instance-1-the-data-is-the-error-code/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you suddenly find your Default SMTP Virtual Server stopped in your IIS Manager, you could find it throwing the following error when you try to start it manually.</p>
<div id="attachment_717" class="wp-caption aligncenter" style="width: 357px"><a href="http://www.mattiasgeniar.be/wp-content/uploads/2008/09/1-error-msg-smtp-service-start.jpg" onclick="pageTracker._trackPageview('/outgoing/www.mattiasgeniar.be/wp-content/uploads/2008/09/1-error-msg-smtp-service-start.jpg?referer=');"><img class="size-full wp-image-717" title="1-error-msg-smtp-service-start" src="http://www.mattiasgeniar.be/wp-content/uploads/2008/09/1-error-msg-smtp-service-start.jpg" alt="The service has returned a service-specific error code. Check the Windows Event Viewer for details." width="347" height="136" /></a><p class="wp-caption-text">The service has returned a service-specific error code. Check the Windows Event Viewer for details.</p></div>
<p><span id="more-716"></span>The event viewer will only tell you the following message:</p>
<blockquote>
<p class="in_text">Event ID: <strong>115</strong><br />
Source: <strong>SMTPSVC</strong><br />
Description: <strong>The service could not bind instance 1. The data is the error code.</strong></p></blockquote>
<p class="in_text">This means the service couldn&#8217;t start on its configured port (by default SMTP uses port 25), and thus throws an error. It could be due to another mailserver that is already installed, or because another application is using up port 25.</p>
<p class="in_text">You could quickly check this by telnetting to your localhost on port 25, to see which service responds. Open a command prompt and type the following.</p>
<blockquote>
<p class="in_text"><strong>telnet localhost 25</strong></p>
</blockquote>
<p class="in_text">It should give you a message which will point you in the right direction to track down the culprit that &#8216;s using up your precious SMTP service port.</p>
<p class="in_text">Here are some useful links.</p>
<ul>
<li><a rel="bookmark" href="http://cosier.wordpress.com/2005/5/20/the-service-could-not-bind-instance-1/" onclick="pageTracker._trackPageview('/outgoing/cosier.wordpress.com/2005/5/20/the-service-could-not-bind-instance-1/?referer=');">The service could not bind instance 1.</a><a href="http://cosier.wordpress.com/2005/5/20/the-service-could-not-bind-instance-1/" onclick="pageTracker._trackPageview('/outgoing/cosier.wordpress.com/2005/5/20/the-service-could-not-bind-instance-1/?referer=');"> &#8211; Skype Issue</a></li>
<li><a href="http://support.microsoft.com/kb/907971" onclick="pageTracker._trackPageview('/outgoing/support.microsoft.com/kb/907971?referer=');">Microsoft KB: Although the SMTP service starts, the SMTP virtual server does not start in Exchange 2000 Server</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mattiasgeniar.be/2008/09/20/the-service-could-not-bind-instance-1-the-data-is-the-error-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
