<?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>My-Technet &#187; Kix</title>
	<atom:link href="http://my-technet.com/index.php/category/kix/feed/" rel="self" type="application/rss+xml" />
	<link>http://my-technet.com</link>
	<description>Where I Save What I Will Forget</description>
	<lastBuildDate>Thu, 29 Jul 2010 14:00:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Associate File Extensions To An Application</title>
		<link>http://my-technet.com/index.php/kix/associate-file-extensions-to-an-application/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/associate-file-extensions-to-an-application/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 10:15:54 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/index.php/kix/associate-file-extensions-to-an-application/</guid>
		<description><![CDATA[Function Associate2($extension,$opencmd) &#160;&#160;&#160; Dim $rc &#160;&#160;&#160; ;Make sure the dot is specified. &#160;&#160;&#160; If Left($extension, 1) &#60;&#62; &#34;.&#34; &#160;&#160;&#160;&#160;&#160;&#160;&#160; $extension<a href="http://my-technet.com/index.php/kix/associate-file-extensions-to-an-application/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>Function Associate2($extension,$opencmd) </p>
<p>&#160;&#160;&#160; Dim $rc </p>
<p>&#160;&#160;&#160; ;Make sure the dot is specified.    <br />&#160;&#160;&#160; If Left($extension, 1) &lt;&gt; &quot;.&quot;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $extension = &quot;.&quot; + $extension     <br />&#160;&#160;&#160; EndIf     <br />&#160;&#160;&#160; ;Exit if a required parameter is empty.     <br />&#160;&#160;&#160; Select     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Case $extension = &quot;&quot;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Exit 87     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Case $opencmd = &quot;&quot;     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Exit 87     <br />&#160;&#160;&#160; EndSelect </p>
<p>&#160;&#160;&#160; ;Create the values for the open command.    <br />&#160;&#160;&#160; $rc = WriteValue(&quot;HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\&quot; + $extension + &quot;\&quot;, &quot;Application&quot;, $opencmd, &quot;REG_SZ&quot;)     <br />EndFunction </p>
<p>Associate2(&quot;.kix&quot;,&quot;Notepad.exe&quot;)</p>
<p>Associate2(&quot;.<font color="#ff0000">WhateverExtensionName</font>&quot;,&quot;<font color="#ff0000">WhateverApplication.exe</font>&quot;)</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/associate-file-extensions-to-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call Kix Script From A Batch File</title>
		<link>http://my-technet.com/index.php/kix/call-kix-script-from-a-batch-file/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/call-kix-script-from-a-batch-file/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:50:52 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=140</guid>
		<description><![CDATA[Place the Batch File into the Netlogon/Sysvol Share %0\..\kix32.exe %0\..\Scriptname.kix]]></description>
			<content:encoded><![CDATA[<p>Place the Batch File into the Netlogon/Sysvol Share</p>
<p>%0\..\kix32.exe %0\..\Scriptname.kix</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/call-kix-script-from-a-batch-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Or Delete Printers</title>
		<link>http://my-technet.com/index.php/kix/add-or-delete-printers/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/add-or-delete-printers/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:48:15 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=137</guid>
		<description><![CDATA[If DelPrinterConnection (&#8220;\\Server\Lab&#8220;)=0   ? &#8220;Deleted Printer &#8230;.&#8221; EndIf If AddPrinterConnection (&#8220;\\Server\Lab&#8220;) = 0   ? &#8220;Added Printer &#8230;.&#8221; EndIF]]></description>
			<content:encoded><![CDATA[<p>If DelPrinterConnection (&#8220;<a href="file://aghsw2k1/Lab#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">\\Server\Lab</a>&#8220;)=0</p>
<p>  ? &#8220;Deleted Printer &#8230;.&#8221;</p>
<p>EndIf</p>
<p>If AddPrinterConnection (&#8220;<a href="file://$fileserver/Lab#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">\\Server\Lab</a>&#8220;) = 0</p>
<p>  ? &#8220;Added Printer &#8230;.&#8221;</p>
<p>EndIF</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/add-or-delete-printers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write To The Registry</title>
		<link>http://my-technet.com/index.php/kix/write-to-the-registry/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/write-to-the-registry/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:45:39 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=134</guid>
		<description><![CDATA[Example &#8211; WriteValue(&#8220;key path&#8221;, &#8220;value&#8221;, &#8220;data&#8221;, &#8220;data type&#8221;) WriteValue(&#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached&#8221;, &#8220;{A4DF5659-0801-4A60-9607-1C48695EFDA9} {000214E6-0000-0000-C000-000000000046} 0&#215;401&#8243;, &#8220;1&#8243;, &#8220;REG_DWORD&#8221;)]]></description>
			<content:encoded><![CDATA[<p>Example &#8211; WriteValue(&#8220;key path&#8221;, &#8220;value&#8221;, &#8220;data&#8221;, &#8220;data type&#8221;)</p>
<p>WriteValue(&#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached&#8221;, &#8220;{A4DF5659-0801-4A60-9607-1C48695EFDA9} {000214E6-0000-0000-C000-000000000046} 0&#215;401&#8243;, &#8220;1&#8243;, &#8220;REG_DWORD&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/write-to-the-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Network Drive</title>
		<link>http://my-technet.com/index.php/kix/map-network-drive/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/map-network-drive/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:42:58 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=131</guid>
		<description><![CDATA[;Delete Existing Network Drives Use &#8220;*&#8221; /DELETE /PERSISTENT  ;Network Drive Use G: &#8220;\\Server\Share&#8220;]]></description>
			<content:encoded><![CDATA[<p>;Delete Existing Network Drives</p>
<p>Use &#8220;*&#8221; /DELETE /PERSISTENT</p>
<p> ;Network Drive</p>
<p>Use G: &#8220;<a href="file://server/Share#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">\\Server\Share</a>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/map-network-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Network Drive Based On Active Directory Group</title>
		<link>http://my-technet.com/index.php/kix/map-network-drive-based-on-active-directory-group/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/map-network-drive-based-on-active-directory-group/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:41:38 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=128</guid>
		<description><![CDATA[IF INGROUP(&#8220;AD Security Group Name&#8221;)     USE H: /DEL     USE H: &#8220;\\Server\Home$\%username%&#8221; /persistent   ENDIF]]></description>
			<content:encoded><![CDATA[<p>IF INGROUP(&#8220;AD Security Group Name&#8221;)</p>
<p>    USE H: /DEL</p>
<p>    USE H: &#8220;<a href="file://server/Home$/%25username%25#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">\\Server\Home$\%username%</a>&#8221; /persistent</p>
<p>  ENDIF</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/map-network-drive-based-on-active-directory-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Outlook With PRF File</title>
		<link>http://my-technet.com/index.php/kix/configure-outlook-with-prf-file/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/configure-outlook-with-prf-file/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 02:00:27 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=120</guid>
		<description><![CDATA[&#8220;Check if PRF has already been applied&#8221; ? $olprof = ReadValue(&#8220;HKey_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles&#8221;, &#8220;DefaultProfile&#8221;) If $olprof = &#8220;MyPRF_Name_2003&#8243; Else<a href="http://my-technet.com/index.php/kix/configure-outlook-with-prf-file/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>&#8220;Check if PRF has already been applied&#8221; ?<br />
$olprof = ReadValue(&#8220;HKey_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles&#8221;, &#8220;DefaultProfile&#8221;)</p>
<p>If $olprof = &#8220;MyPRF_Name_2003&#8243;<br />
Else<br />
If $olprof = &#8220;MyPRF_Name_2007&#8243;<br />
Goto &#8220;Exit&#8221;<br />
EndIF</p>
<p>&#8220;Checking Outlook Version&#8221; ?<br />
Sleep 1<br />
$olpath = ReadValue(&#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE&#8221;, &#8220;Path&#8221;)<br />
$olversion = GetFileVersion($olpath + &#8220;outlook.exe&#8221;, &#8220;ProductVersion&#8221;)</p>
<p>;Region Create Outlook profile<br />
;Set profile to import<br />
Select</p>
<p> Case Left($olversion, 2) = &#8220;11&#8243;<br />
  &#8221;Outlook 2003 PRF Selected&#8221; ?</p>
<p>  $rc = DelValue(&#8220;HKCU\Software\Microsoft\Office\11.0\Outlook\Setup&#8221;, &#8220;First-Run&#8221;)<br />
  $rc = WriteValue(&#8220;HKCU\Software\Microsoft\Office\11.0\Outlook\Setup&#8221;, &#8220;ImportPRF&#8221;, &#8220;@LServer\NETLOGON\MyPRF_Name_2003.prf&#8221;, &#8220;REG_SZ&#8221;)<br />
  &#8221;Outlook 2003 PRF Set&#8221; ?<br />
  Sleep 2<br />
 Case Left($olversion, 2) = &#8220;12&#8243;<br />
  &#8221;Outlook 2007 PRF Selected&#8221; ?</p>
<p>  $rc = DelValue(&#8220;HKCU\Software\Microsoft\Office\12.0\Outlook\Setup&#8221;, &#8220;First-Run&#8221;)<br />
  $rc = WriteValue(&#8220;HKCU\Software\Microsoft\Office\12.0\Outlook\Setup&#8221;, &#8220;ImportPRF&#8221;, &#8220;@LServer\NETLOGON\MyPRF_Name_2007.prf&#8221;, &#8220;REG_SZ&#8221;)<br />
  &#8221;Outlook 2007 PRF Set&#8221; ?<br />
  Sleep 2<br />
EndSelect<br />
;Endregion</p>
<p>:Exit</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/configure-outlook-with-prf-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Specific Outlook Internet Account Based On POP3 Server Name</title>
		<link>http://my-technet.com/index.php/kix/remove-specific-outlook-internet-account-based-on-pop3-server-name/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://my-technet.com/index.php/kix/remove-specific-outlook-internet-account-based-on-pop3-server-name/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 01:54:17 +0000</pubDate>
		<dc:creator>JBrokaw</dc:creator>
				<category><![CDATA[Kix]]></category>

		<guid isPermaLink="false">http://my-technet.com/?p=116</guid>
		<description><![CDATA[&#8220;Script Started&#8221; ? $Count = 00000000 $olkey = &#8220;HKey_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676&#8243; &#8220;Checking Outlook Account Reg Keys&#8221; ? Sleep 2<a href="http://my-technet.com/index.php/kix/remove-specific-outlook-internet-account-based-on-pop3-server-name/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>&#8220;Script Started&#8221; ?<br />
$Count = 00000000<br />
$olkey = &#8220;HKey_Current_User\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676&#8243;<br />
&#8220;Checking Outlook Account Reg Keys&#8221; ?<br />
Sleep 2<br />
$olcheck = EnumKey ($olkey,$Count)<br />
While @ERROR = 0<br />
 $olpop = ReadValue($olkey + &#8220;\&#8221; + $olcheck, &#8220;POP3 Server&#8221;)<br />
  If $olpop = &#8220;70006f00700033002e006400690067006900740061006c0069006d0073002e006e00650074000000&#8243; -&gt; This is Binary Specific to the POP3 Server name. Get this info from the Registry at the HKCU Path above<br />
   &#8221;Found POP3 Account&#8221; ?<br />
   Sleep 1<br />
   &#8221;$olpop&#8221; ?<br />
   Sleep 2<br />
   &#8221;$olcheck&#8221; ?<br />
   Sleep 5<br />
   DelKey($olkey + &#8220;\&#8221; + $olcheck)<br />
   &#8221;Deleted POP3 Account from Reg&#8221; ?<br />
   Sleep 1<br />
  EndIf<br />
 $Count = $Count + 1<br />
 $olcheck = EnumKey ($olkey,$Count)<br />
Loop</p>
]]></content:encoded>
			<wfw:commentRss>http://my-technet.com/index.php/kix/remove-specific-outlook-internet-account-based-on-pop3-server-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
