Fall 2011 Nassau Community College ITE153 – Operating Systems Session 14 Windows XP Professional...

Post on 11-Jan-2016

212 views 0 download

Tags:

Transcript of Fall 2011 Nassau Community College ITE153 – Operating Systems Session 14 Windows XP Professional...

Fall 2011Nassau Community College ITE153 – Operating Systems

Session 14Windows XP Professional

1

Fall 2011Nassau Community College ITE153 – Operating Systems

Session 14Windows XP Professional Managing Data Storage

2

Overview

• Working with Disk Management• Working with Basic Disks• Working with Dynamic Disks• Preparing Disks when Upgrading to

Windows XP Professional• Managing Disks• Defragmenting Volumes

Fall 2011 3Nassau Community College ITE153 – Operating Systems

Working with Disk Management

DiskPart is a command-line version of Disk Management

List viewList view

Graphic view

Graphic view

Object numberObject number

Fall 2011 4Nassau Community College ITE153 – Operating Systems

Working with Basic Disks

• Organizing a Basic Disk• Creating Partitions and Drives on a

Basic Disk • Adding a Basic Disk

Fall 2011 5Nassau Community College ITE153 – Operating Systems

Organizing a Basic Disk

H:H:G:G:F:F:

E:E:

D:D:

C:C:

F:F:

E:E:

D:D:

C:C:

-OR--OR--OR--OR-

Primarypartitions

Up to four primary partitions

Up to three primary partitions and one extended partition

with logical drives

Extendedpartition withlogical drives

Fall 2011 6Nassau Community College ITE153 – Operating Systems

Creating Partitions and Drives on a Basic Disk

Creating a partitionCreating a partition

Creating a logical driveCreating a logical drive

Fall 2011 7Nassau Community College ITE153 – Operating Systems

Adding a Basic Disk

Before adding a disk After adding a disk

AddedAddedAddedAdded

Fall 2011 8Nassau Community College ITE153 – Operating Systems

Working with Dynamic Disks

• Converting from a Basic Disk to a Dynamic Disk

• Organizing a Dynamic Disk• Creating a Volume• Moving Dynamic Disks

Fall 2011 9Nassau Community College ITE153 – Operating Systems

Converting from a Basic Disk to a Dynamic Disk

Disk ManagementDisk Management

DiskPartDiskPart

Fall 2011 10Nassau Community College ITE153 – Operating Systems

Organizing a Dynamic Disk

Striped volume

Simple volume

Spanned volume

Contains disk space from a single disk

Data is written alternately and evenly to two or more disks

Includes disk space from two or more disks, filling the first disk, then the second, and so on

Fall 2011 11Nassau Community College ITE153 – Operating Systems

Creating a Volume

A simple volume resides on a single dynamic disk

To create a spanned or striped volume, you must have two or more dynamic disks

You cannot use the new volume wizard to format a volume as FAT or FAT32

Fall 2011 12Nassau Community College ITE153 – Operating Systems

Moving Dynamic Disks

When moving a dynamic disk, select import foreign disk to update the dynamic database on the newly added disk

When moving multidisk volumes, move all disks in the volume at the same time

Moving a diskMoving a diskMoving a diskMoving a disk

Fall 2011 13Nassau Community College ITE153 – Operating Systems

Preparing Disks When Upgrading to Windows XP

Professional

Upgrading from Windows NT Upgrading from Windows NT 4.0 with volume or striped sets4.0 with volume or striped sets

Upgrading from Windows 2000 Upgrading from Windows 2000 Professional with read-only Professional with read-only disks containing volume or disks containing volume or striped setsstriped sets

Back up data

Delete volumes

Install Windows XP Professional

Convert basic disks to dynamic disks

Create volume types

Restore data

Back up data

In Windows 2000,use Disk Managementto convert basicdisks to dynamic disks

Install Windows XP Professional

Fall 2011 14Nassau Community College ITE153 – Operating Systems

Managing Disks

