首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows cmd cipher:"cipher /w:c“和"cipher /w:c:\”有什么区别?

Windows cmd cipher:"cipher /w:c“和"cipher /w:c:\”有什么区别?
EN

Stack Overflow用户
提问于 2018-01-22 03:27:38
回答 1查看 1.1K关注 0票数 0

我正在研究如何从我的驱动器中擦除数据,使其无法恢复。我看过一些关于使用“/w /w:C”的教程,这是我执行的命令"cipher“。在我的3TB硬盘上运行只需要5分钟。但我听说这个过程需要更长的时间。因此,我进一步了解了一下,并查看了其他使用命令"cipher /w:C:\“的教程。我运行了这个命令,现在这个过程花费了更长的时间(在我写这篇文章的时候仍然在运行)。所以我想知道这两个命令有什么不同?

EN

回答 1

Stack Overflow用户

发布于 2018-01-22 15:48:53

只需运行cipher /?

你会得到:

代码语言:javascript
复制
/B        Abort if an error is encountered. By default, CIPHER continues
          executing even if errors are encountered.
/C        Displays information on the encrypted file.
/D        Decrypts the specified files or directories.
/E        Encrypts the specified files or directories. Directories will be
          marked so that files added afterward will be encrypted. The
          encrypted file could become decrypted when it is modified if the
          parent directory is not encrypted. It is recommended that you
          encrypt the file and the parent directory.
/H        Displays files with the hidden or system attributes. These files
          are omitted by default.
/K        Creates a new certificate and key for use with EFS. If this
          option is chosen, all the other options will be ignored.

          Note: By default, /K creates a certificate and key that conform
                to current group policy. If ECC is specified, a self-signed
                certificate will be created with the supplied key size.

/N        This option only works with /U. This will prevent keys being
          updated. This is used to find all the encrypted files on the
          local drives.
/R        Generates an EFS recovery key and certificate, then writes them
          to a .PFX file (containing certificate and private key) and a
          .CER file (containing only the certificate). An administrator may
          add the contents of the .CER to the EFS recovery policy to create
          the recovery key for users, and import the .PFX to recover
          individual files. If SMARTCARD is specified, then writes the
          recovery key and certificate to a smart card. A .CER file is
          generated (containing only the certificate). No .PFX file is
          generated.

          Note: By default, /R creates an 2048-bit RSA recovery key and
                certificate. If ECC is specified, it must be followed by a
                key size of 256, 384, or 521.

/S        Performs the specified operation on the given directory and all
          files and subdirectories within it.
/U        Tries to touch all the encrypted files on local drives. This will
          update user's file encryption key or recovery keys to the current
          ones if they are changed. This option does not work with other
          options except /N.
/W        Removes data from available unused disk space on the entire
          volume. If this option is chosen, all other options are ignored.
          The directory specified can be anywhere in a local volume. If it
          is a mount point or points to a directory in another volume, the
          data on that volume will be removed.
/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. Otherwise, the user's current EFS
          certificate and keys will be backed up.
/Y        Displays your current EFS certificate thumbprint on the local PC.
/ADDUSER  Adds a user to the specified encrypted file(s). If CERTHASH is
          provided, cipher will search for a certificate with this SHA1
          hash. If CERTFILE is provided, cipher will extract the
          certificate from the file. If USER is provided, cipher will
          try to locate the user's certificate in Active Directory Domain
          Services.
/FLUSHCACHE
          Clears the calling user's EFS key cache on the specified server.
          If servername is not provided, cipher clears the user's key cache
          on the local machine.
/REKEY    Updates the specified encrypted file(s) to use the configured
          EFS current key.
/REMOVEUSER
          Removes a user from the specified file(s). CERTHASH must be the
          SHA1 hash of the certificate to remove.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48370811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档