Windows 7 has some advanced file and disk management tools and techniques, including virtual hard disks, links, disk quotas and Windows ReadyBoost.
Adapted from “Microsoft Windows 7 Administrator’s Reference” (Syngress, an imprint of Elsevier)
Everything in your Windows 7 system relies on how you configure your disks and file systems. If those aren’t properly configured, your system may not run at all. You need to ensure you choose a configuration that best suits your needs. You can also use new advanced features like virtual hard discs (VHDs), creating links, the new Windows ReadyBoost and disc quotas.
The VHD is basically a hard drive that actually exists as a file. VHDs are generally used with virtual machines. You can also be used with physical machines. VHDs have the .vhd file extension.
You can create VHDs in the Disk Management MMC snap-in. Follow these steps to create a VHD:
Before your system can use a VHD, you must attach the VHD to the system. VHDs you create on a specific system, as in the previous example, are automatically attached. You’ll have to manually attach other VHDs to your system. To attach a VHD to a system, do the following:
Once VHDs are attached to your system, they appear in the Disk Management snap-in, just like any other disk. If the VHD is new, you’ll have to initialize. After the disk is initialized and online, you can create disk volumes. The disk is then ready for use.
Disk fragmentation occurs when files or pieces of files get scattered throughout your disks. Not only do hard disks get fragmented, but removable storage can also become fragmented. This can cause poor disk performance and overall system degradation. This is something you’ll eventually have to deal with.
Windows 7 includes a disk defragmentation utility that can defrag your disks and restore system performance. The tool is called Disk Defragmenter. You can access Disk Defragmenter from Start | All Programs | Accessories | System Tools. You can also get at it by right-clicking on a disk in Windows Explorer, selecting Properties, and then going to the Tools tab.
Disk Defragmenter lets you defragment your disks now, schedule defragmentation for later, or schedule periodic defragmentation. Disk Defragmenter also includes an option for Analyze Disk. If you choose this option, Disk Defragmenter will determine if your system can benefit from running the defragmentation process.
This is important because defragmentation can sometimes take a long time to complete. If it’s not going to benefit your system, there’s no reason to run a defragmentation.
A symbolic link is a pointer that redirects to another location. When you access a symbolic link, a user or system is automatically sent to the file or folder referenced in the symbolic link. Symbolic links are generally put in place for ease of use or application compatibility.
You can use the mklink command to create symbolic links in Windows 7. The syntax and usage of mklink is as follows:
You can create either absolute or relative symbolic links. Absolute links specify the entire path in the link. Relative links only contain the latter portion of the link. With relative links, the beginning portion of the link is based on its location. Relative links generally begin with one of the following or use one of the following formats:
A hard link is a link between two files on a hard disk. When you click a hard link to a file, the OS and applications will behave as though you’re accessing the file itself. You can only use hard links to link files on the same volume.
You can use Windows ReadyBoost to speed up the performance of your Windows 7 system. When your system runs out of RAM, it begins using the hard disk to store files it needs to use. This disk access can impact your system performance. To help with this, Microsoft developed ReadyBoost. ReadyBoost lets Windows 7 use a flash drive instead of the hard disk for this storage. Flash drive access can be much faster than hard disk access.
To enable ReadyBoost, take the following steps:
Disk quotas let you specify a limit to the amount of disk space any user can use. This is useful if you have limited amount of disk space available. You can control how much disk space everyone uses, and ensure you have enough space available for the system for things such as application installation, system file storage and paging.
You can configure disk quotas on the various disk volumes within your system. You can actually have two volumes on the same disk with different quotas.
To enable disk quotas, follow these steps:
Besides these specific disk and file management tools, Windows 7 includes a variety of other local management tools. There’s the Control Panel, the MMC, the Computer Management Console, the Local Group Policy Editor and the Windows Registry. Each of these management tools provides a different function. They all come together to provide a total management solution for all aspects of your Windows 7 system.
Jorge Orchilles began his networking career as a network administrator for the small private school he attended. He’s currently a security operating center analyst, and recently completed his Master of Science degree in management information systems at Florida International University.
©2011 Elsevier Inc. All rights reserved. Printed with permission from Syngress, an imprint of Elsevier. Copyright 2011. “Microsoft Windows 7 Administrator’s Reference” by Jorge Orchilles. For more information on this title and other similar books, please visit elsevierdirect.com.