<?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>unsharpTech &#187; dot.help Lab</title>
	<atom:link href="http://unsharptech.com/category/dot-help-lab/feed/" rel="self" type="application/rss+xml" />
	<link>http://unsharptech.com</link>
	<description>when the bleeding edge just doesn&#039;t cut it</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:06:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Sometimes Ghost is truly the best tool</title>
		<link>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/</link>
		<comments>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 11:37:16 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Amazing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=264</guid>
		<description><![CDATA[Lately I&#8217;ve been loving Clonezilla for rolling out refurbed Dell workstations. It&#8217;s been really cool, boot from USB &#8220;liveCD&#8221;, clone disk to disk directly over gigabit ethernet, reboot, repeat. But after doing 10 of them, I ran into the true limitation of Clonezilla. Clonezilla relies on ntfsclone and partimage (great tools) but they share a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-269" title="HDD stack" src="http://unsharptech.com/wp-content/uploads/cimg1722.jpg" alt="HDD stack" width="200" height="150" />Lately I&#8217;ve been loving <a href="http://clonezilla.org/">Clonezilla</a> for rolling out refurbed Dell workstations. It&#8217;s been really cool, boot from USB &#8220;liveCD&#8221;, clone disk to disk directly over gigabit ethernet, reboot, repeat. But after doing 10 of them, I ran into the true limitation of Clonezilla. Clonezilla relies on <a href="http://www.linux-ntfs.org/doku.php?id=ntfsclone">ntfsclone</a> and <a href="http://www.partimage.org/">partimage</a> (great tools) but they share a key weakness: neither can restore an NTFS drive or partition image to a smaller target &#8211; in my case it was a matter of a dozen sectors. It&#8217;s ironic because both tools only copy the used blocks and seem to support resizing but they just plain don&#8217;t do it. Needless to say I couldn&#8217;t accept that fact until I was done pounding my head against the issue thoroughly, then I used the de facto Windows imaging tool: Norton <a href="http://en.wikipedia.org/wiki/Norton_Ghost">Ghost</a>.</p>
<p>So, its 4:00 AM and I&#8217;m in the lab finishing up my Ghost disk-to-disk imaging on the remailing machines: total time to break remaining boxes and yank HDs + Ghost imaging time = 30 mins, time wasted to get to this point = 3 hours.</p>
<p>If anyone can prove me wrong concerning the shortcomings of Clonezilla, please do (and comment, <em>duh</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/08/01/sometimes-ghost-is-truly-the-best-tool/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix slow connections to Ubuntu SSH servers</title>
		<link>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/</link>
		<comments>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 06:18:16 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=187</guid>
		<description><![CDATA[As of Ubuntu 8.10 and older, connections to SSH servers with default configs can be annoyingly slow. This is because the OpenSSH daemon uses DNS to run a reverse lookup on the client to be sure that they aren&#8217;t faking their hostname. You can disable most look-ups by implementing the following setting: As root edit [...]]]></description>
			<content:encoded><![CDATA[<p>As of Ubuntu 8.10 and older, connections to SSH servers with default configs can be annoyingly slow. This<a href="http://unsharptech.com/wp-content/uploads/terminal.png" rel="lightbox[187]"><img class="alignright size-full wp-image-216" title="terminal" src="http://unsharptech.com/wp-content/uploads/terminal.png" alt="terminal" width="48" height="48" /></a> is because the OpenSSH daemon uses DNS to run a reverse lookup on the client to be sure that they aren&#8217;t faking their hostname. You can disable most look-ups by implementing the following setting:</p>
<p>As root edit &#8220;<code>/etc/ssh/sshd_config</code>&#8221; and add the line &#8220;<code>UseDNS no</code>&#8220;.</p>
<p>This can also be done by running the following command:</p>
<pre class="brush: php">sudo echo &quot;UseDNS no&quot; &gt;&gt; /etc/ssh/sshd_config</pre>
<p>Sources:</p>
<blockquote><p>This issue is <a href="http://www.openssh.org/faq.html#3.3">documented at OpenSSH.org</a></p>
<p>Fix and more details available at: <a href="http://tech.waltco.biz/2008/02/02/ssh-slow-to-connect-in-ubuntu-710-gutsy-gibbon/">http://tech.waltco.biz/2008/02/02/ssh-slow-to-connect-in-ubuntu-710-gutsy-gibbon/</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/04/11/fix-slow-connections-to-ubuntu-ssh-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hide Administrator from Welcome Screen in Vista</title>
		<link>http://unsharptech.com/2009/01/22/hide-administrator-from-welcome-screen-in-vista/</link>
		<comments>http://unsharptech.com/2009/01/22/hide-administrator-from-welcome-screen-in-vista/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 22:04:20 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[How2]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=182</guid>
		<description><![CDATA[By default the Administrator account in Vista is Disabled &#8211; everything is run in a sudo fashion without actually logging in to the Administrator account. Some times due to external password recovery systems or other various reasons the built-in Administrator account is enabled, causing it to show up on the Welcome Screen. In order to [...]]]></description>
			<content:encoded><![CDATA[<p>By default the Administrator account in Vista is Disabled &#8211; everything is run in a sudo fashion without<a href="http://unsharptech.com/wp-content/uploads/vista-icon.jpg" rel="lightbox[182]"><img class="alignright size-full wp-image-213" title="vista-icon" src="http://unsharptech.com/wp-content/uploads/vista-icon.jpg" alt="vista-icon" width="119" height="110" /></a> actually logging in to the Administrator account. Some times due to external password recovery systems or other various reasons the built-in Administrator account is enabled, causing it to show up on the Welcome Screen.</p>
<p>In order to stop the Administrator account from showing as a login option on the Welcome Screen in Windows Vista you need to set the Administrator account to not active with the <code>net user</code> command from an Administrative <code>cmd</code> prompt as follows:</p>
<pre class="brush: php">net user Administrator /active:no</pre>
<p>Some people report that the &#8220;/&#8221; causes the command to fail, try it without:</p>
<pre class="brush: php">net user Administrator active:no</pre>
<p>From then on the the Administrator account should no longer show on the Welcome Screen.</p>
<p>SOURCE:</p>
<blockquote><p><a href="http://www.mydigitallife.info/2007/08/10/activate-enable-and-show-administrator-account-in-vista-welcome-screen/">http://www.mydigitallife.info/2007/08/10/activate-enable-and-show-administrator-account-in-vista-welcome-screen/</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2009/01/22/hide-administrator-from-welcome-screen-in-vista/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fix Vista Update Loop</title>
		<link>http://unsharptech.com/2008/12/18/fix-vista-update-loop/</link>
		<comments>http://unsharptech.com/2008/12/18/fix-vista-update-loop/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 00:08:46 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=128</guid>
		<description><![CDATA[Symptoms include this message on boot: &#8220;configuring updates stage 3 of 3. 0% complete&#8221; and then an automatic reboot and the same message over and over again in an endless loop. Some people say to just let it sit while plugged in to the &#8216;net or to try a repair install but without any restore [...]]]></description>
			<content:encoded><![CDATA[<p>Symptoms include this message on boot:<a href="http://unsharptech.com/wp-content/uploads/vista-icon.jpg" rel="lightbox[128]"><img class="alignright size-full wp-image-213" title="vista-icon" src="http://unsharptech.com/wp-content/uploads/vista-icon.jpg" alt="vista-icon" width="119" height="110" /></a></p>
<blockquote><p>&#8220;configuring updates stage 3 of 3. 0% complete&#8221;</p></blockquote>
<p>and then an automatic reboot and the same message over and over again in an endless loop.</p>
<p><span id="more-128"></span>Some people say to just let it sit while plugged in to the &#8216;net or to try a repair install but without any restore points you aren&#8217;t going to get anywhere.</p>
<p>For some odd reason they removed the Method 3 from <a href="http://support.microsoft.com/default.aspx/kb/949358">this MS help article</a>, here is a copy of it:<br />
<strong>Method 3:</strong></p>
<p><strong> </strong><em>Rename the Pending.xml file, and then edit the registry.</em></p>
<p><em>To rename the Pending.xml file and to edit the registry, follow these steps.</em></p>
<p><strong>Start Windows Vista and go to the System Recovery options</strong>:</p>
<p>1.       Insert the Windows Vista installation disc in the disc drive, and then restart the computer.</p>
<p>2.       When you are prompted to restart from the disc, press any key.</p>
<p>3.       When you are prompted, configure the <strong>Language to install, Time and currency format</strong>, and <strong>Keyboard or input method</strong> options that you want, and then click <strong>Next</strong>.</p>
<p>4.       On the <strong>Install Windows</strong> page, click <strong>Repair your computer</strong>.</p>
<p>5.       On the <strong>System Recovery Options</strong> page, click the version of the Windows Vista operating system that you want to repair, and then click <strong>Next</strong>.</p>
<p><strong>Use the System Recovery options to rename the Pending.xml file and edit the registry</strong>:</p>
<p>1.       On the <strong>System Recovery Options</strong> page, click <strong>Command Prompt</strong>.</p>
<p>2.       Type <strong><code>cd C:\windows\winsxs</code></strong>, and then press ENTER.</p>
<p>3.       Type <strong><code>ren pending.xml pending.old</code></strong>, and then press ENTER.</p>
<p>4.       Type <strong>regedit</strong>, and then press ENTER.</p>
<p>5.       Select <strong>HKEY_LOCAL_MACHINE</strong>.</p>
<p>6.       On the <strong>File</strong> menu, click <strong>Load Hive</strong>.</p>
<p>7.       Locate the following folder: <code>C:\windows\system32\config\components</code></p>
<p>8.       When you are prompted for a name, type <strong>Offline_Components</strong>.</p>
<p>9.       In Registry Editor, locate and then delete the following registry subkey:</p>
<p><code>HLKM\Offline Components\AdvancedInstallersNeedResolving</code></p>
<p><code>HKLM\Offline Components\PendingXmlIdentifier</code></p>
<p><strong>Exit Registry Editor</strong>:</p>
<p>1.       At the command prompt, type <strong>exit</strong> to exit Registry Editor.</p>
<p>2.       Press ENTER.</p>
<p>3.       Click <strong>Restart</strong>.</p>
<p>When you can actually log in again, the following hotfixes are supposed to prevent the loop from returning &#8211; I haven&#8217;t had much luck in installing them (usually says I don&#8217;t need them) but maybe they will help you:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5639710d-dfbf-4527-806e-9a1634d0cc8e&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=5639710d-dfbf-4527-806e-9a1634d0cc8e&amp;DisplayLang=en</a></p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=1adf1d6c-ad46-4d09-a99c-ba3b1d9bcf4f&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=1adf1d6c-ad46-4d09-a99c-ba3b1d9bcf4f&amp;displaylang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/12/18/fix-vista-update-loop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Missing User Accounts in Windows XP</title>
		<link>http://unsharptech.com/2008/12/12/missing-user-accounts-in-windows-xp/</link>
		<comments>http://unsharptech.com/2008/12/12/missing-user-accounts-in-windows-xp/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 20:37:35 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=122</guid>
		<description><![CDATA[So this time they weren&#8217;t hidden &#8217;cause they weren&#8217;t in the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList But they didn&#8217;t show up in the Accounts Control Panel or in Run &#62; control userpasswords2. But they do show up when you run the command: net user aaand each account is active.. BUT they had no groups assigned to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-234" title="xp-logo" src="http://unsharptech.com/wp-content/uploads/xp-logo-150x150.jpg" alt="xp-logo" width="150" height="150" />So this time they weren&#8217;t hidden &#8217;cause they weren&#8217;t in the following registry key:</p>
<pre class="brush: php">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\SpecialAccounts\UserList</pre>
<p>But they didn&#8217;t show up in the Accounts Control Panel or in Run &gt; <code>control userpasswords2</code>.</p>
<p>But they do show up when you run the command:</p>
<pre class="brush: php">net user</pre>
<p>aaand each account is active.. BUT they had <strong>no groups assigned to them</strong> and since it was <strong>XP Home Edition</strong> we didn&#8217;t have access to the groups snap in.</p>
<p>So, thanks to Google we found the proper syntax for adding a user (&#8220;username&#8221;) to a group (&#8220;Administrators&#8221;) with the net command:</p>
<pre class="brush: php">net localgroup Administrators username /add</pre>
<p>Sources:</p>
<blockquote><p><a href="http://www.ss64.com/nt/net_useradmin.html">http://www.ss64.com/nt/net_useradmin.html</a></p>
<p><a href="http://www.theeldergeek.com/create_hidden_user_account.htm">http://www.theeldergeek.com/create_hidden_user_account.htm</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/12/12/missing-user-accounts-in-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful find Commands</title>
		<link>http://unsharptech.com/2008/08/16/useful-find-commands/</link>
		<comments>http://unsharptech.com/2008/08/16/useful-find-commands/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 13:34:54 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[How2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[dot.help Lab]]></category>

		<guid isPermaLink="false">http://unsharptech.com/?p=92</guid>
		<description><![CDATA[Recursive, multi-file find and replace with grep and xargs for performance: Source: http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html grep -rl &#039;what_to_find&#039; ./ &#124; xargs sed -i &#039;s/what_to_find/what_to_replace_with/g&#039; Put  a not in front of that expression: find ./ ! -type d Escape wildcards to avoid the shell expanding them: If you just quote it; &#8220;*.avi&#8221; you can often run into trouble. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Recursive, multi-file find and replace with grep and xargs for performance:</strong></p>
<p>Source: <a href="http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html">http://www.jonasblog.com/2006/05/search-and-replace-in-all-files-within-a-directory-recursively.html</a></p>
<pre class="brush: bash">grep -rl &#039;what_to_find&#039; ./ | xargs sed -i &#039;s/what_to_find/what_to_replace_with/g&#039;</pre>
<p><strong>Put  a not in front of that expression:</strong></p>
<pre class="brush: bash">find ./ ! -type d</pre>
<p><strong>Escape wildcards to avoid the shell expanding them:</strong></p>
<p>If you just quote it; <em>&#8220;*.avi&#8221;</em> you can often run into trouble.</p>
<pre class="brush: bash">find ./ -name \*.avi</pre>
<p><strong>Prune empty directories</strong></p>
<pre class="brush: bash">find ./ -depth -type d -empty -exec rmdir -v {} \;</pre>
<p>Source: <a href="http://duramecho.com/ComputerPrograms/DeleteEmptyDirectories/index.html">http://duramecho.com/ComputerPrograms/DeleteEmptyDirectories/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unsharptech.com/2008/08/16/useful-find-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
