Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Cipher displays or changes the encryption of files on NTFS volumes

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how Cipher in the NTFS volume to display or change the encryption of files, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Cipher

Displays or changes the encryption of files on a NTFS volume. If used without parameters, cipher displays the encryption status of the current folder and the files it contains.

Grammar

Cipher [{/ e | / d}] [/ s:dir] [/ a] [/ I] [/ f] [/ Q] [/ h] [/ k] [/ u [/ n]] [PathName [...]] | [/ r:PathNameWithoutExtension] | [/ w:PathName]

Parameters.

/ e

Encrypts the specified folder. After the folder is marked, the files added to the folder later are also encrypted.

/ d

Decrypts the specified folder. After the folder is marked, the files added to the folder later are also encrypted.

/ s: dir

Performs the selected action in the specified folder and all of its subfolders.

/ a

Perform file and directory operations.

/ i

The specified operation continues even if an error occurs. By default, cipher stops when it encounters an error.

/ f

Encrypts or decrypts all specified objects. By default, cipher skips encrypted or decrypted files.

/ q

Report only the most basic information.

/ h

Displays files with hidden or system properties. By default, these files are not encrypted or decrypted.

/ k

Create a new file encryption for users running cipher. If you use this option, cipher ignores all other options.

/ u

Update the encryption key of the user file or restore the agent key to the current file in all encrypted files on the local drive (if the key has changed). This option is used only with / n.

/ n

Prevent key updates. Use this option to find all encrypted files on your local drive. This option is used only with / u.

PathName

Specify a style, file, or folder.

/ r:PathNameWithoutExtension

Generate a new recovery agent certificate and private key and write them to a file (the name of which is specified in PathNameWithoutExtension). If you use this option, cipher ignores all other options.

/ w:PathName

Delete the unused part of the data on the volume. PathName represents any directory on the required volume. If you use this option, cipher ignores all other options.

/?

Displays help at the command prompt.

Annotation

Use / w

/ w removes part of the data from accessible volumes and is not assigned to files or directories. Because it does not lock the drive, other programs can obtain the space on the drive, which cipher cannot be deleted. Because this option performs write operations on most of the space of the hard disk volume, it takes a long time to complete and is used only when necessary.

Encrypt or decrypt files

To prevent encrypted files from becoming decrypted when modified, it is recommended that you encrypt both the file and the folder in which it is stored.

Use read-only files and folders

Cipher cannot encrypt files marked as read-only.

Use multiple folder names

You can use multiple folder names and wildcards.

Use multiple parameters

Each parameter is separated by at least one space.

Example

To use cipher to encrypt the May subfolder in the MonthlyReports folder, type:

Cipher / e monthlyreports\ may

To encrypt the January to December subfolder in the MonthlyReports folder and the Manufacturing subfolder in the month subfolder, type:

Cipher / e / s:monthlyreports

If you only want to add the Marketing.xls file in the May subfolder, type:

Cipher / e / a monthlyreports\ may\ marketing.xls

To encrypt the Marketing.xls files, Maintenance.doc files, and Manufacturing subfolders in the May folder, type:

Cipher / e / a monthlyreports\ may\ ma*

To determine if the May is encrypted, type:

Cipher monthlyreports\ may

To determine which files in the May folder are encrypted, type:

Cipher monthlyreports\ may\ *

The above is all the contents of the article "how to display or change the encryption of files on NTFS volumes by Cipher". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report