Windows registers encrypted files in the name of the current user, so the encryption is seam-
ENCRYPTING DATA WITH THE CIPHER UTILITY
399
less. The only time you actually see the encryption at work is when you try to open files or directories
encrypted by someone else. This utility uses the following syntax:
CIPHER [/E | /D | /C] [/S:directory] [/A] [/I] [/F] [/Q] [/B] [/H]
[pathname [...]]
CIPHER /K
CIPHER /R:filename [/Smartcard]
CIPHER /U [/N]
CIPHER /W:directory
CIPHER /X[:efsfile] [filename]
CIPHER /Y
CIPHER /ADDUSER [/CERTHASH:hash | /CERTFILE:filename] [/S:directory]
[/B] [/H] [pathname [...]]
CIPHER /REMOVEUSER /CERTHASH:hash [/S:directory] [/B] [/H]
[pathname [...]]
CIPHER /REKEY [pathname [...]]
The following list describes each of the command line arguments.
pathname
Defines the location of a file to encrypt or query. The pathname includes the drive,
path, and filename. The pathname can include multiple files or directories; separate each file or
directory with a space. You may also use wildcard characters with a pathname.
directory
Defines an absolute or relative directory path. The directory can contain a drive
when you use an absolute path.
Pages:
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949