<?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>Anthony Reinke</title>
	<atom:link href="http://www.anthonyreinke.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anthonyreinke.com</link>
	<description>Rambling Thoughts of a Random Mind</description>
	<lastBuildDate>Wed, 01 Feb 2012 22:03:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing SNMP through the Command Line &#8211; Part 2</title>
		<link>http://www.anthonyreinke.com/2012/02/01/installing-snmp-through-the-command-line-part-2/</link>
		<comments>http://www.anthonyreinke.com/2012/02/01/installing-snmp-through-the-command-line-part-2/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 22:01:19 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=474</guid>
		<description><![CDATA[I added a batch script I wrote to install SNMP on a bunch of machine back on Jan. 14, 2012 (http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/). &#160;I have since modified the script. &#160;Changing the file from a .bat to a .cmd will allow you to right click and run as administrator on Windows 2008. &#160;Also I noticed in 2008, it [...]]]></description>
			<content:encoded><![CDATA[<p>I added a batch script I wrote to install SNMP on a bunch of machine back on Jan. 14, 2012 (<a href="http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/">http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/</a>). &nbsp;I have since modified the script. &nbsp;Changing the file from a .bat to a .cmd will allow you to right click and run as administrator on Windows 2008. &nbsp;Also I noticed in 2008, it defaults in to having the localhost as the only system that can communicate to the SNMP Service.</p>
<p>PsExec.exe @hosts.txt -s -c installsnmp.cmd</p>
<p>Below is the file to download. &nbsp;Rename the file to installsnmp.cmd<br />
<a href="http://www.anthonyreinke.com/wp-content/uploads/2012/02/installsnmp.cmd_.txt">installsnmp.cmd.txt</a></p>
<p>As always, please contact me if you have questions.</p>
<pre><span style="color: #00ff00;">@echo off</span></pre>
<pre><span style="color: #00ff00;">cls</span></pre>
<pre><span style="color: #00ff00;">REM Detect if the system is Windows Server 2003</span>
<span style="color: #00ff00;">systeminfo | find "2003" &gt; nul</span>
<span style="color: #00ff00;">if %ERRORLEVEL% == 0 goto 2003</span></pre>
<pre><span style="color: #00ff00;">REM Detect if the system is Windows XP</span>
<span style="color: #00ff00;">systeminfo | find "XP Pro" &gt; nul</span>
<span style="color: #00ff00;">if %ERRORLEVEL% == 0 goto XPPro</span></pre>
<pre><span style="color: #00ff00;">REM Detect if the system is Windows XP</span>
<span style="color: #00ff00;">systeminfo | find "2008" &gt; nul</span>
<span style="color: #00ff00;">if %ERRORLEVEL% == 0 goto 2008</span></pre>
<pre><span style="color: #00ff00;">REM If the system is Windows Vista, Windows Server 2008, or higher, </span>
<span style="color: #00ff00;">REM they have the required files built in.</span>
<span style="color: #00ff00;">goto ERROR</span></pre>
<pre><span style="color: #00ff00;">:2003</span>
<span style="color: #00ff00;">REM If Windows 2003, set the path to the i386 directory</span>
<span style="color: #00ff00;">REM Note: The path needs to be one level above the i386 directory</span>
<span style="color: #00ff00;">REM Example: if the path is \\server\share\windows2003\i386\ then</span>
<span style="color: #00ff00;">REM the path would be \\server\share\windows2003\</span>
<span style="color: #00ff00;">REM Note that the you need both a 32bit and 64bit versions</span></pre>
<pre><span style="color: #00ff00;">if (%PROCESSOR_ARCHITECTURE%) == (AMD64) (</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\Win2003x64\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\Win2003x64\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setW2003Path.reg</span></pre>
<pre><span style="color: #00ff00;">IF (%PROCESSOR_ARCHITECTURE%) == (x86) (</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\Win2003\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\Win2003\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setW2003Path.reg</span></pre>
<pre>
<span style="color: #00ff00;">REM Installing the created Registry File</span>
<span style="color: #00ff00;">regedit /s /q %temp%\setW2003Path.reg</span></pre>
<pre><span style="color: #00ff00;">goto SNMP</span></pre>
<pre><span style="color: #00ff00;">:XPPro</span>
<span style="color: #00ff00;">REM If Windows XP Professional, set the path to the i386 directory</span>
<span style="color: #00ff00;">REM Note: The path needs to be one level above the i386 directory</span>
<span style="color: #00ff00;">REM Example: if the path is \\server\share\windowsXP\i386\ then</span>
<span style="color: #00ff00;">REM the path would be \\server\share\windowsXP\</span>
<span style="color: #00ff00;">if (%PROCESSOR_ARCHITECTURE%) == (AMD64) (</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\XPProx64\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\XPProx64\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setXPProPath.reg</span>
<span style="color: #00ff00;">) ELSE IF (%PROCESSOR_ARCHITECTURE%) == (x86)</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\XPPro\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\XPPro\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setXPProPath.reg</span>
<span style="color: #00ff00;">)</span></pre>
<pre><span style="color: #00ff00;">REM Installing the created Registry File</span>
<span style="color: #00ff00;">regedit /s /q %temp%\setXPProPath.reg.reg</span></pre>
<pre><span style="color: #00ff00;">goto SNMP</span></pre>
<pre><span style="color: #00ff00;">:2008</span>
<span style="color: #00ff00;">REM Since 2008 stopped using the sysocmgr.exe to install features, in Vista and higher</span>
<span style="color: #00ff00;">REM you need to use the servermanagercmd.exe to add features. A great list of the </span>
<span style="color: #00ff00;">REM features and their command line install string is at:</span>
<span style="color: #00ff00;">REM http://www.techrepublic.com/blog/datacenter/install-windows-server-2008-features-with-servermanagercmd/294</span></pre>
<pre><span style="color: #00ff00;">servermanagercmd.exe -install SNMP-Services</span></pre>
<pre><span style="color: #00ff00;">goto Strings</span></pre>
<pre><span style="color: #00ff00;">:SNMP</span>
<span style="color: #00ff00;">REM Building the Unattended Install</span></pre>
<pre><span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo ;SetupMgrTag</span>
<span style="color: #00ff00;">echo [NetOptionalComponents]</span>
<span style="color: #00ff00;">echo SNMP=1</span>
<span style="color: #00ff00;">echo [SNMP]</span>
<span style="color: #00ff00;">echo Any_Host=YES</span>
<span style="color: #00ff00;">) &gt; %temp%\snmp.txt</span></pre>
<pre><span style="color: #00ff00;">REM Installing the SNMP application with the Unattended Install</span></pre>
<pre><span style="color: #00ff00;">sysocmgr /i:%windir%\inf\sysoc.inf /u:%temp%\snmp.txt</span></pre>
<pre><span style="color: #00ff00;">goto Strings</span></pre>
<pre><span style="color: #00ff00;">:Strings</span></pre>
<pre><span style="color: #00ff00;">REM Removing the public string</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\ValidCommunities]</span></pre>
<pre><span style="color: #00ff00;">REM Removing the only allow localhost communication, by default 2008 will only allow the </span>
<span style="color: #00ff00;">REM localhsot to talk to the SNMP service</span>
<span style="color: #00ff00;">echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SNMP\Parameters\PermittedManagers]</span></pre>
<pre><span style="color: #00ff00;">REM Setting the SNMP strings</span>
<span style="color: #00ff00;">echo.</span></pre>
<pre><span style="color: #00ff00;">REM Setting the SNMP Contact Info</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\RFC1156Agent]</span>
<span style="color: #00ff00;">echo "sysContact"="Server Administrators"</span>
<span style="color: #00ff00;">echo "sysLocation"="Server Room"</span>
<span style="color: #00ff00;">echo "sysServices"=dword:0000004f</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">REM Setting the Read Only and Read Write Communities</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\ValidCommunities]</span>
<span style="color: #00ff00;">echo "readonly"=dword:00000004</span>
<span style="color: #00ff00;">echo "readwrite"=dword:00000008</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">REM Creating the Permitted Managers Key</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\SNMP\Parameters\PermittedManagers]</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">) &gt; %temp%\setupsnmp.reg</span></pre>
<pre><span style="color: #00ff00;">REM Installing the created Registry File</span></pre>
<pre><span style="color: #00ff00;">regedit /s /q %temp%\setupsnmp.reg</span></pre>
<pre><span style="color: #00ff00;">REM Cleaning Up</span></pre>
<pre><span style="color: #00ff00;">IF EXIST %temp%\setupsnmp.reg del %temp%\setupsnmp.reg</span>
<span style="color: #00ff00;">IF EXIST %temp%\setW2003Path.reg del %temp%\setW2003Path.reg</span>
<span style="color: #00ff00;">IF EXIST %temp%\setXPProPath.reg.reg del %temp%\setXPProPath.reg.reg</span>
<span style="color: #00ff00;">IF EXIST %temp%\snmp.txt del %temp%\snmp.txt</span></pre>
<pre><span style="color: #00ff00;">echo %COMPUTERNAME% Complete &gt;&gt; \\server\share\SNMP\SNMPInstall.txt</span></pre>
<pre><span style="color: #00ff00;">goto END</span></pre>
<pre><span style="color: #00ff00;">:ERROR</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo Could not determine the OS type</span>
<span style="color: #00ff00;">pause</span></pre>
<pre><span style="color: #00ff00;">goto END</span></pre>
<pre><span style="color: #00ff00;">:END</span></pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2012/02/01/installing-snmp-through-the-command-line-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing SNMP through the Command Line</title>
		<link>http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/</link>
		<comments>http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 04:18:59 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=455</guid>
		<description><![CDATA[I needed a way to mass install SNMP to the servers in my environment.  The problem I was having was Microsoft Windows Server 2003 needing files from the CD.  We don&#8217;t copy the i386 directory from the CD for two reasons.  We store the files on the network and drive space is limit on a [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a way to mass install SNMP to the servers in my environment.  The problem I was having was Microsoft Windows Server 2003 needing files from the CD.  We don&#8217;t copy the i386 directory from the CD for two reasons.  We store the files on the network and drive space is limit on a lot of servers.  The batch script will check if the server is 2003.  If it is 2003, it will point the install cd to a network path or a local path.  Next it builds the  unattended install file.  Once the file is written, the system will add the SNMP feature per the unattended file.  After SNMP is installed, the registry keys are set for the SNMP community strings.  Lastly the script removes the temporary files it created.</p>
<p>Use this script in combination to PSTools&#8217; PSExec and you can mass install.  Create a list of systems you want to install this on and call it hosts.txt.  Each server needs to be on it&#8217;s own line and it is best to use the fully qualified name or IP Address.  Copy the hosts.txt and installsnmp.bat file in to your PSTools directory and run the following command:</p>
<pre><span style="color: #00ff00;">PsExec.exe @hosts.txt -s -c installsnmp.bat</span></pre>
<p><a href="http://www.anthonyreinke.com/wp-content/uploads/2012/01/installsnmp.txt">Download the Install SNMP Batch File, just rename to a .bat file.</a></p>
<p>&nbsp;</p>
<pre></pre>
<pre><span style="color: #00ff00;">@echo off</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">echo %COMPUTERNAME% Started &gt;&gt; \\server\share\SNMP\SNMPInstall.txt</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Detect if the system is Windows Server 2003</span>
<span style="color: #00ff00;">systeminfo | find "2003" &gt; nul</span>
<span style="color: #00ff00;">if %ERRORLEVEL% == 0 goto 2003</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Detect if the system is Windows XP</span>
<span style="color: #00ff00;">systeminfo | find "XP Pro" &gt; nul</span>
<span style="color: #00ff00;">if %ERRORLEVEL% == 0 goto XPPro</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM If the system is Windows Vista, Windows Server 2008, or higher, </span>
<span style="color: #00ff00;">REM they have the required files built in.</span>
<span style="color: #00ff00;">goto SNMP</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">:2003</span>
<span style="color: #00ff00;">REM If Windows 2003, set the path to the i386 directory</span>
<span style="color: #00ff00;">REM Note: The path needs to be one level above the i386 directory</span>
<span style="color: #00ff00;">REM Example: if the path is \\server\share\windows2003\i386\ then</span>
<span style="color: #00ff00;">REM the path would be \\server\share\windows2003\</span>
<span style="color: #00ff00;">REM Note that the you need both a 32bit and 64bit versions</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">if (%PROCESSOR_ARCHITECTURE%) == (AMD64) (</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\Win2003x64\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\Win2003x64\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setW2003Path.reg</span>
<span style="color: #00ff00;">) ELSE IF (%PROCESSOR_ARCHITECTURE%) == (x86)</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\Win2003\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\Win2003\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setW2003Path.reg</span>
<span style="color: #00ff00;">)</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Installing the created Registry File</span>
<span style="color: #00ff00;">regedit /s /q %temp%\setW2003Path.reg</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">goto SNMP</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">:XPPro</span>
<span style="color: #00ff00;">REM If Windows XP Professional, set the path to the i386 directory</span>
<span style="color: #00ff00;">REM Note: The path needs to be one level above the i386 directory</span>
<span style="color: #00ff00;">REM Example: if the path is \\server\share\windowsXP\i386\ then</span>
<span style="color: #00ff00;">REM the path would be \\server\share\windowsXP\</span>
<span style="color: #00ff00;">if (%PROCESSOR_ARCHITECTURE%) == (AMD64) (</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\XPProx64\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\XPProx64\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setXPProPath.reg</span>
<span style="color: #00ff00;">) ELSE IF (%PROCESSOR_ARCHITECTURE%) == (x86)</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]</span>
<span style="color: #00ff00;">echo "SourcePath"="\\\\server\\share\\Extracted\\XPPro\\"</span>
<span style="color: #00ff00;">echo "ServicePackSourcePath"="\\\\server\\share\\Extracted\\XPPro\\"</span>
<span style="color: #00ff00;">) &gt; %temp%\setXPProPath.reg</span>
<span style="color: #00ff00;">)</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Installing the created Registry File</span>
<span style="color: #00ff00;">regedit /s /q %temp%\setXPProPath.reg.reg</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">goto SNMP</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">:SNMP</span>
<span style="color: #00ff00;">REM Building the Unattended Install</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo ;SetupMgrTag</span>
<span style="color: #00ff00;">echo [NetOptionalComponents]</span>
<span style="color: #00ff00;">echo SNMP=1</span>
<span style="color: #00ff00;">echo [SNMP]</span>
<span style="color: #00ff00;">echo Any_Host=YES</span>
<span style="color: #00ff00;">) &gt; %temp%\snmp.txt</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Installing the SNMP application with the Unattended Install</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">sysocmgr /i:%windir%\inf\sysoc.inf /u:%temp%\snmp.txt</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">goto Strings</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">:2008</span>
<span style="color: #00ff00;">REM Since 2008 stopped using the sysocmgr.exe to install features, in Vista and higher</span>
<span style="color: #00ff00;">REM you need to use the servermanagercmd.exe to add features. A great list of the </span>
<span style="color: #00ff00;">REM features and their command line install string is at:</span>
<span style="color: #00ff00;">REM http://www.techrepublic.com/blog/datacenter/install-windows-server-2008-features-with-servermanagercmd/294</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">servermanagercmd.exe -install SNMP-Services</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">goto Strings</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">:Strings</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Removing the public string</span>
<span style="color: #00ff00;">(</span>
<span style="color: #00ff00;">echo Windows Registry Editor Version 5.00</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [-HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\ValidCommunities]</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Setting the SNMP strings</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\RFC1156Agent]</span>
<span style="color: #00ff00;">echo "sysContact"="Server Administrators"</span>
<span style="color: #00ff00;">echo "sysLocation"="Server Room"</span>
<span style="color: #00ff00;">echo "sysServices"=dword:0000004f</span>
<span style="color: #00ff00;">echo.</span>
<span style="color: #00ff00;">echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SNMP\Parameters\ValidCommunities]</span>
<span style="color: #00ff00;">echo "readonly"=dword:00000004</span>
<span style="color: #00ff00;">echo "readwrite"=dword:00000008</span>
<span style="color: #00ff00;">) &gt; %temp%\setupsnmp.reg</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Installing the created Registry File</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">regedit /s /q %temp%\setupsnmp.reg</span></pre>
<pre></pre>
<pre><span style="color: #00ff00;">REM Cleaning Up</span></pre>
<pre></pre>
<p><span style="color: #00ff00;">IF EXIST %temp%\setupsnmp.reg del %temp%\setupsnmp.reg</span><br />
<span style="color: #00ff00;">IF EXIST %temp%\setW2003Path.reg del %temp%\setW2003Path.reg</span><br />
<span style="color: #00ff00;">IF EXIST %temp%\setXPProPath.reg.reg del %temp%\setXPProPath.reg.reg</span><br />
<span style="color: #00ff00;">IF EXIST %temp%\snmp.txt del %temp%\snmp.txt</span></p>
<p>&nbsp;</p>
<p><span style="color: #00ff00;">echo %COMPUTERNAME% Complete &gt;&gt; \\server\share\SNMP\SNMPInstall.txt</span></p>
<p><span style="color: #00ff00;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2012/01/14/installing-snmp-through-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automating a New Email Profile</title>
		<link>http://www.anthonyreinke.com/2011/11/08/automating-a-new-email-profile/</link>
		<comments>http://www.anthonyreinke.com/2011/11/08/automating-a-new-email-profile/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 20:50:20 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[profile]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[vbscript]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=443</guid>
		<description><![CDATA[I have been helping a company move to a new cloud based email system.  They needed to update everyone&#8217;s mail profile.  In this follow VBScript, it builds a .prf file to be imported in with the correct fields for the user and servers.  Near the top of the script there is a section to be [...]]]></description>
			<content:encoded><![CDATA[<p>I have been helping a company move to a new cloud based email system.  They needed to update everyone&#8217;s mail profile.  In this follow VBScript, it builds a .prf file to be imported in with the correct fields for the user and servers.  Near the top of the script there is a section to be filled out by a person that knows the Exchange environment, Exchange Administrator.</p>
<address><span style="color: #00ff00;"><em>&#8216; Define our servers and paths </em></span></address>
<address><span style="color: #00ff00;"><em>strProxy = &#8220;&#8221; </em></span><br />
<span style="color: #00ff00;"> <em>strAutoDiscoverProxy = &#8220;&#8221; </em></span><br />
<span style="color: #00ff00;"> <em>strProfileName = &#8220;&#8221; </em></span><br />
<span style="color: #00ff00;"> <em>strHomeServer = &#8220;&#8221; </em></span><br />
<span style="color: #00ff00;"> <em>strRPCProxyPrincipalName = &#8220;&#8221;</em></span></address>
<address> </address>
<p>The script will ask the user their primary email address.  For the company I was helping out they had multiple email domains so we needed them to select their primary.  It then will ask them to confirm what they typed.</p>
<p><span style="color: #000000;"><a href="http://www.anthonyreinke.com/wp-content/uploads/2011/11/SetupNewOutlook.zip">SetupNewOutlook</a></span></p>
<p>#####################################</p>
<address><span style="color: #00ff00;">&#8216;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span><br />
<span style="color: #00ff00;"> &#8216; Add email profile for Another Exchange Provider</span><br />
<span style="color: #00ff00;"> &#8216;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span><br />
<span style="color: #00ff00;"> Option Explicit</span><br />
<span style="color: #00ff00;"> On Error Resume Next&#8217; Declare our varibles</span><br />
<span style="color: #00ff00;"> Dim template, strInput, intAnswer, strProxy, strAutoDiscoverProxy, strProfileName, strHomeServer, strRPCProxyPrincipalName&#8217; Define our servers and paths                                  Examples</span><br />
<span style="color: #00ff00;"> strProxy = &#8220;&#8221;                                                                   &#8216; strProxy = &#8220;webmail.yourdomain.com&#8221;</span><br />
<span style="color: #00ff00;"> strAutoDiscoverProxy = &#8220;&#8221;                                      &#8217; strAutoDiscoverProxy = &#8220;https://webmail.yourdomain.com/autodiscoverproxy/autodiscover.xml&#8221; </span><br />
<span style="color: #00ff00;"> strProfileName = &#8220;&#8221;                                                     &#8216; strProfileName = &#8220;New Cloud Email&#8221; </span><br />
<span style="color: #00ff00;"> strHomeServer = &#8220;&#8221;                                                     &#8216; strHomeServer = &#8220;MyExchangeServer&#8221; </span><br />
<span style="color: #00ff00;"> strRPCProxyPrincipalName = &#8220;&#8221;                            &#8217; strRPCProxyPrincipalName = &#8220;msstd:webmail.yourdomain.com&#8221;</span><span style="color: #00ff00;">&#8216; This loop section is here to have the user verify their email address</span><br />
<span style="color: #00ff00;"> &#8216; Starting the Loop. This will loop from this point until the answer is Yes</span><br />
<span style="color: #00ff00;"> Do Until intAnswer = vbYes</span></p>
<p><span style="color: #00ff00;">&#8216; Asking the user their primary email address</span><br />
<span style="color: #00ff00;"> strInput = UserInput( &#8220;Please enter your primary email address:&#8221; )</span></p>
<p><span style="color: #00ff00;">&#8216; This is asking the user to confirm their primary email address</span><br />
<span style="color: #00ff00;"> intAnswer = _</span><br />
<span style="color: #00ff00;"> Msgbox(&#8220;Completing reconfiguration of Outlook for email address: &#8221; &amp; strInput &amp; vbCr &amp; &#8220;This is correct?&#8221;, _</span><br />
<span style="color: #00ff00;"> vbYesNo, &#8220;Confirm Email Address&#8221;)</span></p>
<p><span style="color: #00ff00;">&#8216; This will loop the script back to the start of the Loop function. If the user click</span><br />
<span style="color: #00ff00;"> &#8216; Yes, then the function will exit the loop. If the user answered No, the function will</span><br />
<span style="color: #00ff00;"> &#8216; start over and prompt the user for their primary email address.</span><br />
<span style="color: #00ff00;"> Loop</span></p>
<p><span style="color: #00ff00;">Function UserInput( myPrompt )</span><br />
<span style="color: #00ff00;"> &#8216; This function prompts the user for some input.</span><br />
<span style="color: #00ff00;"> &#8216; When the script runs in CSCRIPT.EXE, StdIn is used,</span><br />
<span style="color: #00ff00;"> &#8216; otherwise the VBScript InputBox( ) function is used.</span><br />
<span style="color: #00ff00;"> &#8216; myPrompt is the the text used to prompt the user for input.</span><br />
<span style="color: #00ff00;"> &#8216; The function returns the input typed either on StdIn or in InputBox( ).</span><br />
<span style="color: #00ff00;"> &#8216; Written by Rob van der Woude</span><br />
<span style="color: #00ff00;"> &#8216; http://www.robvanderwoude.com</span><br />
<span style="color: #00ff00;"> &#8216; Check if the script runs in CSCRIPT.EXE</span><br />
<span style="color: #00ff00;"> If UCase( Right( WScript.FullName, 12 ) ) = &#8220;\CSCRIPT.EXE&#8221; Then</span><br />
<span style="color: #00ff00;"> &#8216; If so, use StdIn and StdOut</span><br />
<span style="color: #00ff00;"> WScript.StdOut.Write myPrompt &amp; &#8221; &#8220;</span><br />
<span style="color: #00ff00;"> UserInput = WScript.StdIn.ReadLine</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> &#8216; If not, use InputBox( )</span><br />
<span style="color: #00ff00;"> UserInput = InputBox( myPrompt )</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> End Function</span></p>
<p><span style="color: #00ff00;">template = &#8220;;Automatically generated PRF file&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; **************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 1 &#8211; Profile Defaults&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; **************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[General]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Custom=1&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ProfileName=Cloud Email&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DefaultProfile=No&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;OverwriteProfile=No&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ModifyDefaultProfileIfPresent=FALSE&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;BackupProfile=No &#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DefaultStore=Service1&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; **************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 2 &#8211; Services in Profile&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; **************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Service List]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceX=Microsoft Outlook Client&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceEGS=Exchange Global Section&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Service1=Microsoft Exchange Server&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceEGS=Exchange Global Section&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Service2=Outlook Address Book&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 3 &#8211; List of internet accounts&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Internet Account List]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 4 &#8211; Default values for each service.&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[ServiceX]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeMode=0&#215;00000002&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeSlowDetect=TRUE&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[ServiceEGS]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeConfigFlags=0&#215;00000100&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MailboxName=&#8221; &amp; strInput &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;HomeServer=&#8221; &amp; strHomeServer &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCoverHTTPflags=0x002f&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyServer=&#8221; &amp; strProxy &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyPrincipalName=msstd:&#8221; &amp; strRPCProxyPrincipalName &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyAuthScheme=0&#215;0001&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Service1]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;OverwriteExistingService=No&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UniqueService=No&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MailboxName=&#8221; &amp; strInput &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;HomeServer=&#8221; &amp; strHomeServer &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountName=Microsoft Exchange Server&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 5 &#8211; Values for each internet account.&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 6 &#8211; Mapping for profile properties&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;***************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Microsoft Exchange Server]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=MSEMS&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MDBGUID=5494A1C0297F101BA58708002B2A2517&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MailboxName=PT_STRING8,0&#215;6607&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;HomeServer=PT_STRING8,0&#215;6608&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;OfflineAddressBookPath=PT_STRING8,0x660E&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;OfflineFolderPath=PT_STRING8,0&#215;6610&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Exchange Global Section]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MailboxName=PT_STRING8,0&#215;6607&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;HomeServer=PT_STRING8,0&#215;6608&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCoverHTTPflags=PT_LONG,0&#215;6623&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyServer=PT_UNICODE,0&#215;6622&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyPrincipalName=PT_UNICODE,0&#215;6625&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RPCProxyAuthScheme=PT_LONG,0&#215;6627&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeConfigFlags=PT_LONG,0&#215;6629&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Microsoft Mail]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=MSFS&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServerPath=PT_STRING8,0&#215;6600&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Mailbox=PT_STRING8,0&#215;6601&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Password=PT_STRING8,0x67f0&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RememberPassword=PT_BOOLEAN,0&#215;6606&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionType=PT_LONG,0&#215;6603&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseSessionLog=PT_BOOLEAN,0&#215;6604&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SessionLogPath=PT_STRING8,0&#215;6605&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EnableUpload=PT_BOOLEAN,0&#215;6620&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EnableDownload=PT_BOOLEAN,0&#215;6621&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UploadMask=PT_LONG,0&#215;6622&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;NetBiosNotification=PT_BOOLEAN,0&#215;6623&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;NewMailPollInterval=PT_STRING8,0&#215;6624&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisplayGalOnly=PT_BOOLEAN,0&#215;6625&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseHeadersOnLAN=PT_BOOLEAN,0&#215;6630&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseLocalAdressBookOnLAN=PT_BOOLEAN,0&#215;6631&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0&#215;6632&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseHeadersOnRAS=PT_BOOLEAN,0&#215;6640&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseLocalAdressBookOnRAS=PT_BOOLEAN,0&#215;6641&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0&#215;6639&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectOnStartup=PT_BOOLEAN,0&#215;6642&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0&#215;6643&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisconnectAfterRetrieveMail=PT_BOOLEAN,0&#215;6644&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisconnectOnExit=PT_BOOLEAN,0&#215;6645&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DefaultDialupConnectionName=PT_STRING8,0&#215;6646&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DialupRetryCount=PT_STRING8,0&#215;6648&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DialupRetryDelay=PT_STRING8,0&#215;6649&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Personal Folders]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=MSPST MS&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Name=PT_STRING8,0&#215;3001&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;PathToPersonalFolders=PT_STRING8,0&#215;6700 &#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RememberPassword=PT_BOOLEAN,0&#215;6701&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EncryptionType=PT_LONG,0&#215;6702&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Password=PT_STRING8,0&#215;6703&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Unicode Personal Folders]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=MSUPST MS&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Name=PT_UNICODE,0&#215;3001&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;PathToPersonalFolders=PT_STRING8,0&#215;6700 &#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RememberPassword=PT_BOOLEAN,0&#215;6701&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EncryptionType=PT_LONG,0&#215;6702&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Password=PT_STRING8,0&#215;6703&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Outlook Address Book]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=CONTAB&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[LDAP Directory]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=EMABLT&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServerName=PT_STRING8,0&#215;6600&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UserName=PT_STRING8,0&#215;6602&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseSSL=PT_BOOLEAN,0&#215;6613&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseSPA=PT_BOOLEAN,0&#215;6615&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisableVLV=PT_LONG,0&#215;6616&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisplayName=PT_STRING8,0&#215;3001&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionPort=PT_STRING8,0&#215;6601&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SearchTimeout=PT_STRING8,0&#215;6607&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;MaxEntriesReturned=PT_STRING8,0&#215;6608&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SearchBase=PT_STRING8,0&#215;6603&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Microsoft Outlook Client]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SectionGUID=0a0d020000000000c000000000000046&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;FormDirectoryPage=PT_STRING8,0&#215;0270&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;WebServicesLocation=PT_STRING8,0&#215;0271&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ComposeWithWebServices=PT_BOOLEAN,0&#215;0272&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;PromptWhenUsingWebServices=PT_BOOLEAN,0&#215;0273&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;OpenWithWebServices=PT_BOOLEAN,0&#215;0274&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeMode=PT_LONG,0x041f&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CachedExchangeSlowDetect=PT_BOOLEAN,0&#215;0420&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[Personal Address Book]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServiceName=MSPST AB&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;NameOfPAB=PT_STRING8,0x001e3001&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Path=PT_STRING8,0x001e6600&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ShowNamesBy=PT_LONG,0&#215;00036601&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; ************************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; Section 7 &#8211; Mapping for internet account properties. DO NOT MODIFY.&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; ************************************************************************&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[I_Mail]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountType=POP3&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;&#8212; POP3 Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountName=PT_UNICODE,0&#215;0002&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisplayName=PT_UNICODE,0x000B&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EmailAddress=PT_UNICODE,0x000C&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;&#8212; POP3 Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;POP3Server=PT_UNICODE,0&#215;0100&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;POP3UserName=PT_UNICODE,0&#215;0101&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;POP3UseSPA=PT_LONG,0&#215;0108&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Organization=PT_UNICODE,0&#215;0107&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ReplyEmailAddress=PT_UNICODE,0&#215;0103&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;POP3Port=PT_LONG,0&#215;0104&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;POP3UseSSL=PT_LONG,0&#215;0105&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; &#8212; SMTP Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPServer=PT_UNICODE,0&#215;0200&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseAuth=PT_LONG,0&#215;0203&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPAuthMethod=PT_LONG,0&#215;0208&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUserName=PT_UNICODE,0&#215;0204&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseSPA=PT_LONG,0&#215;0207&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionType=PT_LONG,0x000F&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionOID=PT_UNICODE,0&#215;0010&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPPort=PT_LONG,0&#215;0201&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseSSL=PT_LONG,0&#215;0202&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServerTimeOut=PT_LONG,0&#215;0209&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;LeaveOnServer=PT_LONG,0&#215;1000&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[IMAP_I_Mail]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountType=IMAP&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;&#8212; IMAP Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountName=PT_UNICODE,0&#215;0002&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;DisplayName=PT_UNICODE,0x000B&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EmailAddress=PT_UNICODE,0x000C&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;;&#8212; IMAP Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;IMAPServer=PT_UNICODE,0&#215;0100&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;IMAPUserName=PT_UNICODE,0&#215;0101&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;IMAPUseSPA=PT_LONG,0&#215;0108&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Organization=PT_UNICODE,0&#215;0107&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ReplyEmailAddress=PT_UNICODE,0&#215;0103&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;IMAPPort=PT_LONG,0&#215;0104&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;IMAPUseSSL=PT_LONG,0&#215;0105&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;; &#8212; SMTP Account Settings &#8212;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPServer=PT_UNICODE,0&#215;0200&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseAuth=PT_LONG,0&#215;0203&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPAuthMethod=PT_LONG,0&#215;0208&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUserName=PT_UNICODE,0&#215;0204&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseSPA=PT_LONG,0&#215;0207&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionType=PT_LONG,0x000F&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectionOID=PT_UNICODE,0&#215;0010&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPPort=PT_LONG,0&#215;0201&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;SMTPUseSSL=PT_LONG,0&#215;0202&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ServerTimeOut=PT_LONG,0&#215;0209&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;CheckNewImap=PT_LONG,0&#215;1100&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;RootFolder=PT_UNICODE,0&#215;1101&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;[INET_HTTP]&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;AccountType=HOTMAIL&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Account=PT_UNICODE,0&#215;0002&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;HttpServer=PT_UNICODE,0&#215;0100&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UserName=PT_UNICODE,0&#215;0101&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Organization=PT_UNICODE,0&#215;0107&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;UseSPA=PT_LONG,0&#215;0108&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;TimeOut=PT_LONG,0&#215;0209&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Reply=PT_UNICODE,0&#215;0103&#8243; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;EmailAddress=PT_UNICODE,0x000C&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;FullName=PT_UNICODE,0x000B&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;Connection Type=PT_LONG,0x000F&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;ConnectOID=PT_UNICODE,0&#215;0010&#8243; &amp; VbCrLF</span></p>
<p><span style="color: #00ff00;">Dim objShell, fso</span><br />
<span style="color: #00ff00;"> Set objShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</span><br />
<span style="color: #00ff00;"> Set fso = CreateObject(&#8220;Scripting.FileSystemObject&#8221;)</span></p>
<p><span style="color: #00ff00;">&#8216;Check for valid windows version</span><br />
<span style="color: #00ff00;"> If Not CheckWindowsVersion Then</span><br />
<span style="color: #00ff00;"> ExitWithError(&#8220;UnsupportedVersion&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;">&#8216;Get Outlook Path</span><br />
<span style="color: #00ff00;"> Dim outlookPath </span><br />
<span style="color: #00ff00;"> outlookPath = GetOutlookPath</span><br />
<span style="color: #00ff00;"> If outlookPath = &#8220;&#8221; Then</span><br />
<span style="color: #00ff00;"> ExitWithError(&#8220;OutlookNotFound&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;">&#8216;Check that Outlook does not running</span><br />
<span style="color: #00ff00;"> Dim answer</span><br />
<span style="color: #00ff00;"> Do While True</span><br />
<span style="color: #00ff00;"> If CheckOutlookIsRunning Then</span><br />
<span style="color: #00ff00;"> answer = MsgBox(GetString(&#8220;OutlookIsRunning&#8221;), vbRetryCancel ,GetString (&#8220;MessageCaption&#8221;))</span><br />
<span style="color: #00ff00;"> If answer = vbCancel Then</span><br />
<span style="color: #00ff00;"> WScript.Quit</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> Exit Do</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Loop</span></p>
<p><span style="color: #00ff00;">&#8216;Adjust Outlook registry settings</span><br />
<span style="color: #00ff00;"> AdjustSettings</span></p>
<p><span style="color: #00ff00;">&#8216; Configure Autodiscover for Custom email address</span><br />
<span style="color: #00ff00;"> Dim customEmail</span><br />
<span style="color: #00ff00;"> customEmail = &#8220;&#8221;</span></p>
<p><span style="color: #00ff00;">If customEmail &lt;&gt; &#8220;&#8221; Then</span><br />
<span style="color: #00ff00;"> ConfigureAutodiscover customEmail</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;">&#8216;Create temporary file for Outlook profile</span><br />
<span style="color: #00ff00;"> Dim tempFile, tempFileName</span><br />
<span style="color: #00ff00;"> tempFileName = GetTempFileName</span><br />
<span style="color: #00ff00;"> If Err.Number &lt;&gt; 0 Then</span><br />
<span style="color: #00ff00;"> ExitWithError(&#8220;ProfileCreateError&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Set tempFile = fso.CreateTextFile(tempFileName, true, true)</span><br />
<span style="color: #00ff00;"> If Err.Number &lt;&gt; 0 Then</span><br />
<span style="color: #00ff00;"> ExitWithError(&#8220;ProfileCreateError&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;">&#8216;Write profile to file</span><br />
<span style="color: #00ff00;"> tempFile.Write(template)</span><br />
<span style="color: #00ff00;"> If Err.Number &lt;&gt; 0 Then</span><br />
<span style="color: #00ff00;"> ExitWithError(&#8220;ProfileWriteError&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> tempFile.Close</span></p>
<p><span style="color: #00ff00;">&#8216;Start Outlook</span><br />
<span style="color: #00ff00;"> objShell.Exec(outlookPath + &#8221; /importprf &#8220;&#8221;" + tempFileName + &#8220;&#8221;"&#8221;)</span></p>
<p><span style="color: #00ff00;">Function CheckWindowsVersion</span></p>
<p><span style="color: #00ff00;"> On Error Resume Next </span><br />
<span style="color: #00ff00;"> Dim objWMI, colOS, objOS, version</span><br />
<span style="color: #00ff00;"> set objWMI = GetObject(&#8220;winmgmts:\\.\root\cimv2&#8243;)</span><br />
<span style="color: #00ff00;"> set colOS = objWMI.InstancesOf(&#8220;Win32_OperatingSystem&#8221;)</span></p>
<p><span style="color: #00ff00;"> For Each objOS in colOS</span><br />
<span style="color: #00ff00;"> version = objOS.Version</span><br />
<span style="color: #00ff00;"> If objOS.OSType = 18 Then</span><br />
<span style="color: #00ff00;"> If Left(version, 1) &gt; 5 Then</span><br />
<span style="color: #00ff00;"> &#8216; Windows Vista or Windows Server 2008</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> ElseIf Left(version, 1) = 5 And Mid(version, 3, 1) = 2 Then</span><br />
<span style="color: #00ff00;"> If objOS.OtherTypeDescription = &#8220;R2&#8243; Then</span><br />
<span style="color: #00ff00;"> &#8216; Windows Server 2003 R2</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> ElseIf objOS.ProductType = 1 Then</span><br />
<span style="color: #00ff00;"> &#8216; Windows XP Professional x64 Edition</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> Else </span><br />
<span style="color: #00ff00;"> &#8216; Windows Server 2003</span><br />
<span style="color: #00ff00;"> If objOS.ServicePackMajorVersion = 0 Then</span><br />
<span style="color: #00ff00;"> &#8216; no any Service Pack</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = False</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> ElseIf Left(version, 1) = 5 And Mid(version, 3, 1) = 1 Then</span><br />
<span style="color: #00ff00;"> &#8216;Microsoft Windows XP</span><br />
<span style="color: #00ff00;"> If objOS.ServicePackMajorVersion &gt; 1 Then</span><br />
<span style="color: #00ff00;"> &#8216; SP2 or later</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> ElseIf objOS.ServicePackMajorVersion = 1 Then</span><br />
<span style="color: #00ff00;"> &#8216; SP1, check for installed KB331320</span><br />
<span style="color: #00ff00;"> Err.Clear</span><br />
<span style="color: #00ff00;"> objShell.RegRead(&#8220;HKLM\SOFTWARE\Microsoft\Updates\Windows XP\SP1\KB331320\&#8221;)</span><br />
<span style="color: #00ff00;"> If Err.Number = 0 Then</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Next</span><br />
<span style="color: #00ff00;"> CheckWindowsVersion = False</span></p>
<p><span style="color: #00ff00;">End Function</span></p>
<p><span style="color: #00ff00;">Function GetOutlookPath</span></p>
<p><span style="color: #00ff00;"> On Error Resume Next</span><br />
<span style="color: #00ff00;"> Dim CLSID, path </span></p>
<p><span style="color: #00ff00;"> &#8216; First of all check simple location</span><br />
<span style="color: #00ff00;"> path = objShell.RegRead(&#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE\&#8221;)</span><br />
<span style="color: #00ff00;"> If path &lt;&gt; &#8220;&#8221; Then</span><br />
<span style="color: #00ff00;"> GetOutlookPath = path </span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;"> CLSID = objShell.RegRead(&#8220;HKLM\Software\Classes\Outlook.Application\CLSID\&#8221;)</span><br />
<span style="color: #00ff00;"> If Err.Number &lt;&gt; 0 Then</span><br />
<span style="color: #00ff00;"> GetOutlookPath &#8220;&#8221;</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> path = objShell.RegRead(&#8220;HKLM\Software\Classes\CLSID\&#8221; &amp; CLSID &amp; &#8220;\LocalServer32\&#8221;)</span></p>
<p><span style="color: #00ff00;"> &#8216; Does need to check alternative path ?</span><br />
<span style="color: #00ff00;"> if path = &#8220;&#8221; Then</span><br />
<span style="color: #00ff00;"> path = objShell.RegRead(&#8220;HKLM\SOFTWARE\Wow6432Node\Classes\CLSID\&#8221; &amp; CLSID &amp; &#8220;\LocalServer32\&#8221;)</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;"> &#8216; If we have an error path will be empty</span><br />
<span style="color: #00ff00;"> GetOutlookPath = path</span></p>
<p><span style="color: #00ff00;">End Function</span></p>
<p><span style="color: #00ff00;">Function CheckOutlookIsRunning</span></p>
<p><span style="color: #00ff00;"> On Error Resume Next</span><br />
<span style="color: #00ff00;"> Dim objWMIService, processList</span><br />
<span style="color: #00ff00;"> Set objWMIService = GetObject(&#8220;winmgmts:\\.\root\cimv2&#8243;) </span><br />
<span style="color: #00ff00;"> Set processList = objWMIService.ExecQuery(&#8220;Select * from Win32_Process Where Name = &#8220;&#8221;outlook.exe&#8221;"&#8221;)</span><br />
<span style="color: #00ff00;"> If processList.Count &gt; 0 Then</span><br />
<span style="color: #00ff00;"> CheckOutlookIsRunning = True</span><br />
<span style="color: #00ff00;"> Exit Function</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> CheckOutlookIsRunning = False</span></p>
<p><span style="color: #00ff00;">End Function</span></p>
<p><span style="color: #00ff00;">Sub AdjustSettings</span></p>
<p><span style="color: #00ff00;"> objShell.RegWrite &#8220;HKCU\Software\Microsoft\Exchange\Client\Options\PickLogonProfile&#8221;, &#8220;1&#8243;, &#8220;REG_SZ&#8221;</span></p>
<p><span style="color: #00ff00;">End Sub</span></p>
<p><span style="color: #00ff00;">Function GetTempFileName </span></p>
<p><span style="color: #00ff00;"> Dim tfolder, tname, tfile</span><br />
<span style="color: #00ff00;"> Const TemporaryFolder = 2</span><br />
<span style="color: #00ff00;"> Set tfolder = fso.GetSpecialFolder(TemporaryFolder)</span><br />
<span style="color: #00ff00;"> tname = fso.GetTempName </span><br />
<span style="color: #00ff00;"> tfile = fso.BuildPath(tfolder.Path, tname)</span><br />
<span style="color: #00ff00;"> GetTempFileName = tfile</span></p>
<p><span style="color: #00ff00;">End Function</span></p>
<p><span style="color: #00ff00;">Function ExitWithError(stringId)</span></p>
<p><span style="color: #00ff00;"> MsgBox GetString(stringId), vbOKOnly, GetString(&#8220;MessageCaption&#8221;)</span><br />
<span style="color: #00ff00;"> WScript.Quit</span></p>
<p><span style="color: #00ff00;">End Function</span></p>
<p><span style="color: #00ff00;">Function GetString(stringId)</span></p>
<p><span style="color: #00ff00;"> Dim messageCaption, outlookNotFound, outlookIsRunning, profileCreateError, profileWriteError, unsupportedVersion</span><br />
<span style="color: #00ff00;"> messageCaption = &#8220;Outlook Profile Configuration Script&#8221;</span><br />
<span style="color: #00ff00;"> outlookNotFound = &#8220;Unable to locate Microsoft Outlook installation path.&#8221;</span><br />
<span style="color: #00ff00;"> outlookIsRunning = &#8220;Configuration script has determined that Microsoft Outlook is running. Please shut down it and then click Retry.&#8221;</span><br />
<span style="color: #00ff00;"> profileCreateError = &#8220;Unable to create a temporary file for profile.&#8221;</span><br />
<span style="color: #00ff00;"> profileWriteError = &#8220;Unable to save profile into temporary file.&#8221;</span><br />
<span style="color: #00ff00;"> unsupportedVersion = &#8220;Unsupported version of Microsoft Windows. &#8221; &amp; vbLf &amp; &#8220;&#8221; &amp; vbLf &amp; &#8220;The following versions of Microsoft Windows are supported: &#8221; &amp; vbLf &amp; &#8221; &#8211; Microsoft Windows XP with Service Pack 2 &#8221; &amp; vbLf &amp; &#8221; &#8211; Windows Server 2003 with Service Pack 1 &#8221; &amp; vbLf &amp; &#8221; &#8211; or a later operating system&#8221;</span><br />
<span style="color: #00ff00;"> Dim retStr</span><br />
<span style="color: #00ff00;"> Select Case stringId</span><br />
<span style="color: #00ff00;"> Case &#8220;MessageCaption&#8221;</span><br />
<span style="color: #00ff00;"> If messageCaption = &#8220;&#8221; Or Mid(messageCaption, 2, 1) = &#8220;4&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Outlook Profile Configuration Script&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = messageCaption</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case &#8220;OutlookNotFound&#8221;</span><br />
<span style="color: #00ff00;"> If outlookNotFound = &#8220;&#8221; Or Mid(outlookNotFound, 2, 1) = &#8220;5&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Unable to locate Microsoft Outlook installation path.&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = outlookNotFound</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case &#8220;OutlookIsRunning&#8221;</span><br />
<span style="color: #00ff00;"> If outlookIsRunning = &#8220;&#8221; Or Mid(outlookIsRunning, 2, 1) = &#8220;6&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Configuration script has determined that Microsoft Outlook is running. Please shut down it and then click Retry.&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = outlookIsRunning</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case &#8220;ProfileCreateError&#8221;</span><br />
<span style="color: #00ff00;"> If profileCreateError = &#8220;&#8221; Or Mid(profileCreateError, 2, 1) = &#8220;7&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Unable to create a temporary file for profile.&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = profileCreateError</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case &#8220;profileWriteError&#8221;</span><br />
<span style="color: #00ff00;"> If profileWriteError = &#8220;&#8221; Or Mid(profileWriteError, 2, 1) = &#8220;8&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Unable to save profile into temporary file.&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = profileWriteError</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case &#8220;UnsupportedVersion&#8221;</span><br />
<span style="color: #00ff00;"> If unsupportedVersion = &#8220;&#8221; Or Mid(unsupportedVersion, 2, 1) = &#8220;9&#8243; Then</span><br />
<span style="color: #00ff00;"> retStr = &#8220;Unsupported version of Microsoft Windows. &#8221; &amp; vbLf &amp; &#8220;&#8221; &amp; vbLf &amp; &#8220;The following versions of Microsoft Windows are supported: &#8221; &amp; vbLf &amp; &#8221; &#8211; Microsoft Windows XP with Service Pack 2 &#8221; &amp; vbLf &amp; &#8221; &#8211; Windows Server 2003 with Service Pack 1 &#8221; &amp; vbLf &amp; &#8221; &#8211; or a later operating system&#8221;</span><br />
<span style="color: #00ff00;"> Else</span><br />
<span style="color: #00ff00;"> retStr = unsupportedVersion</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> Case Else</span><br />
<span style="color: #00ff00;"> retStr = stringId</span><br />
<span style="color: #00ff00;"> End Select</span><br />
<span style="color: #00ff00;"> GetString = retStr</span><br />
<span style="color: #00ff00;"> End Function</span></p>
<p><span style="color: #00ff00;">Sub ConfigureAutodiscover(email)</span></p>
<p><span style="color: #00ff00;"> On Error Resume Next</span><br />
<span style="color: #00ff00;"> Dim configTemplate</span><br />
<span style="color: #00ff00;"> configTemplate = &#8220;&lt;?xml version=&#8221;"1.0&#8243;&#8221; encoding=&#8221;"utf-8&#8243;&#8221;?&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;&lt;Autodiscover xmlns=&#8221;"http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006&#8243;&#8221;&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;Response xmlns=&#8221;"http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a&#8221;"&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;Account&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;AccountType&gt;email&lt;/AccountType&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;Action&gt;redirectUrl&lt;/Action&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;RedirectUrl&gt;&#8221; &amp; strAutoDiscoverProxy &amp; &#8220;&lt;/RedirectUrl&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;/Account&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8221; &lt;/Response&gt;&#8221; &amp; VbCrLF &amp;_</span><br />
<span style="color: #00ff00;"> &#8220;&lt;/Autodiscover&gt;&#8221; &amp; VbCrLF</span></p>
<p><span style="color: #00ff00;"> Dim folder</span><br />
<span style="color: #00ff00;"> Dim objEnv</span><br />
<span style="color: #00ff00;"> &#8216; Get collection by using the Environment property.</span><br />
<span style="color: #00ff00;"> Set objEnv = objShell.Environment(&#8220;Process&#8221;)</span><br />
<span style="color: #00ff00;"> folder = objEnv(&#8220;APPDATA&#8221;) + &#8220;\Outlook\&#8221;</span></p>
<p><span style="color: #00ff00;"> &#8216; Check that Outlook is available</span><br />
<span style="color: #00ff00;"> Dim ver</span><br />
<span style="color: #00ff00;"> ver = objShell.RegRead(&#8220;HKCR\Outlook.Application\CurVer\&#8221;)</span><br />
<span style="color: #00ff00;"> If Err.Number &lt;&gt; 0 Then</span><br />
<span style="color: #00ff00;"> Exit Sub</span><br />
<span style="color: #00ff00;"> End If</span></p>
<p><span style="color: #00ff00;"> &#8216; Outlook.Application.XX -&gt; XX</span><br />
<span style="color: #00ff00;"> ver = Right(ver, 2)</span></p>
<p><span style="color: #00ff00;"> Dim mailDomain, configFilePath, configFile</span><br />
<span style="color: #00ff00;"> mailDomain = Mid(email, Instr(email, &#8220;@&#8221;) + 1)</span><br />
<span style="color: #00ff00;"> If Not fso.FolderExists(folder) Then </span><br />
<span style="color: #00ff00;"> fso.CreateFolder(folder)</span><br />
<span style="color: #00ff00;"> End If</span><br />
<span style="color: #00ff00;"> configFilePath = folder &amp; mailDomain &amp; &#8220;.xml&#8221;</span><br />
<span style="color: #00ff00;"> Set configFile = fso.CreateTextFile(configFilePath, True)</span><br />
<span style="color: #00ff00;"> configFile.Write(configTemplate)</span><br />
<span style="color: #00ff00;"> configFile.Close</span><br />
<span style="color: #00ff00;"> objShell.RegWrite &#8220;HKCU\Software\Microsoft\Office\&#8221; &amp; ver &amp; &#8220;.0\Outlook\AutoDiscover\&#8221; &amp; mailDomain, configFilePath, &#8220;REG_SZ&#8221;</span><br />
<span style="color: #00ff00;"> End Sub</span></p>
</address>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/11/08/automating-a-new-email-profile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Routers, Stop the Stopping</title>
		<link>http://www.anthonyreinke.com/2011/10/18/cisco-routers-stop-the-stopping/</link>
		<comments>http://www.anthonyreinke.com/2011/10/18/cisco-routers-stop-the-stopping/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 19:41:53 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[no]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[router]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=440</guid>
		<description><![CDATA[In my current job I am also the network guy.  It is not a skill set I am strong in but I am learning A LOT.  One of the things I have just been dealing with is the &#8220;&#8212;MORE &#8212;&#8221; in the putty screen when I issue a command that goes beyond my current screen [...]]]></description>
			<content:encoded><![CDATA[<p>In my current job I am also the network guy.  It is not a skill set I am strong in but I am learning A LOT.  One of the things I have just been dealing with is the &#8220;&#8212;MORE &#8212;&#8221; in the putty screen when I issue a command that goes beyond my current screen height.  When I do a &#8220;show config&#8221; or &#8220;show ip route&#8221;, I get a few pages of information back.  If I want to then copy it off I have to go back and remove the &#8220;&#8212; MORE &#8212;&#8221;.  I just found a command that is saving me.</p>
<p>&#8220;terminal length 0&#8243;</p>
<p>Setting the terminal length to zero tells the router to not do a page break.  WOW, is this my new favorite command!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/10/18/cisco-routers-stop-the-stopping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exporting from 2003</title>
		<link>http://www.anthonyreinke.com/2011/10/10/exporting-from-2003/</link>
		<comments>http://www.anthonyreinke.com/2011/10/10/exporting-from-2003/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:29:29 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[ldifde]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=436</guid>
		<description><![CDATA[There are still people using 2003 as I found out. While helping convert from 2003 to a web based email solution for Exchange, I needed to export a full list of email addresses. I was searching for a while on Google before I found a quick and easy way to export the list. ldifde -d [...]]]></description>
			<content:encoded><![CDATA[<p>There are still people using 2003 as I found out. While helping convert from 2003 to a web based email solution for Exchange, I needed to export a full list of email addresses. I was searching for a while on Google before I found a quick and easy way to export the list.</p>
<pre>ldifde -d "DC=domain,DC=com" -r "(&amp;(mailnickname=*))" -l proxyAddresses -f emailaddresses.txt</pre>
<p>-d set the domain you are connecting to</p>
<p>-r set the filter for the query</p>
<p>-l set the query to list the attribute(s) you are looking for</p>
<p>-f tells the query to write to the following filename</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/10/10/exporting-from-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X-Files</title>
		<link>http://www.anthonyreinke.com/2011/06/05/x-files/</link>
		<comments>http://www.anthonyreinke.com/2011/06/05/x-files/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 00:59:24 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[quotes]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[x-files]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=434</guid>
		<description><![CDATA[BBC America ran an X-File marathon a week or so ago. I miss the X-Files. There is just so much that is unexplained. I love physics and science in general. Anyways, here are the quotes from the episodes that weren&#8217;t the default &#8220;The Truth Is Out There&#8221;. I have worked for the government before and [...]]]></description>
			<content:encoded><![CDATA[<p>BBC America ran an X-File marathon a week or so ago.  I miss the X-Files.  There is just so much that is unexplained.  I love physics and science in general.  Anyways, here are the quotes from the episodes that weren&#8217;t the default &#8220;The Truth Is Out There&#8221;.  I have worked for the government before and I loved to throw these in my email signature.</p>
<p>Trust No One — &#8220;The Erlenmeyer Flask&#8221;<br />
Deny Everything — &#8220;Ascension&#8221;<br />
éí &#8216;aaníígÓÓ &#8216;áhoot&#8217;é — &#8220;Anasazi&#8221; (Navajo: The truth is out there)<br />
Apology is Policy — &#8220;731&#8243;<br />
Everything Dies — &#8220;Herrenvolk&#8221; (German: Master race)<br />
Deceive Inveigle Obfuscate — &#8220;Teliko&#8221;<br />
E pur si muove — &#8220;Terma&#8221; (Italian: And still it moves — attributed to Galileo)<br />
Believe the Lie — &#8220;Gethsemane&#8221;<br />
All Lies Lead to the Truth — &#8220;Redux&#8221;<br />
Resist or Serve — &#8220;The Red and the Black&#8221;<br />
The End — &#8220;The End&#8221;<br />
Die Wahrheit ist irgendwo da draußen — &#8220;Triangle&#8221; (German: The truth is out there.. somewhere)<br />
In the Big Inning — &#8220;The Unnatural&#8221; (a baseball-themed episode)<br />
Amor Fati — &#8220;Sixth Extinction II: Amor Fati&#8221; (Latin: Love of fate)<br />
Believe to Understand — &#8220;Closure&#8221;<br />
Nothing Important Happened Today — &#8220;Nothing Important Happened Today II&#8221;<br />
erehT tuO si hturT ehT — &#8220;4D&#8221; (The Truth is Out There backwards)<br />
They&#8217;re Watching — &#8220;Trust No 1&#8243;<br />
Dio ti ama — &#8220;Improbable&#8221; (Italian: God loves you)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/06/05/x-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nebraska Football</title>
		<link>http://www.anthonyreinke.com/2011/05/27/nebraska-football/</link>
		<comments>http://www.anthonyreinke.com/2011/05/27/nebraska-football/#comments</comments>
		<pubDate>Fri, 27 May 2011 19:57:07 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[cornhusker]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[nebraska]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=429</guid>
		<description><![CDATA[Can&#8217;t wait for football to start! &#160;]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t wait for football to start!</p>
<p>&nbsp;<iframe width="560" height="349" src="http://www.youtube.com/embed/HQMG1Cml8sg" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/05/27/nebraska-football/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPad2</title>
		<link>http://www.anthonyreinke.com/2011/04/14/ipad2/</link>
		<comments>http://www.anthonyreinke.com/2011/04/14/ipad2/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 13:56:55 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=423</guid>
		<description><![CDATA[Work got me a new ipad2. At first I thought it would be a fun toy with a little use in the work place. Being mainly a windows and Linux user I wasn&#8217;t looking forward to a device I can&#8217;t get in to the guts to tweak. I thought rooting the iPad, but since it [...]]]></description>
			<content:encoded><![CDATA[<p>Work got me a new ipad2.  At first I thought it would be a fun toy with a little use in the work place.  Being mainly a windows and Linux user I wasn&#8217;t looking forward to a device I can&#8217;t get in to the guts to tweak.  I thought rooting the iPad, but since it is a work owned device I figured I shouldn&#8217;t.  I have found the lack of flash very very annoying. Some of the sites I use a lot use flash for different parts.  Splunk and Google use flash a lot in their tools.</p>
<p>But I do like the design of the iPad.  I have it easy to adopt to. I have spent around $75 in apps to get it usable in my day to day jobs.  I a disappointed in how many apps only run in the iPhone mode and you have to double to screen size and they don&#8217;t rotate with your screen.  There are still some apps that I am looking for that I can&#8217;t find.  This is causing me to look in to developing them myself.  Digging in to that I found that apple really only wants you to develop on a Mac.  My company is ok with us getting the enterprise developer license but that still leaves the issue of not having a Mac device to use for programming.</p>
<p>There has to be a way!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/04/14/ipad2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacker Stickers, Geek T-Shirts and Caffeine</title>
		<link>http://www.anthonyreinke.com/2011/04/13/hacker-stickers-geek-t-shirts-and-caffeine/</link>
		<comments>http://www.anthonyreinke.com/2011/04/13/hacker-stickers-geek-t-shirts-and-caffeine/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 13:20:45 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[shirts]]></category>
		<category><![CDATA[stickers]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=420</guid>
		<description><![CDATA[We all know that hackers are a proud group.  We like to show off our talents like most proud parents of their honor roll students with bumper stickers.  Except we don&#8217;t just plaster our cars.  We put our stickers on everything.  Our laptops, ipads, servers, desks, walls, and everything else they can stick to.  We [...]]]></description>
			<content:encoded><![CDATA[<p>We all know that hackers are a proud group.  We like to show off our talents like most proud parents of their honor roll students with bumper stickers.  Except we don&#8217;t just plaster our cars.  We put our stickers on everything.  Our laptops, ipads, servers, desks, walls, and everything else they can stick to.  We all wear our talents as battle armor with our t-shirts.  There is almost a t-shirt for every type of nerdly,  geekly, hackish, crackerish, or other weirdly thing we do.  And with our late nights pouring over code or taking things apart just to see how they work (and making them better in the process), you might need a little boost.  Here comes the caffeine.  Before you had cubes of Mountain Dew or mounts of Jolt Cola, but now we have pure caffeine mints, energy strips, and jolt gum.</p>
<p>So where can you get all this?????</p>
<p>Goto HackerStickers.com<br />
<a href="http://http://www.hackerstickers.com">Hacker Stickers, Geek T-Shirts and Caffeine</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/04/13/hacker-stickers-geek-t-shirts-and-caffeine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FBI needs you!</title>
		<link>http://www.anthonyreinke.com/2011/03/30/fbi-needs-you/</link>
		<comments>http://www.anthonyreinke.com/2011/03/30/fbi-needs-you/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 13:22:25 +0000</pubDate>
		<dc:creator>Anthony Reinke</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.anthonyreinke.com/?p=416</guid>
		<description><![CDATA[On June 30, 1999, sheriff’s officers in St. Louis, Missouri discovered the body of 41-year-old Ricky McCormick. He had been murdered and dumped in a field. The only clues regarding the homicide were two encrypted notes found in the victim’s pants pockets. Pictures of notes and more details here: http://www.fbi.gov/news/stories/2011/march/cryptanalysis_032911/cryptanalysis_032911]]></description>
			<content:encoded><![CDATA[<p>On June 30, 1999, sheriff’s officers in St. Louis, Missouri discovered the body of 41-year-old Ricky McCormick. He had been murdered and dumped in a field. The only clues regarding the homicide were two encrypted notes found in the victim’s pants pockets.</p>
<p>Pictures of notes and more details here:<br />
<a href="http://www.fbi.gov/news/stories/2011/march/cryptanalysis_032911/cryptanalysis_032911">http://www.fbi.gov/news/stories/2011/march/cryptanalysis_032911/cryptanalysis_032911</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anthonyreinke.com/2011/03/30/fbi-needs-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

