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
10 Reasons to Deploy Windows Vista

The decision to upgrade your XP systems to Vista is simple when you consider features such as easier backup, a great desktop search, and vastly improved security options. ...

10 Reasons Not to Deploy Windows Vista

The decision to upgrade to Vista has to make business sense, but many companies find the costs in training and application compatibility problems outweigh any benefits Vista brings. ...

WinInfo Short Takes: CES 2009 Special Edition

An often irreverent look at some of the week's other CES 2009 news, including covering the Vegas spectacle from the comfort of my own home, Windows 7 public beta, a weird Microsoft song application, Palm Pre, pending Microsoft mobile moves, and much more ...


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

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

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 © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing