<?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>Sat, 28 May 2011 11:28:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Been there, done that. Next hype plz.</title>
		<link>http://blog.alt-92.net/index.php/2011/05/28/been-there-done-that-next-hype-plz/</link>
		<comments>http://blog.alt-92.net/index.php/2011/05/28/been-there-done-that-next-hype-plz/#comments</comments>
		<pubDate>Sat, 28 May 2011 11:28:28 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2011/05/28/been-there-done-that-next-hype-plz/</guid>
		<description><![CDATA[&#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://blog.alt-92.net/wp-content/2011/05/mis.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="mis" border="0" alt="mis" src="http://blog.alt-92.net/wp-content/2011/05/mis_thumb.jpg" width="644" height="383" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2011/05/28/been-there-done-that-next-hype-plz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSAT for Windows 7 SP1 available</title>
		<link>http://blog.alt-92.net/index.php/2011/04/08/rsat-for-windows-7-sp1-available/</link>
		<comments>http://blog.alt-92.net/index.php/2011/04/08/rsat-for-windows-7-sp1-available/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 12:33:35 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/?p=205</guid>
		<description><![CDATA[The Ask the Directory Services Team Blog posted some goodness: The Remote Server Administration Toolkit update to support Windows 7 Service Pack 1 has been released. See http://blogs.technet.com/b/askds/archive/2011/04/07/rsat-for-windows-sp1-is-now-available.aspxor get it at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d]]></description>
			<content:encoded><![CDATA[<p>The Ask the Directory Services Team Blog posted some goodness:<br />
The Remote Server Administration Toolkit update to support Windows 7 Service Pack 1 has been released.<br />
See <a href="http://blogs.technet.com/b/askds/archive/2011/04/07/rsat-for-windows-sp1-is-now-available.aspx" target="_blank">http://blogs.technet.com/b/askds/archive/2011/04/07/rsat-for-windows-sp1-is-now-available.aspx</a>or get it at <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d" target="_self">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2011/04/08/rsat-for-windows-7-sp1-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server 2008 CAs and Server 2003 DCs &#8211; are you seeing event ID 13 popping up every eight hours?</title>
		<link>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/</link>
		<comments>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 23:05:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/</guid>
		<description><![CDATA[Be careful when implementing a Windows 2008 based Certificate Authority in a mixed 2003R2 and 2008(R2) environment. By default, the installation of the ADCS Role on a 2008 Server selects SHA2 type algorithms which are not quite compatible with Server 2003R2 SP2 or XP SP3. You will need a hotfix. While waiting for a new [...]]]></description>
			<content:encoded><![CDATA[<p>Be careful when implementing a Windows 2008 based Certificate Authority in a mixed 2003R2 and 2008(R2) environment. By default, the installation of the ADCS Role on a 2008 Server selects SHA2 type algorithms which are not quite compatible with Server 2003R2 SP2 or XP SP3.    <br />You will need a hotfix.    </p>
<p>While waiting for a new hardware setup I decided to jump the gun and upgrade my old 2003CA to 2008 in advance – a pretty straightforward process of <a href="http://blogs.technet.com/b/pki/archive/2009/01/18/how-to-decommission-a-windows-enterprise-certification-authority-and-how-to-remove-all-related-objects-from-windows-server-2003.aspx" target="_blank">decommissioning</a> and deploying a new CA on a fresh 2008 install.&#160; Both my Home Theatre setup and laptop are running Vista or 7, and there’s a virtualized Core 2008 Domain Controller as well. No problems there.     <br />However, there is still one slight snag as I’m still using a 2003 machine as second physical DC (which hosts my DFS namespace and I haven’t gotten around to upgrading that one).     <br />After a couple of days, that machine started spewing Event ID 13 errors every eight hours in the Application log:     </p>
<p>  <pre class="csharpcode">Event Type:    Error
Event Source:    AutoEnrollment
Event Category:    None
Event ID:    13
Date:        28-2-2011
Time:        18:14:37
User:        N/A
Computer:    MYDC
Description:
Automatic certificate enrollment for local system failed to enroll
for one Domain Controller Authentication certificate (0x80092009).
Cannot find the requested object.

For more information, see Help and Support Center at 
http://go.microsoft.com/fwlink/events.asp.</pre><br />
<style type="text/css">

.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style></p>
<p>Secure Channel for LDAP over SSL also breaks because of this, so you’ll see those warnings as well.</p>
<p>A quick look in the ADCS Snapin confirmed both the Directory Email Replication and Domain Controller Authentication certificates were trying to autoenroll but failing every 8 hours.</p>
<p>A search for <a href="http://www.google.com/search?q=cannot+find+the+requested+object" target="_blank">&quot;cannot find the requested object&quot;</a> quickly resolved that, pointing the way to <a title="http://support.microsoft.com/kb/968730" href="http://support.microsoft.com/kb/968730">http://support.microsoft.com/kb/968730</a>. </p>
<p>After requesting the hotfix and rebooting, AutoEnroll properly processes the request again, and SSL enabled LDAP connections are restored.</p>
<p>More information is also available on the Windows PKI Technet Blog: <a title="http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx" href="http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx">http://blogs.technet.com/b/pki/archive/2011/02/08/common-questions-about-sha2-and-windows.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2011/03/15/windows-server-2008-cas-and-server-2003-dcs-are-you-seeing-event-id-13-popping-up-every-eight-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Action Center prompts and GPO Preferences</title>
		<link>http://blog.alt-92.net/index.php/2010/11/02/windows-7-action-center-prompts-and-gpo-preferences/</link>
		<comments>http://blog.alt-92.net/index.php/2010/11/02/windows-7-action-center-prompts-and-gpo-preferences/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 21:02:00 +0000</pubDate>
		<dc:creator>alt-92</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>

		<guid isPermaLink="false">http://blog.alt-92.net/index.php/2010/11/02/windows-7-action-center-prompts-and-gpo-preferences/</guid>
		<description><![CDATA[On a regular Windows 7 install, Action Center in Control Panel notifies the user in case settings are not set to defaults or if maintenance settings are not set&#160; &#8211; for instance, if you’ve configured Windows Update to prompt for install (and not automatically install available updates on shutdown), or Windows Backup. Notifications are presented [...]]]></description>
			<content:encoded><![CDATA[<p>On a regular Windows 7 install, Action Center in Control Panel notifies the user in case settings are not set to defaults or if maintenance settings are not set&#160; &#8211; for instance, if you’ve configured Windows Update to prompt for install (and not automatically install available updates on shutdown), or Windows Backup.</p>
<p>Notifications are presented by means of the little Action Center flag in the systray, and a popup window:   <br /><a href="http://blog.alt-92.net/wp-content/2010/11/acflag.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="acflag" border="0" alt="acflag" src="http://blog.alt-92.net/wp-content/2010/11/acflag_thumb.png" width="306" height="187" /></a></p>
<p>You can disable these messages normally in the Action Center either by clicking the links provided or by changing the Action Center settings on the left.   <br /><a href="http://blog.alt-92.net/wp-content/2010/11/actioncenter.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="actioncenter" border="0" alt="actioncenter" src="http://blog.alt-92.net/wp-content/2010/11/actioncenter_thumb.png" width="601" height="484" /></a></p>
<p><a href="http://blog.alt-92.net/wp-content/2010/11/actioncentersettings.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="actioncentersettings" border="0" alt="actioncentersettings" src="http://blog.alt-92.net/wp-content/2010/11/actioncentersettings_thumb.png" width="601" height="484" /></a></p>
<p>On most Corporate networks however, Control Panel entries are either limited to user specific settings or even blocked altogether, in which case Action Center is not available but the notification will still bug you about the settings&#160; &#8211; like when you’re using SCCM for instance to install updates.</p>
<p>That’s not a bad thing per se, as Antivirus products also use the Action Center to notify you in case something is wrong.   <br /> Simply hiding the Action Center flag may not be the solution, that’s like sticking your head in the sand saying neenerneenerneener and waiting for that freighttrain to hit you head-on.</p>
<p>In that case, Group Policy Preference allows you to enter presets and disable the abovementioned prompts.    <br />I’ve used Process Monitor to filter on the exact registry entries used to configure the settings.    <br /><a href="http://blog.alt-92.net/wp-content/2010/11/procexp.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="procexp" border="0" alt="procexp" src="http://blog.alt-92.net/wp-content/2010/11/procexp_thumb.png" width="644" height="284" /></a>    </p>
<p>Then, create a GP preference and snapshot* the disabled items.     <br />*These are REG_BINARY keys, the valuefield is too short to enter the values manually.    </p>
<p><a href="http://blog.alt-92.net/wp-content/2010/11/gpmcpref.winupdate.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="gpmcpref.winupdate" border="0" alt="gpmcpref.winupdate" src="http://blog.alt-92.net/wp-content/2010/11/gpmcpref.winupdate_thumb.png" width="418" height="465" /></a></p>
<p><a href="http://blog.alt-92.net/wp-content/2010/11/gpmcpref.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="gpmcpref" border="0" alt="gpmcpref" src="http://blog.alt-92.net/wp-content/2010/11/gpmcpref_thumb.png" width="644" height="311" /></a></p>
<p>For reference, these are the exact keys and binary values used.</p>
<p>Windows Update:   <br /><a href="http://blog.alt-92.net/wp-content/2010/11/gpmc.winupdate.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="gpmc.winupdate" border="0" alt="gpmc.winupdate" src="http://blog.alt-92.net/wp-content/2010/11/gpmc.winupdate_thumb.png" width="612" height="484" /></a></p>
<p>Windows Backup:   <br />&#160;<a href="http://blog.alt-92.net/wp-content/2010/11/gpmc.backup.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="gpmc.backup" border="0" alt="gpmc.backup" src="http://blog.alt-92.net/wp-content/2010/11/gpmc.backup_thumb.png" width="644" height="480" /></a></p>
<p>Once applied to your User OU, these settings ensure the Action Center will still prompt for any other mishaps but ignore Windows Update or Backup.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alt-92.net/index.php/2010/11/02/windows-7-action-center-prompts-and-gpo-preferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 [...]]]></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 2x60x 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 Center. And as [...]]]></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 … there’s [...]]]></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, [...]]]></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=<span style="">0</span>, tr=<span style="">0</span>, 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;<span style="">2</span><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><span style="">0</span><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 <span style="">4</span>.</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><span style="">1</span><span class="br0">&#93;</span>, NULL, NULL,&nbsp;&nbsp;<span style="">4</span>, <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==<span style="">0</span><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>
	</channel>
</rss>

