What does Windows error code 304 (ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING) mean?

 
Could be also:
ConstantTypeOS
STATUS_DATA_OVERWRITTENNTSTATUSWindows
HTTP_STATUS_NOT_MODIFIEDHTTP CodeAny
DYNAMIC_ADD_PROCESSOR_MISMATCHBugCheck CodeWindows
Previous Next
ERROR_DELETE_PENDING ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME

ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING

The global short-name policy prevents this volume change

ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING is a Win32 result associated with 8.3 short-name configuration., diagnosis should begin with the exact API, target object, and operation that produced it rather than with the message text alone.

What the result means

The requested per-volume short-name setting conflicts with the global Windows setting. The practical meaning depends on the caller and on whether the affected object is local, remote, removable, policy-managed, or handled asynchronously. Diagnostics for it should retain its symbolic name, numeric value, and the operation name together.

What to check

  • Read the global short-name creation policy before attempting a per-volume change.
  • Determine whether legacy applications still depend on 8.3 names.
  • Apply changes during maintenance because behavior can affect installers and old software.
  • Record the existing global and volume settings before modification.

Recommended handling

Resolve the policy conflict explicitly. Do not force the volume setting without evaluating compatibility and operational impact.

Developer notes

Code handling this result should capture the failing API, resolved path or device identity, requested access, process identity, and the first observed error. After a call that reports it, read GetLastError() immediately because later cleanup or logging can overwrite the value. Retry it only when the specific condition is documented as transient, using a bounded delay and cancellation support.

References


Looking for a different code? Search another status or error code.