• Viewing Disk Status and Properties• Extending a Volume or Partition• Deleting a Volume or Partition• Changing a Drive Letter• Creating a Mount Point

Fall 2011 15Nassau Community College ITE153 – Operating Systems

Viewing Disk Status and Properties

Disk statusDisk status

Disk propertiesDisk properties

Fall 2011 16Nassau Community College ITE153 – Operating Systems

Extending a Volume or Partition

You can extend simple volumes and partitions that use NTFS

You cannot extend a volume or partitionthat contains a system or boot volume

Fall 2011 17Nassau Community College ITE153 – Operating Systems

Deleting a Volume or Partition

Fall 2011 18Nassau Community College ITE153 – Operating Systems

Changing a Drive Letter

Fall 2011 19Nassau Community College ITE153 – Operating Systems

Creating a Mount Point

Before adding a mount pointBefore adding a mount point

After adding a mount pointAfter adding a mount point

Fall 2011 20Nassau Community College ITE153 – Operating Systems

Lab A: Working with Dynamic Disks

Fall 2011 21Nassau Community College ITE153 – Operating Systems

Defragmenting Volumes

Using Disk DefragmenterUsing Defrag.exe

DefragmentDefragment

Fall 2011 22Nassau Community College ITE153 – Operating Systems

Using Disk Defragmenter

Select partition to analyze

Select partition to analyze

Usage after defragmentation

Usage after defragmentation

Usage before defragmentation

Usage before defragmentation

Fall 2011 23Nassau Community College ITE153 – Operating Systems

Using Defrag.exe

Fall 2011 24Nassau Community College ITE153 – Operating Systems

Review

• Working with Disk Management• Working with Basic Disks• Working with Dynamic Disks• Preparing Disks when Upgrading to

Windows XP Professional• Managing Disks• Defragmenting Volumes

Fall 2011 25Nassau Community College ITE153 – Operating Systems

Module 5: Configuring and Managing File

SystemsFall 2011 26

Nassau Community College ITE153 – Operating Systems

Fall 2011Nassau Community College ITE153 – Operating Systems

Session 14Windows XP Professional

Configuring and Managing File Systems

27

Overview

• Working with File Systems• Managing Data Compression• Securing Data by Using EFS

Fall 2011 28Nassau Community College ITE153 – Operating Systems

Working with File Systems

• Using FAT or FAT32• Using NTFS• Selecting a File System• Converting File Systems

Fall 2011 29Nassau Community College ITE153 – Operating Systems

Using FAT or FAT32

FAT or FAT32:Works well on small disks with simple

folder structuresSupports dual-boot configurationsWindows XP

Professional

Windows 98

FAT/FAT32FAT/FAT32FAT/FAT32FAT/FAT32

Fall 2011 30Nassau Community College ITE153 – Operating Systems

Using NTFS

NTFS provides:• Improved reliability by identifying and

not using bad sectors• Enhanced security by using EFS and file

permissions• Improved management of storage

growth• Support for large volume sizes

Fall 2011 31Nassau Community College ITE153 – Operating Systems

Selecting a File System

When selecting a file system, determine:• How the computer is used • The number and size of locally installed

hard disks• Security considerations• The need for advanced file system

features

Fall 2011 32Nassau Community College ITE153 – Operating Systems

Converting File Systems

To: Windows XPTo: Windows XPTo: Windows XPTo: Windows XP

NTFS on Windows 2000

NTFS on Windows 2000

NTFS on Windows NT

NTFS on Windows NT

FATFAT

FATFAT

Conversion notConversion notnecessarynecessary

Conversion notConversion notnecessarynecessary

AutomaticAutomaticconversion duringconversion during

upgrade upgrade

AutomaticAutomaticconversion duringconversion during

upgrade upgrade

Use convert Use convert commandcommand

Use convert Use convert commandcommand

Noconversion

Noconversion

NTFS volumeNTFS volume

NTFS volumeNTFS volume

NTFS volumeNTFS volume

NTFS volumeNTFS volume

From:From:From:From:

