cipher

Display or alter the encryption of directories and files on NTFS volumes. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/cipher.

cipher /c:path\to\file_or_directory

cipher /e:path\to\file_or_directory

cipher /d:path\to\file_or_directory

cipher /w:path\to\file_or_directory