Site icon EfmSoft

What does Windows error code 1302 (ERROR_NO_QUOTAS_FOR_ACCOUNT) mean?

 
Previous Next
ERROR_SOME_NOT_MAPPED ERROR_LOCAL_USER_SESSION_KEY

ERROR_NO_QUOTAS_FOR_ACCOUNT

No account-specific system quota is configured.

ERROR_NO_QUOTAS_FOR_ACCOUNT is Win32 error 1302 (0x516). It reports that no system quota limits are specifically set for the account being queried. Depending on the API, this can be an expected “no explicit value” result rather than evidence that the account is broken or that a quota has been exceeded.

Interpretation questions

Evidence to record

Log the server or volume queried, account name and SID, API and information level, default quota configuration, per-user entry state, and effective limit calculated by the application. Do not treat a missing explicit entry as zero capacity unless the API documentation explicitly defines that behavior.

Diagnostic sequence

Identify the quota subsystem first. Legacy network user information can expose a maximum-storage field, while NTFS disk quotas maintain per-volume user records with used, threshold, and limit values. Query the default policy and the account-specific record separately. Resolve the SID to ensure the request is not using an orphaned identity.

Compare the effective behavior with a working account that also lacks an override. If the caller is an administration tool, verify whether it should display “uses default,” “unlimited,” or “not configured.” Converting all three states into the same numeric zero leads to incorrect enforcement and confusing reports.

Administrative action

If an explicit quota is required, create it through the supported account or volume quota interface and confirm that the enforcement state is enabled. Otherwise handle error 1302 as absence of an override and apply the documented default. Avoid writing undocumented registry values to manufacture a quota record.

Difference from quota exhaustion

ERROR_QUOTA_EXCEEDED means an active limit has been exceeded. ERROR_LICENSE_QUOTA_EXCEEDED concerns licensed service connections. Error 1302 states that the account has no specifically assigned system quota limit; it does not say the account has consumed too much storage.

Example

A reporting tool queries per-user disk quota data and labels accounts without entries as “0 bytes allowed.” Users can still write because the volume default is unlimited. Treating 1302 as “use volume default” corrects the report and matches actual enforcement.

References


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

Exit mobile version