<?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>alt-92 - blogIT</title>
	<atom:link href="http://blog.alt-92.net/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alt-92.net</link>
	<description>Const ForReading =1 - personal brainstorms, items, and other random webstuff</description>
	<lastBuildDate>Wed, 10 Feb 2010 22:18:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Managing DFS namespaces from the command line</title>
		<link>http://blog.alt-92.net/index.php/2010/02/10/managing-dfs-namespaces-from-the-command-line/</link>
		<comments>http://blog.alt-92.net/index.php/2010/02/10/managing-dfs-namespaces-from-the-command-line/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 22:15:04 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2010/02/10/managing-dfs-namespaces-from-the-command-line/</guid>
		<description><![CDATA[Last year, I posted about the&#160; DFS Modlink utility which you need if you want to manipulate DFS link states against DFS-N&#160; &#8211; Windows 2003 didn’t have any non-GUI tooling to do that, except for the Win32_DFSnode WMI properties.
Windows XP however does not support that particular interface, which leaves only modlink as a way to [...]]]></description>
			<content:encoded><![CDATA[<p>Last year, I posted about the&nbsp; <a title="DFS Modlink utility" href="http://blog.alt-92.net/index.php/2008/06/14/dfs-modlink-utility/">DFS Modlink utility</a> which you need if you want to manipulate DFS link states against DFS-N&nbsp; &#8211; Windows 2003 didn’t have any non-GUI tooling to do that, except for the Win32_DFSnode WMI properties.<br />
Windows XP however does not support that particular interface, which leaves only modlink as a way to disable or enable a DFS link.</p>
<p>From Windows 2008 onward, that sorely missing functionality is available in the revamped dfsutil commandline tool. And as an added bonus, changing the TTL for a link is also possible.<br />
Even more, dfsutil in 2008R2 (and therefore Windows 7 clients with RSAT installed) lets you set the Access Based Enumeration property.</p>
<p>Below are the property commands:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> E:\>dfsutil property</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum2">   2:</span>&nbsp; </pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum3">   3:</span> DESCRIPTION:</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum4">   4:</span> Displays or modifies the properties of a folder target (link target) or</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum5">   5:</span> namespace server (root target).</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum6">   6:</span>&nbsp; </pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum7">   7:</span> ------ PROPERTY Commands Supported ------</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum8">   8:</span>&nbsp; </pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum9">   9:</span> Sitecosting           Displays or modifies site costing <span style="color: #0000ff">for</span> a namespace.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum10">  10:</span> RootScalability       Displays or modifies the namsespace polling mode.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum11">  11:</span> ABE                   Enable/Disable/View ABE property of a namespace.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum12">  12:</span> Insite                Displays or modifies the <span style="color: #0000ff">in</span>-site property.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum13">  13:</span> TargetfailBack        Displays or modifies client fail back.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum14">  14:</span> SD                    Set/Get Security Information on the folder.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum15">  15:</span> State                 Displays or modifies a folder target or namespace server.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum16">  16:</span> TTL                   Displays or changes client referral caching.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum17">  17:</span> PriorityRank          Displays or changes the ordering method (priority rank).</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum18">  18:</span> PriorityClass         Displays or changes the target priority.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum19">  19:</span> Comment               Sets or displays the comment <span style="color: #0000ff">for</span> a namespace or link.</pre><br />
<!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>So, what do we do with this? Let’s say you’re migrating your DFS-Namespace enabled* Datashares to a newer fileserver with more storage capacity.</p>
<p>*no DFS-R , in case you’re wondering, because the original server might be a Windows 2003 non-R2 install.</p>
<p>A default link timeout is 7200 seconds or 2&#215;60x 60 seconds = 2 hours, meaning your DFS client will check for changes in state after that time. During your migration window, you’ll want to ensure that any changes are picked up within a shorter time.</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> E:\>dfsutil property ttl <a href="file://\\alt-92.net\data\share1">\\alt-92.net\data\share1</a></pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum2">   2:</span> The timeout <span style="color: #0000ff">for</span> <a href="file://\\alt-92.net\data\share1">\\alt-92.net\data\share1</a> is 7200</pre><br />
<!--CRLF--></div>
</div>
<p>First, we’ll change the timeout setting to a 5 minute setting:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> E:\>dfsutil property ttl set <a href="file://\\alt-92.net\data\share1">\\alt-92.net\data\share1</a> 300</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum2">   2:</span>&nbsp; </pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum3">   3:</span> Done processing this command.</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum4">   4:</span>&nbsp; </pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum5">   5:</span> E:\>dfsutil property ttl <a href="file://\\alt-92.net\data\share1">\\alt-92.net\data\share1</a></pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum6">   6:</span> The timeout <span style="color: #0000ff">for</span> <a href="file://\\alt-92.net\data\share1">\\alt-92.net\data\share1</a> is 300</pre><br />
<!--CRLF--></div>
</div>
<p>Then, using both dfscmd and dfsutil, we’ll add our new fileshare to the link AND set it offline:</p>
<p>&nbsp;</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> dfscmd /add \\alt-92.net\data\share1 <a href="file://\\newserver\data\share1">\\newserver\data\share1</a></pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum2">   2:</span> dfsutil property state offline \\alt-92.net\data\share1 <a href="file://\\newserver\data\share1">\\newserver\data\share1</a></pre><br />
<!--CRLF--></div>
</div>
<p>After syncing the content with robocopy (be sure to check the /MT switch for multithreading on Windows 2008R2 or Windows 7) we now flip the link state on both shares and restore the timeout value to its former setting:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> dfsutil property state offline \\alt-92.net\data\share1 \\oldserver\data\share1</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum2">   2:</span> dfsutil property state online \\alt-92.net\data\share1 \\newserver\data\share1</pre><br />
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum3">   3:</span> dfsutil property ttl set \\alt-92.net\data\share1 7200</pre><br />
<!--CRLF--></div>
</div>
<p>After that, we’ll decommission the old fileserver, by taking the shares offline and removing the old links from the DFS Namespace with dfscmd:</p>
<div id="codeSnippetWrapper" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;">
<div id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">
<pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"><span style="color: #606060" id="lnum1">   1:</span> dfscmd /remove \\alt-92.net\data\share1 \\oldserver\data\share1</pre><br />
<!--CRLF--></div>
</div>
<p>Et voila: we’ve migrated our DFS enabled fileshares to a new server with minimal downtime.</p>
<p>Fully scripted, its now feasible to migrate a DFS Namespace root with hundreds of links in just a few hours (including the final replication with robocopy – the bulk copy we’ve started a couple of days in advance) .</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2010/02/10/managing-dfs-namespaces-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inventive selling techniques for the housing slump.</title>
		<link>http://blog.alt-92.net/index.php/2009/12/20/inventive-selling-techniques-for-the-housing-slump/</link>
		<comments>http://blog.alt-92.net/index.php/2009/12/20/inventive-selling-techniques-for-the-housing-slump/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 21:12:44 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Crazy stuff]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/12/20/inventive-selling-techniques-for-the-housing-slump-get-a-saint-to-help-you-out/</guid>
		<description><![CDATA[&#160;
&#8230;get a saint to help you out.&#160;

right…
]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>&#8230;get a saint to help you out.&nbsp;</p>
<p><a href="http://blog.alt-92.net/wp-content/2009/12/DSC00219.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC00219" src="http://blog.alt-92.net/wp-content/2009/12/DSC00219_thumb.jpg" border="0" alt="DSC00219" width="184" height="244" /></a></p>
<p>right…</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/12/20/inventive-selling-techniques-for-the-housing-slump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware adapters &amp; unidentified networks in Vista &amp; 7</title>
		<link>http://blog.alt-92.net/index.php/2009/11/19/vmware-adapters-unidentified-networks-in-vista-7/</link>
		<comments>http://blog.alt-92.net/index.php/2009/11/19/vmware-adapters-unidentified-networks-in-vista-7/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 07:00:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/11/19/vmware-adapters-unidentified-networks-in-vista-7/</guid>
		<description><![CDATA[Most VMware Workstation users prefer not to enable the Host Only and NAT adapters, but for some scenarios you want to be able to do so.    Unfortunately, as soon as you enable&#160; those adapters, they’re detected as unidentified networks (worst-case) or as a separate public/private network connection in the Network and Sharing [...]]]></description>
			<content:encoded><![CDATA[<p>Most VMware Workstation users prefer not to enable the Host Only and NAT adapters, but for some scenarios you want to be able to do so.    <br />Unfortunately, as soon as you enable&#160; those adapters, they’re detected as unidentified networks (worst-case) or as a separate public/private network connection in the Network and Sharing Center.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="index" border="0" alt="index" src="http://blog.alt-92.net/wp-content/2009/11/index.jpg" width="644" height="154" /></p>
<p>And as soon as that happens, Windows (Advanced) Firewall kicks into Public mode effectively locking your box down. Which is A Good Thing&#160; &#8211; mostly, just not always what you want.</p>
</p>
<p><a href="http://kb.vmware.com/kb/1004813" target="_blank">VMware KB article 1004813</a>&#160; also describes possible solutions to fix this. Aside from disabling the NICs (hey, we wanted to use those, remember?)&#160; or changing the NICs over to Private Network (which you would have to do every reboot), you can configure the VMware adapters as so called Endpoint Devices per the procedure listed.     <br />More information on the Endpoint device configuration is available on MSDN:     <br /><a title="http://msdn.microsoft.com/en-us/library/bb201634.aspx" href="http://msdn.microsoft.com/en-us/library/bb201634.aspx">http://msdn.microsoft.com/en-us/library/bb201634.aspx</a>     <br />Reverting to the normal behaviour is as easy as flipping the DWORD to 0 or deleting the entry.     </p>
<p><a href="http://blog.alt-92.net/wp-content/2009/11/vmnix2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vmnix2" border="0" alt="vmnix2" src="http://blog.alt-92.net/wp-content/2009/11/vmnix2-thumb.jpg" width="644" height="232" /></a> </p>
<p>&#160;</p>
<p>There is also a useful side effect to the *<strong>NdisDeviceType</strong>&#160; setting:     <br />Remote Desktop connections will keep working even with enabled virtual NICs, whereas by default Remote Desktop (TS) binds itself to all available network connections.</p>
<p>Which means I can finally RD into my desktop machine from my laptop with Host-Only and NAT adapters enabled to run a proper multi-machine, multi-network test.    <br />Yay <img src='http://blog.alt-92.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>[edit]</p>
<p>Link to KB article fixed&#160; </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/11/19/vmware-adapters-unidentified-networks-in-vista-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting and installing WSUS updates in Server 2008 Core</title>
		<link>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</link>
		<comments>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:45:36 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/</guid>
		<description><![CDATA[On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.
  The problem with Server Core [...]]]></description>
			<content:encoded><![CDATA[<p>On a normal GUI-box, detecting or installing new updates after a fresh install is reasonably easy.<br />
You just click the Updates Control panel item,  or, for the more commandline orientated folks, run a wuauclt /detectnow  and wait for the “There are new updates available” Systray icon to appear.</p>
<p>  The problem with Server Core … there’s no way for you to see the “updates to install” notice in the system tray when you log on to the computer because, well, there’s no systray!</p>
<p> In comes a handy piece of VBscript that allows you to do a manual quick check and start off the installation process, using the in-box Windows Update Agent API.<br />
<a title="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa387102(VS.85).aspx</a></p>
<p>Although the MSDN article states it does not run against SUS 1.0 servers, you don’t have to worry because both Windows Update (site) and WSUS 3.x employ the WUA API.  </p>
<p>Save and run the script in the command prompt as &#8220;cscript <scriptname.vbs>&#8221; since the default script host is graphical (wscript) on a Core box.</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li></li><li>Set updateSession = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.Session&quot;<span class="br0">&#41;</span></li><li>Set updateSearcher = updateSession.CreateupdateSearcher<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;Searching for updates...&quot; &amp; vbCRLF</li><li>&nbsp;</li><li>Set searchResult = _</li><li>updateSearcher.Search<span class="br0">&#40;</span>&quot;IsInstalled=<span style="">0</span> and Type='Software'&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo &quot;List of applicable items on the machine:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title</li><li>Next</li><li>&nbsp;</li><li>If searchResult.Updates.Count = <span style="">0</span> Then</li><li>WScript.Echo &quot;There are no applicable updates.&quot;</li><li>WScript.Quit</li><li>End If</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Creating collection of updates to download:&quot;</li><li>&nbsp;</li><li>Set updatesToDownload = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>For I = <span style="">0</span> to searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding: &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;updatesToDownload.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span></li><li>Next</li><li>&nbsp;</li><li>WScript.Echo vbCRLF &amp; &quot;Downloading updates...&quot;</li><li>&nbsp;</li><li>Set downloader = updateSession.CreateUpdateDownloader<span class="br0">&#40;</span><span class="br0">&#41;</span> </li><li>downloader.Updates = updatesToDownload</li><li>downloader.Download<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;List of downloaded updates:&quot;</li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;Set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>Set updatesToInstall = CreateObject<span class="br0">&#40;</span>&quot;Microsoft.Update.UpdateColl&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; _</li><li>&quot;Creating collection of downloaded updates to install:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> To searchResult.Updates.Count-<span style="">1</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;set update = searchResult.Updates.Item<span class="br0">&#40;</span>I<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;If update.IsDownloaded = true Then</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; adding:&nbsp;&nbsp;&quot; &amp; update.Title </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; updatesToInstall.Add<span class="br0">&#40;</span>update<span class="br0">&#41;</span> </li><li>&nbsp;&nbsp;&nbsp;&nbsp;End If</li><li>Next</li><li>&nbsp;</li><li>WScript.Echo&nbsp;&nbsp;vbCRLF &amp; &quot;Would you like to install updates now? <span class="br0">&#40;</span>Y/N<span class="br0">&#41;</span>&quot;</li><li>strInput = WScript.StdIn.Readline</li><li>WScript.Echo </li><li>&nbsp;</li><li>If <span class="br0">&#40;</span>strInput = &quot;N&quot; or strInput = &quot;n&quot;<span class="br0">&#41;</span> Then </li><li>WScript.Quit</li><li>ElseIf <span class="br0">&#40;</span>strInput = &quot;Y&quot; or strInput = &quot;y&quot;<span class="br0">&#41;</span> Then</li><li>WScript.Echo &quot;Installing updates...&quot;</li><li>Set installer = updateSession.CreateUpdateInstaller<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>installer.Updates = updatesToInstall</li><li>Set installationResult = installer.Install<span class="br0">&#40;</span><span class="br0">&#41;</span></li><li>&nbsp;</li><li>'Output results of install</li><li>WScript.Echo &quot;Installation Result: &quot; &amp; _</li><li>installationResult.ResultCode </li><li>WScript.Echo &quot;Reboot Required: &quot; &amp; _ </li><li>installationResult.RebootRequired &amp; vbCRLF </li><li>WScript.Echo &quot;Listing of updates installed &quot; &amp; _</li><li>&quot;and individual installation results:&quot; </li><li>&nbsp;</li><li>For I = <span style="">0</span> to updatesToInstall.Count - <span style="">1</span></li><li>WScript.Echo I + <span style="">1</span> &amp; &quot;&gt; &quot; &amp; _</li><li>updatesToInstall.Item<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.Title &amp; _</li><li>&quot;: &quot; &amp; installationResult.GetUpdateResult<span class="br0">&#40;</span>i<span class="br0">&#41;</span>.ResultCode </li><li>Next</li><li>End If</li></ol></div></pre><!--END_DEVFMTCODE--></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/11/14/detecting-and-installing-wsus-updates-in-server-2008-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Workplace &#8211; Room with a view</title>
		<link>http://blog.alt-92.net/index.php/2009/08/04/my-workplace-room-with-a-view/</link>
		<comments>http://blog.alt-92.net/index.php/2009/08/04/my-workplace-room-with-a-view/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:42:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Crazy stuff]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/08/04/my-workplace-room-with-a-view/</guid>
		<description><![CDATA[ 
 
&#160;
 
&#160;

]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.alt-92.net/wp-content/2009/11/dsc00003copy.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Highest building in NL" border="0" alt="Highest building in NL" src="http://blog.alt-92.net/wp-content/2009/11/dsc00003copy-thumb.jpg" width="643" height="484" /></a> </p>
<p><a href="http://blog.alt-92.net/wp-content/2009/11/dsc00004copy.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Angles" border="0" alt="Angles" src="http://blog.alt-92.net/wp-content/2009/11/dsc00004copy-thumb.jpg" width="364" height="484" /></a> </p>
<p>&#160;</p>
<p><a href="http://blog.alt-92.net/wp-content/2009/11/dsc00005copy.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="" border="0" alt="" src="http://blog.alt-92.net/wp-content/2009/11/dsc00005copy-thumb.jpg" width="364" height="484" /></a> </p>
<p>&#160;</p>
<p><a href="http://blog.alt-92.net/wp-content/2009/11/dsc00059-2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Outside view" border="0" alt="Outside view" src="http://blog.alt-92.net/wp-content/2009/11/dsc00059-2-thumb.jpg" width="364" height="484" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/08/04/my-workplace-room-with-a-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DFS namespace query tool</title>
		<link>http://blog.alt-92.net/index.php/2009/07/29/dfs-namespace-query-tool/</link>
		<comments>http://blog.alt-92.net/index.php/2009/07/29/dfs-namespace-query-tool/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 21:10:58 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/?p=167</guid>
		<description><![CDATA[For quick lookups to find out where DFS links are pointing to, I&#8217;ve built dfsquery.exe in C++.
standalone executable, 64bits support and works on NT5.1 and up (including Windows 7).
Based on MSDN code sample from http://msdn.microsoft.com/en-us/library/bb524791(VS.85).aspx
#define UNICODE#include &#60;stdio.h&#62;#include &#60;windows.h&#62;#include &#60;lm.h&#62;#include &#60;lmdfs.h&#62;&#160;void wmain&#40;int argc, wchar_t *argv&#91; &#93;&#41;&#123;&#160;&#160; PDFS_INFO_4 pData;&#160;&#160; PDFS_STORAGE_INFO ps;&#160;&#160; DWORD er=0, tr=0, res, j;&#160;&#160;&#160; //&#160;&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>For quick lookups to find out where DFS links are pointing to, I&#8217;ve built dfsquery.exe in C++.<br />
standalone executable, 64bits support and works on NT5.1 and up (including Windows 7).</p>
<p>Based on MSDN code sample from <a href="http://msdn.microsoft.com/en-us/library/bb524791(VS.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb524791(VS.85).aspx</a></p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li></li><li>#define UNICODE</li><li>#include &lt;stdio.h&gt;</li><li>#include &lt;windows.h&gt;</li><li>#include &lt;lm.h&gt;</li><li>#include &lt;lmdfs.h&gt;</li><li>&nbsp;</li><li>void wmain<span class="br0">&#40;</span>int argc, wchar_t *argv<span class="br0">&#91;</span> <span class="br0">&#93;</span><span class="br0">&#41;</span></li><li><span class="br0">&#123;</span></li><li>&nbsp;&nbsp; PDFS_INFO_4 pData;</li><li>&nbsp;&nbsp; PDFS_STORAGE_INFO ps;</li><li>&nbsp;&nbsp; DWORD er=0, tr=0, res, j;</li><li>&nbsp;</li><li>&nbsp;&nbsp; //</li><li>&nbsp;&nbsp; // Check command line arguments.</li><li>&nbsp;&nbsp; //</li><li>&nbsp;&nbsp; if <span class="br0">&#40;</span>argc&lt;2<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wprintf<span class="br0">&#40;</span>L&quot;Syntax: %s DfsEntryPath\n&quot;, argv<span class="br0">&#91;</span>0<span class="br0">&#93;</span><span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp; else</li><li>&nbsp;&nbsp; <span class="br0">&#123;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Call the NetDfsGetInfo function, specifying level 4.</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;res = NetDfsGetInfo<span class="br0">&#40;</span>argv<span class="br0">&#91;</span>1<span class="br0">&#93;</span>, NULL, NULL,&nbsp;&nbsp;4, <span class="br0">&#40;</span>LPBYTE *<span class="br0">&#41;</span> &amp;pData<span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// If the call succeeds, print the data.</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if<span class="br0">&#40;</span>res==0<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="br0">&#123;</span></li><li> printf<span class="br0">&#40;</span>&quot;Report for: %-30S\nStorages: %u\nComment: %S\n&quot;,pData-&gt;EntryPath, pData-&gt;NumberOfStorages, pData-&gt;Comment, pData-&gt;Timeout<span class="br0">&#41;</span>;</li><li> printf<span class="br0">&#40;</span>&quot;Timeout: %u\n&quot;,pData-&gt;Timeout<span class="br0">&#41;</span>;</li><li> ps = pData-&gt;Storage;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Loop through each target.</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for<span class="br0">&#40;</span>j=<span style="">1</span>;j&lt;=pData-&gt;NumberOfStorages;j++<span class="br0">&#41;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="br0">&#123;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Print the status <span class="br0">&#40;</span>Offline/Online<span class="br0">&#41;</span> and the name </li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// of each target referenced by the DFS link.</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//</li><li> printf<span class="br0">&#40;</span>&quot;Target %S&nbsp;&nbsp;&quot;, <span class="br0">&#40;</span>ps-&gt;State == DFS_STORAGE_STATE_OFFLINE<span class="br0">&#41;</span> ? TEXT<span class="br0">&#40;</span>&quot;Offline:&quot;<span class="br0">&#41;</span>: TEXT<span class="br0">&#40;</span>&quot;Online :&quot;<span class="br0">&#41;</span><span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;printf<span class="br0">&#40;</span>&quot;\\\\%S\\%S\n&quot;,ps-&gt;ServerName,ps-&gt;ShareName<span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ps++;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="br0">&#125;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Free the allocated memory.</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NetApiBufferFree<span class="br0">&#40;</span>pData<span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="br0">&#125;</span></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf<span class="br0">&#40;</span>&quot;Error: %u\n&quot;, res<span class="br0">&#41;</span>;</li><li>&nbsp;&nbsp; <span class="br0">&#125;</span></li><li>&nbsp;&nbsp; return;</li><li><span class="br0">&#125;</span></li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>It&#8217;s quick, it&#8217;s probably dirty, but it works just fine (and no admin privileges needed as it does the same as your average DFS client code).</p>
<p>Sample output:</p>
<blockquote><p>D:\>dfsquery \\alt-92.net\files\0054<br />
Report for: \\ALT-92\files\0054<br />
Storages: 2<br />
Comment:Department 54 data store<br />
Timeout: 300<br />
Target Online :  \\ENDEAVOUR\data\0054<br />
Target Offline:  \\Equinoxe\data\0054</p></blockquote>
<p>It shows timeout value, comments (description field in DFS console) the number of link targets and their individual link state.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/07/29/dfs-namespace-query-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS 6.0 running PHP 5.2.10 / FastCGI on Windows 2003 R2</title>
		<link>http://blog.alt-92.net/index.php/2009/07/13/iis-60-running-php-5210-fastcgi-on-windows-2003-r2/</link>
		<comments>http://blog.alt-92.net/index.php/2009/07/13/iis-60-running-php-5210-fastcgi-on-windows-2003-r2/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:10:46 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/07/13/iis-60-running-php-5210-fastcgi-on-windows-2003-r2/</guid>
		<description><![CDATA[This server is now running PHP 5.2.10 using FastCGI.
FastCGI is a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications such as PHP with Web servers.    Compared to the ISAPI PHP module, PHP and FastCGI are much faster and definitely the way to go.
FastCGI is available [...]]]></description>
			<content:encoded><![CDATA[<p>This server is now running PHP 5.2.10 using FastCGI.</p>
<p>FastCGI is a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications such as PHP with Web servers.    <br />Compared to the ISAPI PHP module, PHP and FastCGI are much faster and definitely the way to go.</p>
<p>FastCGI is available from IIS.NET ( <a title="http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1521&amp;g=6" href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1521&amp;g=6">http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1521&amp;g=6</a> ) and takes very little configuration. A good installation instruction is at <a title="http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/" href="http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/">http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/</a> including a manual setup.     <br />As always, you’ll need to properly secure the application directories and don’t forget to tweak the php.ini settings file as well.    <br />I prefer to do a manual PHP setup in a custom path. That way, all the binaries and extensions are in a self-contained environment which allows for easy version upgrading, switching between versions or running <a href="http://ruslany.net/2008/07/per-site-php-configuration-with-iis-fastcgi/" target="_blank">differrent versions side by side for compatibility reasons.</a></p>
<p><a href="http://blog.alt-92.net/wp-content/2009/07/phpversioning.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="phpversioning" border="0" alt="phpversioning" src="http://blog.alt-92.net/wp-content/2009/07/phpversioning-thumb.png" width="244" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/07/13/iis-60-running-php-5210-fastcgi-on-windows-2003-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting VHD files in Vista</title>
		<link>http://blog.alt-92.net/index.php/2009/07/09/mounting-vhd-files-in-vista/</link>
		<comments>http://blog.alt-92.net/index.php/2009/07/09/mounting-vhd-files-in-vista/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 10:00:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtualisation]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/07/09/mounting-vhd-files-in-vista/</guid>
		<description><![CDATA[Windows 7 features include attaching and detaching Virtual Harddrive files (.VHD) via Disk Management.
This allows you to mount and dismount your Complete PC Backup .vhd file to restore a single item from backup or prestage a Virtual PC/Server diskfile,  or even your HyperV disks.
Vista does not have this feature, but there is a workaround [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 7 features include attaching and detaching Virtual Harddrive files (.VHD) via Disk Management.<br />
This allows you to mount and dismount your Complete PC Backup .vhd file to restore a single item from backup or prestage a Virtual PC/Server diskfile,  or even your HyperV disks.</p>
<p>Vista does not have this feature, but there is a workaround available. Installing the VHDMount utility from Virtual Server 2005R2 SP1 lets you use the VHD storage driver and the vhdmount utility.</p>
<ol>
<li>Download the Virtual Server 2005 R2 SP1 setup from <a title="http://www.microsoft.com/windowsserversystem/virtualserver/downloads.aspx" href="http://www.microsoft.com/windowsserversystem/virtualserver/downloads.aspx">http://www.microsoft.com/windowsserversystem/virtualserver/downloads.aspx</a> .</li>
<li>Run setup and choose Custom Setup type:
<p><a href="http://blog.alt-92.net/wp-content/2009/07/vhdmount1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vhdmount1" src="http://blog.alt-92.net/wp-content/2009/07/vhdmount1-thumb.png" border="0" alt="vhdmount1" width="243" height="253" /></a><br />
<a href="http://blog.alt-92.net/wp-content/2009/07/vhdmount2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vhdmount2" src="http://blog.alt-92.net/wp-content/2009/07/vhdmount2-thumb.png" border="0" alt="vhdmount2" width="244" height="186" /></a></li>
<li>Verify the default selection for VHD Mount is marked:
<p><a href="http://blog.alt-92.net/wp-content/2009/07/vhdmount3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vhdmount3" src="http://blog.alt-92.net/wp-content/2009/07/vhdmount3-thumb.png" border="0" alt="vhdmount3" width="244" height="186" /></a></p>
<p>Click Next to install and finish the setup.      </p>
<p><a href="http://blog.alt-92.net/wp-content/2009/07/vhdmount4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vhdmount4" src="http://blog.alt-92.net/wp-content/2009/07/vhdmount4-thumb.png" border="0" alt="vhdmount4" width="244" height="186" /></a></li>
<li>You can use the command line vhdmount utility to attach a .VHD file, or alternatively, use these registry entries to create a context menu for the four actions.
<p>      <!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li>Windows Registry Editor Version <span style="">5.00</span></li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD<span class="br0">&#93;</span></li><li>@=&quot;Virtual Machine Hard Drive Image&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\DefaultIcon<span class="br0">&#93;</span></li><li>@=&quot;C:\\Program Files\\Microsoft Virtual PC\\Virtual PC.exe,-<span style="">327</span>&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell<span class="br0">&#93;</span></li><li>@=&quot;Mount&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Commit<span class="br0">&#93;</span></li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Commit\command<span class="br0">&#93;</span></li><li>@=&quot;\&quot;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&quot; /c \&quot;%1\&quot;&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Discard<span class="br0">&#93;</span></li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Discard\command<span class="br0">&#93;</span></li><li>@=&quot;\&quot;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&quot; /d \&quot;%1\&quot;&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount<span class="br0">&#93;</span></li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Dismount\command<span class="br0">&#93;</span></li><li>@=&quot;\&quot;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&quot; /u /d \&quot;%1\&quot;&quot;</li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount<span class="br0">&#93;</span></li><li>&nbsp;</li><li><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Virtual.Machine.HD\shell\Mount\command<span class="br0">&#93;</span></li><li>@=&quot;\&quot;C:\\Program Files\\Microsoft Virtual Server\\Vhdmount\\vhdmount.exe\&quot; /p \&quot;%1\&quot;&quot;</li></ol></div></pre><!--END_DEVFMTCODE-->  The result is a context menu on right-clicking a .VHD file like this.        </p>
<p><a href="http://blog.alt-92.net/wp-content/2009/07/vhdmount5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="vhdmount5" src="http://blog.alt-92.net/wp-content/2009/07/vhdmount5-thumb.png" border="0" alt="vhdmount5" width="244" height="211" /></a>        </p>
<p>Mounting your disk file is now as easy as a right-click away, and the VHD will show up as a new disk in Explorer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/07/09/mounting-vhd-files-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technet Direct Plus 3 month trial &#8211; update</title>
		<link>http://blog.alt-92.net/index.php/2009/02/26/technet-direct-plus-3-month-trial-is-back/</link>
		<comments>http://blog.alt-92.net/index.php/2009/02/26/technet-direct-plus-3-month-trial-is-back/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:15:21 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/02/26/technet-direct-plus-3-month-trial-is-back/</guid>
		<description><![CDATA[Dutch Technet enthusiasts once again can register for a free 3 month trial of Technet Direct Plus.
[update] The offer period has expired and new entries are no longer available.   Normal subscriptions are of course still possible .

Just klick http://technet.microsoft.com/nl-nl/dd491981.aspx and enter your data, wait a couple of days for confirmation and you’ll get [...]]]></description>
			<content:encoded><![CDATA[<p>Dutch Technet enthusiasts once again can register for a free 3 month trial of Technet Direct Plus.</p>
<p>[update] The offer period has expired and new entries are no longer available.   <br />Normal subscriptions are of course still possible .</p>
<p><img class="alignnone size-full wp-image-127" title="header_technet_plus" height="100" alt="header_technet_plus" src="http://blog.alt-92.net/wp-content/2009/02/header_technet_plus.jpg" width="600" /></p>
<p>Just klick <a title="http://technet.microsoft.com/nl-nl/dd491981.aspx" href="http://technet.microsoft.com/nl-nl/dd491981.aspx">http://technet.microsoft.com/nl-nl/dd491981.aspx</a> and enter your data, wait a couple of days for confirmation and you’ll get access to all the latest and greatest Server operating systems &amp; software.</p>
<p>Prices are 370 € (ex VAT/BTW) for a full year, renewals are 270 € (ex VAT/BTW).    <br />Technet Plus Direct means online access to the software library (download only – no CD shipments), two support calls (worth 299 €) and free e-learning courses.     </p>
<p>For a list of available software, <a title="See a complete list" href="http://technet.microsoft.com/en-us/subscriptions/downloads/default.aspx">See the complete list</a> on the TechNet Plus Subscriptions home page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/02/26/technet-direct-plus-3-month-trial-is-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diskspace checks and trend analysis</title>
		<link>http://blog.alt-92.net/index.php/2009/02/22/diskspace-checks-and-trend-analysis/</link>
		<comments>http://blog.alt-92.net/index.php/2009/02/22/diskspace-checks-and-trend-analysis/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 22:09:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2009/02/22/diskspace-checks-and-trend-analysis/</guid>
		<description><![CDATA[Simple Diskspace monitoring tools for home use.
Tools: VBscript &#038; MS Access database
The script:
On Error Resume NextConst HARD_DISK = 3Const adOpenStatic = 3Const adLockOptimistic = 3&#160;strNamespace = &#34;root\cimv2&#34;strDomain = &#34;domain&#34;&#160;strDate = FormatDateTime&#40;Now&#40;&#41;, 2&#41;strTime = FormatDateTime&#40;Now&#40;&#41;, 4&#41;Set objNetwork = CreateObject&#40;&#34;Wscript.Network&#34;&#41;' =====================================================================arrComputers = Array&#40;&#34;Server1&#34;,&#34;Server2&#34;,&#34;Server3&#34;&#41;&#160;For Each strComputer In arrComputersSet objWMIService = GetObject&#40;&#34;winmgmts:&#34; &#38;amp; strComputer &#38;amp; &#34;root\CIMV2&#34;&#41;Set colDisks = objWMIService.ExecQuery [...]]]></description>
			<content:encoded><![CDATA[<p>Simple Diskspace monitoring tools for home use.<br />
Tools: VBscript &#038; MS Access database</p>
<p>The script:</p>
<p><!--DEVFMTCODE--><pre class="devcodeblock" title=""><div class="devcodeoverflow"><ol><li></li><li>On Error Resume Next</li><li>Const HARD_DISK = 3</li><li>Const adOpenStatic = 3</li><li>Const adLockOptimistic = 3</li><li>&nbsp;</li><li>strNamespace = &quot;root\cimv2&quot;</li><li>strDomain = &quot;domain&quot;</li><li>&nbsp;</li><li>strDate = FormatDateTime<span class="br0">&#40;</span>Now<span class="br0">&#40;</span><span class="br0">&#41;</span>, 2<span class="br0">&#41;</span></li><li>strTime = FormatDateTime<span class="br0">&#40;</span>Now<span class="br0">&#40;</span><span class="br0">&#41;</span>, 4<span class="br0">&#41;</span></li><li>Set objNetwork = CreateObject<span class="br0">&#40;</span>&quot;Wscript.Network&quot;<span class="br0">&#41;</span></li><li>' =====================================================================</li><li>arrComputers = Array<span class="br0">&#40;</span>&quot;Server1&quot;,&quot;Server2&quot;,&quot;Server3&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>For Each strComputer In arrComputers</li><li>Set objWMIService = GetObject<span class="br0">&#40;</span>&quot;winmgmts:&quot; &amp;amp; strComputer &amp;amp; &quot;root\CIMV2&quot;<span class="br0">&#41;</span></li><li>Set colDisks = objWMIService.ExecQuery _</li><li><span class="br0">&#40;</span>&quot;SELECT * FROM Win32_LogicalDisk Where DriveType = &quot; &amp;amp; HARD_DISK &amp;amp; &quot;&quot;,,48<span class="br0">&#41;</span></li><li>&nbsp;</li><li>Set objConnection = CreateObject<span class="br0">&#40;</span>&quot;ADODB.Connection&quot;<span class="br0">&#41;</span></li><li>Set objRecordSet = CreateObject<span class="br0">&#40;</span>&quot;ADODB.Recordset&quot;<span class="br0">&#41;</span></li><li>&nbsp;</li><li>objConnection.Open _</li><li>&quot;Provider = Microsoft.Jet.OLEDB.4.0; &quot; &amp;amp; _</li><li>&quot;Data Source = c:\scripts\diskspace_database.mdb&quot;</li><li>&nbsp;</li><li>objRecordSet.Open &quot;SELECT * FROM tbldiskspace&quot; , _</li><li>objConnection, adOpenStatic, adLockOptimistic</li><li>For Each objDisk in colDisks</li><li>objRecordSet.AddNew</li><li>&nbsp;</li><li>objRecordSet<span class="br0">&#40;</span>&quot;server&quot;<span class="br0">&#41;</span> = strComputer</li><li>objRecordSet<span class="br0">&#40;</span>&quot;domain&quot;<span class="br0">&#41;</span> = strDomain</li><li>objRecordSet<span class="br0">&#40;</span>&quot;disk&quot;<span class="br0">&#41;</span> = objDisk.VolumeName</li><li>objRecordSet<span class="br0">&#40;</span>&quot;drive&quot;<span class="br0">&#41;</span> = objDisk.DeviceID</li><li>objRecordSet<span class="br0">&#40;</span>&quot;totalspace&quot;<span class="br0">&#41;</span> = round<span class="br0">&#40;</span>objDisk.Size /<span style="">1024</span>/<span style="">1024</span>,<span style="">2</span><span class="br0">&#41;</span></li><li>objRecordSet<span class="br0">&#40;</span>&quot;freespace&quot;<span class="br0">&#41;</span> = round<span class="br0">&#40;</span>objDisk.FreeSpace /<span style="">1024</span>/<span style="">1024</span>,<span style="">2</span><span class="br0">&#41;</span></li><li>objRecordSet<span class="br0">&#40;</span>&quot;percentage&quot;<span class="br0">&#41;</span> = <span class="br0">&#40;</span>objDisk.Freespace /objDisk.Size<span class="br0">&#41;</span>*<span style="">100</span></li><li>objRecordSet<span class="br0">&#40;</span>&quot;date&quot;<span class="br0">&#41;</span> = strDate</li><li>objRecordSet<span class="br0">&#40;</span>&quot;time&quot;<span class="br0">&#41;</span> = strTime</li><li>&nbsp;</li><li>objRecordSet.Update</li><li>&nbsp;</li><li>Next</li><li>Next</li><li>&nbsp;</li><li>objRecordSet.Close</li><li>objConnection.Close</li><li>' =====================================================================</li><li></li></ol></div></pre><!--END_DEVFMTCODE--></p>
<p>Access DB has a simple table layout, and a couple of queries and comboboxes.<br />
Table:<br />
<img src="http://blog.alt-92.net/wp-content/2009/02/table.png" alt="table" title="table" width="370" height="281" class="alignnone size-full wp-image-116" /></p>
<p>Form:<br />
<img src="http://blog.alt-92.net/wp-content/2009/02/form1.png" alt="form1" title="form1" width="530" height="416" class="alignnone size-full wp-image-117" /></p>
<p>Using the queries and by generating a PivotTable view, it&#8217;s easy to spot growth trends on disks.<br />
Graph showing available free space:<br />
<img src="http://blog.alt-92.net/wp-content/2009/02/graph-300x180.png" alt="graph" title="graph" width="450" height="270" class="alignnone size-medium wp-image-118" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2009/02/22/diskspace-checks-and-trend-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