Fall 2011 33Nassau Community College ITE153 – Operating Systems

Managing Data Compression

• Defining Compressed Files and Folders• Compressing Files and Folders• Copying and Moving Compressed Files

and Folders• Best Practices for Managing Data

Compression

Fall 2011 34Nassau Community College ITE153 – Operating Systems

Defining Compressed Files and Folders

• NTFS files and folders have a compression state

• When accessed, files are automatically uncompressed

• Space allocation is based on uncompressed file size

• Compressed files and folders can be designated by color

NTFS partition

FileA

FileB

Fall 2011 35Nassau Community College ITE153 – Operating Systems

Compressing Files and Folders

Fall 2011 36Nassau Community College ITE153 – Operating Systems

NTFS volume

RetainsRetains

NTFS volume

InheritsInherits

NTFS volume NTFS volume

InheritsInherits

Copying and Moving Compressed Files and Folders

CopyCopyCopyCopy MoveMoveMoveMove

Move between volumesMove between volumesMove between volumesMove between volumes

Copy between volumesCopy between volumesCopy between volumesCopy between volumes

Fall 2011 37Nassau Community College ITE153 – Operating Systems

Best Practices for Managing Data Compression

Determine which file types to compress Determine which file types to compress

Avoid compressing system or executable filesAvoid compressing system or executable files

Compress static data rather than data that changes frequentlyCompress static data rather than data that changes frequently

Use different display colors for compressed files and foldersUse different display colors for compressed files and folders

Fall 2011 38Nassau Community College ITE153 – Operating Systems

Lab A: Configuring Disk Compression

Fall 2011 39Nassau Community College ITE153 – Operating Systems

Securing Data by Using EFS

• Introduction to EFS• Encrypting a Folder or File• Adding Authorized Users• Decrypting a Folder or File• Recovering an Encrypted Folder or File• Best Practices for Implementing EFS

Fall 2011 40Nassau Community College ITE153 – Operating Systems

Introduction to EFS

Is transparent to users and applicationsIs accessible only to authorized usersEnables specification of a data recovery

agentEncrypts files locally or across the

networkEnables encrypted files and folders to be

designated by color

~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~

Fall 2011 41Nassau Community College ITE153 – Operating Systems

Encrypting a Folder or File

Encrypt contents to secure data

When file is saved, it is encrypted by using file encryption keys

If designated, the recovery agent’s file encryption key is stored in the Data Recovery Field in the file header

~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~

DRFDRF

The user’s file encryption key is stored in the Data Decryption Field

~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~

DDFDDF

Fall 2011 42Nassau Community College ITE153 – Operating Systems

Adding Authorized Users

22

11

Fall 2011 43Nassau Community College ITE153 – Operating Systems

Decrypting a Folder or File

File content appears on the screen in plaintext

Your private key is applied to the DDF

EFS automatically detects encryption and locates user certificate and associated private key

~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~

DDFDDF

~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~

Fall 2011 44Nassau Community College ITE153 – Operating Systems

Recovering an Encrypted Folder or File

Owner’s key is unavailable~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~

Recovery agent uses his private key to recover file~~~~

~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~

Fall 2011 45Nassau Community College ITE153 – Operating Systems

Best Practices for Implementing EFS

Encrypt the My Documents folderEncrypt the My Documents folder

Encrypt folders rather than individual filesEncrypt folders rather than individual files

Secure and archive keys and certificatesSecure and archive keys and certificates

Implement a recovery agent archive Implement a recovery agent archive

Fall 2011 46Nassau Community College ITE153 – Operating Systems

Lab B: Securing Files by Using EFS

Fall 2011 47Nassau Community College ITE153 – Operating Systems

Review

• Working with File Systems• Managing Data Compression• Securing Data by Using EFS

Fall 2011 48Nassau Community College ITE153 – Operating Systems

Homework

Review the SlidesReview Lesson 5 In The TextTry This At HomeBring Up Ubuntu and Try It

Fall 2011Nassau Community College ITE153 – Operating Systems 49