Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


August 2006

Handy Tools for Managing File Systems

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In Windows Server 2003 Release 2 (R2), you'll find a handy new tool called File Server Resource Manager (FSRM), which is a Microsoft Management-Console (MMC) plug-in. As Mike Otey explains in "New Features in Windows Server 2003 R2" (May 2006, InstantDoc ID 49750), FSRM lets you create hard or soft quotas to limit the space allowed for a volume or folder and notify users when the quota limits are exceeded. You can also create filters that restrict users from saving files with certain extensions.

Using FSRM, I create quota management templates, then apply those templates to folders. To ensure that the templates work properly, I typically test them by coping 100 MB of files from other folders. Not surprisingly, copying 100 MB of files is time-consuming. Fortunately, there's another handy tool called fsutil.exe that lets you create a file of any size on the fly.

You can find fsutil.exe in the C:\Windows\System32 folder in Windows 2003 and Windows XP. The syntax to create a file is

fsutil file createnew
  FileName Length 
where FileName is the pathname to the file you want to create and Length is the target size of that file. (Although this command appears on several lines here, you would enter it on one line in the command-shell window.) Note that you need to specify the target size in kilobytes. So, for example, to create a 100 MB file named testfile in the C:\r2testquotas folder, you'd run the command
fsutil file createnew
  C:\r2testquotas\testfile.txt 
  1ØØØ

With fsutil.exe, you can perform many other file system tasks from the command line. For more information about this tool, go to http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx.

—James Lim
james_k_k_lim@apl.com

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...

Windows Live Wave 3 Services Launch Begins

Late Tuesday, Microsoft began rolling out the services portion of its Windows Live Wave 3 launch. The company is shipping an unprecedented number of new and improved services that build off the success of Hotmail and Windows Live Messenger and attempt ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Power Up! With Virtualization Online Conference

Don't Miss Windows Server 2008 Virtual Event

Successful SharePoint 2007 Deployment and Administration – Truly Centralizing Your SharePoint Back-End Management

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing