<?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>Rickey Whitworth&#039;s Blog &#187; Network Administration</title>
	<atom:link href="http://www.whitworth.org/category/network-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whitworth.org</link>
	<description>insights from managing a microsoft enterprise infrastructure</description>
	<lastBuildDate>Tue, 22 Jun 2010 17:12:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SMS/ConfigMgr &#8211; SQL Function to Convert Integer8 (from Active Directory) to Datetime/Local Time &#8211; Number2 Blog &#8211; myITforum</title>
		<link>http://www.whitworth.org/2009/09/09/smsconfigmgr-sql-function-to-convert-integer8-from-active-directory-to-datetimelocal-time-number2-blog-myitforum/</link>
		<comments>http://www.whitworth.org/2009/09/09/smsconfigmgr-sql-function-to-convert-integer8-from-active-directory-to-datetimelocal-time-number2-blog-myitforum/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 18:01:47 +0000</pubDate>
		<dc:creator>rwhitworth</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/2009/09/09/smsconfigmgr-sql-function-to-convert-integer8-from-active-directory-to-datetimelocal-time-number2-blog-myitforum/</guid>
		<description><![CDATA[This is a great post. I had looked at trying to find a way to convert Integer-8 values to datetime format using SQL functions before, but could never figure it out. Here it is, the entire post in case it ever disappears from its original site. 
It&#8217;s possible you&#8217;re pulling a value from Active Directory [...]]]></description>
			<content:encoded><![CDATA[<p>This is a great post. I had looked at trying to find a way to convert Integer-8 values to datetime format using SQL functions before, but could never figure it out. Here it is, the entire post in case it ever disappears from its original site. </p>
<blockquote><p>It&#8217;s possible you&#8217;re pulling a value from Active Directory for discovery like LastLogonTimeStamp which stores it&#8217;s value as something known as Integer8 (<a href="http://www.rlmueller.net/Integer8Attributes.htm">http://www.rlmueller.net/Integer8Attributes.htm</a>).&#160; If that&#8217;s the case, you may notice the values you&#8217;ve got saved in SQL aren&#8217;t perhaps what you were expecting:</p>
<p>128462210724001300</p>
<p>Fields within AD that have integer8 numbers like this include </p>
<ol>
<li>accountExpires </li>
<li>badPasswordTime </li>
<li>lastLogon </li>
<li>lockoutTime </li>
<li>maxStorage </li>
<li>pwdLastSet </li>
<li>uSNChanged </li>
<li>uSNCreated </li>
<li>lockoutDuration </li>
<li>lockoutObservationWindow </li>
<li>maxPwdAge </li>
<li>minPwdAge </li>
<li>modifiedCount </li>
</ol>
<p>So&#8230;what to do with this odd string of digits?&#160; It doesn&#8217;t look like a date, you can&#8217;t just CONVERT() it to a datetime value directly and it doesn&#8217;t look like it can be picked apart visually.&#160; Well, if you read up on that link above, you&#8217;ll see a solution there in VBScript.&#160; Well, that&#8217;s not going to fly for us, so why don&#8217;t we convert it to T-SQL.&#160; I&#8217;ve also seen a few SQL functions out there that some people have written, but they all seem to either make things way too complicated, or get something just a little wrong.&#160; So instead of copying something from the internet that we don&#8217;t understand or that may be wrong, let&#8217;s just use the information we know about integer8 values to figure it out.</p>
<p><strong>BACKGROUND</strong></p>
<p>Alright, unless you understand it better, the solution just isn&#8217;t going to make sense.&#160; So let me just give a quick background before we get into code to do the conversion.</p>
<p>Integer8.&#160; So integer8 is this 64-bit (8-byte) integer that is the cornerstone of certain date fields in Active Directory (like listed above).&#160; It represents the number of 100-nanosecond intervals that have elapsed since 1/1/1601.&#160; A nanosecond is 1 billionth of a second (so 1 billion of them to a second), which means there are 10 Million of these 100-nanosecond intervals in a second and 60 Million of them in a minute.&#160; So, if we figure out how many minutes an integer8 number represents, we can figure out what date is that many minutes from 1/1/1601.</p>
<p>One of the things we have to work around in T-SQL is the fact that in SQL 2005, the DATE* functions use a &quot;Base Date&quot; of 1/1/1900, meaning that&#8217;s as far back as it will go.&#160; So you can&#8217;t calculate how many minutes have elapsed since 1/1/1601, you have to do it from 1/1/1900.&#160; Which means you have to subtract out the minutes from 1/1/1601 to 1/1/1900 first.&#160; This isn&#8217;t an issue in SQL 2008 because it supports the <strong>DATETIME2</strong> data type which goes from 1/1/0001 to 12/31/9999.</p>
<p>Perhaps we should just get to the steps so it makes more sense:</p>
<p><strong>STEPS CONVERT INTEGER8 TO DATETIME</strong></p>
<p>Using the above link as a guide, here are the steps you need to perform:</p>
<p>FOR SQL 2000</p>
<ol>
<li>Buy SQL 2008 or higher and follow those instructions&#8230;seriously&#8230; </li>
</ol>
<p>FOR SQL 2005</p>
<ol>
<li>Given an integer8 date, figure out how many minutes elapsed that it represents       <br />(Divide the number by 60 Million) </li>
<li>Calculate a &quot;Base Date&quot; offset&#8211;the number of minutes-elapsed between 1/1/1601 and 1/1/1900       <br />(157258080) </li>
<li>Calculate the timezone bias so the output is in local time </li>
<li>Calculate the new number of minutes that have elapsed since the base date given the timezone bias       <br />(take the minutes elapsed, subtract the base-date offset and add the timezone bias) </li>
<li>Add that number of minutes to the base-date and determine the resultant date </li>
</ol>
<p>FOR SQL 2008</p>
<p>Because SQL 2008 has a datetime2 datatype, it can go all the way back to 1/1/1601 and perform date functions on it so the &quot;Base Date&quot; step isn&#8217;t necessary. </p>
<ol>
<li>Given an integer8 date, figure out how many minutes-elapsed that it represents       <br />(Divide the number by 60 Million) </li>
<li>Calculate the timezone bias so the output is in local time </li>
<li>Calculate the new number of minutes that have elapsed since 1/1/1601 given the timezone bias       <br />(take the minutes elapsed, subtract the base-date offset and add the timezone bias) </li>
<li>Add that number of minutes to 1/1/1601 and determine the resultant date </li>
</ol>
<p><strong>NOW, THE T-SQL</strong></p>
<p>SQL 2005</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-     <br />&#8211; FULL, STEP-BY-STEP METHOD      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>&#8211; Don&#8217;t worry, this is step-by-step to show the logic. It can all be put into      <br />&#8211; one statement or a function like we&#8217;ve done below      <br />&#8211; TAKE AN INTEGER8, WHICH IS THE NUMBER OF 100-NANOSECOND INTERVALS SINCE 12:00AM 1/1/1601      <br />DECLARE @Int8 BIGINT      <br />SET @Int8 = 128462210724001300</p>
<p>&#8211; AND FIGURE OUT HOW MANY MINUTES THAT IS&#8230;     <br />&#8211; THERE ARE 1 BILLION NANOSECONDS IN A SECOND, THUS 10MILLION 100-NANOSECOND INTERVALS      <br />&#8211; AND 60 TIMES THAT PER MINUTE SO INT8 DIVIDED BY (60 * 10MILLION) IS THE NUMBER OF       <br />&#8211; MINUTES THAT HAVE ELAPSED SINCE 12:00AM 1/1/1601      <br />DECLARE @MinutesElapsed BIGINT      <br />SET @MinutesElapsed = @Int8 / 600000000</p>
<p>&#8211; NOW, BECAUSE THE DATEADD FN USES A &quot;BASE DATE&quot; OF 1/1/1900, WE NEED TO TAKE THE MINUTES     <br />&#8211; ABOVE AND SUBTRACT NUMBER OF MINUTES THAT HAVE ELAPSED BETWEEN 1/1/1601 TO 1/1/1900      <br />DECLARE @BaseDateOffset BIGINT;      <br />SET @BaseDateOffset = 157258080</p>
<p>&#8211; NOW WE CALCULATE THE OFFSET FROM GMT/UTC THAT OUR TIMEZONE GIVES US SO THE OUTPUT IS IN LOCAL TIME     <br />declare @TimezoneBias INT;      <br />SET @TimezoneBias = DATEDIFF(Minute,GetUTCDate(),GetDate())</p>
<p>&#8211; LASTLY, LET&#8217;S TAKE THE NUMBER OF MINUTES ELAPSED, WITH THE BASE-DATE OFFSET AND THE LOCAL TIME BIAS     <br />&#8211; AND FIGURE OUT WHAT END-DATE THAT GIVES US      <br />SELECT DATEADD(mi,@MinutesElapsed &#8211; @BaseDateOffset + @TimezoneBias,0)      <br />GO</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;     <br />&#8211; OR TO PUT ALL OF THAT IN ONE STATEMENT      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;      <br />DECLARE @Int8 BIGINT      <br />SET @Int8 = 128462210724001300      <br />SELECT DATEADD(mi,(@Int8 / 600000000) &#8211; 157258080 + DATEDIFF(Minute,GetUTCDate(),GetDate()),0)      <br />GO</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-     <br />&#8211; OR PUT IT INTO A FUNCTION      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-      <br />CREATE FUNCTION dbo.udf_Int8_to_DateTime(      <br />&#160;&#160; @Int8 BIGINT      <br />)      <br />RETURNS DATETIME      <br />AS      <br />&#160;&#160; BEGIN      <br />&#160;&#160;&#160;&#160;&#160; RETURN (DATEADD(mi,(@Int8 / 600000000) &#8211; 157258080 + DATEDIFF(Minute,GetUTCDate(),GetDate()),0))      <br />&#160;&#160; END      <br />GO</p>
<p>&#8211; AND THEN CALL IT     <br />SELECT dbo.udf_Int8_to_DateTime(128462210724001300)      <br />GO</p>
<p>SQL 2008 </p>
<p>Like we said earlier, SQL 2008 doesn&#8217;t need one of the steps because it can handle DATETIME2 and do date math back to 1/1/1601, as long as you CAST or CONVERT the data to a DATETIME2 in the DATEADD as you see below.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-     <br />&#8211; FULL, STEP-BY-STEP METHOD      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>&#8211; Don&#8217;t worry, this is step-by-step to show the logic. It can all be put into      <br />&#8211; one statement or a function like we&#8217;ve done below.&#160; Keep reading.</p>
<p>&#8211; TAKE AN INTEGER8, WHICH IS THE NUMBER OF 100-NANOSECOND INTERVALS SINCE 12:00AM 1/1/1601     <br />DECLARE @Int8 BIGINT      <br />SET @Int8 = 128462210724001300</p>
<p>&#8211; AND FIGURE OUT HOW MANY MINUTES THAT IS&#8230;     <br />&#8211; THERE ARE 1 BILLION NANOSECONDS IN A SECOND, THUS 10MILLION 100-NANOSECOND INTERVALS      <br />&#8211; AND 60 TIMES THAT PER MINUTE SO INT8 DIVIDED BY (60 * 10MILLION) IS THE NUMBER OF       <br />&#8211; MINUTES THAT HAVE ELAPSED SINCE 12:00AM 1/1/1601      <br />DECLARE @MinutesElapsed BIGINT      <br />SET @MinutesElapsed = @Int8 / 600000000      <br />SELECT @MinutesElapsed</p>
<p>&#8211; NOW WE CALCULATE THE OFFSET FROM GMT/UTC THAT OUR TIMEZONE GIVES US SO THE OUTPUT IS IN LOCAL TIME     <br />declare @TimezoneBias INT;      <br />SET @TimezoneBias = DATEDIFF(Minute,GetUTCDate(),GetDate())</p>
<p>&#8211; LASTLY, LET&#8217;S TAKE THE NUMBER OF MINUTES ELAPSED SINCE 1/1/1601, WITH THE LOCAL TIME BIAS     <br />&#8211; AND FIGURE OUT WHAT END-DATE THAT GIVES US. NEED TO CAST/CONVERT THE DATE TO DATETIME2 IN      <br />&#8211; ORDER TO ADD MINUTES FROM ALL THE WAY BACK ON 1/1/1601, OTHERWISE IT ASSUMES DATETIME WHICH      <br />&#8211; ONLY GOES BACK TO 1/1/1900.      <br />SELECT DATEADD(mi,@MinutesElapsed + @TimezoneBias,CAST(&#8217;1/1/1601&#8242; AS DATETIME2))      <br />GO</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;     <br />&#8211; OR TO PUT ALL OF THAT IN ONE STATEMENT      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;      <br />DECLARE @Int8 BIGINT      <br />SET @Int8 = 128462210724001300      <br />SELECT DATEADD(mi,(@Int8 / 600000000) + DATEDIFF(Minute,GetUTCDate(),GetDate()),CAST(&#8217;1/1/1601&#8242; AS DATETIME2))      <br />GO</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-     <br />&#8211; OR PUT IT INTO A FUNCTION      <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-      <br />CREATE FUNCTION dbo.udf_Int8_to_DateTime(      <br />&#160;&#160; @Int8 BIGINT      <br />)      <br />RETURNS DATETIME2      <br />AS      <br />&#160;&#160; BEGIN      <br />&#160;&#160;&#160;&#160;&#160; RETURN (DATEADD(mi,@Int8 / 600000000 + DATEDIFF(Minute,GetUTCDate(),GetDate()),CAST(&#8217;1/1/1601&#8242; AS DATETIME2)))      <br />&#160;&#160; END      <br />GO</p>
<p>&#8211; AND THEN CALL IT     <br />SELECT dbo.udf_Int8_to_DateTime(128462210724001300)      <br />GO</p>
<p><strong>SUMMARY</strong></p>
<p>So that&#8217;s really it.&#160; It&#8217;s all about converting the 100-nanosecond intervals to minutes and doing some math.&#160; So we&#8217;ve got TSQL that will convert an Integer8 value (from Active Directory) into a DateTime/DateTime2 value.</p>
<p>Some notes:</p>
<ul>
<li>If you want it in UTC/GMT, then you can just skip the TimezoneBias part. </li>
<li>This may not be perfect, I don&#8217;t know how all of the leap seconds that have been added over the years play into this&#8230;do the DATEDIFF/DATEADD functions handle that? Dunno. </li>
<li>The <em>number</em> argument of the DATEADD function cannot exceed the range of INT (2147483647) so if the INTEGER8 number is obscenely huge (spans more than 4084 years, 24 days, 2 hours &amp; 7 minutes) then you&#8217;ll likely get an overflow error.&#160; But we shouldn&#8217;t hit that for more than a thousand years, right? </li>
</ul>
<p>This has been tested on SQL 2005 and SQL 2008, but you should always test on lab systems before moving any code to production.&#160; This is released &quot;AS IS&quot; and confers no rights.</p>
<p><strong>Number2 (John Nelson)&#160; <br /></strong><a href="http://posts.number2blog.com/">MyITForum &#8211; Forum Posts</a>      <br /><a href="http://www.number2blog.com/">MyITForum &#8211; Blog</a></p>
</blockquote>
<p><a href="http://myitforum.com/cs2/blogs/jnelson/archive/2009/08/25/140938.aspx">SMS/ConfigMgr &#8211; SQL Function to Convert Integer8 (from Active Directory) to Datetime/Local Time &#8211; Number2 Blog &#8211; myITforum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2009/09/09/smsconfigmgr-sql-function-to-convert-integer8-from-active-directory-to-datetimelocal-time-number2-blog-myitforum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to rebuild WMI on a client machine</title>
		<link>http://www.whitworth.org/2008/08/11/how-to-rebuild-wmi-on-a-client-machine/</link>
		<comments>http://www.whitworth.org/2008/08/11/how-to-rebuild-wmi-on-a-client-machine/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 17:39:59 +0000</pubDate>
		<dc:creator>rwhitworth</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[SCCM 2007]]></category>

		<guid isPermaLink="false">http://blog.whitworth.org/?p=429</guid>
		<description><![CDATA[Thank you to John Marcum.
Ccmclean.exe
net stop winmgmt
rename&#8211; Windows\system32\wbem\repository
net start winmgmt
rundll32 wbemupgd, RepairWMISetup
ccmsetup.exe
SCCM Client Problem &#8211; TechNet Forums
]]></description>
			<content:encoded><![CDATA[<p>Thank you to John Marcum.</p>
<blockquote><p>Ccmclean.exe</p>
<p>net stop winmgmt</p>
<p>rename&#8211; Windows\system32\wbem\repository</p>
<p>net start winmgmt</p>
<p>rundll32 wbemupgd, RepairWMISetup</p>
<p>ccmsetup.exe</p></blockquote>
<p><a href="https://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2851239&amp;SiteID=17">SCCM Client Problem &#8211; TechNet Forums</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2008/08/11/how-to-rebuild-wmi-on-a-client-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Documentation Made Easy with SYDI</title>
		<link>http://www.whitworth.org/2008/07/30/network-documentation-made-easy-with-sydi/</link>
		<comments>http://www.whitworth.org/2008/07/30/network-documentation-made-easy-with-sydi/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 14:29:25 +0000</pubDate>
		<dc:creator>rwhitworth</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[Network Admin]]></category>

		<guid isPermaLink="false">http://blog.whitworth.org/?p=385</guid>
		<description><![CDATA[SYDI is the open source project aimed to help you to document your network.
How does SYDI do this?
At the most basic level SYDI consists of a collection of scripts which collects information from your servers and networks, then writes the data to a report.
Documenting a network can seem like a huge project, SYDI helps you [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>SYDI</strong> is the open source project aimed to help you to document your network.</p>
<h5>How does SYDI do this?</h5>
<p>At the most basic level SYDI consists of a collection of scripts which collects information from your servers and networks, then writes the data to a report.</p>
<p>Documenting a network can seem like a huge project, SYDI helps you get started. Instead of manually collecting information like ip addresses, os version, hardware configuration the scripts collects this automatically it can write directly to Word (or XML).</p>
<h5>Letâ€™s get started!</h5>
<p>To start documenting take a look at <a href="http://sydiproject.com/products/sydi-server/">SYDI server</a> head to the <a href="http://sydiproject.com/download">download section</a>, and document away.</p></blockquote>
<p><a href="http://sydiproject.com/">Network Documentation Made Easy with SYDI</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2008/07/30/network-documentation-made-easy-with-sydi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make your job more difficult by using My Documents Redirection and Offline Caching &#8211; Part 1</title>
		<link>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/</link>
		<comments>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 16:33:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[Offline Files]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,7b1b332a-9d93-472f-80f6-c49434744394.aspx</guid>
		<description><![CDATA[Â 
Maybe later I will write an introduction to that title, but for now, just know that
I am in charge of a corporate network that has been using My Documents redirection
in combination with Offline Caching for many, many years. I am convinced the cost
overhead involved with this technology far outweighs and productivity gains that we
get. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Â </p>
<blockquote><p>Maybe later I will write an introduction to that title, but for now, just know that<br />
I am in charge of a corporate network that has been using My Documents redirection<br />
in combination with Offline Caching for many, many years. I am convinced the cost<br />
overhead involved with this technology far outweighs and productivity gains that we<br />
get. Don&#8217;t get me wrong, I believe offline caching has its place, just not as an all<br />
encompassing corporate policy. Also, this is not meant to bash Microsoft. I just want<br />
them to realize the real world frustrations that come from using a technology they<br />
promote so heavily.</p>
<p><strong>Reason Number 1</strong></p>
<p><strong>File caching is done on a per-system basis, so files cached by users other<br />
than the primary user who log onto the computer will have their files permanently<br />
added to the offline cache, even if they never plan to login to the system again.<br />
The only way to override this is to manually enter the primary user name in a registry<br />
key, and remember to change it whenever the primary user of the computer changes.</strong></p>
<p>One thing many people don&#8217;t realize is that offline file caching is not per-user,<br />
but per system. Take this scenario:</p>
<p><em>You are redirecting documents administratively by using My Documents redirection<br />
in group policy and choosing to make the files available offline. The primary user<br />
of the computer logs in and logs off, synchronizing his My Documents folder. Now a<br />
local cached copy exists for all of the files in his My Documents folder.</em></p>
<p><em>Now an administrator comes along, and he logs into the computer. Because he has<br />
the same group policy, his My Documents folder is redirected and made available offline.<br />
Now the offline file has files that appear like this:</em></p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="200" valign="top"><em>File Name</em></td>
<td width="200" valign="top"><em>File Path</em></td>
</tr>
<tr>
<td width="200" valign="top"><em>text1.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\user1"><em>\\server\share\home\user1</em></a></td>
</tr>
<tr>
<td width="200" valign="top"><em>text2.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\user1"><em>\\server\share\home\user1</em></a></td>
</tr>
<tr>
<td width="200" valign="top"><em>text1.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\admin"><em></em></a><a href="file://\\server\share\home\admin1">\\server\share\home\admin<br />
</a>1&gt;</td>
</tr>
<tr>
<td width="200" valign="top"><em>text2.txt</em></td>
<td width="200" valign="top"><a href="file://\\server\share\home\admin"><em></em></a><a href="file://\\server\share\home\admin1">\\server\share\home\admin<br />
</a>1&gt;</td>
</tr>
</tbody>
</table>
<p><em></em>Â </p>
<p><em>User 1 now logs back into the computer, and when he goes to log off, his files<br />
and the administrators files are synchronized. Supposedly, offline caching tries to<br />
deal with this by looking at network security and making sure user1 only tries to<br />
synchronize files he has permissions to. But the admin files are still there.</em></p>
<p><em>On top of that, lets say you decide <a href="file://\\server\share">\\server\share</a> is<br />
a bad design for home shares because it is tied to a server. So you decide to change<br />
the path for all home shares to <a href="file://\\domain\dfs\home">\\domain\dfs\home</a>.<br />
Even if you get this working correctly for user1, you may still have problems because<br />
admin1 is still pointing to the old removed share in the cache. This means you need<br />
to run csccmd and move shares so that all the shares are moved.</em></p>
<p>Anyway, one way to deal with all of this was added in a hotfix that was included in<br />
Windows XP SP2. As the article explains, you are given the option to set registry<br />
keys and designate the primary user of the computer. In the future, all other user<br />
files cached are discarded at logoff.</p>
<p>Below is the KB Article (KB 811660) that references the registry changes that need<br />
to be made.</p></blockquote>
<p><a href="http://support.microsoft.com/kb/811660">Files that you add to the Offline<br />
Files folder on a Windows XP-based computer are synchronized when another person uses<br />
the computer</a></p>
<p><img src="http://www.whitworth.org/Blog/aggbug.ashx?id=7b1b332a-9d93-472f-80f6-c49434744394" alt="" width="0" height="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2008/01/28/make-your-job-more-difficult-by-using-my-documents-redirection-and-offline-caching-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating your Offline Files cache in Windows Vista to point to a new server</title>
		<link>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/</link>
		<comments>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 13:47:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[Offline Files]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,9dfb4dfc-1cdc-46be-8261-416bb28bf21f.aspx</guid>
		<description><![CDATA[
&#160;



A newsgroup customer recently asked us how to synchronize his Offline Files with a
server after the server had been renamed. Offline Files in Windows Vista provides
scripting support to enable users to write custom scripts to perform such tasks. To
illustrate this, one of our Offline Files developers created a script that uses the
&#8220;rename&#8221; functionality offered by [...]]]></description>
			<content:encoded><![CDATA[<p>
&nbsp;
</p>
<blockquote>
<p>
A newsgroup customer recently asked us how to synchronize his Offline Files with a<br />
server after the server had been renamed. Offline Files in Windows Vista provides<br />
scripting support to enable users to write custom scripts to perform such tasks. To<br />
illustrate this, one of our Offline Files developers created a script that uses the<br />
&#8220;rename&#8221; functionality offered by the scripting model to rename the path in the local<br />
cache from the old server to the new server.&nbsp; </p>
<p>
Iâ€™ve added the script as a <a href="http://blogs.technet.com/filecab/pages/cscrenameitem-vbs.aspx">blog<br />
article</a>.&nbsp;Use the following syntax to run the script on each affected client. </p>
<p>
cscript CscRenameItem.vbs /OldItemPath:\oldserver /NewItemPath:\newserver </p>
<p>
Some notes on this operation: </p>
<ul>
<li>
The script must be run on every client with data cached from the original server.&nbsp;&nbsp; </p>
<li>
The script doesnâ€™t rename the item at the time it is run.&nbsp; It merely records<br />
the â€œoldâ€ and â€œnewâ€ names.&nbsp; A system restart is required to apply the change.&nbsp;<br />
When the system is restarted, Offline Files renames the server entry in the local<br />
cache according to the parameters provided to the script.&nbsp; Once the restart is<br />
complete, Offline Files will automatically synchronize the contents of the cache with<br />
the server of the new name. </p>
<li>
This processing does not validate the existence of the â€œnewâ€ name provided.&nbsp;<br />
If you provide the name of a server that does not exist, the affected files will remain<br />
in the Offline Files cache, unsynchronized with any server.&nbsp;&nbsp; </p>
<li>
Our example shows a rename for a server.&nbsp; The UNC paths provided can also reference<br />
a shared folder.</li>
</ul>
<p>
Youâ€™ll need to restart Windows Vista after successfully running this script.&nbsp;After<br />
the restart, the files cached for <a href="file://oldserver/">\oldserver</a> will<br />
now be cached for <a href="file://newserver/">\newserver</a>.&nbsp; </p>
<p>
&#8211;Jill
</p>
</blockquote>
<p>
<a href="https://blogs.technet.com/filecab/archive/2007/03/29/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server.aspx">The<br />
Filing Cabinet : Updating your Offline Files cache in Windows Vista to point to a<br />
new server</a>
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=9dfb4dfc-1cdc-46be-8261-416bb28bf21f" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2007/09/25/updating-your-offline-files-cache-in-windows-vista-to-point-to-a-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Microsoft Office Communicator Mobile on Cingular Blackjack</title>
		<link>http://www.whitworth.org/2007/01/15/installing-microsoft-office-communicator-mobile-on-cingular-blackjack/</link>
		<comments>http://www.whitworth.org/2007/01/15/installing-microsoft-office-communicator-mobile-on-cingular-blackjack/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 21:15:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Administration]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,0dba6618-2129-4f3d-8e56-20a6da733285.aspx</guid>
		<description><![CDATA[
I recently switched from a Blackberry device to the Cingular Blackjack running Windows
Mobile 5.0. Because I have been on Blackberry for so long, there has been a learning
curve for me on the Windows mobile device, especially since I am also running Vista
on my desktop.


The first big test I have had is getting Office Communicator Mobile [...]]]></description>
			<content:encoded><![CDATA[<p>
I recently switched from a Blackberry device to the Cingular Blackjack running Windows<br />
Mobile 5.0. Because I have been on Blackberry for so long, there has been a learning<br />
curve for me on the Windows mobile device, especially since I am also running Vista<br />
on my desktop.
</p>
<p>
The first big test I have had is getting Office Communicator Mobile installed. Before<br />
you can install any software to your phone in Vista,&nbsp;you must have the Windows<br />
Mobile Device Center installed. Otherwise, Vista treats your phone just like a usb<br />
memory stick, meaning you can browse folders and copy files.
</p>
<p>
I had a Windows Mobile Device Center icon in Control Panel after plugging up my device,<br />
but if I double clicked on it I only had a couple of configuration options. So I searched<br />
on the internet and found a <a href="http://www.microsoft.com/downloads/details.aspx?familyid=C23C8E6A-A72D-4AEF-9663-31CE2FEFBADA&amp;displaylang=en">Beta<br />
3 version of Windows Mobile Device Center for Windows Vista</a>. After installing<br />
this, I could launch the control panel icon and see more options, like Programs and<br />
Services, File Management, Pictures Music and Video, and Mobile Device Settings.
</p>
<p>
My next problem is detailed in a <a href="http://msgoodies.inceptio.dk/2006/12/tip-installing-communicator-mobile.html">post</a> by<br />
Dennis Thomsen at <a href="http://msgoodies.inceptio.dk/">msgoodies</a>. The Details:
</p>
<p>
When launching Communicator <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=BC89EC5E-5F3B-47D2-955B-B0C1DEAC94D8">Mobile</a> on<br />
Vista RTM with Windows Mobile Device Center Beta 3 you get this message
</p>
<p>
Current version of ActiveSync is not supported. Please install Microsoft ActiveSync<br />
4.1 â€¦.
</p>
<p>
The workaround is to create an administrative install of Office Communicator like<br />
this â€“
<pre>msiexec /a CommunicatorMobile_SP50.msi</pre>
<p>
<br />
And then launch the PCinstaller.exe from e.g. C:\Microsoft\Communicator Mobile\Windows<br />
Mobile 5 Smartphone\Setup.
</p>
<p>
Dennis&#8217;s original instructions were for pocket pc 5.0, and I found out that the Cingular<br />
Blackjack is a Smartphone, so I updated the instructions above to reflect this.
</p>
<p>
After the install, there was an error on my Blackjack that the home page could not<br />
be displayed and that I could correct this by going to Options, home page. I did this<br />
and saw that my home page display had been changed to one called &#8220;Office Communicator&#8221;.<br />
I changed it back to Windows Standard and I was fine. I&#8217;m not sure what in the page<br />
was causing the problem, just wanted to share in case anyone else saw it.
</p>
<p>
Of course, I realized after all of this that we have not setup an outside proxy for<br />
our Live Communications Server, so I can&#8217;t use it yet.
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=0dba6618-2129-4f3d-8e56-20a6da733285" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2007/01/15/installing-microsoft-office-communicator-mobile-on-cingular-blackjack/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Download details: The WMI Diagnosis Utility</title>
		<link>http://www.whitworth.org/2006/08/01/download-details-the-wmi-diagnosis-utility/</link>
		<comments>http://www.whitworth.org/2006/08/01/download-details-the-wmi-diagnosis-utility/#comments</comments>
		<pubDate>Tue, 01 Aug 2006 15:19:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Administration]]></category>
		<category><![CDATA[SMS 2003]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,84b2ef12-d15b-4378-b818-273d3f81b8a9.aspx</guid>
		<description><![CDATA[Overview

WMIDiag.vbs is a VBScript script designed to help you ascertain the current state
of the WMI service on a computer. The download package includes the utility itself,
a ReadMe file that discusses how the tool works (and how to best use it), and sample
spreadsheets that provide information about the default WMI configuration on various
versions of the Microsoft [...]]]></description>
			<content:encoded><![CDATA[<blockquote cite="http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&amp;displaylang=en"><p><em>Overview</em><br />
<br />
<em>WMIDiag.vbs is a VBScript script designed to help you ascertain the current state<br />
of the WMI service on a computer. The download package includes the utility itself,<br />
a ReadMe file that discusses how the tool works (and how to best use it), and sample<br />
spreadsheets that provide information about the default WMI configuration on various<br />
versions of the Microsoft Windows operating system.</em></p></blockquote>
<p class="citation">
<cite cite="http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&amp;displaylang=en"><a href="http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&amp;displaylang=en">Download<br />
details: The WMI Diagnosis Utility</a></cite>.
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=84b2ef12-d15b-4378-b818-273d3f81b8a9" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2006/08/01/download-details-the-wmi-diagnosis-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco and Microsoft Collaborate to Enhance Real-Time Business Communications</title>
		<link>http://www.whitworth.org/2006/07/03/cisco-and-microsoft-collaborate-to-enhance-real-time-business-communications/</link>
		<comments>http://www.whitworth.org/2006/07/03/cisco-and-microsoft-collaborate-to-enhance-real-time-business-communications/#comments</comments>
		<pubDate>Mon, 03 Jul 2006 15:03:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Network Administration]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,ddd26ca9-b8c3-49ae-a649-30efd24510c9.aspx</guid>
		<description><![CDATA[
ORLANDO, Fla. &#8212; March 6, 2006 &#8212; Today, at the VoiceCon 2006 conference,
Cisco Systems and Microsoft Corp. announced they are working together to provide collaborative
real-time capabilities for businesses through the integration of Microsoft&#174; Office
Communicator 2005 and the open Session Initiation Protocol (SIP)-based Microsoft Office
Live Communications Server 2005 with the new SIP-based Cisco Unified Communications
system.


Cisco and [...]]]></description>
			<content:encoded><![CDATA[<p>
<b>ORLANDO, Fla. &mdash; March 6, 2006 &mdash;</b> Today, at the VoiceCon 2006 conference,<br />
Cisco Systems and Microsoft Corp. announced they are working together to provide collaborative<br />
real-time capabilities for businesses through the integration of Microsoft<sup>&reg;</sup> Office<br />
Communicator 2005 and the open Session Initiation Protocol (SIP)-based Microsoft Office<br />
Live Communications Server 2005 with the new SIP-based Cisco Unified Communications<br />
system.
</p>
<p>
Cisco and Microsoft have agreed to work together to create a converged solution that<br />
will provide desktop Internet Protocol (IP) telephony call control. Cisco&rsquo;s<br />
SIP interface allows customers to build solution sets to meet their business needs<br />
with flexibility and simplicity. To enable this solution, Microsoft Office Live Communications<br />
Server and Microsoft Office Communicator will interoperate with the new Cisco Unified<br />
CallManager.
</p>
<p>
<a href="http://www.microsoft.com/presspass/press/2006/mar06/03-06CiscoRTBCPR.mspx">Cisco<br />
and Microsoft Collaborate to Enhance Real-Time Business Communications</a>
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=ddd26ca9-b8c3-49ae-a649-30efd24510c9" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2006/07/03/cisco-and-microsoft-collaborate-to-enhance-real-time-business-communications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location of Registry Files in Windows</title>
		<link>http://www.whitworth.org/2006/06/14/location-of-registry-files-in-windows/</link>
		<comments>http://www.whitworth.org/2006/06/14/location-of-registry-files-in-windows/#comments</comments>
		<pubDate>Wed, 14 Jun 2006 14:15:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Network Administration]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,142fb1b5-5ab6-4c73-bae3-dc247160345b.aspx</guid>
		<description><![CDATA[
I had a need today to find out what the value for a certain registry key was in the
past. To do this, I needed to restore the actual registry file as it looked it before
(to a different location of course).


In Windows NT/2000/XP/2003 the system registry resides in the following files:


NTUSER.DAT. &#8211; this file contains the&#160;HKEY_CURRENT_USER [...]]]></description>
			<content:encoded><![CDATA[<p>
I had a need today to find out what the value for a certain registry key was in the<br />
past. To do this, I needed to restore the actual registry file as it looked it before<br />
(to a different location of course).
</p>
<p class=normal>
In Windows NT/2000/XP/2003 the system registry resides in the following files:
</p>
<p class=normal>
NTUSER.DAT. &#8211; this file contains the&nbsp;HKEY_CURRENT_USER hive
</p>
<p class=normal>
SAM. &#8211; this file contains the&nbsp;HKEY_LOCAL_MACHIVE\SAM hive
</p>
<p class=normal>
SOFTWARE.&nbsp; this file contains the&nbsp;HKEY_LOCAL_MACHIVE\SOFTWARE hive
</p>
<p class=normal>
SECURITY. this file contains the&nbsp;HKEY_LOCAL_MACHIVE\SECURITY hive
</p>
<p class=normal>
SYSTEM. this file contains all other subhives of HKEY_LOCAL_MACHIVE such as SYSTEM
</p>
<p class=normal>
NTUSER.DAT is located in the Documents and Settings\&lt;username&gt; folder. The other<br />
four files are located in the Windows\system32\config folder. Sometimes, you can also<br />
find copies of registry files in the Windows\repair folder
</p>
<p class=normal>
Make sure to choose load hive from regedit (not import).
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=142fb1b5-5ab6-4c73-bae3-dc247160345b" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2006/06/14/location-of-registry-files-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Operations Manager 2007 Beta Available for Download</title>
		<link>http://www.whitworth.org/2006/06/05/system-operations-manager-2007-beta-available-for-download/</link>
		<comments>http://www.whitworth.org/2006/06/05/system-operations-manager-2007-beta-available-for-download/#comments</comments>
		<pubDate>Mon, 05 Jun 2006 15:35:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MOM 2005]]></category>
		<category><![CDATA[Network Administration]]></category>

		<guid isPermaLink="false">http://www.whitworth.org/Blog/PermaLink,guid,72ac14e9-80d5-44b7-94f1-c014abcbdab4.aspx</guid>
		<description><![CDATA[
If you are part of the&#160;Sysem Center &#160;2007 Beta Program, then you should
have already received the email from the beta site that the Beta is available for
download.


If your not part of the beta try to apply&#160;at http://connect.microsoft.com


]]></description>
			<content:encoded><![CDATA[<p>
If you are part of the&nbsp;Sysem Center &nbsp;2007 Beta Program, then you should<br />
have already received the email from the beta site that the Beta is available for<br />
download.
</p>
<p>
If your not part of the beta try to apply&nbsp;at <a href="http://connect.microsoft.com">http://connect.microsoft.com</a>
</p>
<p><img width="0" height="0" src="http://www.whitworth.org/Blog/aggbug.ashx?id=72ac14e9-80d5-44b7-94f1-c014abcbdab4" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.whitworth.org/2006/06/05/system-operations-manager-2007-beta-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.557 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-12 23:58:13 -->
