Displays or modifies folder and file encryption on NTFS volumes.
cipher [/e| /d] [/s:dir] [/a] [/i] [/f] [/q] [/h] [/k] [/u] [/n] [pathname [...]] | [/r:pathnamewithnoextn] | [/w:pathname]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
None | Displays the current encryption status of the current folder and its contents. |
[/e] | Encrypts the specified folders and turns on encryption for any files that may later be added to the folder. |
[/d] | Decrypts the specified folders and turns off encryption for any files that may later be added to the folder. |
[/s: dir] | Performs the specified operation on all folders and subfolders in the specified folder. |
[/a] | Performs the specified operation on all specified files. |
[/i] | Performs the specified operation even if errors occur. |
[/f] | Encrypts or decrypts all specified objects regardless of their current encryption status. |
[/q] | Limits reporting to essential information only. |
[/h] | Displays files with hidden or system attributes. |
[/k] | Creates a new encryption key. |
[/u] | Updates the encryption key. |
[/n] | Prevents the updating of the encryption key. |
[pathname] | Sets a folder, file, or pattern. |
[/r:pathnamewithnoextn] | Creates a new recovery agent certificate and a new private key. |