05.03.2013 Views

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

MCSA/MCSE Self-Paced Training Kit (Exam 70-270): Installing ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10-52 Chapter 10 Managing Data Storage<br />

How to Control Encryption From the Command Line by Using the Cipher<br />

Command<br />

The Cipher command provides the capability to encrypt and decrypt files and folders<br />

from a command prompt. The following example shows the available switches for the<br />

Cipher command, which are described in Table 10-5:<br />

cipher [/e | /d] [/s:folder_name] [/a] [/i] [/f] [/q] [/h] [/k] [file_name [...]]<br />

Table 10-5 Cipher Command Switches<br />

Switch Description<br />

/e Encrypts the specified folders. Folders are marked so any files that are added later<br />

are encrypted.<br />

/d Decrypts the specified folders. Folders are marked so any files that are added later<br />

are not encrypted.<br />

/s Performs the specified operation on files in the given folder and all subfolders.<br />

/a Performs the specified operation on files as well as folders. Encrypted files could<br />

be decrypted when modified if the parent folder is not encrypted. Encrypt the file<br />

and the parent folder to avoid problems.<br />

/i Continues performing the specified operation even after errors have occurred. By<br />

default, Cipher stops when an error is encountered.<br />

/f Forces the encryption operation on all specified files, even those that are already<br />

encrypted. Files that are already encrypted are skipped by default.<br />

/q Reports only the most essential information.<br />

/h Displays files with the hidden or system attributes, which are not shown by<br />

default.<br />

/k Creates a new file encryption key for the user running the Cipher command. Using<br />

this option causes the Cipher command to ignore all other options.<br />

file_name Specifies a pattern, file, or folder.<br />

If you run the Cipher command without parameters, it displays the encryption state of<br />

the current folder and any files that it contains. You can specify multiple file names and<br />

use wildcards. You must put spaces between multiple parameters.<br />

How to Create an EFS Recovery Agent<br />

If you lose your file encryption certificate and associated private key through disk failure<br />

or for any other reason, a user account designated as the recovery agent can open<br />

the file using his or her own certificate and associated private key. If the recovery agent<br />

is on another computer in the network, send the file to the recovery agent.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!