<?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>Cow Computing &#187; Tools</title>
	<atom:link href="http://www.cowcomputing.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cowcomputing.com</link>
	<description>Share Info about Cloud Computing &#38; Programming</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:10:24 +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>Fsutil &#8211; The Useful Administrative Tools in Windows</title>
		<link>http://www.cowcomputing.com/2010/02/08/fsutil-the-useful-administrative-tools-in-windows/</link>
		<comments>http://www.cowcomputing.com/2010/02/08/fsutil-the-useful-administrative-tools-in-windows/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 08:51:41 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[Fsutil]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.cowcomputing.com/?p=187</guid>
		<description><![CDATA[Fsutil is a command-line utility for performing file system related tasks,  such as displaying/managing file or drive properties, dismounting or extending a volume etc. Fsutil is a very powerful tool and is meant to be used by system administrator to perform advance operations. In this post, i will try to share my knowledge on fsutil [...]]]></description>
			<content:encoded><![CDATA[<p>Fsutil is a command-line utility for performing file system related tasks,  such as displaying/managing file or drive properties, dismounting or extending a volume etc. Fsutil is a very powerful tool and is meant to be used by system administrator to perform advance operations. In this post, i will try to share my knowledge on fsutil to perform some simple yet useful tasks.</p>
<p>(*Do learn about what you are doing before executing a command.)</p>
<p>1. Creating a file of a specific size instantly, e.g. 1GB</p>
<pre class="brush:bash"># fsutil file createnew &lt;filename&gt; &lt;filesize&gt;
fsutil file createnew testfile 1073741824
</pre>
<p><span id="more-187"></span>2. Disabling short file names. Default windows will create 8.3 character length file name for every file/folder you create. This is to provide compatibility to some program which based on DOS. Often, this is not needed, and can be set to true, which in turns speed up windows.</p>
<pre class="brush:bash"># fsutil behavior set disable8dot3 {1|0}
fsutil behavior set disable8dot3 1
</pre>
<p>3. Disabling timestamp for last access to a file. You might disable to function where windows keep track of the last access timestamp for files.</p>
<pre class="brush:bash"># fsutil behavior set disablelastaccess {1|0}
fsutil behavior set disablelastaccess 1
</pre>
<p>4. Disabling Vista&#8217;s Encryption File System. If security is not a concern, and your system is in need of extra resources, you might choose to disable to EFS that vista provides.</p>
<pre class="brush:bash"># fsutil behavior set disableencryption {1|0}
fsutil behavior set disableencryption 1
</pre>
<p>* 2 &amp; 3 &amp; 4, in fact behavior got another sub-command in addition to &#8220;set&#8221; &#8212; &#8220;query&#8221;. You may use it to query the current setting for a specific property.</p>
<pre class="brush:bash"># The following command can be used to query the current setting of disable8dot3
fsutil behavior query disable8dot3</pre>
<p>5. List all drives in a computer. This could easily retrieve and echo all the drives connected on this computer including remote drives.</p>
<pre class="brush:bash">fsutil fsinfo drives
</pre>
<p>6. Check a drive&#8217;s type e.g. CD-ROM. Sometimes, in script, you might use it to determine which drive is a CD-ROM.</p>
<pre class="brush:bash"># fsutil fsinfo drivetype &lt;volume name&gt;
fsutil fsinfo drivetype C:
</pre>
<p>7. List information for the specified drive. This shall show a list of supported properties such as &#8220;Case-sensitive File Name&#8221;, &#8220;Sparse Files&#8221; etc.</p>
<pre class="brush:bash"># fsutil fsinfo volumeinfo &lt;full volume path&gt;
fsutil fsinfo volumeinfo C:\
</pre>
<p>8. Query the free space of a drive. To identify how much free space is left exactly for a specific drive.</p>
<pre class="brush:bash"># fsutil volume diskfree &lt;volume name&gt;
fsutil volume diskfree C:
</pre>
<p>9. Dismount a volume. *Use it carefully*</p>
<pre class="brush:bash"># fsutil volume dismount &lt;full volume path&gt;
fsutil volume dismount C:\
</pre>
<p>Above only listed some useful command for your reference, and it&#8217;s not complete. For further information, you can refer to <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx?mfr=true">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2010/02/08/fsutil-the-useful-administrative-tools-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
