<?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>Random thoughts of an overloaded mind &#187; windows</title>
	<atom:link href="http://blog.amarkulo.com/tag/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.amarkulo.com</link>
	<description>Yet another technical blog about iOS, Windows, Linux, Arduino and everything else</description>
	<lastBuildDate>Tue, 13 Dec 2011 16:56:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Migrating Acronis backup server to another machine</title>
		<link>http://blog.amarkulo.com/migrating-acronis-backup-server-to-another-machine</link>
		<comments>http://blog.amarkulo.com/migrating-acronis-backup-server-to-another-machine#comments</comments>
		<pubDate>Thu, 10 Feb 2011 15:38:54 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[acronis]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=437</guid>
		<description><![CDATA[Today I have migrated Acronis backup server (0lder version) to another machine. Procedure is simple: install backup server on another machine configure backup location stop the service copy all files from old server to new server in configured backup location &#8230; <a href="http://blog.amarkulo.com/migrating-acronis-backup-server-to-another-machine">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I have migrated Acronis backup server (0lder version) to another machine.</p>
<p>Procedure is simple:</p>
<ul>
<li>install backup server on another machine</li>
<li>configure backup location</li>
<li>stop the service</li>
<li>copy all files from old server to new server in configured backup location</li>
<li>copy C:\Document and Settings\All Users\Application Data\Acronis\Backup server dir to another server overwriting the another one</li>
<li>start the service</li>
<li>check if everything is ok with Management Console</li>
</ul>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/migrating-acronis-backup-server-to-another-machine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring of deleted accounts on Windows domain</title>
		<link>http://blog.amarkulo.com/restoring-of-deleted-accounts-on-windows-domain</link>
		<comments>http://blog.amarkulo.com/restoring-of-deleted-accounts-on-windows-domain#comments</comments>
		<pubDate>Wed, 22 Dec 2010 08:22:09 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[adrestore]]></category>
		<category><![CDATA[adrestore.net]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[pdc]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=403</guid>
		<description><![CDATA[Yesterday I tried to remove Exchange 2007 from Windows PDC because we have migrated to Gmail and Exchange is still eating lot of resources from it so one of the steps in removing it was to delete old mailboxes. But &#8230; <a href="http://blog.amarkulo.com/restoring-of-deleted-accounts-on-windows-domain">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I tried to remove Exchange 2007 from Windows PDC because we have migrated to Gmail and Exchange is still eating lot of resources from it so one of the steps in removing it was to delete old mailboxes.</p>
<p>But (there is always at least one but) deleting of the mailboxes was including automatically deleting of user accounts on domain so in other words no one could log in on the domain or their own computers connected to domain.</p>
<p>Exploring MSDN and Google for solutions I have learned yesterday that deletion of objects on AD is not meaning that they are deleted directly, it&#8217;s rather that they are moved to a side for a quite long time until being deleted. So as it means that they are not deleted, restore should be easy, and it was (thinking on all possible scenarios).</p>
<p>There is one program called ADRestore.net which you can find on this <a title="ADRestore.net" href="http://blogs.microsoft.co.il/blogs/guyt/archive/2007/12/15/adrestore-net-rewrite.aspx">link</a>.</p>
<p>On the link above you can download program and see it in action, so in the end I have succeeded to restore all accounts with help of it.</p>
<p>NOTE: Restoring of the objects does not mean that all of its properties and parameters will be restored with it, so you will need to review them and fix as needed, generate new passwords and so on.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/restoring-of-deleted-accounts-on-windows-domain/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Failed to initialize dynamic preprocessor: SF_SDF (IPV6) version 1.1.1</title>
		<link>http://blog.amarkulo.com/failed-to-initialize-dynamic-preprocessor-sf_sdf-ipv6-version-1-1-1</link>
		<comments>http://blog.amarkulo.com/failed-to-initialize-dynamic-preprocessor-sf_sdf-ipv6-version-1-1-1#comments</comments>
		<pubDate>Fri, 30 Apr 2010 10:01:13 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[dynamicengine]]></category>
		<category><![CDATA[dynamicpreprocessor]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[sf_sdf]]></category>
		<category><![CDATA[snort]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[winpcap]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=353</guid>
		<description><![CDATA[Today I have tried to update my Snort and rules and when testing I got this error message because IPV6 was not enabled on my computer. The fix is very simple, just delete sf_sdf.dll file from C:\Snort\lib\snort_dynamicpreprocessor directory and start &#8230; <a href="http://blog.amarkulo.com/failed-to-initialize-dynamic-preprocessor-sf_sdf-ipv6-version-1-1-1">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I have tried to update my Snort and rules and when testing I got this error message because IPV6 was not enabled on my computer.</p>
<p>The fix is very simple, just delete<strong> sf_sdf.dll</strong> file from<strong> C:\Snort\lib\snort_dynamicpreprocessor</strong> directory and start snort again.</p>
<p>Update of snort is very simple and it can be described in few simple steps which can be used for fresh install as well:</p>
<ul>
<li>download <strong>Snort 2.8.6</strong> from the<a title="Snort" href="http://www.snort.org"><strong> www.snort.org</strong></a> site</li>
<li>download <strong>WinPcap 4.1.1</strong> from the <a title="Winpcap" href="http://www.winpcap.org"><strong>www.winpcap.org</strong></a></li>
<li>install both of them on the target machine</li>
<li>download the latest community rules from <a title="Snort" href="http://www.snort.org"><strong>www.snort.org</strong></a> (you need to register and log in to be able to download them)</li>
<li>extract rules to <strong>C:\Snort</strong> overwriting existing files and open <strong>Snort.conf</strong> file in the etc map</li>
<li>find line nr. 155 and replace it to this<strong> dynamicpreprocessor directory C:\Snort\lib\snort_dynamicpreprocessor</strong></li>
<li>then replace line 158 to this<strong> dynamicengine C:\Snort\lib\snort_dynamicengine\sf_engine.dll</strong></li>
<li>and then comment out line 161 if you don&#8217;t have dynamic rules <strong>#dynamicdetection directory /usr/local/lib/snort_dynamicrules</strong></li>
<li>now when you are done if you are not using IPV6 delete <strong>sf_sdf.dll</strong> file from <strong>C:\Snort\lib\snort_dynamicpreprocessor</strong> to avoid this error</li>
<li>start Snort to test it</li>
<li>start Snort as service if test is OK</li>
</ul>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/failed-to-initialize-dynamic-preprocessor-sf_sdf-ipv6-version-1-1-1/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to install Snort Intrusion Detection System on Windows</title>
		<link>http://blog.amarkulo.com/how-to-install-snort-ids-on-windows</link>
		<comments>http://blog.amarkulo.com/how-to-install-snort-ids-on-windows#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:05:20 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[capture]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[ids]]></category>
		<category><![CDATA[packet]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sniff]]></category>
		<category><![CDATA[sniffer]]></category>
		<category><![CDATA[snort]]></category>
		<category><![CDATA[win]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[winpcap]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=267</guid>
		<description><![CDATA[First short explanation what is Snort from Snort official website: Snort® is an open source network intrusion prevention and detection system (IDS/IPS) developed by Sourcefire. Combining the benefits of signature, protocol and anomaly-based inspection, Snort is the most widely deployed &#8230; <a href="http://blog.amarkulo.com/how-to-install-snort-ids-on-windows">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>First short explanation what is Snort from Snort official website:</p>
<blockquote><p><em>Snort® is an open source network intrusion prevention and detection system (IDS/IPS) developed by Sourcefire. Combining the benefits of signature, protocol and anomaly-based inspection, Snort is the most widely deployed IDS/IPS technology worldwide.</em></p></blockquote>
<p>Installation of Snort on Windows is pretty simple.</p>
<p>First, you need to download and install few things. For Snort to be able to act as sniffer and IDS it needs Windows Packet Capture Library which is WinPcap. The stable latest version on the site is 4.1.1 and you can download it <a title="WinPcap download" href="http://www.winpcap.org/install/default.htm">here</a>.</p>
<p>Now when we have WinPcap installed the next step will be to download Snort. The latest version for Windows is 2.8.5.1 and you can download it <a title="Snort downloads" href="http://www.snort.org/snort-downloads?">here</a>. Installation shouldn&#8217;t be a problem, if you need IPv6 support and logging to Microsoft SQL or Oracle database then you need to select proper radio and check boxes and if don&#8217;t then just go next and next to the end and that&#8217;s it. Default installation directory is <strong>C:\Snort </strong>so remember it because it will be our working dir all the time.</p>
<p>So we have installed WinPcap and Snort but we are not finished with installation yet. We have one more thing to download and install. The Snort rules. These rules are those small files that tells Snort what it should search for in captured packages and how to identify them, as a threat, information disclosure or something else. For us to be able to download Snort rules we have to be registered on Snort site. Registration is free and rules are one month old for free users, for those who need the latest threats detected at the same moment when they are published to the community I suggest to buy VRT subscription so you will have the latest rules directly as they are announced. So now we will download <strong>snortrules-snapshot-2.8.tar.gz</strong> rules archive file.  When you open archive file you will get following structure:</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_271" class="wp-caption aligncenter" style="width: 148px;">
<dt class="wp-caption-dt"><a href="http://blog.amarkulo.com/new/wp-content/uploads/2009/12/rules.jpg"><img class="size-full wp-image-271" title="Structure of rules " src="http://blog.amarkulo.com/new/wp-content/uploads/2009/12/rules.jpg" alt="" width="138" height="84" /></a></dt>
</dl>
</div>
<p style="text-align: left;">Snort rules</p>
<p style="text-align: left;">Copy all four directories over those in C:\Snort replacing contents that already exists on the hard drive.</p>
<p style="text-align: left;">Now when we are done with easy part we need to configure Snort to run. Because these rules are written for unixoid systems we need to change some things in the main config file C:\Snort\etc\snort.conf so that Snort can start at all.</p>
<p style="text-align: left;">Here are the things that you need to edit to be able to run snort:</p>
<p style="text-align: left;">Find lines 269 and 270. These lines will not allow Snort to start, at least not on Windows because Snort detects the second one as double config detection line so we need to change this.</p>
<p style="text-align: left;">Change from this:</p>
<blockquote>
<p style="text-align: left;">config detection: search-method ac-bnfa<br />
config detection: max_queue_events 5</p>
</blockquote>
<p style="text-align: left;">To this:</p>
<blockquote>
<p style="text-align: left;">config detection: search-method ac-bnfa max_queue_events 5</p>
</blockquote>
<p style="text-align: left;">Now, the next thing that we need to change is lines where we say to Snort where to find dynamic preprocessor files. On lines from 298 to 303 change this:</p>
<blockquote>
<p style="text-align: left;">dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_dce2_preproc.so<br />
dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_dns_preproc.so<br />
dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.so<br />
dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.so<br />
dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_ssh_preproc.so<br />
dynamicpreprocessor file /usr/local/lib/snort_dynamicpreprocessor/libsf_ssl_preproc.so</p>
</blockquote>
<p style="text-align: left;">To this:</p>
<blockquote>
<p style="text-align: left;">dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_dce2.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_dcerpc.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_dns.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_ftptelnet.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_smtp.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_ssh.dll<br />
dynamicpreprocessor file C:\Snort\lib\snort_dynamicpreprocessor\sf_ssl.dll</p>
</blockquote>
<p style="text-align: left;">Next thing to change is line 324 on which we have dynamic engine path, so change it from this:</p>
<blockquote>
<p style="text-align: left;">dynamicengine /usr/local/lib/snort_dynamicengine/libsf_engine.so</p>
</blockquote>
<p style="text-align: left;">To this:</p>
<blockquote>
<p style="text-align: left;">dynamicengine C:\Snort\lib\snort_dynamicengine\sf_engine.dll</p>
</blockquote>
<p style="text-align: left;">I don&#8217;t know why, maybe some mistake, but lines bellow should be commented out by default, but they were not so we have to comment them out. Because we are not VRT subscriber and don&#8217;t have any dynamic detection files we need to coment lines from 339 to 354, so change this:</p>
<blockquote>
<p style="text-align: left;">dynamicdetection file /usr/local/lib/snort_dynamicrules/bad-traffic.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/chat.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/dos.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/exploit.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/imap.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/misc.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/multimedia.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/netbios.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/nntp.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/p2p.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/smtp.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/sql.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/web-client.so<br />
dynamicdetection file /usr/local/lib/snort_dynamicrules/web-misc.so</p>
</blockquote>
<p style="text-align: left;">To this:</p>
<blockquote>
<p style="text-align: left;">#dynamicdetection file /usr/local/lib/snort_dynamicrules/bad-traffic.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/chat.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/dos.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/exploit.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/imap.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/misc.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/multimedia.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/netbios.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/nntp.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/p2p.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/smtp.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/sql.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/web-client.so<br />
#dynamicdetection file /usr/local/lib/snort_dynamicrules/web-misc.so</p>
</blockquote>
<p style="text-align: left;">Now we need to trim a bit SSH preprocessor to work on Windows as it is different from Linux one, so find line 753 and change this:</p>
<blockquote>
<p style="text-align: left;">preprocessor ssh: server_ports { 22 } \<br />
max_client_bytes 19600 \<br />
max_encrypted_packets 20 \<br />
disable_srvoverflow \<br />
disable_protomismatch \<br />
disable_badmsgdir</p>
</blockquote>
<p style="text-align: left;">To this:</p>
<blockquote>
<p style="text-align: left;">preprocessor ssh: server_ports { 22 } \<br />
max_client_bytes 19600 \<br />
max_encrypted_packets 20</p>
</blockquote>
<p style="text-align: left;">Now we are good to go. We can test snort easily from the command line. So now go on <strong>Start-&gt;Run </strong>and type <strong>cmd</strong> following by enter key. Now in command prompt type following commands:</p>
<blockquote>
<p style="text-align: left;">c: and then enter key</p>
<p style="text-align: left;">cd c:\snort\bin and then enter key</p>
<p style="text-align: left;">snort -v -c C:\snort\etc\snort.conf -l C:\snort\log -K ascii and then enter key</p>
</blockquote>
<p style="text-align: left;">So now we have entered Snort directory and started Snort on command line. You will first see Snort starting and parsing config file snort.conf and then you will see lot of output when Snort start sniffing and controlling packages on the network. If it finds any package that is not regular network traffic it will save info about it in c:\Snort\Log\alert.ids file. Simple output of one captured packet looks like this:</p>
<blockquote>
<p style="text-align: left;">[**] [1:254:7] DNS SPOOF query response with TTL of 1 min. and no authority [**]<br />
[Classification: Potentially Bad Traffic] [Priority: 2]<br />
12/22-12:19:12.577553 192.168.137.206:53 -&gt; 192.168.137.10:55153<br />
UDP TTL:128 TOS:0&#215;0 ID:5399 IpLen:20 DgmLen:79<br />
Len: 51</p>
</blockquote>
<p style="text-align: left;">Now to explain what we have here. The first line says what type of attack is it, the second line says what classification is it and what priority does it have, and the last three lines are data about the attack, attacker IP, your IP, destination and source ports and so on.</p>
<div style="text-align: left;">Important part of this log is<strong> [Priority: 2]</strong> because that&#8217;s how you can identify the real threat from false one. The threats are divided in three groups, group 3 or <strong>[Priority: 3] </strong>is the lowest one and it usually means that someone is scanning your network. The second one is a bit serious. It&#8217;s information disclosure and it has <strong>[Priority: 2]</strong>. This means that someone has got some info about services that you are running which is usually the first part of any attack, gaining of information. The most critical one is the one with <strong>[Priority: 1] </strong>which usually means that right now someone is trying to exploit some of services that you are running. This could mean that you have older version of some service on your server, like IIS that is not updated or Exchange server or something else and that snort has detected some patterns in packages sent to server that could be exploits which can do harm.</div>
<div style="text-align: left;">Now we can stop Snort with <strong>Ctrl+C</strong> and Snort will display some statistics. The only thing that we have to do now is to install Snort as a Windows service. To do so we will write following command on command prompt:</div>
<blockquote>
<div style="text-align: left;">snort /service /install -c C:\Snort\etc\snort.conf -l C:\Snort\log -K ascii</div>
</blockquote>
<div style="text-align: left;">After this command service is installed and you can start it from service manager or simply type <strong>sc start snortsvc.</strong></div>
<div style="text-align: left;">So with this Snort is installed on your machine and is logging everything. Now you just need some program to parse alerts and do actions based on the alert priority. There are lot of those available on the Internet.</div>
<div style="text-align: left;"></div>
<div style="text-align: left;"><strong>Note 1:</strong> If you have more than one network interface on your machine you need to tell Snort on which one should it listen. First type snort -W command to list all interfaces on your machine (works only on Windows) and then when you find which interface is the one that you will listen on then you need to add <strong>-i n</strong> where n is number of interface from the list that you got. You need to add that to all Snort commands that you are executing from command prompt and when creating Windows service.</div>
<div style="text-align: left;"><strong>Note 2:</strong> If you want Snort to log alerts to Eventlog as well as to log files than add -E (only on Windows) to the command line parameters.</div>
<div style="text-align: left;"><strong>Update</strong>:  Here is my <a class="downloadlink" href="http://blog.amarkulo.com/wp-content/plugins/download-monitor/download.php?id=4" title=" downloaded 518 times" >snort.conf (518)</a> file which is working on my machine without any problems. It could be something with updated rules that can cause problems with starting of Snort.</div>
<div style="text-align: left;"><strong>Update2</strong>:  One trailing / on ssh preprocesor line was left by mistake, now it&#8217;s removed.</div>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/how-to-install-snort-ids-on-windows/feed</wfw:commentRss>
		<slash:comments>56</slash:comments>
		</item>
		<item>
		<title>How to install Wine on Snow Leopard</title>
		<link>http://blog.amarkulo.com/wine-on-snow-leopard</link>
		<comments>http://blog.amarkulo.com/wine-on-snow-leopard#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:05:32 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[Mac tips]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[snow]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=234</guid>
		<description><![CDATA[If you would like to have console Wine installed on your Snow Leopard machine procedure is simple. Install MacPorts In Terminal type sudo port selfupdate, to fetch the latest repository contents Run sudo port install wine to install all things &#8230; <a href="http://blog.amarkulo.com/wine-on-snow-leopard">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you would like to have console Wine installed on your Snow Leopard machine procedure is simple.</p>
<ol>
<li>Install M<a title="The MacPorts Project" href="http://www.macports.org/install.php" target="_blank">acPorts </a></li>
<li>In Terminal type <strong>sudo port selfupdate</strong>, to fetch the latest repository contents</li>
<li>Run <strong>sudo port install wine</strong> to install all things needed for Wine. You can ignore error at the end regarding Wine version.</li>
<li>Install Git in terminal <strong>sudo port install git-core</strong></li>
<li>Fetch the lattest source from winehq with git,  <strong>git clone git://<a title="Linkification: http://source.winehq.org/git/wine.git" href="http://source.winehq.org/git/wine.git">source.winehq.org/git/wine.git</a> ~/wine-git</strong></li>
<li>Enter to the <strong>~/wine-git</strong> directory and run <strong>./configure</strong>,<strong> ./make</strong>, <strong>./make dep</strong> and <strong>./make install</strong> commands</li>
</ol>
<p>That&#8217;s it. Wine is now installed on your machine.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/wine-on-snow-leopard/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sorting of images by creation date from EXIF</title>
		<link>http://blog.amarkulo.com/sorting-of-images-based-on-creation-date-from-exif</link>
		<comments>http://blog.amarkulo.com/sorting-of-images-based-on-creation-date-from-exif#comments</comments>
		<pubDate>Tue, 15 Sep 2009 10:50:44 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac tips]]></category>
		<category><![CDATA[My photo eye]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=231</guid>
		<description><![CDATA[In my working with photographs the first step in postprocessing is moving them from memory card to pc. Usually this is done via Adobe Bridge and it works like a charm, new folders are being created based by date, files &#8230; <a href="http://blog.amarkulo.com/sorting-of-images-based-on-creation-date-from-exif">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In my working with photographs the first step in postprocessing is moving them from memory card to pc. Usually this is done via Adobe Bridge and it works like a charm, new folders are being created based by date, files renamed and so on, but Adobe bridge lacks a support for importing folders from hdd as source folders which is option that I need right now, as I have founded on my hdd that I have lot of images that are coppied from memory card directly to hdd as they were created on card.</p>
<p>This brings me to the problem that I have lot of folders with lot of images without any order. This has begun to frustrate me, so I started to write program that will sort them based on exif in respective folders, but one night while reading <a title="Dpreview forums" href="http://forums.dpreview.com">DPreview</a> forum I have founded link to one program that can do exactly what I want on the way I want.</p>
<p>The program is called DIM or Digital Image Mover. It&#8217;s exactly what it&#8217;s name says, image mover from one place to another. It doesn&#8217;t do anything more, just move/copy images from one place to another in the respective folders that are created by the date template that you provide.</p>
<p>Program is written in Java so it works on all platforms that have support for JRE &#8211; Java Runtime Enviroment and so far I have tested it on Mac OS and Windows without any problems.</p>
<p>It has support for all major raw files (NEF, CR2, CRW), jpeg, tiff, png and so on.</p>
<p>Here is a <a title="DIM: Digital Image Mover" href="http://www.alanlight.com/dim/Dim.htm">link</a> to the site of the Alan Light who is author of the program, where you can find the latest version (4.0 at the moment), download it and send donation to author of the program.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/sorting-of-images-based-on-creation-date-from-exif/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable IPV6 in Windows 2008 server or Vista</title>
		<link>http://blog.amarkulo.com/disable-ipv6-windows</link>
		<comments>http://blog.amarkulo.com/disable-ipv6-windows#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:20:50 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=220</guid>
		<description><![CDATA[Today while installing 2008 failover cluster I got error or notification from SQL server that two of my servers have same IPV6 address. Because I don&#8217;t use IPV6 and I have disabled it in network properties it was a bit &#8230; <a href="http://blog.amarkulo.com/disable-ipv6-windows">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today while installing 2008 failover cluster I got error or notification from SQL server that two of my servers have same IPV6 address. Because I don&#8217;t use IPV6 and I have disabled it in network properties it was a bit weird to see this message.</p>
<p>Then I run ipconfig command that showed to me lot of Tunnel adapters that were disconnected and created automatically by Vista.</p>
<p>So to have painful installation of new cluster I have disabled IPV6 protocol totally.</p>
<p>Here is solution:</p>
<ul>
<li>start run with win key + r or by start menu</li>
<li>regedit</li>
<li>go to HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters</li>
<li>add new dword (32bit) value DisableComponents with value 1</li>
<li>restart</li>
<li>enjoy</li>
</ul>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/disable-ipv6-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize directories from command prompt</title>
		<link>http://blog.amarkulo.com/synchronize-directories</link>
		<comments>http://blog.amarkulo.com/synchronize-directories#comments</comments>
		<pubDate>Wed, 27 May 2009 05:55:13 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[dominik jain]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[mirror.exe]]></category>
		<category><![CDATA[oblivion]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[win]]></category>
		<category><![CDATA[win32]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=202</guid>
		<description><![CDATA[If you have ever wanted to synchronize 2 directories from command prompt in windows this tool is must-have for you. It works perfectly from scheduled tasks as well, so it&#8217;s easy to write batch script that will execute every night &#8230; <a href="http://blog.amarkulo.com/synchronize-directories">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have ever wanted to synchronize 2 directories from command prompt in windows this tool is must-have for you.<br />
It works perfectly from scheduled tasks as well, so it&#8217;s easy to write batch script that will execute every night and synchronize files and folders.</p>
<p>The program is called Mirror and is written by Dominik Jain and you can download it <a title="Dominik Jain" href="http://home.in.tum.de/~jain/index.html" target="_blank">here</a>. The latest version is 1.43.</p>
<p>It works very simple like it should, you enter source and destinations dir and that&#8217;s it. If you want only to test it w/o any actions taken just add -d (d for demonstration).</p>
<p>Of course it has possibility to enter file mask or regular expressions as well and it&#8217;s only 172kb in size.</p>
<p>On his <a title="Dominik Jain" href="http://home.in.tum.de/~jain/index.html" target="_blank">site</a> you can find few more tools and utils that he wrote.</p>
<p>Here is the backup link just in case <a class="downloadlink" href="http://blog.amarkulo.com/wp-content/plugins/download-monitor/download.php?id=9" title=" downloaded 19 times" >Mirror 1.43 (19)</a>.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/synchronize-directories/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows snipping tool but for XP</title>
		<link>http://blog.amarkulo.com/windows-screenshots</link>
		<comments>http://blog.amarkulo.com/windows-screenshots#comments</comments>
		<pubDate>Thu, 30 Apr 2009 10:54:43 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[print screen]]></category>
		<category><![CDATA[printscreen]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[shot]]></category>
		<category><![CDATA[snipping]]></category>
		<category><![CDATA[snipping tool]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://blog.amarkulo.com/?p=195</guid>
		<description><![CDATA[While testing Windows Vista long time ago I have noticed new program called Snipping tool that could take screen shots from whole screen or part of the screen. I have searched a bit to find if it is possible to &#8230; <a href="http://blog.amarkulo.com/windows-screenshots">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While testing Windows Vista long time ago I have noticed new program called Snipping tool that could take screen shots from whole screen or part of the screen.</p>
<p>I have searched a bit to find if it is possible to have it on XP because Vista sucks <img src='http://blog.amarkulo.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  but is&#8217;t only available for Tablet PCs.</p>
<p>Luckily there are free solutions and replacements on the Internet.</p>
<p>Program is called <strong><a title="Gadwin Systems Inc." href="http://www.gadwin.com">Gadwin</a> <a title="Gadwin PrintScreen" href="http://www.gadwin.com/printscreen/">PrintScreen</a></strong> and it&#8217;s freeware.</p>
<p>When you install it you get a small tray icon and it&#8217;s automatically activated with <strong>Print Screen </strong>key.</p>
<p>In program options you can configure where to save output files, what type of picture they are going to be, resizing options and so on.</p>
<p>You can download program on this <a title="Download Gadwin PrintScreen" href="http://www.gadwin.com/download/index.htm#PrintScreen">link</a>.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/windows-screenshots/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to jailbreak Iphone 2G (untethered solution)</title>
		<link>http://blog.amarkulo.com/jailbreak-iphone-2g</link>
		<comments>http://blog.amarkulo.com/jailbreak-iphone-2g#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:27:28 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2G]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[DFU]]></category>
		<category><![CDATA[entering DFU]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[ipsw]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[jail]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[libusb]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[redsnow]]></category>
		<category><![CDATA[tethered]]></category>
		<category><![CDATA[touch]]></category>
		<category><![CDATA[untethered]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=184</guid>
		<description><![CDATA[Yesterday I have found on iPod Touch Fans forums instructions how to jailbreak iPod touch 2G. Instructions are on link here tnx to shortperson1026 who created this tutorial. BEFORE you begin, restore your iPod Touch clean to it&#8217;s factory state. &#8230; <a href="http://blog.amarkulo.com/jailbreak-iphone-2g">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I have found on iPod Touch Fans forums instructions how to jailbreak iPod touch 2G. Instructions are on link <a title="iPod Touch Fans Forum" href="http://www.ipodtouchfans.com/forums/showthread.php?t=155816">here</a> tnx to <strong>shortperson1026 </strong>who created this tutorial.</p>
<blockquote><p><strong>BEFORE you begin, restore your iPod Touch clean to it&#8217;s factory state.</strong><br />
As with every other tutorial you need the C++ redistributable and LIBusb.</p>
<p>1. Download unofficialsn0w 2.0 for Windows from here <a rel="nofollow" href="http://outgoing.ipodtouchfans.com/?d=aHR0cDovL3d3dy5tZWdhdXBsb2FkLmNvbS8/ZD1SRDNJVVdPVw%7E%7E" target="_blank"><span style="color: red;"><strong>Download</strong></span></a></p>
<p>2. Get the 2.2.1 iPod Touch Firmware <a rel="nofollow" href="http://outgoing.ipodtouchfans.com/?d=aHR0cDovL2FwcGxkbmxkLmFwcGxlLmNvbS5lZGdlc3VpdGUubmV0L2NvbnRlbnQuaW5mby5hcHBsZS5jb20vaVBob25lLzA2MS01ODYzLjIwMDkwMTI3LnJ0NTZLL2lQb2QyLDFfMi4yLjFfNUgxMWFfUmVzdG9yZS5pcHN3" target="_blank"><span style="color: red;">HERE</span></a></p>
<p>3. Rename the 2.2.1 ipsw to OriginalFW, or <strong>OriginalFW.ipsw IF you have file extensions visible</strong>, and place it in /IPSW</p>
<p>4. Run IPSW.bat (It will take a while)</p>
<p>5.<br />
<span style="color: red;"> a.Right click on the jb.ispw and either open with Winrar or 7.zip</span></p>
<p>b.Go into Firmware\all_flash\all_flash.n72ap.production\</p>
<p>c. Delete the LLB file.(optional since it will be replaced by the new one)</p>
<p>d. Replace (by dragging) with the LLB file that&#8217;s in the same folder as the jb.ipsw.</p>
<p>e. Exit, continue to step 6</p>
<p>6. Place your iPod Touch 2G into DFU mode, plug it in and run RUNME.exe</p>
<p>7. Shift + Restore to JB.ipsw in iTunes and your done!!!</p></blockquote>
<p>Although I have done all that is written there, during flashing I would receive error and iPod would stay in recovery mode.</p>
<p>Then I have found one small program &#8211; <a title="QuickFreedom Untethered GUI" href="http://www.ipodtouchfans.com/forums/showthread.php?t=155875">QuickFreedom &#8211; Untethered GUI</a> that has created firmware for me that I could flash latter with iTunes and jailbreak my iPod. So if you have problems with first solution try the program and also if you want to change boot logos you can do it with this program. For original firmware you can use one that you have downloaded from link above.</p>
<p>Some notes.</p>
<p>Note 1.</p>
<blockquote><p>You will need libusb for first solution (and I think for second one as well) and you can download it <a title="Usb filter" href="http://downloads.sourceforge.net/libusb-win32/libusb-win32-filter-bin-0.1.12.1.exe?use_mirror=heanet">here</a>.</p></blockquote>
<p>Note 2.</p>
<blockquote><p>Entering DFU mode is not that simple as someone would say it is. Here are steps to enter it:</p>
<ul>
<li>Power off iPod.</li>
<li>Press and hold power and home buttons.</li>
<li>Ipod will start and then it will shut down again. When this happens release power button and hold home button for 15-20 seconds.</li>
<li>You will have blank black screen and it means that you have entered in DFU mode.</li>
</ul>
</blockquote>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/jailbreak-iphone-2g/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lenovo/IBM Cisco VPN problem</title>
		<link>http://blog.amarkulo.com/lenovo-ibm-cisco-vpn-problem</link>
		<comments>http://blog.amarkulo.com/lenovo-ibm-cisco-vpn-problem#comments</comments>
		<pubDate>Wed, 26 Nov 2008 13:51:14 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[finger]]></category>
		<category><![CDATA[fingerprint]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[ipsec]]></category>
		<category><![CDATA[lenovo]]></category>
		<category><![CDATA[PEER_DELETE-IKE_DELETE_UNSPECIFIED]]></category>
		<category><![CDATA[ppptp]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=179</guid>
		<description><![CDATA[Yesterday I tried to connect to my work network with Cisco VPN client after recent reinstallation of my laptop but without success. Error that I was getting was PEER_DELETE-IKE_DELETE_UNSPECIFIED. I tried to find some with similar problem on Google but &#8230; <a href="http://blog.amarkulo.com/lenovo-ibm-cisco-vpn-problem">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I tried to connect to my work network with Cisco VPN client after recent reinstallation of my laptop but without success.</p>
<p>Error that I was getting was <strong>PEER_DELETE-IKE_DELETE_UNSPECIFIED</strong>. I tried to find some with similar problem on Google but that wasn&#8217;t successful either.</p>
<p>So the only thing to do was to install Windows from scratch and begin from start again with elimination of software.</p>
<p>After a while I have found that new version of Thinkpad Fingerprint Software 5.8 was cause of my agony. It took me almost 2 days to find this error but reverting on older version 5.6 solved the problem.</p>
<p>I hope that this will help someone with similar problem like I had.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/lenovo-ibm-cisco-vpn-problem/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating simple cleanup scripts on Windows 2003</title>
		<link>http://blog.amarkulo.com/cleanup-scripts</link>
		<comments>http://blog.amarkulo.com/cleanup-scripts#comments</comments>
		<pubDate>Mon, 10 Nov 2008 14:05:46 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[clean up]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[forfiles]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=175</guid>
		<description><![CDATA[Here is one short tip. If you had problem with old log files that are being held on system after too much time and wanted to delete all of them automatically here is explanation how to do it. open notepad &#8230; <a href="http://blog.amarkulo.com/cleanup-scripts">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is one short tip. If you had problem with old log files that are being held on system after too much time and wanted to delete all of them automatically here is explanation how to do it.</p>
<ol>
<li>open notepad</li>
<li>write this line in it <strong>Forfiles -p &#8220;c:\temp&#8221; -s -m *.log -d -14 -c &#8220;Cmd /C del @FILE&#8221;</strong></li>
<li>save file and then change it extension from .txt to .bat</li>
</ol>
<p>So here we have batch file created that will do following:</p>
<ul>
<li>find all <strong>.log</strong> files in <strong>c:\temp</strong> path</li>
<li>older than <strong>14 days</strong></li>
<li>and <strong>delete </strong>them</li>
</ul>
<p>Here is small explanation of the command line:</p>
<ul>
<li><strong>-p &#8220;full path&#8221; </strong>is used to specify exact path to the destination dir, it can be c:\ or c:\temp</li>
<li><strong>-s </strong>says to forfiles that it will go recursive into subdirs</li>
<li><strong>-m *.ext </strong>creates filter for files of the <strong>.ext </strong>extension, it can be<strong> *.* </strong>as well</li>
<li><strong>-d 7</strong> says to forfiles to filter files from output above to match current date minus number of days</li>
<li><strong>-c &#8220;command&#8221;</strong> executes command on files that are returned from output of forfiles command</li>
<li><strong>cmd /c command</strong> is saying to <strong>cmd</strong> that is command prompt to execute command and terminate itself</li>
</ul>
<p>Now to test this batch file you can delete or comment out command part so you will get output from forfiles only without deleting of the files. Also you can use move command instead of del to move logfiles to another location.</p>
<p>If everything works like it should open Start-&gt;Control panel-&gt;Scheduled tasks and create new task to executes every day or in any time frame that you want.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/cleanup-scripts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;Setup failed to start on the remote machine. Check the Task scheduler event log on the remote machine.&quot; error while installing Microsoft Sql Server 2005 in failover cluster</title>
		<link>http://blog.amarkulo.com/setup-failed-to-start-on-the-remote-machine-check-the-task-scheduler-event-log-on-the-remote-machine-error-while-installing-microsoft-sql-server-2005-in-failover-cluster</link>
		<comments>http://blog.amarkulo.com/setup-failed-to-start-on-the-remote-machine-check-the-task-scheduler-event-log-on-the-remote-machine-error-while-installing-microsoft-sql-server-2005-in-failover-cluster#comments</comments>
		<pubDate>Fri, 26 Sep 2008 10:17:10 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[task]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=165</guid>
		<description><![CDATA[Last few days I was installing failover cluster in MsSql 2005 and whille installing it I got this error and installation wouldn&#8217;t continue. In error logs there is message: Running: ScheduleActionAction at: 7d8/8/19 b:c:2a Complete: ScheduleActionAction at: 7d8/8/19 b:c:2b, returned &#8230; <a href="http://blog.amarkulo.com/setup-failed-to-start-on-the-remote-machine-check-the-task-scheduler-event-log-on-the-remote-machine-error-while-installing-microsoft-sql-server-2005-in-failover-cluster">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last few days I was installing failover cluster in MsSql 2005 and whille installing it I got this error and installation wouldn&#8217;t continue.</p>
<p>In error logs there is message:</p>
<blockquote><p>Running: ScheduleActionAction at: 7d8/8/19 b:c:2a<br />
Complete: ScheduleActionAction at: 7d8/8/19 b:c:2b, returned true<br />
Skipped: InstallASAction.11<br />
Waiting for actions from remote setup(s)<br />
Breaking wait state and aborting package due to cancel code received: 642<br />
Remote setup(s) are ready<br />
Notify package action is determined: 642<br />
Error Code: 0x800700e9 (233)<br />
Windows Error Text: No process is on the other end of the pipe.</p>
<p>Source File Name: remotemessagelib\overlappedpipelistener.cpp<br />
Compiler Timestamp: Fri Jul 29 01:13:51 2005<br />
Function Name: sqls::OverlappedPipeListener::writePipe<br />
Source Line Number: 294</p></blockquote>
<p>Fix for this error is simple. Log out any users on another node in cluster and that&#8217;s it. So simple.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/setup-failed-to-start-on-the-remote-machine-check-the-task-scheduler-event-log-on-the-remote-machine-error-while-installing-microsoft-sql-server-2005-in-failover-cluster/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to build antispam SMTP gateway for Exchange on Ubuntu 8.04</title>
		<link>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804</link>
		<comments>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804#comments</comments>
		<pubDate>Sat, 13 Sep 2008 16:10:51 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[clam]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mailscanner]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[relay]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virus]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=141</guid>
		<description><![CDATA[Because previous solution that I have done on Windows didn&#8217;t worked in way I wanted, I have decided to make dedicated Linux SMTP filtering gateway. Note: You can copy/paste all commands written here although they are not inline, they will &#8230; <a href="http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Because previous solution that I have done on Windows didn&#8217;t worked in way I wanted, I have decided to make dedicated Linux SMTP filtering gateway.</p>
<p><strong>Note:</strong> You can copy/paste all commands written here although they are not inline, they will be when you paste them to shell or file.</p>
<p>For this I needed to have:</p>
<ul>
<li>Fully functional Linux machine ( I had already installed Ubuntu 8.04 server )</li>
<li>Postfix &#8211; default installation will do</li>
<li>Mail Scanner &#8211; free package that you can get on <a title="Mail scanner" href="http://mailscanner.info/" target="_blank">MailScanner home page</a></li>
<li>SpamAssassin &#8211; free antispam solution</li>
<li>Clam AV &#8211; free antivirus</li>
</ul>
<p>Before of installing anything we will fetch the latest list of packages from Ubuntu repositories with command:</p>
<blockquote><p><strong>aptitude update</strong></p></blockquote>
<p>Now before installation of a Mail Scanner we need to install some packages with command:<strong> </strong><strong></strong></p>
<blockquote><p><strong>aptitude </strong><strong>install libconvert-tnef-perl libdbd-sqlite3-perl libfilesys-df-perl libmailtools-perl libmime-tools-perl libmime-perl libnet-cidr-perl libsys-syslog-perl libio-stringy-perl libfile-temp-perl</strong> <strong>libole-storage-lite-perl libarchive-zip-perl postfix clamav clamav-daemon libsys-hostname-long-perl libnet-cidr-lite-perl spamassassin<br />
</strong></p></blockquote>
<p>Answer with Y when asked to install dependencies for these packages. During the installation of postfix you will get simple menu in which you need to select Internet site and write your full host name with domain.</p>
<p>Because whole configuration of Postfix is being done via main.cf and master.cf files we need to change some values in them. Open <strong>main.cf</strong> and add/edit following lines to look like this:</p>
<blockquote><p><strong> myhostname = ubuntu.sp.local<br />
mydomain = sp.local<br />
myorigin = $mydomain<br />
inet_interfaces = all<br />
mydestination = $myhostname, localhost.$mydomain $mydomain<br />
mynetwork_style = host<br />
relay_domains = lab.net<br />
transport_maps = hash:/etc/postfix/transport<br />
append_at_myorigin = no<br />
local_recipient_maps =<br />
header_checks = regexp:/etc/postfix/header_checks<br />
</strong></p></blockquote>
<p>Now open <strong>/etc/postfix/transport </strong>and add your forwarding domains in it. For multiple domains go to new row by same principle.</p>
<blockquote><p><strong>sp.local smtp:[192.168.1.5]</strong></p></blockquote>
<p>This ip <strong>192.168.1.5</strong> is IP of my Exchange server, not of my Linux machine and <strong>sp.local</strong> is the name of my domain, replace IP and domain name with yours. After this editing we need to create hash of the transport file and to restart Postfix.</p>
<blockquote><p><strong>postmap /etc/postfix/transport<br />
/etc/init.d/postfix restart</strong></p></blockquote>
<p>Now you can control if Postfix is working like it should and if it transports mail. If everything works stop it so that we can configure other options in it and because it needs to be started after MailScanner.</p>
<blockquote><p><strong>/etc/init.d/postfix stop<br />
</strong></p></blockquote>
<p>Next step would be to unpack and install the latest version of Mail Scanner because Ubuntu 8.04 still doesn&#8217;t have the latest version in the repositories. You can get the latest version of Mail Scanner <a title="Mail scanner" href="http://mailscanner.info/downloads.html" target="_blank">here</a>. Because we will compile it we need .tar.gz version.</p>
<blockquote><p><strong>wget <a class="linkification-ext" title="Linkification: http://mailscanner.info/files/4/tar/MailScanner-install-4.71.10-1.tar.gz" href="http://mailscanner.info/files/4/tar/MailScanner-install-4.71.10-1.tar.gz">http://mailscanner.info/files/4/tar/MailScanner-install-4.71.10-1.tar.gz</a><br />
tar zxvf MailScanner-install-4.71.10-1.tar.gz<br />
cd MailScanner-install-4.71.10<br />
./install.sh</strong></p></blockquote>
<p>You will see lot of output when you run <strong>./install.sh</strong> because it will check which Perl modules do you have installed and install those that are missing, but as installation says:</p>
<blockquote><p><em>Do not worry too much about errors from the next command.<br />
It is quite likely that some of the Perl modules are<br />
already installed on your system.</em></p></blockquote>
<p>When <strong>install.sh </strong>is done you will get message to enter some lines in crontab to automatize jobs. Type <strong>crontab -e</strong> and enter following lines in crontab (:w to write and exit if you are using Vi editor ctrl+x for Pico).</p>
<blockquote><p><strong>37 5 * * * /opt/MailScanner/bin/update_phishing_sites<br />
07 * * * * /opt/MailScanner/bin/update_bad_phishing_sites<br />
58 23 * * * /opt/MailScanner/bin/clean.quarantine<br />
42 * * * * /opt/MailScanner/bin/update_virus_scanners<br />
3,23,43 * * * * /opt/MailScanner/bin/check_mailscanner</strong></p></blockquote>
<p>Now we need to edit <strong>/etc/default/spamassassin</strong> file and to enable SpamAssassin daemon. Open this file with editor and change these lines:</p>
<blockquote><p><strong>ENABLED=0 to ENABLED=1<br />
CRON=0 to CRON=1</strong></p></blockquote>
<p>Now we have enabled SpamAssassin as a daemon and enabled it to update daily via cron. It&#8217;s time to start it for the first time.</p>
<blockquote><p><strong>/etc/init.d/spamassassin start</strong></p></blockquote>
<p>Next step would be to edit MailScanner.conf. Find following lines and edit them to look like this:</p>
<blockquote><p><strong>Run As User = postfix<br />
Run As Group = postfix<br />
MTA = postfix<br />
Incoming Queue Dir = /var/spool/postfix/hold<br />
Outgoing Queue Dir = /var/spool/postfix/incoming<br />
Virus Scanners = clamav<br />
Spam List = SBL+XBL<br />
SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin<br />
</strong></p></blockquote>
<p>Now we will run MailScanner with command:</p>
<blockquote><p><strong>/opt/MailScanner/bin/check_mailscanner</strong></p></blockquote>
<p>It will automatically go to background. Now we need to tell Postfix to wait with forwarding of mails while they are checked against spam and antivirus definitions. We will need to edit file <strong>/etc/postfix/header_checks</strong> and to add following line because without it nothing will work.</p>
<blockquote><p><strong>/^Received:/ HOLD</strong></p></blockquote>
<p>Now we need to restart Postfix with command:</p>
<blockquote><p><strong>/etc/init.d/postfix start</strong></p></blockquote>
<p>I have got interesting output when I once killed MailScanner process that really make me laugh.</p>
<blockquote><p><strong>11818 ? Ss 0:00 MailScanner: killing children, bwahaha!<br />
</strong>11819 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
11862 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
11905 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
11948 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
11991 ? Z 0:01 [MailScanner] &lt;defunct&gt;<strong><br />
12038 ? Ss 0:00 MailScanner: killing children, bwahaha!<br />
</strong>12039 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
12083 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
12126 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
12169 ? Z 0:01 [MailScanner] &lt;defunct&gt;<br />
12212 ? Z 0:01 [MailScanner] &lt;defunct&gt;</p></blockquote>
<p>LOL, they have a good sense of humor.</p>
<p>So if everything is working correctly you should receive now mails with small footer text:</p>
<blockquote><p><span style="color: #888888;">&#8211;<br />
This message has been scanned for viruses and<br />
dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><strong>MailScanner</strong></a>, and is<br />
believed to be clean. </span></p></blockquote>
<p>You can control message delivery with command:</p>
<blockquote><p><strong>tail -f /var/log/syslog</strong></p></blockquote>
<p>There you will see scrolling text like:</p>
<blockquote><p>Sep 11 10:14:14 ubuntu postfix/smtpd[13220]: connect from web54408.mail.yahoo.com[206.190.49.138]<br />
Sep 11 10:14:14 ubuntu postfix/smtpd[13220]: CE433E643: client=web54408.mail.yahoo.com[206.190.49.138]<br />
Sep 11 10:14:15 ubuntu postfix/cleanup[13222]: CE433E643: hold: header Received: from web54408.mail.yahoo.com (web54408.mail.yahoo.com [206.190.49.138])??by ubuntu.sp.local (Postfix) with SMTP id CE433E643??for &lt;<strong>mymail@mydomain</strong>&gt;; Thu, 11 Sep 2008 10:14:14 -0400 (EDT) from web54408.mail.yahoo.com[206.190.49.138]; from=&lt;<strong>my_yahoo_mail</strong>@yahoo.com&gt; to=&lt;<strong><a class="linkification-ext" title="Linkification: mailto:mymail@mydomain.com" href="mailto:mymail@mydomain.com">mymail@mydomain.com</a></strong>&gt; proto=SMTP helo=&lt;web54408.mail.yahoo.com&gt;<br />
Sep 11 10:14:15 ubuntu postfix/cleanup[13222]: CE433E643: message-id=&lt;<a class="linkification-ext" title="Linkification: mailto:225121.37413.qm@web54408.mail.yahoo.com" href="mailto:225121.37413.qm@web54408.mail.yahoo.com">225121.37413.qm@web54408.mail.yahoo.com</a>&gt;<br />
Sep 11 10:14:15 ubuntu postfix/smtpd[13220]: disconnect from web54408.mail.yahoo.com[206.190.49.138]<br />
Sep 11 10:14:15 ubuntu MailScanner[13211]: New Batch: Scanning 1 messages, 2392 bytes<br />
Sep 11 10:14:16 ubuntu MailScanner[13211]: Virus and Content Scanning: Starting<br />
Sep 11 10:14:20 ubuntu MailScanner[13211]: Requeue: CE433E643.352A5 to 424A5E650<br />
Sep 11 10:14:20 ubuntu postfix/qmgr[13003]: 424A5E650: from=&lt;<strong>my_yahoo_mail</strong>@yahoo.com&gt;, size=1712, nrcpt=1 (queue active)<br />
Sep 11 10:14:20 ubuntu postfix/smtp[13245]: 424A5E650: to=&lt;<strong><a class="linkification-ext" title="Linkification: mailto:mymail@mydomain.com" href="mailto:mymail@mydomain.com">mymail@mydomain.com</a></strong>&gt;, relay=192.168.1.5[192.168.1.5]:25, delay=5.6, delays=5.5/0.01/0/0.15, dsn=2.6.0, status=sent (250 2.6.0 &lt;<a class="linkification-ext" title="Linkification: mailto:225121.37413.qm@web54408.mail.yahoo.com" href="mailto:225121.37413.qm@web54408.mail.yahoo.com">225121.37413.qm@web54408.mail.yahoo.com</a>&gt; Queued mail for delivery)<br />
Sep 11 10:14:20 ubuntu postfix/qmgr[13003]: 424A5E650: removed<br />
Sep 11 10:14:20 ubuntu <strong>MailScanner[13211]:</strong> <strong>Uninfected: Delivered 1 messages</strong></p></blockquote>
<p>This means that MailScanner is scanning messages against spam and viruses.</p>
<p>Now the latest step would be to create RC script to start MailScanner on boot and before Postfix. <a title="Mailscanner bash script" href="http://blog.amarkulo.com/wp-content/uploads/2008/09/mailscanner.txt" target="_blank">Here</a> you can read/download file <a title="Mailscanner bash script" href="http://blog.amarkulo.com/wp-content/uploads/2008/09/mailscanner.txt" target="_blank"><strong>mailscanner.txt</strong></a> file which you will use to create new <strong>/etc/init.d/mailscanner</strong> file.</p>
<p>This script is slightly modified original init script for MailScanner from Ubuntu. Next step would be to change permissions to the file and to create symlinks with commands:</p>
<blockquote><p><strong>chmod 755 /etc/init.d/mailscanner<br />
cd /etc/rc0.d/<br />
ln -s ../init.d/mailscanner K20mailscanner</strong></p>
<p><strong>cd /etc/rc1.d/<br />
ln -s ../init.d/mailscanner K20mailscanner</strong></p>
<p><strong>cd /etc/rc2.d/<br />
ln -s ../init.d/mailscanner S20mailscanner</strong></p>
<p><strong>cd /etc/rc3.d/<br />
ln -s ../init.d/mailscanner S20mailscanner</strong></p>
<p><strong>cd /etc/rc4.d/<br />
ln -s ../init.d/mailscanner S20mailscanner</strong></p>
<p><strong>cd /etc/rc5.d/<br />
ln -s ../init.d/mailscanner S20mailscanner</strong></p>
<p><strong>cd /etc/rc6.d/<br />
ln -s ../init.d/mailscanner K20mailscanner<br />
</strong></p></blockquote>
<p>So now we need to test everything with commands:</p>
<blockquote><p><strong>/etc/init.d/postfix stop<br />
/etc/init.d/mailscanner start<br />
/etc/init.d/postfix start</strong></p></blockquote>
<p><strong>Notes</strong>:</p>
<p>If SpamAssassin doesn&#8217;t detect some of your messages as spam although they are spam you can easy manually learn it to detect that and other similar messages as spam. Follow next few steps:</p>
<ol>
<li>Find that message and save it to text file including headers and content</li>
<li>Transfer file to your linux machine</li>
<li>From the directory where you have transfered file run command: <strong>spamassassin &#8211;spam &lt; your_text_file</strong></li>
</ol>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/how-to-build-spam-free-smtp-gateway-for-exchange-on-ubuntu-804/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Vista/XP virtual desktop manager</title>
		<link>http://blog.amarkulo.com/vistaxp-virtual-desktop-manager</link>
		<comments>http://blog.amarkulo.com/vistaxp-virtual-desktop-manager#comments</comments>
		<pubDate>Thu, 11 Sep 2008 10:09:07 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[sysinternals]]></category>
		<category><![CDATA[systray]]></category>
		<category><![CDATA[tray]]></category>
		<category><![CDATA[vdm]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtual desktop manager]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows xp]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=143</guid>
		<description><![CDATA[After intensive testing of Sysinternals Desktops utility I have found new one that is also FREE and that works better than Desktops. Things that I missed in Desktops were: you couln&#8217;t move opened programs between desktops Firefox and Winamp (possible &#8230; <a href="http://blog.amarkulo.com/vistaxp-virtual-desktop-manager">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After intensive testing of Sysinternals Desktops utility I have found new one that is also FREE and that works better than Desktops.</p>
<p>Things that I missed in Desktops were:</p>
<ul>
<li>you couln&#8217;t move opened programs between desktops</li>
<li>Firefox and Winamp (possible some other programs too)  wouldn&#8217;t work on other desktop if they are allready opened on one</li>
<li>desktop backgrounds would disapeer</li>
</ul>
<p>New program that I found is called Vista/XP virtual desktop manager. Some of the options that it provide are:</p>
<ul>
<li>Full screen desktop/window manager/preview with full drag and drop managing</li>
<li>Desktop switch indicator</li>
<li>An infinite number of desktops</li>
<li>Watch the windows move in real time as you drag them around in the window manager</li>
<li>Multiple monitor support</li>
<li>Window menus</li>
<li>Tray icons for each desktop</li>
<li>Per-desktop backgrounds</li>
<li>Configurable colors, fade speeds, hotkeys, etc.</li>
<li>Uses Vista&#8217;s live thumbnails</li>
<li>XP support</li>
<li>And much more!</li>
</ul>
<p>You can find more info about program and download it on <a title="Vista/XP virtual desktop manager" href="http://www.codeplex.com/vdm" target="_blank">this link</a>.</p>
<p>Here are some screenshoots.</p>
<p style="text-align: center;"><a href="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen1.jpg"><img class="size-thumbnail wp-image-144 alignnone" title="screen1" src="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen1-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen2.jpg"> <img class="size-thumbnail wp-image-145 alignnone" title="screen2" src="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen2-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;"><a href="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen3.jpg"><img class="alignnone size-thumbnail wp-image-146" title="screen3" src="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen3-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen4.jpg"><img class="alignnone size-thumbnail wp-image-147" title="screen4" src="http://blog.amarkulo.com/wp-content/uploads/2008/09/screen4-150x150.jpg" alt="" width="150" height="150" /></a></p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/vistaxp-virtual-desktop-manager/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defending Exchange server against spam with SpamAssassin</title>
		<link>http://blog.amarkulo.com/defending-exchange-server-against-spam-with-spamassassin</link>
		<comments>http://blog.amarkulo.com/defending-exchange-server-against-spam-with-spamassassin#comments</comments>
		<pubDate>Wed, 10 Sep 2008 17:28:22 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[esa]]></category>
		<category><![CDATA[esa sink]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[sink]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassassin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=139</guid>
		<description><![CDATA[This short howto is written and done on Windows 2003 Server and Exchange 2003 Server. Because lately I (among other users) have begun to receive large number of spam on e-mail server of the company where I work, I have &#8230; <a href="http://blog.amarkulo.com/defending-exchange-server-against-spam-with-spamassassin">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This short howto is written and done on Windows 2003 Server and Exchange 2003 Server.</p>
<p>Because lately I (among other users) have begun to receive large number of spam on e-mail server of the company where I work, I have decided to implement SpamAssassin which is primary made for Linux.</p>
<p>I have searched little bit on the net how to do it and found <a title="ESA Sink" href="http://www.christopherlewis.com/ESA/ExchangeSpamAssassin.htm" target="_blank">ESA Sink</a> written by Christopher G. Lewis. It works on the principle that SpamAssasin is working in serial mode (it scans one message at a time) and ESA Sink take incoming message from Exchange, outputs it to file, run that file through SpamAssasin and returns it to Exchange if it is OK.</p>
<p>Installation and configuration of everything is not that much complicated. It can be divided in following steps:</p>
<ol>
<li>Download and install the latest version of Active Perl from <a title="Active State" href="http://www.activestate.com/" target="_blank">Active State</a></li>
<li>Download <a title="NMake" href="http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe" target="_blank">NMake</a> from Microsoft and after extracting move files to c:\perl\bin</li>
<li>Download <a title="ESA Sink" href="http://www.christopherlewis.com/ESA/ExchangeSpamAssassin.htm" target="_blank">ESA Sink</a> from <a title="Christopher G. Lewis" href="http://www.christopherlewis.com/" target="_blank">Chris&#8217;s site</a></li>
<li>After installation of ESA Sink you will get <strong>ExchangeSpamassassin.ini </strong>file opened</li>
<li>Check config file values, change if necessary, I have changed MaxMsgSizeKB from -1 to 2048 = 2MB and leave it opened for later as well as installation</li>
<li>Now start command prompt, Start-&gt;Run-&gt;Cmd and enter ppm to start Perl Package Manager</li>
<li>If you receive message that ppm is not recognizable type <strong>set path=%path%;c:\perl\bin\</strong> and then <strong>ppm</strong></li>
<li>Now in PPM press<strong> Ctrl+1</strong> to see list of available perl modules for installation</li>
<li>Type <strong>Net-Dns</strong> in search field and when you get this package in list click with right mouse button on it and select install</li>
<li>Now we will do same thing for <strong>IO-Socket-INET6, IP-Country</strong> and <strong>Mail-SPF</strong></li>
<li>Now press <strong>Ctrl+Enter</strong> to install these packages and when it is done you can close <strong>PPM</strong></li>
<li>Download the latest version of <a title="SpamAssassin" href="http://spamassassin.apache.org/" target="_blank">SpamAssassin</a> and unzip it to c:\Mail-SpamAssassin-3.2.5 (3.2.5=current version that you are downloading, in my case 3.2.5)</li>
<li>In the command prompt now type cd c:\Mail-SpamAssassin-3.2.5</li>
<li>Type following command: perl makefile.pl and answer questions before compiling</li>
<li>Now we need to run nmake, so just type <strong>nmake /i </strong>(/i means that we want nmake to compile application ignoring errors)</li>
<li>After compiling we need to run <strong>nmake /i install</strong> to install compiled files</li>
<li>Unset read-only attribute from <strong>c:\perl\site\bin\spamassassin.bat </strong>file</li>
<li>Now to test SpamAssassin we will enter in command prompt to directory <strong>C:\Mail-SpamAssassin-3.2.5\t\data\spam </strong>and execute command <strong>spamassassin -D &lt; 001</strong></li>
<li>If you see lot of text on your command prompt it means that SpamAssassin works like it should and on the end of output you should find scoring for content of file <strong>001</strong></li>
<li>Now we will return to <strong>.ini</strong> file from ESA setup and change line <strong>SpamAssassin_Batch_File </strong>to points to the location of our <strong>spamassassin.bat</strong> file which is <strong>c:\perl\site\bin\spamassassin.bat</strong></li>
<li>Save and close file and finish the ESA installation</li>
<li>At the end of the installation you will leave checkbox to run ESA install script and click Finish button</li>
<li>Small command prompt window will come and leave as soon as ESA is installed</li>
<li>Now to see if it is working properly you can check <strong>C:\ESA\Ham</strong> or <strong>C:\ESA\Spam</strong> directories for files and you can send e-mail to yourself as well, if everything works you should find SpamAssassin information in header of the e-mail</li>
<li>To be sure that you don&#8217;t have any errors you can check C:\ESA\Log directory in which you should find log file with errors</li>
</ol>
<p>This configuration works OK on servers that don&#8217;t receive more than 1500-2000 e-mail per day, but I wouldn&#8217;t recommend it for higher number of e-mails without very strong machine, because in this configuration SpamAssassin works in serial mode, it process one object at a time and this includes downloading of e-mail to file, control against filters, control against URBL lists and then if everything is ok returning it to server for delivery.</p>
<p>For me it was simple test to see if it will work for us, it didn&#8217;t worked because of large number of e-mails that we receive (10 000+ per day) so I will go on solution to create Linux SpamAssassin gateway.</p>
<p>Note: I would recomend creating of small .bat script that will delete .out files older than 7 days to avoid running out of disk on your system disk</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/defending-exchange-server-against-spam-with-spamassassin/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reinstall Windows XP without activation</title>
		<link>http://blog.amarkulo.com/reinstall-windows-xp-without-activation</link>
		<comments>http://blog.amarkulo.com/reinstall-windows-xp-without-activation#comments</comments>
		<pubDate>Sat, 30 Aug 2008 23:31:16 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[reinstallation]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=132</guid>
		<description><![CDATA[If you had ever wanted to slip reactivating Windows XP after reinstallation here is one good tip from [Online Tech Tips]. There is only one file that is needed for sliping of reactivation and that is wpa.dbl which is located &#8230; <a href="http://blog.amarkulo.com/reinstall-windows-xp-without-activation">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you had ever wanted to slip reactivating Windows XP after reinstallation here is one good tip from [<a title="Online Tech Tips" href="http://www.online-tech-tips.com/" target="_blank">Online Tech Tips</a>]. There is only one file that is needed for sliping of reactivation and that is <strong>wpa.dbl</strong> which is located in <strong>C:\Windows\System32 </strong>directory.</p>
<p>So procedure would look like this:</p>
<ul>
<li>find <strong>wpa.dbl</strong> file and save it to some external media (usb disk, floppy, cd, etc.)</li>
<li>reinstall Windows</li>
<li>after reinstallation skip registration and activation</li>
<li>restart pc and on boot pres F8 to enter menu where you can select <strong>safe mode</strong></li>
<li>in safe mode rename existing <strong>wpa.dbl</strong> file to <strong>wpa.dbl.backup </strong>and copy old one</li>
<li>restart</li>
<li>VOILA!!</li>
</ul>
<p>So procedure is very simple and if you create your own installation cd with help of Nlite you can include this file too and skip activation after reinstallation.</p>
<p>Note: This file that you have saved can be used only on the PC that it comes from, on others it won&#8217;t work.</p>
<p>[<a title="Online Tech Tips" href="http://www.online-tech-tips.com/computer-tips/how-to-reactivate-windows/" target="_blank">Online Tech Tips</a>]</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/reinstall-windows-xp-without-activation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual desktop</title>
		<link>http://blog.amarkulo.com/virtual-desktop</link>
		<comments>http://blog.amarkulo.com/virtual-desktop#comments</comments>
		<pubDate>Sat, 23 Aug 2008 21:26:18 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[desktops]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[sysinternals]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtual desktop]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=88</guid>
		<description><![CDATA[Sysinternals, company that was started by two programmers and latter bought by Microsoft, had always good freeware tools for administration of windows. Best thing was that they were freeware. Yesterday they have published a new tool with symbolic name Desktops. &#8230; <a href="http://blog.amarkulo.com/virtual-desktop">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sysinternals, company that was started by two programmers and latter bought by Microsoft, had always good freeware tools for administration of windows. Best thing was that they were freeware.</p>
<p>Yesterday they have published a new tool with symbolic name Desktops.</p>
<p>This tool allows you to have up to 4 virtual desktops with separate systrays and programs on them. Even alt+tab combination doesn&#8217;t take programs from another virtual desktops so if you have runned program on one virtual desktop you won&#8217;t get it with alt+tab on another one.</p>
<p>Best of all, you can guess, it&#8217;s free, with size of only 62kb and you can get it <a title="Desktops" href="http://technet.microsoft.com/en-us/sysinternals/cc817881.aspx#">here</a>.</p>
<p style="text-align: center;"><img class="aligncenter" title="Desktops" src="http://i.technet.microsoft.com/cc817881.desktops2(en-us,MSDN.10).png" alt="" width="357" height="282" /></p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/virtual-desktop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free windows defragment tool replacement</title>
		<link>http://blog.amarkulo.com/defragment</link>
		<comments>http://blog.amarkulo.com/defragment#comments</comments>
		<pubDate>Tue, 19 Aug 2008 09:58:15 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[defrag]]></category>
		<category><![CDATA[defrag replacement]]></category>
		<category><![CDATA[defragment]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[jkdefrag]]></category>
		<category><![CDATA[replacement]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=71</guid>
		<description><![CDATA[I wasn&#8217;t satisfied with windows defragment tool so I Googled little about possible replacements and among others found JkDefrag. Here is a quote from web site of a JkDefrag: JkDefrag is a disk defragmenter and optimizer for Windows 2000/2003/XP/Vista/2008/X64. Completely &#8230; <a href="http://blog.amarkulo.com/defragment">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wasn&#8217;t satisfied with windows defragment tool so I Googled little about possible replacements and among others found <a title="JkDefrag home page" href="http://www.kessels.com/JkDefrag/index.html">JkDefrag</a>.</p>
<p>Here is a quote from web site of a JkDefrag:</p>
<blockquote>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left"></td>
<td><span style="font-family: Times New Roman,Times,serif;"> JkDefrag is a disk defragmenter and optimizer     for Windows 2000/2003/XP/Vista/2008/X64.     Completely automatic and very easy to use, fast, low overhead,     with several optimization strategies, and can handle floppies, USB     disks, memory sticks, and anything else that looks like a disk to Windows.     Included are a Windows version, a commandline version     (for scheduling by the task scheduler or for use from administrator scripts),     a screensaver version, a DLL library (for use from programming languages),     versions for Windows X64, and the complete sources. </span></td>
<td align="center"><a href="http://www.kessels.com/JkDefrag/License%20gpl.txt"><img src="http://www.kessels.com/JkDefrag/gnu-head-sm.jpg" border="0" alt="" width="129" height="122" /></a></td>
</tr>
</tbody>
</table>
</blockquote>
<p>Program is very simple, just unzip and run it, no installation, no configuration and what is most important it works well.</p>
<p>On home page of <a title="JkDefrag home page" href="http://www.kessels.com/JkDefrag/index.html">JkDefrag </a>you can download sources, executables and read some more info about it.</p>
<p>Read tips before defragmenting, they will increase speed of defragmentation.</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/defragment/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows update problems</title>
		<link>http://blog.amarkulo.com/windows-update-problems</link>
		<comments>http://blog.amarkulo.com/windows-update-problems#comments</comments>
		<pubDate>Sat, 02 Aug 2008 23:20:59 +0000</pubDate>
		<dc:creator>amar</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[0x80004002]]></category>
		<category><![CDATA[COM server]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wuauclt]]></category>

		<guid isPermaLink="false">http://dzo.blogsite.org/?p=28</guid>
		<description><![CDATA[I have recently reinstalled XP on my laptop and everything worked like a charm. I have downloaded 95% of windows updates including SP3 and .NET updates. BUT suddenly windows updates stopped working. This means also that Windows Defender could not &#8230; <a href="http://blog.amarkulo.com/windows-update-problems">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have recently reinstalled XP on my laptop and everything worked like a charm. I have downloaded 95% of windows updates including SP3 and .NET updates.</p>
<p>BUT suddenly windows updates stopped working. This means also that Windows Defender could not update as well.</p>
<p>The error that I received was 0&#215;80004002 and in c:\windows\windowsupdate.log I have found that this error was explained with text: <strong>Error: 0&#215;80004002. wuauclt handler: failed to spawn COM server.</strong></p>
<p>Some Googling helped and I have found that .dll files that were used by Windows Update were not registered correctly. I think that update of Windows Installer caused this mess because I have used Windows Update after reinstallation until one point where I was trying to download 1 or 2 remaining updates.</p>
<p>Easy fix for this is:</p>
<p>1. Start-&gt;Run-&gt;cmd</p>
<p>2. paste following and type enter</p>
<blockquote><p>regsvr32.exe c:\windows\system32\wuweb.dll<br />
regsvr32.exe c:\windows\system32\wups2.dll<br />
regsvr32.exe c:\windows\system32\wups.dll<br />
regsvr32.exe c:\windows\system32\wucltui.dll<br />
regsvr32.exe c:\windows\system32\wuaueng1.dll<br />
regsvr32.exe c:\windows\system32\wuaueng.dll<br />
regsvr32.exe c:\windows\system32\wuapi.dll</p></blockquote>
<p>3. Update</p>
<hr>
<p><div class="entry-utility">If you don't already have a <a href="http://db.tt/aqrG0tY">Dropbox</a> account then you can create it by clicking on my <a href="http://db.tt/aqrG0tY">affiliate link</a>. You will receive 2GB free account + 250 MB extra and I will receive 250 MB as well. Win-Win :-)</div></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amarkulo.com/windows-update-problems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

