ERROR_EFS_DISABLED - 6015 (0x177F)

This machine is disabled for file encryption.

Updated: Feb 21, 2026

Technical Background

ERROR_EFS_DISABLED, with the numeric code 6015 and the hexadecimal representation 0x177F, is a specific error code indicating that file encryption services are disabled on the current system. This error typically arises when an operation related to file encryption fails due to the system's configuration.

Error Details

The term 'EFS' stands for Encrypting File System, which was introduced in Windows 2000 and later versions to provide data protection by encrypting files on a per-user basis. The ERROR_EFS_DISABLED error signifies that the EFS feature is not enabled or supported on the current system.

Common Causes

  • System Configuration: The system may be configured to disable file encryption services, either through group policy settings or other administrative actions.
  • Unsupported Operations: Certain operations require EFS to be enabled. If an application attempts to perform such an operation and finds that EFS is disabled, this error will be returned.

Real-World Context

This error can occur in various scenarios where file encryption is required, such as when a user tries to encrypt files or when an application requires access to encrypted files on the system. It is important for developers to check if EFS is enabled before performing operations that depend on it.

Is This Error Critical?

The criticality of this error depends on the specific operation being performed. If file encryption is a requirement, then this error can be considered critical as it prevents the intended functionality from executing successfully.

How to Diagnose

  1. Review System Configuration: Check if EFS is enabled through Group Policy or other administrative tools.
  2. Verify Application Requirements: Ensure that the application or operation being performed supports and requires file encryption.

How to Resolve

  • Enable EFS: If it is necessary, enable EFS on the system via Group Policy settings or other administrative means.
  • Adjust Operation Context: Modify the operation context if possible, ensuring that it does not rely on features that are disabled.

Developer Notes

Developers should handle this error by providing appropriate feedback to users and possibly retrying operations with valid inputs. It is also advisable to document system requirements clearly in application documentation to avoid such errors during deployment.

Related Errors

  • ERROR_EFS_NOT_ALLOWED (6014): This error occurs when EFS is not allowed for the current user or file type.
  • ERROR_EFS_NO_USER_CERTIFICATE (6023): This error indicates that no certificate was found to encrypt files.

FAQ

Q: What does ERROR_EFS_DISABLED mean?

A: It means that file encryption services are disabled on the system, preventing certain operations from executing successfully.

Q: How can I check if EFS is enabled on my system?

A: You can use Group Policy Editor or other administrative tools to verify the status of EFS.

Q: Can this error be ignored if file encryption is not required?

A: Yes, if file encryption is not a requirement for your application, you can safely ignore this error. However, it is recommended to document such dependencies clearly in your application's requirements.

Summary

ERROR_EFS_DISABLED (6015) indicates that the system is configured to disable file encryption services. This error should be handled by enabling EFS if necessary or adjusting operation contexts to avoid relying on disabled features.