cipher command


The cipher.exe command is an external command that is available in Windows 200, XP, Vista, and 7, and displays or alters the encryption of directories [files] on NTFS partitions.

Syntax :

CIPHER [/E | /D] [/S:dir] [/A] [/I] [/F] [/Q] [/H] [/K] [pathname […]]

CIPHER /W:directory

CIPHER /X[:efsfile] [filename]

Descriptions of the Syntax Parameters : 

/E – Encrypts the specified directories. Directories will be marked so that files added afterward will be encrypted.
/D – Decrypts the specified directories. Directories will be marked so that files added afterward will not be encrypted.
/F – Forces the encryption operation on all specified objects, even those that are already encrypted.
/X – Backup EFS certificate and keys into file filename. If efsfile is provided, the current user’s certificate(s) used to encrypt the file will be backed up.
/W – Removes data from available unused disk space on the entire volume.

4 Comments

Leave a comment