<?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>Tachytelic.net &#187; Technical Posts</title>
	<atom:link href="http://www.tachytelic.net/category/techposts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tachytelic.net</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 10:53:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Trend Officescan installer package using clnpack.exe</title>
		<link>http://www.tachytelic.net/2010/07/creating-trend-officescan-installer-package-using-clnpack-exe/</link>
		<comments>http://www.tachytelic.net/2010/07/creating-trend-officescan-installer-package-using-clnpack-exe/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 20:06:49 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Batch File]]></category>
		<category><![CDATA[Trend Officescan]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=240</guid>
		<description><![CDATA[Today I was trying to use clnpack.exe fom a command line to automatically create updated installation packages for Trend Officescan on a weekly basis.  This seemed a simple case of putting together a command line but I wasn&#8217;t having any luck getting it working.
Annoyingly clnpack.exe does not give any error messages at all if the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to use clnpack.exe fom a command line to automatically create updated installation packages for Trend Officescan on a weekly basis.  This seemed a simple case of putting together a command line but I wasn&#8217;t having any luck getting it working.</p>
<p>Annoyingly clnpack.exe does not give any error messages at all if the syntax of the commad is not perfect and you get nowhere.  In the end I discovered that I could only make clnpack.exe work by using 8.3 file paths instead of long path names.</p>
<p>An example of a working command line:</p>
<p><code><br />
C:\PROGRA~1\TRENDM~1\OfficeScan\PCCSRV\Admin\Utility\ClientPackager\clnpack.exe /i /o NT /s C:\PROGRA~1\TRENDM~1\OfficeScan\PCCSRV /d d:\shared~1\software\trend32.exe<br />
</code><br />
You can see 8.3 format filenames by going into a command prompt and using:<br />
<code><br />
dir /x<br />
</code><br />
Now that I have this command working I can integrate it with a batch file which will upload it to our web server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/07/creating-trend-officescan-installer-package-using-clnpack-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated and conditional reboots of Draytek routers via telnet</title>
		<link>http://www.tachytelic.net/2010/05/automated-and-conditional-reboots-of-draytek-routers-via-telnet/</link>
		<comments>http://www.tachytelic.net/2010/05/automated-and-conditional-reboots-of-draytek-routers-via-telnet/#comments</comments>
		<pubDate>Tue, 25 May 2010 08:49:42 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Draytek]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=219</guid>
		<description><![CDATA[This is a script that I posted to the Draytek forum a couple of years ago, I noticed that it has been a very popular post so I have decided to post here also.
The function of the script is to perform scheduled reboots of Draytek routers.  Optionally is it possible to reboot the router only [...]]]></description>
			<content:encoded><![CDATA[<p>This is a script that I posted to the Draytek forum a couple of years ago, I noticed that it has been a very popular post so I have decided to post here also.</p>
<p>The function of the script is to perform scheduled reboots of Draytek routers.  Optionally is it possible to reboot the router only if a specified IP address does not respond to a ping request.  This is useful to test if a VPN connection is functioning, and only reboot the router if there is no response.</p>
<p>Early Draytek firmwares had a tendancy to lose VPN connectivity and a reboot is the only way to restore the connection.</p>
<p>First of you need to install the Toolsack Baseline components for this script to work:</p>
<p><a href="http://www.toolsack.com/download/">http://www.toolsack.com/download/</a></p>
<p>The script needs to be supplied with parameters,  so a typical command line would look like this:</p>
<p>cscript reboot.vbs 86.11.93.131 routerpassword</p>
<p>and a conditional command line would look like this:</p>
<p>cscript reboot.vbs 86.11.93.131 routerpassword 192.168.1.254</p>
<p>The 3rd argument will be tested for a ping response, if none is received  then a reboot will be executed.</p>
<p>Here is the code, save it as reboot.vbs:</p>
<pre>
set args=wscript.arguments

If wscript.arguments.count=2 then
   IP=args.item(0)
   Password=args.item(1)
   call reboot(IP,Password)
elseif wscript.arguments.count=3 then
   IP=args.item(0)
   Password=args.item(1)
   TestIP=args.item(2)
   if ping(TestIP)=False then
      call reboot(IP,Password)
   end if
else
   wscript.echo "Invalid number of arguments specified"
   wscript.echo "Please specify router IP address &#038; password and optional test IP"
end if

sub reboot(IP, Password)
   set s = CreateObject("Toolsack.Socket")
   s.Connect IP, 23
       s.Write Password &#038; vbCrLf
   s.write "sys reboot" &#038; vbcrlf
   s.write "quit" &#038; vbcrlf
end sub

Function Ping(strHost)

    dim objPing, objRetStatus

    set objPing = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecQuery _
      ("select * from Win32_PingStatus where address = '" &#038; strHost &#038; "'")

    for each objRetStatus in objPing
        if IsNull(objRetStatus.StatusCode) or objRetStatus.StatusCode<>0 then
       Ping = False
        else
            Ping = True
        end if
    next
End Function </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/05/automated-and-conditional-reboots-of-draytek-routers-via-telnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small Business Server 2003 &#8211; Backup Status Hangs on Loading&#8230;</title>
		<link>http://www.tachytelic.net/2010/03/small-business-server-2003-backup-status-hangs-on-loading/</link>
		<comments>http://www.tachytelic.net/2010/03/small-business-server-2003-backup-status-hangs-on-loading/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 10:11:24 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[SBS 2003]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=213</guid>
		<description><![CDATA[Had a customer report a problem today with the Small Business Server Managment console not being able to show the status of the backups and just hanging at &#8220;Loading&#8230;&#8221;

Visiting the backup URL manually ( http://localhost/backup/default.aspx ) enabled me to see the backup reports as normal.  Had a quick look in the code of default.htm which is the [...]]]></description>
			<content:encoded><![CDATA[<p>Had a customer report a problem today with the Small Business Server Managment console not being able to show the status of the backups and just hanging at &#8220;Loading&#8230;&#8221;</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/StuckLoading.png"><img class="aligncenter size-full wp-image-214" title="StuckLoading" src="http://www.tachytelic.net/wp-content/uploads/StuckLoading.png" alt="Small Business Server 2003 Backup Console" width="533" height="374" /></a></p>
<p>Visiting the backup URL manually ( <a href="http://localhost/backup/default.aspx">http://localhost/backup/default.aspx</a> ) enabled me to see the backup reports as normal.  Had a quick look in the code of default.htm which is the page that the &#8220;Manage Small Business Server Backup&#8221; console loads and saw that it is really just a javascript redirect.</p>
<p>Turns out that this server had scripting disabled for the intranet zone and therefore the page redirection was never happening.</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/EnableActiveScripting1.png"><img class="aligncenter size-full wp-image-216" title="EnableActiveScripting" src="http://www.tachytelic.net/wp-content/uploads/EnableActiveScripting1.png" alt="" width="420" height="357" /></a><a href="http://www.tachytelic.net/wp-content/uploads/EnableActiveScripting.png"></a></p>
<p>Once scripting was enabled again the backup console started working as expected.  Couldn&#8217;t find mention of anyone else having this problem so thought I would post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/03/small-business-server-2003-backup-status-hangs-on-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New-ExchangeCertificate Cmdlet Syntax Generator</title>
		<link>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/</link>
		<comments>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 22:32:52 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Cmdlet]]></category>
		<category><![CDATA[CSR]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=124</guid>
		<description><![CDATA[	
	function gencsr()
	{
	  var CommonName=GetTextBoxValue('CommonName');
	  var CommonNamePath='C:\\' + CommonName.replace(/\./g, '_') + '.csr';
	  var csrCommand='New-ExchangeCertificate -GenerateRequest -Path ' + CommonNamePath + ' -KeySize 2048 -SubjectName "c=' + GetTextBoxValue('Country') + ', s=' + GetTextBoxValue('County')
	  var csrCommand=csrCommand + ', l=' + GetTextBoxValue('City') + ', o=' + GetTextBoxValue('Organisation') + ', ou=' + GetTextBoxValue('Department') + ', cn=' [...]]]></description>
			<content:encoded><![CDATA[<p>	<script>
	function gencsr()
	{
	  var CommonName=GetTextBoxValue('CommonName');
	  var CommonNamePath='C:\\' + CommonName.replace(/\./g, '_') + '.csr';
	  var csrCommand='New-ExchangeCertificate -GenerateRequest -Path ' + CommonNamePath + ' -KeySize 2048 -SubjectName "c=' + GetTextBoxValue('Country') + ', s=' + GetTextBoxValue('County')
	  var csrCommand=csrCommand + ', l=' + GetTextBoxValue('City') + ', o=' + GetTextBoxValue('Organisation') + ', ou=' + GetTextBoxValue('Department') + ', cn=' + CommonName + '"';
	  if (GetTextBoxValue('SubjectAltNames')!=''){var csrCommand=csrCommand + " -DomainName " + GetTextBoxValue('SubjectAltNames')}
	  var csrCommand=csrCommand + ' -PrivateKeyExportable $True'	  
	  document.getElementById('csrrequest').value=csrCommand
	}
	function GetTextBoxValue(id)
	{
	   return document.getElementById(id).value;
	}
	</script></p>
<style>
	.csrlabel {width:175px;}
	.csrinput {width:300px;}
	</style>
<p>I am always forgetting the syntax for the New-ExchangeCertificate cmdlet when I need to do a new certificate request so I decided to write a little bit of javascript to build up the command automatically. Its much easier to copy and paste it from here than work with in it the Exchange 2007 Command Shell.</p>
<p>So just fill in the fields below and the command will be built automatically in the box below. Then just copy into command shell. If required, seperate the &#8220;Subject Alternative Names&#8221; with commas.</p>
<table>
<tr>
<td>
<p class="csrlabel">Common Name:</td>
<td>
<input type="text" id="CommonName" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Subject Alternative Names:</td>
<td><textarea id="SubjectAltNames" rows="3" cols="20" class="csrinput" onkeyup="gencsr();"></textarea></td>
</tr>
<tr>
<td>Organisation:</td>
<td>
<input type="text" id="Organisation" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Organisational Unit:</td>
<td>
<input type="text" id="Department" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Town/City:</td>
<td>
<input type="text" id="City" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>County/State:</td>
<td>
<input type="text" id="County" class="csrinput" onkeyup="gencsr();"></td>
</tr>
<tr>
<td>Country:</td>
<td>
<select name="Country" id="Country" class="csrinput" onchange="gencsr();">
<option value="">Country&#8230;</option><br />
<option value="GB">United Kingdom</option><br />
<option value="US">United States of America</option><br />
<option value="AF">Afghanistan</option><br />
<option value="AL">Albania</option><br />
<option value="DZ">Algeria</option><br />
<option value="AS">American Samoa</option><br />
<option value="AD">Andorra</option><br />
<option value="AG">Angola</option><br />
<option value="AI">Anguilla</option><br />
<option value="AG">Antigua &amp; Barbuda</option><br />
<option value="AR">Argentina</option><br />
<option value="AA">Armenia</option><br />
<option value="AW">Aruba</option><br />
<option value="AU">Australia</option><br />
<option value="AT">Austria</option><br />
<option value="AZ">Azerbaijan</option><br />
<option value="BS">Bahamas</option><br />
<option value="BH">Bahrain</option><br />
<option value="BD">Bangladesh</option><br />
<option value="BB">Barbados</option><br />
<option value="BY">Belarus</option><br />
<option value="BE">Belgium</option><br />
<option value="BZ">Belize</option><br />
<option value="BJ">Benin</option><br />
<option value="BM">Bermuda</option><br />
<option value="BT">Bhutan</option><br />
<option value="BO">Bolivia</option><br />
<option value="BL">Bonaire</option><br />
<option value="BA">Bosnia &amp; Herzegovina</option><br />
<option value="BW">Botswana</option><br />
<option value="BR">Brazil</option><br />
<option value="BC">British Indian Ocean Ter</option><br />
<option value="BN">Brunei</option><br />
<option value="BG">Bulgaria</option><br />
<option value="BF">Burkina Faso</option><br />
<option value="BI">Burundi</option><br />
<option value="KH">Cambodia</option><br />
<option value="CM">Cameroon</option><br />
<option value="CA">Canada</option><br />
<option value="IC">Canary Islands</option><br />
<option value="CV">Cape Verde</option><br />
<option value="KY">Cayman Islands</option><br />
<option value="CF">Central African Republic</option><br />
<option value="TD">Chad</option><br />
<option value="CD">Channel Islands</option><br />
<option value="CL">Chile</option><br />
<option value="CN">China</option><br />
<option value="CI">Christmas Island</option><br />
<option value="CS">Cocos Island</option><br />
<option value="CO">Colombia</option><br />
<option value="CC">Comoros</option><br />
<option value="CG">Congo</option><br />
<option value="CK">Cook Islands</option><br />
<option value="CR">Costa Rica</option><br />
<option value="CT">Cote D&#8217;Ivoire</option><br />
<option value="HR">Croatia</option><br />
<option value="CU">Cuba</option><br />
<option value="CB">Curacao</option><br />
<option value="CY">Cyprus</option><br />
<option value="CZ">Czech Republic</option><br />
<option value="DK">Denmark</option><br />
<option value="DJ">Djibouti</option><br />
<option value="DM">Dominica</option><br />
<option value="DO">Dominican Republic</option><br />
<option value="TM">East Timor</option><br />
<option value="EC">Ecuador</option><br />
<option value="EG">Egypt</option><br />
<option value="SV">El Salvador</option><br />
<option value="GQ">Equatorial Guinea</option><br />
<option value="ER">Eritrea</option><br />
<option value="EE">Estonia</option><br />
<option value="ET">Ethiopia</option><br />
<option value="FA">Falkland Islands</option><br />
<option value="FO">Faroe Islands</option><br />
<option value="FJ">Fiji</option><br />
<option value="FI">Finland</option><br />
<option value="FR">France</option><br />
<option value="GF">French Guiana</option><br />
<option value="PF">French Polynesia</option><br />
<option value="FS">French Southern Ter</option><br />
<option value="GA">Gabon</option><br />
<option value="GM">Gambia</option><br />
<option value="GE">Georgia</option><br />
<option value="DE">Germany</option><br />
<option value="GH">Ghana</option><br />
<option value="GI">Gibraltar</option><br />
<option value="GB">Great Britain</option><br />
<option value="GR">Greece</option><br />
<option value="GL">Greenland</option><br />
<option value="GD">Grenada</option><br />
<option value="GP">Guadeloupe</option><br />
<option value="GU">Guam</option><br />
<option value="GT">Guatemala</option><br />
<option value="GN">Guinea</option><br />
<option value="GY">Guyana</option><br />
<option value="HT">Haiti</option><br />
<option value="HW">Hawaii</option><br />
<option value="HN">Honduras</option><br />
<option value="HK">Hong Kong</option><br />
<option value="HU">Hungary</option><br />
<option value="IS">Iceland</option><br />
<option value="IN">India</option><br />
<option value="ID">Indonesia</option><br />
<option value="IA">Iran</option><br />
<option value="IQ">Iraq</option><br />
<option value="IR">Ireland</option><br />
<option value="IM">Isle of Man</option><br />
<option value="IL">Israel</option><br />
<option value="IT">Italy</option><br />
<option value="JM">Jamaica</option><br />
<option value="JP">Japan</option><br />
<option value="JO">Jordan</option><br />
<option value="KZ">Kazakhstan</option><br />
<option value="KE">Kenya</option><br />
<option value="KI">Kiribati</option><br />
<option value="NK">Korea North</option><br />
<option value="KS">Korea South</option><br />
<option value="KW">Kuwait</option><br />
<option value="KG">Kyrgyzstan</option><br />
<option value="LA">Laos</option><br />
<option value="LV">Latvia</option><br />
<option value="LB">Lebanon</option><br />
<option value="LS">Lesotho</option><br />
<option value="LR">Liberia</option><br />
<option value="LY">Libya</option><br />
<option value="LI">Liechtenstein</option><br />
<option value="LT">Lithuania</option><br />
<option value="LU">Luxembourg</option><br />
<option value="MO">Macau</option><br />
<option value="MK">Macedonia</option><br />
<option value="MG">Madagascar</option><br />
<option value="MY">Malaysia</option><br />
<option value="MW">Malawi</option><br />
<option value="MV">Maldives</option><br />
<option value="ML">Mali</option><br />
<option value="MT">Malta</option><br />
<option value="MH">Marshall Islands</option><br />
<option value="MQ">Martinique</option><br />
<option value="MR">Mauritania</option><br />
<option value="MU">Mauritius</option><br />
<option value="ME">Mayotte</option><br />
<option value="MX">Mexico</option><br />
<option value="MI">Midway Islands</option><br />
<option value="MD">Moldova</option><br />
<option value="MC">Monaco</option><br />
<option value="MN">Mongolia</option><br />
<option value="MS">Montserrat</option><br />
<option value="MA">Morocco</option><br />
<option value="MZ">Mozambique</option><br />
<option value="MM">Myanmar</option><br />
<option value="NA">Nambia</option><br />
<option value="NU">Nauru</option><br />
<option value="NP">Nepal</option><br />
<option value="AN">Netherland Antilles</option><br />
<option value="NL">Netherlands (Holland, Europe)</option><br />
<option value="NV">Nevis</option><br />
<option value="NC">New Caledonia</option><br />
<option value="NZ">New Zealand</option><br />
<option value="NI">Nicaragua</option><br />
<option value="NE">Niger</option><br />
<option value="NG">Nigeria</option><br />
<option value="NW">Niue</option><br />
<option value="NF">Norfolk Island</option><br />
<option value="NO">Norway</option><br />
<option value="OM">Oman</option><br />
<option value="PK">Pakistan</option><br />
<option value="PW">Palau Island</option><br />
<option value="PS">Palestine</option><br />
<option value="PA">Panama</option><br />
<option value="PG">Papua New Guinea</option><br />
<option value="PY">Paraguay</option><br />
<option value="PE">Peru</option><br />
<option value="PH">Philippines</option><br />
<option value="PO">Pitcairn Island</option><br />
<option value="PL">Poland</option><br />
<option value="PT">Portugal</option><br />
<option value="PR">Puerto Rico</option><br />
<option value="QA">Qatar</option><br />
<option value="ME">Republic of Montenegro</option><br />
<option value="RS">Republic of Serbia</option><br />
<option value="RE">Reunion</option><br />
<option value="RO">Romania</option><br />
<option value="RU">Russia</option><br />
<option value="RW">Rwanda</option><br />
<option value="NT">St Barthelemy</option><br />
<option value="EU">St Eustatius</option><br />
<option value="HE">St Helena</option><br />
<option value="KN">St Kitts-Nevis</option><br />
<option value="LC">St Lucia</option><br />
<option value="MB">St Maarten</option><br />
<option value="PM">St Pierre &amp; Miquelon</option><br />
<option value="VC">St Vincent &amp; Grenadines</option><br />
<option value="SP">Saipan</option><br />
<option value="SO">Samoa</option><br />
<option value="AS">Samoa American</option><br />
<option value="SM">San Marino</option><br />
<option value="ST">Sao Tome &amp; Principe</option><br />
<option value="SA">Saudi Arabia</option><br />
<option value="SN">Senegal</option><br />
<option value="SC">Seychelles</option><br />
<option value="SL">Sierra Leone</option><br />
<option value="SG">Singapore</option><br />
<option value="SK">Slovakia</option><br />
<option value="SI">Slovenia</option><br />
<option value="SB">Solomon Islands</option><br />
<option value="OI">Somalia</option><br />
<option value="ZA">South Africa</option><br />
<option value="ES">Spain</option><br />
<option value="LK">Sri Lanka</option><br />
<option value="SD">Sudan</option><br />
<option value="SR">Suriname</option><br />
<option value="SZ">Swaziland</option><br />
<option value="SE">Sweden</option><br />
<option value="CH">Switzerland</option><br />
<option value="SY">Syria</option><br />
<option value="TA">Tahiti</option><br />
<option value="TW">Taiwan</option><br />
<option value="TJ">Tajikistan</option><br />
<option value="TZ">Tanzania</option><br />
<option value="TH">Thailand</option><br />
<option value="TG">Togo</option><br />
<option value="TK">Tokelau</option><br />
<option value="TO">Tonga</option><br />
<option value="TT">Trinidad &amp; Tobago</option><br />
<option value="TN">Tunisia</option><br />
<option value="TR">Turkey</option><br />
<option value="TU">Turkmenistan</option><br />
<option value="TC">Turks &amp; Caicos Is</option><br />
<option value="TV">Tuvalu</option><br />
<option value="UG">Uganda</option><br />
<option value="UA">Ukraine</option><br />
<option value="AE">United Arab Emirates</option><br />
<option value="UY">Uruguay</option><br />
<option value="UZ">Uzbekistan</option><br />
<option value="VU">Vanuatu</option><br />
<option value="VS">Vatican City State</option><br />
<option value="VE">Venezuela</option><br />
<option value="VN">Vietnam</option><br />
<option value="VB">Virgin Islands (Brit)</option><br />
<option value="VA">Virgin Islands (USA)</option><br />
<option value="WK">Wake Island</option><br />
<option value="WF">Wallis &amp; Futana Is</option><br />
<option value="YE">Yemen</option><br />
<option value="ZR">Zaire</option><br />
<option value="ZM">Zambia</option><br />
<option value="ZW">Zimbabwe</option><br />
</select>
</td>
</tr>
</table>
<p>	CSR Command:<br />
	<textarea id="csrrequest" rows="10" style="width:475px"></textarea></p>
<p> I am thinking of duplicating this code and writing another post which will generate the commands for the import of the newly generated certificate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/03/new-exchangecertificate-cmdlet-syntax-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up email alerts from Dell Openmanage (OMSA)</title>
		<link>http://www.tachytelic.net/2010/03/setting-up-e-mail-alerts-from-dell-openmanage-omsa/</link>
		<comments>http://www.tachytelic.net/2010/03/setting-up-e-mail-alerts-from-dell-openmanage-omsa/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 01:20:27 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Scripts & Utilities]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Automatic Notifcation]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[OMSA]]></category>
		<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=104</guid>
		<description><![CDATA[Dell Openmanage Server Administrator is a really useful tool for configuring and monitoring server hardware but it lacks built in E-Mail alerting or notifications.
The software is capable of calling external programs or scripts when a server alert is triggered so I have written a simple script that provides E-Mail alert functionality.
There are a couple of [...]]]></description>
			<content:encoded><![CDATA[<p>Dell Openmanage Server Administrator is a really useful tool for configuring and monitoring server hardware but it lacks built in E-Mail alerting or notifications.</p>
<p>The software is capable of calling external programs or scripts when a server alert is triggered so I have written a simple script that provides E-Mail alert functionality.</p>
<p>There are a couple of scripts out there that do similar, but I wanted something self contained and capable of using SMTP Authentication with an external relay.</p>
<p>The other problem with OMSA is that you need to go into each individual alert to configure the settings which can be very time consuming, I wanted a way to add them all automatically as I am going to install the script on a number of servers.</p>
<p>Install the script by extracting the DellAlert.Vbs script file from this zip file:</p>
<p><strong><a href="http://www.tachytelic.net/wp-content/uploads/DellAlert.zip">Dell OMSA E-Mail Alerts</a></strong></p>
<p>Once you have extracted the zip file you will need to edit the variables at the top of the script to make them appropriate for your environment:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/DellOMSAVariables.png"><img class="aligncenter size-full wp-image-107" title="Dell OMSA Script Variables" src="http://www.tachytelic.net/wp-content/uploads/DellOMSAVariables.png" alt="" width="477" height="403" /></a></p>
<p>The variables at the top define the e-mail settings and are hopefully self explanatory. If a remote SMTP server is not specified the local machine will be used to send the E-Mail.</p>
<p>Below these you can to decide what events you want to be notified of, just comment out any that you aren&#8217;t interested in, e.g:<br />
<code><br />
AlertConfig(0)="powersupply|Power supply failure"<br />
AlertConfig(1)="powersupplywarn|Power supply warning"<br />
'AlertConfig(2)="tempwarn|Temperature warning"<br />
'AlertConfig(3)="tempfail|Temperature failure"<br />
</code></p>
<p>I have included every alert available in OMSA 6.2 on a PE T710, some of these alerts won&#8217;t be available on older versions or machines.</p>
<p>After you have configured the script, I suggest you test that the E-Mail options by running:</p>
<p><strong><code>cscript dellalert.vbs testemail</code></strong></p>
<p>You should receive a test e-mail, if not something isn&#8217;t working properly.</p>
<p>When you have successfully tested e-mail, configure OMSA to send alerts by running:</p>
<p><strong><code>cscript dellalert.vbs setup</code></strong></p>
<p>You will then see the script go through and setup all the appropriate alerts as per your settings. This process can take a couple of minutes as the &#8220;omconfig&#8221; command takes a while. This step will not work if you do not have OMSA installed.</p>
<p>Once this is done you should be able to see that the script has been added into OMSA:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/OMSASetting.png"><img class="aligncenter size-full wp-image-110" title="OMSA Alert Setting" src="http://www.tachytelic.net/wp-content/uploads/OMSASetting.png" alt="" width="645" height="110" /></a></p>
<p>Now you need to generate some real alerts to test the script properly. How you do this will depend on the capabilities of your server, I was able to disconnect the redundant power supply and have an alert generated almost immediately. I think opening the case will also generate an event, but I am not sure as I didn&#8217;t test. Hopefully you should get something like this in your Inbox:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/OMSAEMail.png"><img class="aligncenter size-full wp-image-112" title="OMSA EMail Alert" src="http://www.tachytelic.net/wp-content/uploads/OMSAEMail.png" alt="" width="737" height="92" /></a></p>
<p>I have installed this on a few servers and it seems to be working well. I will update the script with any tweaks that I add as I roll it out further. Hope this is useful to someone else.</p>
<p><strong>If you are using Exchange 2007&#8230;..</strong></p>
<p>This script will not work properly until you register the 32-Bit version of cdo.dll.  Follow the instructions for doing this here:</p>
<p><a href="http://blogs.msdn.com/mstehle/archive/2007/12/11/fyi-after-installing-exchange-2007-sp1-32-bit-cdosys-might-not-be-registered.aspx">http://blogs.msdn.com/mstehle/archive/2007/12/11/fyi-after-installing-exchange-2007-sp1-32-bit-cdosys-might-not-be-registered.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/03/setting-up-e-mail-alerts-from-dell-openmanage-omsa/feed/</wfw:commentRss>
		<slash:comments>85</slash:comments>
		</item>
		<item>
		<title>Recovering saved FTP Passwords using a simple netmon filter</title>
		<link>http://www.tachytelic.net/2010/02/recovering-cached-ftp-passwords-using-a-simple-netmon-filter/</link>
		<comments>http://www.tachytelic.net/2010/02/recovering-cached-ftp-passwords-using-a-simple-netmon-filter/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 22:12:45 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[CoreFTP]]></category>
		<category><![CDATA[CuteFTP]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Recovery]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=87</guid>
		<description><![CDATA[Today I needed to FTP some files to a site that I have used on and off for a number of years.  Because I have recently installed Windows 7 I needed to setup the site again in my FTP Client, Core FTP.
Although my old machine still has the connection setup I was not able [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to FTP some files to a site that I have used on and off for a number of years.  Because I have recently installed Windows 7 I needed to setup the site again in my FTP Client, Core FTP.</p>
<p>Although my old machine still has the connection setup I was not able to see the cached/saved password.  Although it is possible to export the sites, the password remained encrypted and I wanted to document the actual password.</p>
<p>There are a lot of tools, some free and some which you have to pay for which will recover the cached FTP password for you.  Some of these looked a bit questionable and as FTP is an entirely unencrypted service I thought it should be easy to sniff the password out of the FTP traffic itself.</p>
<p>Turns out that it really is very easy and the saved password can be retreived instantly using netmon.</p>
<p>So here is how to do it.</p>
<p>Create a new capture filter in netmon and enter the following:<br />
<code><br />
tcp.Port==21 and property.TCPPayload.contains("PASS")<br />
</code><br />
Should look like this:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/FTP-Password-Filter.png"><img src="http://www.tachytelic.net/wp-content/uploads/FTP-Password-Filter.png" alt="Netmon FTP Password Capture" title="Netmon FTP Password Capture" width="520" height="203" class="aligncenter size-full wp-image-89" /></a></p>
<p>Then click on the start button to begin capture.  Then open your FTP client which contains the cached password and connect to the FTP server.</p>
<p>As soon as you have made a succesful connection switch back to netmon and stop the capture.  You should then be able to see the FTP password in clear text in the capture window, something like this:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/PasswordCaptured.png"><img src="http://www.tachytelic.net/wp-content/uploads/PasswordCaptured.png" alt="" title="PasswordCaptured" width="589" height="99" class="aligncenter size-full wp-image-92" /></a></p>
<p>I spotted a lot of posts from people trying to recover or export their saved FTP passwords from CoreFTP and CuteFTP and many programs are designed specifically for this purpose.  This is quick and simple and does not depend on any 3rd party software and should work with any FTP client.</p>
<p>Hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/02/recovering-cached-ftp-passwords-using-a-simple-netmon-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Errors during verify phase of backup to USB Drives on BackupExec 10d</title>
		<link>http://www.tachytelic.net/2010/02/errors-during-verify-phase-of-backup-to-usb-drives-on-backupexec-10d/</link>
		<comments>http://www.tachytelic.net/2010/02/errors-during-verify-phase-of-backup-to-usb-drives-on-backupexec-10d/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 12:04:04 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Backup Exec]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=71</guid>
		<description><![CDATA[When backing up to external USB drives from Backup Exec 10d it may fail on the verification stage with the following errors:

Final error: 0xe00084c8 &#8211; The backup storage device has failed.
Final error category: Backup Device Errors
For additional information regarding this error refer to link V-79-57344-33992

And then&#8230;

Final error: 0xe00084c8 &#8211; The backup storage device has failed.
Final [...]]]></description>
			<content:encoded><![CDATA[<p>When backing up to external USB drives from Backup Exec 10d it may fail on the verification stage with the following errors:</p>
<blockquote><p>
Final error: 0xe00084c8 &#8211; The backup storage device has failed.<br />
Final error category: Backup Device Errors</p>
<p>For additional information regarding this error refer to link V-79-57344-33992
</p></blockquote>
<p>And then&#8230;</p>
<blockquote><p>
Final error: 0xe00084c8 &#8211; The backup storage device has failed.<br />
Final error category: Backup Device Errors</p>
<p>For additional information regarding this error refer to link V-79-57344-33992
</p></blockquote>
<p>In the application event log there may also be the following:</p>
<blockquote><p>
Event Type:	Error<br />
Event Source:	Backup Exec<br />
Event Category:	None<br />
Event ID:	33808<br />
Date:		06/02/2010<br />
Time:		19:02:25<br />
User:		N/A<br />
Description:<br />
An error occurred while processing a B2D command.<br />
 Drive: ReadMTFData() ReadFile failed (N:\VERITAS\B2D\B2D001024.bkf).  Error=1450 </p>
<p> For more information, click the following link: </p>
<p>http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml</p>
</blockquote>
<blockquote><p>
Event Type:	Error<br />
Event Source:	Backup Exec<br />
Event Category:	None<br />
Event ID:	57665<br />
Date:		06/02/2010<br />
Time:		19:02:25<br />
User:		N/A<br />
Description:<br />
Storage device &#8220;Friday N:&#8221; reported an error on a request to read data from media.</p>
<p>Error reported:<br />
Insufficient system resources exist to complete the requested service.<br />
. </p>
<p> For more information, click the following link: </p>
<p>http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml</p>
<p>Data:<br />
0000: aa 05 00 00 c8 84 00 e0   ª&#8230;È.à<br />
0008: 00 80 00 00 00 00 00 00   .&#8230;&#8230;<br />
0010: 92 03 00 00               &#8230;
</p></blockquote>
<blockquote><p>
Event Type:	Error<br />
Event Source:	Backup Exec<br />
Event Category:	None<br />
Event ID:	34113<br />
Date:		06/02/2010<br />
Time:		19:02:25<br />
User:		N/A<br />
Description:<br />
Backup Exec Alert: Job Failed<br />
(Job: &#8220;Friday &#8211; Backup to N:&#8221;) Friday &#8211; Backup to N: &#8212; The job failed with the following error: The backup storage device has failed.</p>
<p> For more information, click the following link: </p>
<p>http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml</p>
</blockquote>
<p>A lot of people have this problem but there seemed to be no definitive answer.  For me the following steps solved the problem:</p>
<p>1) From within device manager set the USB drive to &#8220;Optimize for performance&#8221;:</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/QuickRemoval.png"><img src="http://www.tachytelic.net/wp-content/uploads/QuickRemoval.png" alt="Device Manager Optimising External USB Drive for Performance" title="PerformanceOptimise" width="406" height="450" class="aligncenter size-full wp-image-75" /></a></p>
<p>2) From within Backup Exec Devices &#8211; Set the maximum size for Backup-To-Disk files to 2GB</p>
<p>3) From within Backup Exec Devices &#8211; Disabled auto-detect device settings and enabled &#8220;Buffered Reads&#8221; and &#8220;Buffered Writes&#8221;</p>
<p><a href="http://www.tachytelic.net/wp-content/uploads/BE_Device.png"><img src="http://www.tachytelic.net/wp-content/uploads/BE_Device.png" alt="Backup Exec USB Device Configuration" title="Backup Exec USB Device Configuration" width="422" height="401" class="aligncenter size-full wp-image-78" /></a></p>
<p>There is no clear resolution for this problem.  Different settings seem to solve the problem for different systems.  This is running on a Dell PowerEdge 2850 / Windows 2003 Standard and 4Gb.  Backup size is approx 250Gb.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/02/errors-during-verify-phase-of-backup-to-usb-drives-on-backupexec-10d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling ping on Thompson Speedtouch 605s</title>
		<link>http://www.tachytelic.net/2010/02/enabling-ping-on-thompson-speedtouch-605s/</link>
		<comments>http://www.tachytelic.net/2010/02/enabling-ping-on-thompson-speedtouch-605s/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 00:41:27 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Speedtouch Ping Wan]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=68</guid>
		<description><![CDATA[To enable ping on the WAN/Internet interface on the Thompson Speedtouch 605s (and probably lots of other speedtouch models)
Telnet to the router:
Default username is Administrator (note the capital A)
Default password is empty
Then run:
service system ifadd name=PING_RESPONDER group=wan
You should now be able to ping the wan address.
]]></description>
			<content:encoded><![CDATA[<p>To enable ping on the WAN/Internet interface on the Thompson Speedtouch 605s (and probably lots of other speedtouch models)</p>
<p>Telnet to the router:</p>
<p>Default username is Administrator (note the capital A)<br />
Default password is empty</p>
<p>Then run:</p>
<p>service system ifadd name=PING_RESPONDER group=wan</p>
<p>You should now be able to ping the wan address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2010/02/enabling-ping-on-thompson-speedtouch-605s/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error 3221684229 when installing mailbox role of Exchange 2007 SP1 on Windows Server 2008 r2</title>
		<link>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/</link>
		<comments>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:37:26 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=58</guid>
		<description><![CDATA[Just been trying to install Exchange 2007 SP1 on a freshly installed Windows 2008 R2 and come up against the following error during the installation of the Mailbox Role:
Mailbox Role
Failed
Error:
An error occurred. The error code was 3221684229. The message was Access is denied..
Simple fix for this is to run setup.exe in compatibilty mode.  I [...]]]></description>
			<content:encoded><![CDATA[<p>Just been trying to install Exchange 2007 SP1 on a freshly installed Windows 2008 R2 and come up against the following error during the installation of the Mailbox Role:</p>
<blockquote><p>Mailbox Role<br />
Failed</p>
<p>Error:<br />
An error occurred. The error code was 3221684229. The message was Access is denied..</p></blockquote>
<p>Simple fix for this is to run setup.exe in compatibilty mode.  I chose Vista SP2 and then the installation went through normally.</p>
<p>But before you go rushing to finish your installation it is worth noting that Exchange 2007 SP2 will not be supported on Windows 2008 R2, and therefore you may want to reconsider doing the installation at all!  Read here:</p>
<p><a href="http://msexchangeteam.com/archive/2009/09/21/452567.aspx">http://msexchangeteam.com/archive/2009/09/21/452567.aspx</a></p>
<p>I flattened the installation and went back to Windows 2008 Standard.</p>
<p>Update: Microsoft have changed the policy to support Exchange 2007 on Windows 2008 r2:</p>
<p><a href="http://msexchangeteam.com/archive/2009/11/04/453026.aspx">http://msexchangeteam.com/archive/2009/11/04/453026.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2009/10/error-3221684229-when-installing-mailbox-role-of-exchange-2007-sp1-on-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PPTP VPN Problems with Vista SP1 and ZoneAlarm</title>
		<link>http://www.tachytelic.net/2008/07/pptp-vpn-problems-with-vista-sp1-and-zonealarm/</link>
		<comments>http://www.tachytelic.net/2008/07/pptp-vpn-problems-with-vista-sp1-and-zonealarm/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 20:52:02 +0000</pubDate>
		<dc:creator>Paulie</dc:creator>
				<category><![CDATA[Technical Posts]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[ZoneAlarm]]></category>

		<guid isPermaLink="false">http://www.tachytelic.net/?p=33</guid>
		<description><![CDATA[Yesterday I advised a customer who is a remote VPN/Terminal Services user to upgrade to Vista SP1 in order to make &#34;Terminal Services Easy Print&#34; available. 
After the installation of SP1 the user was not able access the corporate VPN.
When trying to connect Vista hangs at &#34;Verifying username and password&#34; and eventually shows an 828 [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I advised a customer who is a remote VPN/Terminal Services user to upgrade to Vista SP1 in order to make &quot;Terminal Services Easy Print&quot; available. </p>
<p>After the installation of SP1 the user was not able access the corporate VPN.</p>
<p>When trying to connect Vista hangs at &quot;Verifying username and password&quot; and eventually shows an 828 error.&#160; On the server side event 20209 was logged.</p>
<p>There is a discussion on the ZA forums as to where the blame lies for the problem but there does not seem to be a clear answer.</p>
<p>For the sake of simplicity, I have found that:</p>
<p>On Vista SP1 machines with version 7.1.248 of ZoneAlarm free installed PPTP VPN connections to Windows 2003 Based RRAS servers do not work.&#160; Also note that disabling ZoneAlarm does not help.&#160; Uninstalling the product solved the issue immediately.</p>
<p>Always a pain when you try to solve one problem and create another in the process.&#160; On a positive note Terminal Services easy print in Windows 2008 worked really well once we got the user reconnected.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tachytelic.net/2008/07/pptp-vpn-problems-with-vista-sp1-and-zonealarm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
