GCFA · Question #234
You work as a Network Administrator for McNeel Inc. You want to encrypt each user's MY DOCUMENTS folder. You decide to use Encrypting File System (EFS). You plan to write a script for encryption…
The correct answer is C. CIPHER. The CIPHER command-line tool is the correct utility for scripting EFS encryption and decryption operations on files and folders in Windows.
Question
You work as a Network Administrator for McNeel Inc. You want to encrypt each user's MY DOCUMENTS folder. You decide to use Encrypting File System (EFS). You plan to write a script for encryption. Which of the following tools will you use to encrypt specified folders?
Options
- AEFSINFO
- BSYSKEY
- CCIPHER
- DWindows Explorer
How the community answered
(42 responses)- A14% (6)
- B7% (3)
- C76% (32)
- D2% (1)
Why each option
The CIPHER command-line tool is the correct utility for scripting EFS encryption and decryption operations on files and folders in Windows.
EFSINFO is a resource kit tool used only to display information about EFS-encrypted files; it cannot perform encryption.
SYSKEY is used to protect the Security Account Manager (SAM) database with an additional encryption key and is unrelated to EFS file or folder encryption.
CIPHER.exe is the built-in Windows command-line tool designed to manage Encrypting File System (EFS) operations, including encrypting and decrypting files and folders. Because it is a command-line utility, it can be called from batch scripts or automation scripts to encrypt specified directories such as a user's My Documents folder. It also provides options to display encryption status and manage EFS certificates.
Windows Explorer can encrypt folders via the GUI properties dialog, but it is not a scriptable tool suitable for automation.
Concept tested: EFS encryption using CIPHER command-line tool
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cipher
Topics
Community Discussion
No community discussion yet for this question.