Lab 3: Managing Disks and File Systems: Overview
Lab 3: Managing Disks and File Systems: Overview
Lab 3: Managing Disks and File Systems: Overview
Overview:
This lab contains the following activities:
Formatting a Partition
Converting FAT32 Partitions to NTFS
Converting a Basic Disk to a Dynamic Disk
Examining Drive Properties
Using NTFS Compression
Using EFS Encryption
Assigning Disk Quotas
Scenario:
Currently, the workstations in the Labs, all have one partition and use basic disks. Backups of
data are completed by backing up selected parts of the system partition.
To make backing up data simpler, and to make disaster recovery easier by separating data and
operating system partitions, you need to create dynamic disks with NTFS simple volumes. There
will be an operating system (OS) volume and a data volume on each computer. This will allow
data backup to be performed by making backups of a particular drive and will make installing a
new OS (if necessary in the event of a disaster) easier without disturbing data.
Objectives:
After completing this lab, you will be able to:
Manage hard disks using the Computer Management console.
Create and format partitions.
Convert basic disks to dynamic disks.
Use NTFS compression.
Use Encrypting File System (EFS) encryption.
Assign disk quotas.
Use Disk Tools.
This lab uses the variable xx to refer to your number so that your computer name is referred to as
Computerxx and your student identity as Studentxx. You are asked to pair with another student
in this lab. Your partner's number will be referred to as yy.
By default, Windows OS hides certain files and folders. This lab asks you to access some of
these files. If they are hidden, a message in the Windows Explorer pane in which you are trying
to access them will read "These Files Are Hidden;' To show the files, in the task pane on the left,
in the System Tasks section, select Show The Contents Of This Folder. The files and folders will
appear. Once you have completed this task once, you will not have to do so again for this user
account. Also, this lab uses the Internet to update Windows. You might receive security
warnings while using Microsoft Internet Explorer. Answer affirmatively to these messages to
allow the lab to continue.
Task 1: Formatting A Partition
To create a data partition, you need to format the unpartitioned space remaining on your hard
drive. To allow backward compatibility to legacy disk management tools, you need to format this
partition using the FAT32 file system.
1. Log on to System with your student account.
2. From the Start menu, select Control Panel.
3. In Control Panel, click Performance And Maintenance.
4. In the Or Pick A Control Panel Icon section, click Administrative Tools.
5. In the Administrative Tools window, right-click Computer Management and select Run
As.
6. In the Run As dialog box, select The Following User.
7. In the User Name text box, ensure that Computerxx\Administrator (this should be the
default that appears) is entered. In the Password text box, type your password. Click OK.
TIP: When performing administrative tasks, it is a good practice to log on to a computer
with an ordinary user or domain user account, and then to use Run As to apply
credentials with the appropriate permissions. This helps to limit the chances of a
malicious program running with Administrator privileges and also limits the damage that
somebody else could do if you were to neglect to log off.
8. In the Computer Management console, in the console tree, under Storage, select Disk
Management.
9. In the graphical view pane, in Disk 0, select the unallocated disk space. A hatch pattern
will appear on the graphical representation of the unallocated space, as shown in the
following figure.
Note: the C: partition does not have the same size as the partition you created.
10. From the Action menu, point to All Tasks, and then select New Partition.
11. In the New Partition Wizard, on the Welcome page, click Next.
12. On the Select Partition Type page, ensure that Primary Partition is selected, read the
description provided. and then click Next.
Question 1: How many primary partitions can a basic disk contain?
13. Click Next.
14. On the Specify Partition Size page, in the Partition Size In MB text box, type 6000. Click
Next.
NOTE It is important that there be a small amount of space left over. When a basic disk
is converted to a dynamic disk (which you will do later in the lab), 1 megabyte (MB) of
empty space is required to create a database. Windows 2000 and Windows XP reserve 1
MB or one cylinder, whichever is greater, when creating partitions on a hard drive. Other
0S’s, however, might not reserve any room, making the conversion impossible without
resizing the partitions to leave some empty space.
15. On the Assign Drive Letter Or Path page, select Do Not Assign A Drive Letter Or Drive
Path and then click Next. (You are not instructed to select a drive path at this point only
so that you can be shown how to assign a drive letter through the Disk Management
interface later.)
16. On the Format Partition page, ensure that Format This Partition With The Following
Settings is selected. In the File System drop-down list, select FAT32. In the Volume
Label text box, type Data.
17. Select the Perform A Quick Format check box. Your settings should match those in the
following figure.
18. Click Next.
19. On the Completing The New
Partition Wizard page, review
the summary and then click
Finish. After a few moments, in
the graphical view pane, a
representation of the new
partition should appear and be
labeled DATA. The new drive
configuration should look like
this:
Note: the C: partition does not have the same size as the partition you created.
20. In the graphical view pane, right-click DATA and then select Change Drive Letter And
Paths.
21. In the Change Drive Letter And Paths For DATA dialog box, click Add.
22. In the Add Drive Letter Or Path dialog box, ensure that Assign The Following Drive
Letter is selected, and in the drop-down list, select L. Click OK.
23. Leave the Computer Management console as is for the next exercise.
NOTE The Disk Management console may also be opened with the command
diskmgmt.msc. From the Start menu, select Run, and type the command in the Open text
box.
2. In the DATA (L:) window, from the File menu, point to New and then select Text
Document.
5. From the Start menu, point to All Programs, Accessories, right-click Command Prompt,
and then select Run As.
6. In the Run As dialog box, enter your local administrator credentials (user ID and
password) and then click OK.
7. At the command prompt, type convert L: /fs:ntfs and then press ENTER.
8. At the Enter Current Volume Label For Drive L: prompt, type Data and then press
ENTER. The following figure shows an example of this command being executed.
8. In the Disk
Management message
box, click Yes to
indicate that you want
to convert.
9. In the Convert Disk To
Dynamic message box
warning that file
systems on the
converted disks will be
dismounted, click Yes
to continue the
Operation.
IMPORTANT
When you click OK in the next step, your partner's computer will restart.
10. In the Confirm text box indicating that the computer needs to restart, click OK.
11. On the computer that just restarted you will see a message about having to restart again
do so.
12. Once the computer has restarted again have your partner log on to Contoso with his
student account. Upon logging on, the computer might want to restart again. If so, restart,
and log on again the same way.
13. Once your partner's computer has restarted, on your computer, in the Computer
Management console, from the Action menu, select Refresh.
14. In the Disk Management message box, click Yes to reconnect.
Question 3: In the graphical view pane, what word has changed in the Disk 0 graphical
representation?
15. Close all open windows.
Question 4: How many volumes are on Drive 0 and what are their names?
5. Close all open windows.
30. Click the Up icon in the standard buttons toolbar to return to the Shared Documents
folder for the next exercise.
Task 8:
1. What formatting file system options does
Windows XP offer for hard drives using
basic disks?
2. When you converted the disk on your
partner's computer to a dynamic disk,
what type of volumes were created from
the existing primary partitions?
3. Once you instruct Windows to convert a
basic disk to a dynamic disk, you are warned that you will no longer be able to do what
on any volumes on the converted disk?
4. What happens when you move an unencrypted and uncompressed file into an EFS
encrypted folder or to an NTFS compressed folder?
5. What happens when you lose or remove a certificate issued for EFS?
6. When specifying disk quotas, for which two events can you enable logging?
Task 9:
You are working at the corporate help desk at Contoso, supporting users by phone. You have a
user that complains that it seems to take longer to load large Microsoft Excel files than it used to
on his computer. He also reports that he received an error while trying to load an Excel file the
other day, but when he rebooted, it loaded fine.
He has plenty of empty space on his hard drive. You ask him if he has ever defragmented his
hard drive, and he says that he has not. You have him print a report of the fragmentation status of
his hard drive, and this is what it says:
Volume size = 49.34 GB
Cluster size = 4 KB
Used space = 16.64 GB
Free space = 32.71 GB
Percent free space = 66 %
Volume fragmentation
Total fragmentation = 46 %
File fragmentation = 92 %
Free space fragmentation =0%
File fragmentation
Total files = 8,222
Average file size = 3 MB
Total fragmented files = 2,208
Total excess fragments = 20,280
Average fragments per file = 3.46
Pagefile fragmentation
Pagefile size = 0 bytes
Total fragments =0
Folder fragmentation
Total folders = 756
Fragmented folders = 28
Excess folder fragments = 222
Question 1: Excel files use the .xls extension. Of how many fragments are the two .xls files in
the Most Fragmented Files list composed?
Question 2: What is the fragmentation percentage of all files on the volume?
After looking at the fragmentation status of his hard drive, you decide to run Chkdsk first and
then perform a defragmentation of his hard drive. To complete this lab challenge, you must do
the following:
1. Run Chkdsk on drive L:.
2. Output fragmentation information on drive L to a file on your desktop, and view the
information.
3. Defragment drive D.
After completing the defragmentation open the file you created in step 2 on your desktop (the file
name should be VoluemL.txt) and fill in the chart below:
Volume size
Used /space
Free Space
Percentage Free Space
Total Files
Average file size
Total MFT size
MFT record count
Percent MFT use
Total MFT fragments