<?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>Ramblings of a Coder&#039;s Mind &#187; Hacks</title>
	<atom:link href="http://karunab.com/category/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://karunab.com</link>
	<description>Got Tech? Will Hack.</description>
	<lastBuildDate>Sun, 04 Jul 2010 06:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Windows File Sharing: Add/Remove folders via Command Line</title>
		<link>http://karunab.com/2010/07/04/windows-file-sharing-addremove-folders-via-command-line/</link>
		<comments>http://karunab.com/2010/07/04/windows-file-sharing-addremove-folders-via-command-line/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 06:35:51 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows File Share]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=307</guid>
		<description><![CDATA[Your first thought on reading this probably is &#8220;Why in the world would I need to do that?&#8221; Well, I would have thought of it the same way a week back. But it seems some times, Windows does not want to give access to certain features such as Advanced File Sharing options. It states that [...]]]></description>
			<content:encoded><![CDATA[<p>Your first thought on reading this probably is &#8220;Why in the world would I need to do that?&#8221; Well, I would have thought of it the same way a week back. But it seems some times, Windows does not want to give access to certain features such as Advanced File Sharing options. It states that the administrator on my machine has disallowed this operation. Guess what? I&#8217;m the only administrator on this machine! Since I was unable to find the option to get that feature working, I decided to resort to some good old Command Line usage :)</p>
<p>To remove a file/folder from share <img class="alignright size-medium wp-image-309" title="Windows File Sharing - Blocked by administrator" src="http://karunab.com/wp-content/uploads/2010/07/Windows-File-Sharing-Blocked-by-administrator-300x156.png" alt="" width="300" height="156" />and type the following command in an elevated instance of command  prompt:</p>
<blockquote><p>net share <em>&lt;shareName&gt;</em> /delete</p></blockquote>
<p>To add a file/folder to share and type the following command in an elevated instance of command prompt:</p>
<blockquote><p>net share <em>&lt;shareName&gt;</em>=<em>&lt;pathToSharedFile&gt;</em></p></blockquote>
<p>An example of an add and delete command would be as follows</p>
<blockquote><p>net share &#8220;Completed Downloads&#8221;=&#8221;D:\Completed Downloads&#8221;<br />
net share &#8220;Completed Downloads&#8221; /delete</p></blockquote>
<p>At times, I was not required to use an elevated command prompt instance but if you get message stating &#8220;Access Denied&#8221;, you should run the command after elevation. To do so, type out &#8220;Command Prompt&#8221; in your start menu and then use the right click &gt; Run as administrator option or you could simply use Shift+Enter to do the same :)</p>
<p>Simple enough, right? ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2010/07/04/windows-file-sharing-addremove-folders-via-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying Minefield 3.7a1pre</title>
		<link>http://karunab.com/2009/11/03/trying-minefield-3-7a1pre/</link>
		<comments>http://karunab.com/2009/11/03/trying-minefield-3-7a1pre/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 10:15:48 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Alpha]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=260</guid>
		<description><![CDATA[Ever since I started using Win7 (first public beta) I have liked one thing about Internet Explorer that Firefox couldn&#8217;t do. This was the ability to use Win7&#8242;s Aero prowess completely rendering each tab in the Aero preview for Firefox. At the time, Microsoft hadn&#8217;t come out with the Win7 UX Interaction Guide but it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Ever since I started using Win7 (<a title="My first encounter with Windows 7" href="http://karunab.com/2009/01/10/windows-7-public-beta-serial-key-fiasco/" target="_blank">first public beta</a>) I have liked one thing about Internet Explorer that Firefox couldn&#8217;t do. This was the ability to use Win7&#8242;s Aero prowess completely rendering each tab in the Aero preview for Firefox. At the time, Microsoft hadn&#8217;t come out with the <a title="Windows User Experience Interaction Guide" href="http://msdn.microsoft.com/en-us/library/aa511258.aspx" target="_blank">Win7 UX Interaction Guide</a> but it&#8217;s been out for a few months and I was quite disappointed that Mozilla didn&#8217;t jump at the opportunity to release an upgrade.</p>
<p>A couple of weeks back, I saw screen shots of my friends&#8217; browsers and noticed they were using Minefield. They confirmed that 3.7a1pre does indeed have full Aero support so I finally upgraded. I must say, it&#8217;s a great update.</p>
<p>As you can see from the screen shot, it doesn&#8217;t really like some pages in the Aero preview. I am pretty sure it&#8217;s an AJAX thing.</p>
<p>Of course, if you consider updating, quite a few of your plug-ins will not work simply because of the version compatibility checks. A simple way to by pass this is to install the <a href="https://addons.mozilla.org/en-US/firefox/addon/6543" target="_blank">Nightly Tester Tools</a> to skip Firefox&#8217;s version compatibility checks. Most add-ons should work fine.</p>
<p>There are a few add-ons I&#8217;d like to recommend with this alpha. Try checking out <a title="Strata40 on Mozilla add-ons" href="https://addons.mozilla.org/en-US/firefox/addon/14284" target="_blank">Strata40</a>, <a title="StrataBuddy on Mozilla add-ons" href="https://addons.mozilla.org/en-US/firefox/addon/14762" target="_blank">StrataBuddy</a> and <a title="StrataGlass on Mozilla add-ons" href="https://addons.mozilla.org/en-US/firefox/addon/14288" target="_blank">StrataGlass</a>. StrataGlass is amazing (works on any machine running on Vista/7) but it did give me problems on some pages so I disabled it. However, it is a great idea and it looked really nice. If someone irons out the wrinkles, I&#8217;d love to wear it everyday with my Firefox :)</p>
<p>Another small change I&#8217;d definitely recommend to users is going to <em>about:config</em>, past the warning, searching for the <em>browser.ctrlTab.previews</em> setting and setting the value to true (simply double click on it to toggle). After this, try <strong>Ctrl+Tab</strong> to get tab previews. If you think this is cool, try <strong>Ctrl+Shift+Tab</strong> to get previews with the ability to search between them. Doesn&#8217;t that make life easier when you have loads of tabs? ;)</p>
<p>I&#8217;d like to thank my friend <a title="Nitrolinken's empty-ish website that's never to have any content" href="http://www.nitrolinken.net/" target="_blank">Nitro</a> for showing me the Strata add-ons and telling me about the Ctrl+Tab setting ;) Ctrl+Shift+Tab was purely luck ;)</p>
<p>PS: <a title="Manan's e-residence" href="http://beingmanan.com/" target="_blank">Manan</a> <a href="http://twitter.com/manan/status/5387425273" target="_blank">asked me over twitter</a> about the memory usage of Minefield 3.7a1pre and I must say, it&#8217;s quite low. In fact, with 8 tabs (none of which are heavy on AJAX other than the WordPress panel), I&#8217;m using 125MB RAM. Though I&#8217;ve not confirmed it, I&#8217;d say that&#8217;s slightly lesser or the same as regular Firefox and Minefield even seems a tad bit faster and more responsive even with all my regular add-ons ;) Impressive :)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2009/11/03/trying-minefield-3-7a1pre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Home Server: Part 1</title>
		<link>http://karunab.com/2009/09/10/building-a-home-server-part-1/</link>
		<comments>http://karunab.com/2009/09/10/building-a-home-server-part-1/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 18:49:29 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[FreeNAS]]></category>
		<category><![CDATA[Home Server]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows Home Server]]></category>

		<guid isPermaLink="false">http://karunab.com/2009/09/10/building-a-home-server-part-1/</guid>
		<description><![CDATA[The first question in your head would be “Why the world do I need a Home Server?” Good question. I’d like to ask you a couple of things. Do you have multiple machines in your house? Do you ever feel like you should have centralized storage in your house? Do you have old hardware simply [...]]]></description>
			<content:encoded><![CDATA[<p>The first question in your head would be “<strong>Why the world do I need a Home Server?</strong>”</p>
<p>Good question. I’d like to ask you a couple of things. Do you have multiple machines in your house? Do you ever feel like you should have centralized storage in your house? Do you have old hardware simply lying around the house waiting to be tinkered with? Do you like playing with your machines?</p>
<p>If you said yes to (most) of the above questions, having a Home Server could help you :) It can handle not only centralized storage of media and documents but also backups. Have you ever needed a file from <em>computer x</em> in your house and found it was shut down after being used by a family member? Well, you wouldn’t have this issue if you had a central server. People could go around switching off their machines all they want as long as you have the file you want on your Storage Server.</p>
<p>Lets get into it then. From now, I’ll walk you through how to make your old machine into a <a href="http://en.wikipedia.org/wiki/Network-attached_storage" target="_blank">Network Attached Server (NAS)</a>.</p>
<p><span id="more-240"></span></p>
<h3><em>1) <span style="text-decoration: underline;">Hardware</span></em></h3>
<p>Any hardware is fine for a Home Server. The main purpose (at least in this case) is central file storage for all devices and this doesn’t require much resources on the processing side. Lets start with the specifications of this machine:</p>
<table border="1" width="436">
<tbody>
<tr>
<td width="63">CPU</td>
<td width="371">Pentium 4; 3.06 GHz; 512MB Cache; 533 MT/s</td>
</tr>
<tr>
<td width="63">Motherboard</td>
<td width="371">MSI 865 Chipset motherboard; 2xIDE + 1xSATA controllers</td>
</tr>
<tr>
<td width="63">RAM</td>
<td width="371">2x512MB DDR1 @ 400MHz</td>
</tr>
<tr>
<td width="63">GPU</td>
<td width="371">NViDIA GeForce 5300 with 256MB GDDR RAM</td>
</tr>
</tbody>
</table>
<p>Now that is a pretty good processor for this purpose, I agree. You should be fine using a Celeron or even a Pentium 3.</p>
<h3><em>2) <span style="text-decoration: underline;">Operating System</span></em></h3>
<p>The next important question is the choice of operating systems. To answer these, you need to look at your usage of the server.</p>
<table border="1" width="988">
<tbody>
<tr>
<td width="162">
<p align="center"><strong>Operating System</strong></p>
</td>
<td width="416">
<p align="center"><strong>Advantages</strong></p>
</td>
<td width="408">
<p align="center"><strong>Disadvantages</strong></p>
</td>
</tr>
<tr>
<td width="162">Windows Server 2003</td>
<td width="416">Lighter than other WinServers</td>
<td width="408">Already 6 years into the product cycle</td>
</tr>
<tr>
<td width="162">Windows Server 2008</td>
<td width="416">Handles advanced requirements</td>
<td width="408">Requires lot of resources; Requires lots of effort to set up</td>
</tr>
<tr>
<td width="162">Windows Server 2008 R2</td>
<td width="416">Latest WinServer OS; Handles advanced requirements</td>
<td width="408">Requires x64 or x86-64 processors</td>
</tr>
<tr>
<td width="162">Windows Home Server</td>
<td width="416">Supports headless mode; Easy NAS setup; Handles Windows Backups; Integrates well with Windows Media Center across the network</td>
<td width="408">Horrible Setup; Requires PP3 for Win7 support (still in beta; available on Microsoft <a href="http://connect.microsoft.com/" target="_blank">Connect</a>); Requires at least 80GB on primary drive.</td>
</tr>
<tr>
<td width="162">Ubuntu/Xubuntu</td>
<td width="416">Medium/Light weight; Free; Multipurpose</td>
<td width="408">Would require some effort to set up</td>
</tr>
<tr>
<td width="162">FreeNAS</td>
<td width="416">Light weight; Free; Fast; Made for NAS; Made for headless mode; Small size; Web GUI; Supports multiple protocols</td>
<td width="408">Isn’t easy to customize beyond packages provided already</td>
</tr>
</tbody>
</table>
<p>I really wanted to run Windows Server 2008 R2 but since this processor is an x86 one, I couldn’t. Windows Server 2008 gave me sluggish performance so I gave it the axe by the end of the night. I didn’t want to try Windows Server 2003 since it was quite old. More importantly, I found Windows Home Server by that time, a product made specifically for Home Servers and it was made using Windows Server 2003 as base ;)</p>
<p>I must say, Windows Home Server (WHS) really has the most horrible OS installer I have seen on a Windows operating system. When it was all set and done, I ran updates and everything but whilst using it, I really wasn’t impressed :( Don’t get me wrong, it is pretty darn good but India is a place where Windows Media Center doesn’t give you everything that it does in countries like the United States. It surely has potential and may be some day, it will even make its way on to my server. But for now, I can’t do so especially since I don’t have a IDE drive greater than 80GB that can run the WHS. If you read my system specs correctly, you’d have noticed this old machine has only one IDE port, which I’m reserving for at least a 1TB drive.</p>
<p>I started considering Linux! (yes, I said Linux). I considered using <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a>/<a href="http://www.xubuntu.org/" target="_blank">Xubuntu</a> on the machine, as an obvious choice for any Linux newbie. For those who don’t know the difference between the two, <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> uses <a href="http://en.wikipedia.org/wiki/GNOME" target="_blank">Gnome</a> for its UI and <a href="http://www.xubuntu.org/" target="_blank">Xubuntu</a> uses <a href="http://en.wikipedia.org/wiki/KDE" target="_blank">KDE</a>. Other than that, they are identical. If you don’t have a choice towards either, I’d tell you to go for Xubuntu if you’ve got an older machine (or just like a machine with free resources). KDE requires lesser resources and should run almost anywhere. I saw this pretty detailed article about setting up a home server on Xubuntu that you should check out if Ubuntu/Xubuntu is your OS of choice.</p>
<p>Then comes the final choice, FreeNAS. If you want a NAS, you can’t go wrong with FreeNAS. Weighing in at around 70 megabytes for a live CD with installer, its a really good choice. It is built on <a href="http://www.freebsd.org/" target="_blank">FreeBSD</a> and I must say, its pretty extensive. Just have a look at <a href="http://en.wikipedia.org/wiki/FreeNAS#Features" target="_blank">FreeNAS’ list of features</a>; its insane!</p>
<p>I’d suggest you go with FreeNAS if you just want to use your server as a NAS. It uses Samba to give you CIFS (in non technical jargon, it allows you to share files in a network like Windows does) and provides support for protocols like FTP, SSH, BitTorrent and iTunes. It can be extended to support <a href="http://en.wikipedia.org/wiki/XBMC" target="_blank">XMBC</a> and <a href="http://en.wikipedia.org/wiki/SlimServer" target="_blank">SlimServer</a>. It also allows you to host a web server using <a href="http://www.lighttpd.net/" target="_blank">lighttpd</a> and even supports <a href="http://en.wikipedia.org/wiki/Uninterruptible_power_supply" target="_blank">UPS</a>, <a href="http://en.wikipedia.org/wiki/Self-Monitoring,_Analysis,_and_Reporting_Technology" target="_blank">SMART</a>, <a href="http://en.wikipedia.org/wiki/ZFS" target="_blank">ZFS</a>, <a href="http://en.wikipedia.org/wiki/RAID" target="_blank">RAID</a> and most NICs and IDE/SATA disk controllers. If there is anything that you need to do that you can’t see on this list and can’t manage to get FreeNAS to do (I believe it will run almost anything which runs on FreeBSD) then you can move to Ubuntu/Xubuntu. You <em>could</em> even run ASP .NET pages off Linux web servers (haven’t tried it yet) with the limited support that Mono provides :)</p>
<p>Part 2 of the tutorial will have the basic setup for FreeNAS and how to get CIFS working. Subsequent parts will talk about setting up FTP, SSH, BitTorrent and Web Server with MySQL and phpmyadmin. You never know, if I can get it to execute ASP .NET as well, you guys will be the first to know! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2009/09/10/building-a-home-server-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The power of the Windows key!</title>
		<link>http://karunab.com/2009/05/23/the-power-of-the-windows-key/</link>
		<comments>http://karunab.com/2009/05/23/the-power-of-the-windows-key/#comments</comments>
		<pubDate>Sat, 23 May 2009 09:05:10 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://karunab.com/2009/05/23/the-power-of-the-windows-key/</guid>
		<description><![CDATA[The Windows key might have started as something a tad bit redundant (considering Ctrl+Esc does the same thing) but the Windows Key is so much more. I have already spoken about the Win+(1-9) to activate programs in Vista’s Quick Launch Toolbar and its transition to taskbar applications in Windows 7. Of course, everyone knows about [...]]]></description>
			<content:encoded><![CDATA[<p>The Windows key might have started as something a tad bit redundant (considering Ctrl+Esc does the same thing) but the Windows Key is so much more.</p>
<p>I have already spoken about the Win+(1-9) to activate programs in Vista’s Quick Launch Toolbar and its transition to taskbar applications in Windows 7. Of course, everyone knows about Win+Tab activating Aero Flip 3D but there is more to this.</p>
<p>Here is one that really strikes me as super-useful. On Windows 7, you can now use Win+Up to maximize a window, Win+Down to restore a maximized window and minimize a restored one, Win+Left/Right to Aero Snap it to the left/right of the screen. Keyboard warriors such as myself are going to love this! :)</p>
<p>I’ve already fallen head over heals for Aero Snap on my 1080p laptop monitor. It kind of makes up for my need for dual monitors. Aero snapping with the laptop track pad was a tad bit inconvenient. Issue no more! :)</p>
<p>Here’s a list of Win shortcuts I can think of which work in Windows 7. I have found that a lot of keyboard warriors don’t know quite a few shortcuts. Sharing always helps ;)</p>
<ul>
<li><strong><span style="text-decoration: underline;">Win</span>:</strong> Open/Close Start Menu</li>
<li><strong><span style="text-decoration: underline;">Win+F</span>:</strong> Windows Search</li>
<li><strong><span style="text-decoration: underline;">Win+Tab</span>:</strong> Aero Flip</li>
<li><strong><span style="text-decoration: underline;">Win+Up</span>:</strong> Maximize a restored window</li>
<li><strong><span style="text-decoration: underline;">Win+Down</span>:</strong> Restore a maximized window or minimize a restored window</li>
<li><strong><span style="text-decoration: underline;">Win+Left</span>:</strong> Aero Snap to the left of the screen</li>
<li><strong><span style="text-decoration: underline;">Win+Right</span>:</strong> Aero Snap to the right of the screen</li>
<li><strong><span style="text-decoration: underline;">Win+D</span>:</strong> Show desktop (Forced)</li>
<li><strong><span style="text-decoration: underline;">Win+M</span>:</strong> Minimize all windows</li>
<li><strong><span style="text-decoration: underline;">Win+M+Shift</span>:</strong> Restore windows after Minimizing all of them</li>
<li><strong><span style="text-decoration: underline;">Win+(1-9)</span>:</strong> Activate Window from task bar</li>
<li><strong><span style="text-decoration: underline;">Win+X</span>:</strong> Open Windows Mobility Center (Non Desktops only)</li>
<li><strong><span style="text-decoration: underline;">Win+L</span>:</strong> Lock Desktop</li>
<li><strong><span style="text-decoration: underline;">Win+Space</span>:</strong> Show sidebar (in Vista); Possibly doing the same in Windows 7 (different Sidebar functionality in 7)</li>
<li><strong><span style="text-decoration: underline;">Win+E</span>:</strong> Open My Computer</li>
<li><strong><span style="text-decoration: underline;">Win+B</span>:</strong> Jump control to (select) Notification Area (System Tray)</li>
<li><strong><span style="text-decoration: underline;">Win+Pause/Break</span>:</strong> Open System Properties</li>
<li><strong><span style="text-decoration: underline;">Win+P</span>:</strong> Computer Projection modes</li>
<li><strong><span style="text-decoration: underline;">Win+F1</span>:</strong> Open Windows Help and Support</li>
<li><strong><span style="text-decoration: underline;">Win+R</span>:</strong> Open Run Dialog</li>
<li><strong><span style="text-decoration: underline;">Win+Shift+Left/Right</span>:</strong> Move to the monitor to the left/right of the screen (circular; for multi-monitor systems)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2009/05/23/the-power-of-the-windows-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chrome Tips</title>
		<link>http://karunab.com/2008/09/07/chrome-tips/</link>
		<comments>http://karunab.com/2008/09/07/chrome-tips/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 09:59:47 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Browser]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=82</guid>
		<description><![CDATA[Custom Search Engine: Right click the address bar and click Edit search engine. Click add, fill in a name and a keyword followed by the search query. For adding the Messenger Plus Forum Search engine I used the name as &#8220;Messenger Plus! Forum Search&#8221; (doesn&#8217;t really matter what you use here), the keyword as &#8220;mpf&#8221; [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li><strong><span style="text-decoration: underline;">Custom Search Engine</span>:</strong> Right click the address bar and click Edit search engine. Click add, fill in a name and a keyword followed by the search query.<br />
For adding the Messenger Plus Forum Search engine I used the name as &#8220;Messenger Plus! Forum Search&#8221; (doesn&#8217;t really matter what you use here), the keyword as &#8220;mpf&#8221; and the url as &#8220;<span style="color: #0000ff;"><span style="color: #99cc00;">http://msghelp.net/basicsearch.php?do=search&amp;keywords=</span></span><strong><em><span style="color: #0000ff;"><span style="color: #99cc00;">%s</span></span></em></strong>&#8221; where <em>%s</em> represents the search query entered. As a result of adding this, I can now search the MP!F simply by typing &#8220;mpf &#8220;. I love search shortcuts :)</li>
<li><strong><span style="text-decoration: underline;">Searching Google.com instead of your local (regional) google site</span>:</strong> This is really a continuation of the previous tip but I just felt it was worthy of being here :P There is a fault (imo) with the default google search engine in Chrome. The keyword is set to &#8220;google.com&#8221;. Why type all that when you could simply use &#8220;<strong>g</strong>&#8221; ;) Also, if you have a look at the google search url in chrome, it uses a base query identifier to redirect to your local google. I just changed mine to &#8220;<span style="color: #99cc00;"><span>http://google.com/search?q=</span></span><span style="color: #99cc00;"><strong><em><span><span>%s</span></span></em></strong></span>&#8221; because while posting google links (especially on irc) to have to remove my browser info every time and sometimes even my country tld in the google domain. This way, it makes it easier for me to paste links though I do realise that google might lose out on accurate statistics of its users because of this but I don&#8217;t think it&#8217;d mind a handful of users changing their queries when it has billions of searches everyday ;) I&#8217;ve also changed my wiki keyword to &#8220;<strong>w</strong>&#8221; and urbandictionary.com keyword to &#8220;<strong>ud</strong>&#8220;</li>
<li><strong><span style="text-decoration: underline;">Memory stats for nerds</span>:</strong> Well I am a geek/nerd who likes his stats, memory or otherwise ;) Typing about:memory in your url bar ought to take you to some stats while you can do the same by clicking <strong>Shift+Esc</strong> for basic stats and then clicking &#8220;<em>Stats for nerds</em>&#8220;. The advanced stats also shows details of Chrome vs other browsers (which should be running at the same time). So you can run Chrome,  Internet Explorer, Firefox, Opera and Safari at the same time and compare statistics if you wish ;) Having it update live would have been cooler but that might take up a lot of resources in itself :P Maybe it should auto refresh when someone&#8217;s watching but if you go switch to another tab/application or are idle you could stop refreshing it automatically. :)</li>
<li><strong><span style="text-decoration: underline;">Resizing Textboxes</span>:</strong> You can now resize textboxes by holding down the left mouse button at the bottom right corner and dragging it. And here&#8217;s poor <a title="dt's labrinth" href="http://thedt.net" target="_blank">dt</a> who wrote a ton of javascript to do the same in <a title="dtblog" href="http://blog.thedt.net" target="_blank">dtblog</a>.</li>
<li><span style="text-decoration: underline;"><strong>Check Loadtimes</strong></span><strong>:</strong> Want to know what took the page so long to load? Do you want to know how long it took your javascript code to execute? Chrome is here to help! Right click anywhere on the page and select &#8220;Inspect Element&#8221;. Just move on over to the resources tab and analyse away :)</li>
<li><strong><span style="text-decoration: underline;">Detaching and reattaching tabs</span>:</strong> Tired of having so many tabs in one single window? Want to sort tabs according to what kind of work you&#8217;re doing? Sure that&#8217;s possible! Drag a tab outside the tab area and drop it. Voila! Brand new chrome window. Each tab in Chrome is a new process anyway so it doesn&#8217;t really matter ;)</li>
<li><strong><span style="text-decoration: underline;">Private Browsing</span>:</strong> You could need to browse privately either to not tell the world of your searches on medical histories, viewing porn (:P) or planning that secret trip for your <a title="Urban Dictionary definition: Significant Other" href="http://www.urbandictionary.com/define.php?term=significant+other" target="_blank">significant other</a>, who cares? <a title="Google Support page for Incognito" href="http://www.google.com/support/chrome/bin/answer.py?answer=95464&amp;hl=en-US" target="_blank">Incognito</a> to the rescue! Press &#8221;<strong>Ctrl+Shift+N</strong>&#8221; or just click the new page icon followed by &#8220;New Incognito Window&#8221;. Incognito is basically opens a private browsing session for you where no traces of what you were doing show up thus maintaining full privacy.</li>
<li><strong><span style="text-decoration: underline;">Easter Eggs</span>:</strong> Lets end with something fun! Hopefully most of you already know of the <em>about:mozilla</em> easter egg in Mozilla Firefox which pulls out a quote from The Book of Mozilla. Here&#8217;s one for Chrome that doesn&#8217;t work on Vista. Type in <em>about:internets</em> in the chrome window and you&#8217;ll see sspipes.scr run with the title &#8220;Don&#8217;t clog the tubes&#8221;. Doing so on Vista will show a gray tab with the title &#8220;The Tubes are Clogged!&#8221; since it doesn&#8217;t have sspipes.scr. If you don&#8217;t get why this screen saver was used, you should know that the <a title="Wikipedia: Series of Tubes" href="http://en.wikipedia.org/wiki/Series_of_tubes" target="_blank">Internet is a &#8220;Series of Tubes&#8221;</a> ;) Don&#8217;t clog them with your p0rnz! :P</li>
</ol>
<div>Here&#8217;s a list of the about pages under Chrome that we do know of right now.</div>
<div>
<ul>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:</span></span></span></span> does the same thing as about:version</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:cache</span></span></span></span> Shows all cached pages</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:crash</span></span></span></span> Shows you the Chrome Crash page (ie what happens when a tab crashes.</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:dns</span></span></span></span> Shows list of prefetched DNS records. (<strong>Note:</strong> Doesn&#8217;t work if an incognito window is open).</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span>about:hang</span></span></span> Simulates tab hanging (<strong>Note:</strong> Don&#8217;t try this in a tab with unsaved data)</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:histograms</span></span></span></span> Shows histograms for statistics</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:internets</span></span></span></span> Don&#8217;t clog the tubes ;)</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:memory</span></span></span></span> Stats for nerds :P</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about:network</span></span></span></span> More stats for nerds</li>
<li><span style="color: #99cc00;"><span style="text-decoration: underline;"><span><span>about: plugins</span></span></span></span> Lists out all the plugins used by Chrome</li>
<li><span style="color: #00ff00;"><span style="text-decoration: underline;"><span><span>about:shorthang</span></span></span></span> Simulates crash (<strong>Note:</strong> Don&#8217;t try this until you want your tab to crash. You&#8217;ll lose unsaved data in that tab)</li>
<li><span style="color: #00ff00;"><span style="text-decoration: underline;"><span><span>about:stats</span></span></span></span> Seemingly secret stats page ;o</li>
<li><span style="color: #00ff00;"><span style="text-decoration: underline;"><span><span>about:version</span></span></span></span> Shows version information for your Google Chrome</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2008/09/07/chrome-tips/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customising your iPod</title>
		<link>http://karunab.com/2008/08/30/customising-your-ipod/</link>
		<comments>http://karunab.com/2008/08/30/customising-your-ipod/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 06:39:38 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[iPod]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=63</guid>
		<description><![CDATA[Every gadget I&#8217;ve owned to this day has been personalised. Its just something I have to do (if the hacks make the device better). I&#8217;ve done it so far with my i-Mate KJAM (custom ROMs for WM5 and WM6 and even cooking some up once in a while), my brother&#8217;s PSP and my computer (that [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_67" class="wp-caption alignleft" style="width: 331px"><a href="http://karunab.com/wp-content/uploads/2008/08/ipod_55g_black.png"><img class="size-full wp-image-67" title="iPod 30GB (5.5G; Black)" src="http://karunab.com/wp-content/uploads/2008/08/ipod_55g_black.png" alt="iPod 30GB (5.5G; Black)" width="321" height="500" /></a><p class="wp-caption-text">iPod 30GB (5.5 Generation; Black)</p></div>
<p>Every gadget I&#8217;ve owned to this day has been personalised. Its just something I have to do (if the hacks make the device better). I&#8217;ve done it so far with my i-Mate KJAM (custom ROMs for WM5 and WM6 and even cooking some up once in a while), my brother&#8217;s PSP and my computer (that counts too, doesn&#8217;t it? :P) among others.But when my brother came home last month, he exchanged the 2nd hand 30 GB iPod (5.5 Generation; Black) that he had.</p>
<p>I had always heard of the legend that is the iPod but never actually used it, believe it or not. I did like my Sony NW-A608 because of its size and battery life but after testing the iPod out for a few days, I decided to keep it because the 2GB Network walk man was no longer enough for me, it was when I got it 3 years ago but not any more.</p>
<p>Knowing that the iPod was so famous, searching for any softwares for it would be nearly impossible. Most content was replicated from one site to another. So I decided to go through most things out there and make a definitive list (for myself, if not anyone else :P). This post is not meant to only have info on iPod tools. This is a post to get the most out of your iPod and customise it in whatever way possible. So shall we get started?</p>
<p>First things first. You&#8217;d need a software to manage your connection with the iPod. There are quite a few out there that do the job quite well. This list would include <a title="Official Foobar2000 website" href="http://foobar2000.org/" target="_blank">foobar2000</a> and <a title="Official home of Winamp" href="http://winamp.com/" target="_blank">WinAmp</a>. Despite using the latter as my daily mp3 player on my pc, I decided to go with (don&#8217;t frown..) <a title="Apple's page for iTunes" href="http://apple.com/itunes/" target="_blank">iTunes</a> :P I do know that <a title="Yes, there is a lot of evidence of iTunes being called bloatware" href="http://www.google.com/search?q=iTunes+bloatware" target="_blank">iTunes has a reputation of being called &#8220;bloatware&#8221;</a> but I use it for a different reason. I give you <a title="iArt homepage" href="http://www.ipodsoft.com/site/pmwiki.php?n=iart.Homepage" target="_blank">iArt</a>. It took me a really long time to find an application which would go through the thousands of songs I have on my hard disk and add not only album art but also lyrics all with little or no human interaction if necessary. Yes, it can go through your entire iTunes library and add album art and lyrics in automatic mode :o Asking me to do those things manually is insane and anyone who knows me, knows full well that I organise my files perfectly and always have them <a title="ID3 on Wikipedia" href="http://en.wikipedia.org/wiki/ID3" target="_blank">ID3</a> tagged (even before <a title="The most awesome music service out there" href="http://last.fm" target="_blank">last.fm</a> came along :P). iArt will automatically go through your entire iTunes library (or selectively through playlists/song lists you want) and find album art/lyrics from various sources for you. You can select album arts and lyrics manually or set iArt to do them automatically for you. So get iTunes and iArt and you can be sure that the music on your iPod has album art and lyrics. In case you need a portable manager, you could use <a title="Yamipod website" href="http://yamipod.com" target="_blank">YamIpod</a>.</p>
<p>Now that you&#8217;ve got music that&#8217;s well tagged with its art and lyrics, you can start thinking about how to make it look good because face it, you want your iPod to look hot. Never fear, iPod themes are here! All you need to do is download <a title="Download iPodWizard" href="http://www.ipodwizard.net/wiki/index.php/IPodWizard#Download_iPodWizard" target="_blank">iPodWizard</a> from its official website, then go to the <a title="iPodWizard Forums" href="http://www.ipodwizard.net/index.php" target="_blank">iPodWizard forums</a> and go over to the <a title="Themes subforum under iPodWizard Forums" href="http://www.ipodwizard.net/forumdisplay.php?f=17" target="_blank">Themes subforum</a> where you should select your iPod version. In my case, this was the <a title="iPod 5G themes subforum" href="http://www.ipodwizard.net/forumdisplay.php?f=94" target="_blank">5th generation subforum</a>. Now you can download the themes you want and apply them. Info on how to do so is available on the forum and their wiki as well but I&#8217;m going to write an article on that soon with my experiences in this field.</p>
<p>Till now, we&#8217;ve spoken about how handle your iPod with different managers and how to theme it. But what if you are tired of the way the in built firmware for the iPod works? You could always change it. <a title="RockBox website" href="http://rockbox.org" target="_blank">RockBox</a>, an Open Source Jukebox Firmware is an excellent alternative to the in built firmware for not only the iPod but a lot of other portable music players. If you&#8217;ve not checked it out already, I seriously suggest you do that now. It is pretty good and supports a wide range of file formats unlike the default firmware in iPod. It can even be themed among other things. Is your life dependent on the linux prompt? Well then <a title="Linux on iPod" href="http://ipodlinux.sourceforge.net/index.shtml" target="_blank">Linux on iPod</a> is for you! Why do it? <a title="Linux on iPod FAQ" href="http://ipodlinux.sourceforge.net/faq.shtml" target="_blank">Because you can</a> ;) Now the question that everyone wants to ask, which one should I run? RockBox is pretty awesome but has a few issues and so does Linux on iPod (freezing while playing high bitrate songs and browsing through large file lists at the same time). Other than the pretty major issue of having videos to be in mp4s (though even RockBox doesn&#8217;t support xvid and there are a ton of videos out there, I just don&#8217;t wish to keep my TV shows, movies and Music Videos in formats that the iPod likes. I prefer them to be in xvid which is a standard for me) to work on the default iPod firmware, I find that it works the best. And with theme-ability (as talked about in the previous paragraph), things look well for it.<br />
There is one thing I had hoped someone would have told me (which would have made me move to these alternate firmwares quicker for tests). Installing these firmwares (it seems) gives you a boot up option to select which firmware you want to load so you don&#8217;t lose your original iPod firmware.</p>
<p>If you&#8217;ve not thought of ever using your iPod as a hard disk, shame on you! You should slap yourself <strong>right now</strong>! I personally have a ton of portable applications that allow me to do almost everything I do on my home desktop on computers in college. I use portable versions of <a title="Portable 7-zip - PortableApps.com" href="portableapps.com/apps/utilities/7-zip_portable" target="_blank">7-Zip</a> (for access to archives), <a title="Portable Firefox - PortableApps.com" href="http://portableapps.com/apps/internet/firefox_portable" target="_blank">Firefox</a> (web browser), <a title="FireFTP homepage on the Mozilla Development website" href="http://fireftp.mozdev.org/" target="_blank">FireFTP</a> (Firefox addon for FTP), <a href="http://www.floola.com/modules/wiwimod/" target="_blank">Floola-win</a> (portable iPod manager), <a title="Portable Notepad++ on SourceForge.net" href="http://sourceforge.net/projects/notepadpluspe" target="_blank">Notepad++</a> (text editor with syntax highlighting), <a title="Portable On Screen Keyboard - PortableApps.com" href="portableapps.com/apps/accessibility/on-screen_keyboard_portable" target="_blank">Portable OSK</a> (just in case ;)), <a title="Portable pdfProducer - PortableFreeware.com" href="http://www.portablefreeware.com/?id=142" target="_blank">pdfProducer</a>, Pidgin (multi platform chat client), <a title="PlainEdit.NET - Softpedia.com" href="http://www.softpedia.com/get/PORTABLE-SOFTWARE/Programming/Windows-Portable-Applications-Portable-PlainEditNET.shtml" target="_blank">PlainEdit.NET</a> (another text editor with syntax highlighting), <a title="Portable PuTTY - PortableApps.com" href="portableapps.com/apps/internet/putty_portable" target="_blank">PuTTY</a> (ssh access to server), <a title="Autoruns for windows" href="http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx" target="_blank">Autoruns</a>, <a title="Process Explorer on technet" href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" target="_blank">Process Explorer</a> and <a title="How to make uTorrent portable" href="http://www.utorrent.com/faq.php#How_can_I_use_.C2.B5Torrent_on_a_USB_key_or_other_removable_drive.3F" target="_blank">uTorrent</a>. If you have any suggestions for good portable applications or need help with (getting) any of the ones I have then do let me know :)</p>
<p>This was some of the more general things that you could do. The next few posts will contain information specific to certain feilds and which will talk in detail about iPod 5.5G based hacks. Now you could do it with other iPods but then you&#8217;d have to figure out equivalents or get me one of those iPods :P</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2008/08/30/customising-your-ipod/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PPC Reviver!</title>
		<link>http://karunab.com/2007/09/16/ppc-reviver/</link>
		<comments>http://karunab.com/2007/09/16/ppc-reviver/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 08:17:09 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=23</guid>
		<description><![CDATA[I should officially be named the PPC hack king when it comes down to recovering them from positions where it seems they might be bricked :P I installed a custom cooked WM6 ROM for my Wizard (I-Mate K-JAM) and then moved to a second custom ROM, which quite sadly, crashed. This time it got stuck [...]]]></description>
			<content:encoded><![CDATA[<p>I should officially be named the PPC hack king when it comes down to recovering them from positions where it seems they might be bricked :P</p>
<p>I installed a custom cooked WM6 ROM for my Wizard (I-Mate K-JAM) and then moved to a second custom ROM, which quite sadly, crashed. This time it got stuck in the IPL/SPL load screen so here is what you do when you&#8217;re in such a dilemma.</p>
<p>Remove your battery and then insert it again so now your device is off. Then press the power button + camera button and the phone will start off in boot loader mode. Then get an official ROM and install it. A custom one should too assuming it has the ability to talk to phones in the boot loader (which almost all of the ROMs should imo).</p>
<p>Have a good night ya&#8217;ll ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2007/09/16/ppc-reviver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hard resetting the Wizard</title>
		<link>http://karunab.com/2007/03/28/hard-resetting-the-wizard/</link>
		<comments>http://karunab.com/2007/03/28/hard-resetting-the-wizard/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 03:53:12 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Windows Mobile]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=17</guid>
		<description><![CDATA[The term &#8220;Wizard&#8221; refers to the HTC Wizard which is a Windows Mobile sold by companies like I-Mate and O2. Now the manual simply states that one should press the communications and voice buttons simultaneously and then press the reset key with your stylus. Well I can say honestly, that didn&#8217;t work for me. Here [...]]]></description>
			<content:encoded><![CDATA[<p>The term &#8220;Wizard&#8221; refers to the <a title="Wikipedia - HTC Wizard" href="http://en.wikipedia.org/wiki/HTC_Wizard" target="_blank">HTC Wizard</a> which is a Windows Mobile sold by companies like I-Mate and O2.</p>
<p>Now the manual simply states that one should press the communications and voice buttons simultaneously and then press the reset key with your stylus. Well I can say honestly, <strong>that didn&#8217;t work for me.</strong></p>
<p>Here is how you can <strong>really</strong> hard reset your <a title="Wikipedia - HTC Wizard" href="http://en.wikipedia.org/wiki/HTC_Wizard" target="_blank">HTC Wizard</a>. I personally was using my I-Mate K-JAM. Before reading the following, <span style="text-decoration: underline;">make sure</span> you read the <em>warnings</em> given below and the <em>disclaimer</em> while you&#8217;re at it.<br />
1) Take your stylus and press and <span style="text-decoration: underline;">hold</span> the reset key that you use for soft resetting. Don&#8217;t press the key. Hold it, as in keep it pressed.<br />
2) Then press the voice and comm buttons simultaneously and keep them pressed.<br />
3) You can let go of the (soft) reset key now. Wait for the confirmation message on the screen which will instruct you to press the send key (left soft key) to reset.</p>
<p>That&#8217;s it! You just successfully hard resetted your Windows Mobile 5.0 device.</p>
<p>Now you ask, why? Why would I want to hard reset my device? Hmm.. Maybe you&#8217;re selling off your device and don&#8217;t want to give the person any of your data. A <span style="text-decoration: underline;">hard reset puts everything back to the factory settings</span>. Alternately, maybe you just forgot your phone password and can&#8217;t find a way in. You never know :P</p>
<p><span style="text-decoration: underline;"><span style="color: #ff0000;"><strong>Warning</strong></span></span>: Hard resetting leads to deleting of all data on the main memory in devices running on windows mobile 5.0 and even the data on the memory card for windows mobile 6.0<br />
I didn&#8217;t risk it. I removed my mini-SD card while doing so :P</p>
<p><em>Disclaimer:</em> Though this method does only what I told you it does (hard resets your devideAs usual, I am not responsible for any kind of harm, damage or loss that might arise out of using this information. Use it at your own risk</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2007/03/28/hard-resetting-the-wizard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UAC = false;</title>
		<link>http://karunab.com/2007/03/03/uac-false/</link>
		<comments>http://karunab.com/2007/03/03/uac-false/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 21:25:09 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=15</guid>
		<description><![CDATA[So finally I got bugged with UAC enough to switch it off a few weeks back. Not all of it though. Just the module for approval from an admin and the elevation without prompting. Here is how you can do it. Click Start &#62; Type &#8220;local&#8221; and enter (to open Local Security Policy) &#62; Local [...]]]></description>
			<content:encoded><![CDATA[<p>So finally I got bugged with UAC enough to switch it off a few weeks back. Not all of it though. Just the module for approval from an admin and the elevation without prompting. Here is how you can do it.</p>
<p>Click Start &gt; Type &#8220;local&#8221; and enter (to open Local Security Policy) &gt; Local Policies &gt; Security Options &gt; Browse down to the set of UAC controls.</p>
<p>Now I disabled the &#8220;User Account Control: Admin Approval Mode for the Built-in Administrator account&#8221; and set the &#8220;User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode&#8221; to &#8220;Elevate without prompting&#8221;</p>
<p>So far, everything is going quite smoothly. Then to disable the irritating red icon in your task bar open Windows Security Center (again start &gt; type it out and select. Don&#8217;t you just love Windows Vista&#8217;s new search? ;)) then on the left side, select &#8220;Change the way Security Center alerts me.&#8221;<br />
Now select &#8220;Don&#8217;t notify me and not show me the icon (not recommended)&#8221; I would have honestly liked an option saying, &#8220;Notify me (once) but don&#8217;t show me the icon.&#8221; Too bad we can&#8217;t do that.</p>
<p>And that is it. No more UAC asking you to accept every action you make. Yay for power users ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2007/03/03/uac-false/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The Undeletables</title>
		<link>http://karunab.com/2007/01/24/the-undeletables/</link>
		<comments>http://karunab.com/2007/01/24/the-undeletables/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 00:39:10 +0000</pubDate>
		<dc:creator>Karun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://karunab.com/?p=13</guid>
		<description><![CDATA[I had to reinstall vista once and so vista copied its already existing files into Windows.old like any other decent OS does. This was of course a move to help me keep the data I already had in C drive at that time. Now that my work with it was done, I couldn&#8217;t delete it. [...]]]></description>
			<content:encoded><![CDATA[<p>I had to reinstall vista once and so vista copied its already existing files into Windows.old like any other decent OS does. This was of course a move to help me keep the data I already had in C drive at that time.</p>
<p>Now that my work with it was done, I couldn&#8217;t delete it. <a title="Wikipedia - Windows Vista's User Account Control" href="http://en.wikipedia.org/wiki/User_Account_Control" target="_blank">UAC</a> was constantly telling me I didn&#8217;t have the rights to do so. The sad part is that I am the administrator and those files aren&#8217;t of any use to me. I tried switching off UAC but that requires a reboot so I started searching for alternatives since Vista wouldn&#8217;t let me edit the rights directly either.</p>
<p>Thanks to <a title="Rotem's profile on the Messenger Plus! Live forum." href="http://msghelp.net/member.php?action=profile&amp;uid=2577" target="_blank">Rotem</a> for linking me to <a title="Musings of a Client Platform Technical Evangelist" href="http://blogs.msdn.com/tims/" target="_blank">Tim Sneath&#8217;s MSDN blog</a> which explains a method to reset rights over a folder.<br />
The problem quite clearly is that Vista doesn&#8217;t remember which group holds rights to editing those folders/files.<br />
The secret lies in two command-line utilities.</p>
<p><span style="text-decoration: underline;">takeown</span> is an old command which resets ownership of the mentioned file/folder while <span style="text-decoration: underline;">icacls</span> is used to provide a group with the rights to that file/folder.</p>
<p>As Tim points out, you can create a batch file with the following two lines.</p>
<blockquote><p>takeown /f %1 /r /d y<br />
icacls %1 /grant administrators:F /t</p></blockquote>
<p>It is imperative to note that the batch file needs to be <strong>run as an administrator</strong>. This can be done by right clicking the file and clicking on <span style="text-decoration: underline;">run as administrator</span>.</p>
<p>You could also do what I did. Open command prompt in administrator mode (start &gt; type &#8220;cmd&#8221; without quotes &gt; right click &gt; run as administrator), browse till the folder/file in question and then use the same two commands by substituting &#8220;%1&#8243; with the name of the target file/folder.</p>
<p>Hopefully you were smart enough to figure out that you do need administrator rights to pull this off. So if you&#8217;re a script kiddie planning to pull off something on vista, this is not what you&#8217;re looking for.</p>
<p>So the next time you cannot delete a file in Windows Vista even though you have administrator rights, try using takeown and icacls ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://karunab.com/2007/01/24/the-undeletables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
