Decrypt files on endpoints
File Decryption policy selects how endpoints decrypt files and configures approval or direct-decryption requirements. Decryption can change file protection; follow organizational data-handling and approval procedures. Allowing decryption does not automatically remove security attribute checks or other access conditions, and saving a policy does not mean endpoints have applied it.
For complete configuration, see File decryption policy.
When the endpoint is licensed, has received the applicable policy, and the selected file meets its conditions, users can follow the endpoint steps below without creating or changing a policy for each operation. Use non-sensitive test files when configuring or piloting; for actual work, use organization-approved target files and follow approval and data-protection requirements. The administrator configuration, checks of different modes, and expansion of scope below are needed only when configuring or piloting; contact an administrator if the policy or authorization is unclear.
Before You Begin
- Use an account with Document Transparent Encryption policy-management permission and identify pilot endpoints, business scenarios, and effective time. Confirm endpoints are enrolled and appropriately licensed.
- For approval-based decryption, prepare an applicable file-decryption workflow and check approvers and handling procedures.
- Plan storage, movement, and renewed protection of decrypted files. Begin with recoverable test files and a small pilot. Protect and deliver passwords according to organizational requirements; do not place them in public documents or ordinary tickets.
Protect the decryption password on the management device: Use a trusted, organization-managed device and restrict access to the device and diagnostic material, and enable only organization-approved browser extensions. Do not assume that signing out or closing the settings window removes every copy. If exposure is suspected, change the password under your organization’s security procedure, confirm policy delivery and test the new password.
Select a Decryption Mode
- First check the applicable policy received by the target endpoint, its enabled state and effective time and file-decryption mode. Reuse suitable existing settings without changing the policy for every operation; contact an administrator if they cannot be confirmed.
- When changes are needed, an administrator with policy-management permission selects the mode under DES > Policy > File Decryption. Check the password or reason requirement for direct decryption and the applicable workflow for approval-based decryption. The prohibited mode permits neither operation. Confirm settings and save the entire policy as described in file decryption policy, then confirm endpoint receipt.
Endpoint Operation and Verification
The following applies to Windows File Explorer. Menu availability depends on licensing, policy, and file state; verify other platforms separately.
Windows context-menu text follows the Windows display language and may differ from the management console. In an English Windows interface, the relevant labels are Document security, Decrypt file, and Apply for decryption.
Direct decryption: Right-click the target encrypted file and choose Decrypt file from the document security menu. Enter the configured password or reason and confirm as applicable; check file state and business access afterward.
Unavailable direct-decryption action: The action is disabled when all selected files are identified as unencrypted, but a failure to identify file status may also make it unavailable. Do not conclude from the grayed-out action alone that files are decrypted or safe to send externally. Check each file’s protection status using an organization-approved method; contact an administrator or support if it cannot be verified.
Approval decryption: Right-click the target, choose Apply for decryption, check the files and request, select a workflow as prompted, and submit. The policy can enable automatic source-file decryption after approval. First confirm whether automatic processing has finished and check the endpoint messages and file state; if uncertain, contact an administrator rather than immediately repeating the operation. If manual processing is needed, the applicant opens Approvals > Submitted on the original endpoint, finds and opens the request, and selects Decrypt source file or Decrypt folder for the relevant item if available. The action area may show a direct decryption icon or a more-actions menu. Selecting an available decryption action may start processing immediately, so confirm the target file or folder first. Wait for processing and check the endpoint message and file state; approval alone does not prove the source was decrypted.
For folders or multiple files, first check menu availability and the actual file scope. Do not assume all files were included or successfully processed. On Windows, the folder batch-decryption menu is unavailable if the policy disallows direct decryption or permits decryption requests. The decryption-request menu is also unavailable when multiple folders, but no files, are selected. Adjust the selection according to the applicable policy or contact an administrator; do not bypass approval requirements.
If automatic re-encryption is configured, wait for the specified time and check file state again. During configuration or a pilot, separately test the applicable disabled, approval or direct-decryption scenarios in the plan, then decide whether to expand the scope under the organization’s process. Routine use does not require testing every mode for each operation.
Checking the file and result for approved decryption on Windows: Before execution, confirm that the file is still the approved file. Changes after approval may prevent the original request from being executed; recheck under your organization’s process and submit a new request if needed. If execution reports failure, interruption, or an uncertain result, do not assume the file remains encrypted, and do not immediately repeat the operation or send the file out. Have an authorized person check the original file’s actual protection state, approval and audit records, and any applicable re-encryption arrangement. If uncertain, contact an administrator or technical support and protect the file and copies as required. A directory or multi-file operation may be only partially complete; check each file.
Directly decrypting selected files on Windows: On some Windows endpoints, when files are selected directly in File Explorer and Decrypt file is used, this entry skips files with .dll, .exe, .lnk, or .sys extensions. In a multiple selection, processing other files does not mean these files were decrypted; verify each file’s state. Folder batch processing and approval-based decryption follow different flows, so do not automatically apply this rule to those entries. If affected files need processing, ask an administrator for an approved method first; do not change extensions to bypass the restriction.
File location for automatic re-encryption on Windows: After direct or approval decryption, or downloading an approved file, if the corresponding automatic re-encryption setting is enabled, avoid moving or renaming the file until it is confirmed protected again. Re-encryption may be delayed while a program is using the file. If the file no longer exists at its original location, do not assume the system will continue to track and process the moved file. After the configured time, save your work and assess the business impact before closing programs that use the file. Close them only when safe; contact an administrator if uncertain. Then check the actual protection state of the original and any copies according to organizational procedures. Do not treat the file as re-encrypted until verified. Changing the automatic re-encryption interval may affect when files already waiting are processed. After disabling the option or removing the policy, do not assume those files will be re-encrypted on the original schedule. Before and after the change, check files and copies that are not yet protected again under organizational procedures, and use an approved protection method where needed.
When permitted by the organization, the scan tool can also be used for pilot files. Approval, password or reason prompts can differ between entry points; do not assume the scan tool and context-menu operation behave identically. Follow organizational approval requirements and check the applicable policy first.
Troubleshooting
- Cannot save approval settings: Check the default workflow, required quota fields, and file-size range; confirm each subwindow and the entire policy.
- Workflow missing: Check that it is applicable to file decryption, available, and visible to the administrator, then reopen the selector.
- Menu unavailable: Check endpoint licensing, policy receipt, selected mode, and file state. Menus may differ by platform and selection.
- File unchanged after approval: Check automatic processing settings, endpoint receipt, file state, and prompts; complete any subsequent steps required by the actual workflow.
- Unexpected behavior: Check target scope, current policy, password or reason selection, and other security attributes. Record page messages for support.
Decrypt directly on macOS
On macOS endpoints with the relevant components deployed and a policy allowing direct decryption, users can try the Finder context-menu action. Availability depends on authorization, applicable policy and component status; neither the product version nor saving a policy proves the entry is available at a particular site.
- Confirm that the organization permits the decryption, the endpoint has received the applicable policy, and requirements for storing and re-protecting decrypted files are understood. Select a local regular file owned by the current user in that user's home folder, confirm the file and containing folder are writable, and prepare a recoverable backup. Do not assume network locations, read-only media or files owned by another user are supported by this entry.
- In Finder, right-click the selected file and choose “文件安全 > 解密文件” (File Security > Decrypt File). The menu labels may appear in Chinese in this version. If the entry is missing or unavailable, check components, authorization, policy and file status; do not change permissions or move files to bypass restrictions.
- If policy requires a decryption reason or password, this Finder entry provides no fields for them and the operation may be rejected. Ask an administrator for an organization-approved way to proceed; do not weaken policy or bypass approval on your own.
- After processing, verify each file's actual protection state and business access, and protect decrypted files according to organizational requirements. A closed menu, returned operation or absence of an error does not prove that every file was decrypted. If the result is unclear, do not repeat the operation or send the files externally; contact an administrator or technical support first.
Approval differs: Some macOS endpoint clients may not provide an action to submit a file-decryption request or decrypt the original after approval. Do not apply the Windows request and post-approval steps above directly to macOS. When approval is required, first ask an administrator to confirm the current client and an organization-approved procedure; do not substitute direct decryption for approval.
Decrypt directly on Linux
Where the relevant endpoint tool is deployed and permitted on Linux, the command line can process one file. Ask an administrator to confirm that NSec can be invoked in the current terminal and that the endpoint is licensed and has received a policy permitting direct decryption; a product version alone does not establish availability. Verify the target, post-decryption protection and a recoverable backup, and pilot with an approved non-sensitive test file.
For example, NSec decrypt /path/to/approved-test-file uses an illustrative path; replace it with an approved actual file path and quote paths containing spaces according to the shell. A symbolic link is resolved and its actual target is processed, potentially outside the selected location. Verify the target, authorization and backup first.
If policy requires a reason, use --reason as prompted with an approved reason that contains no passwords or sensitive content. If a password is required, add --password and enter it when prompted; do not place the password in the command or a script. Hiding terminal input may fail; stop and contact an administrator if input could be echoed, observed or recorded. When policy permits decryption only through approval, this command is not a substitute; follow the organization's approved process without bypassing policy.
Wait for the result, then verify the file's actual protection state, business access and re-protection arrangements. On failure, interruption or no response, do not assume the file is unchanged, immediately retry or send it externally. Check the file and backup first and contact an administrator or technical support if uncertain.
Updated