Security Management Return Values

The security management return values include the following:

Attachment Return Values

The Security Configuration tool set supports the following SCESTATUS return codes. These values are returned by the attachment support functions and those functions implemented when writing an attachment engine or snap-in.

SymbolicCodeDescription
SCESTATUS_SUCCESSThe function succeeded.
SCESTATUS_INVALID_PARAMETEROne of the parameters passed to the function was not valid.
SCESTATUS_RECORD_NOT_FOUNDThe specified record was not found in the security database.
SCESTATUS_INVALID_DATAThe function failed because some data was not valid.
SCESTATUS_OBJECT_EXISTSThe object already exists.
SCESTATUS_BUFFER_TOO_SMALLThe buffer passed into the function to receive data is not large enough to receive all the data.
SCESTATUS_PROFILE_NOT_FOUNDThe specified profile was not found.
SCESTATUS_BAD_FORMATThe format is not valid.
SCESTATUS_NOT_ENOUGH_RESOURCEThere is insufficient memory.
SCESTATUS_ACCESS_DENIEDThe caller does not have sufficient privileges to complete this action.
SCESTATUS_CANT_DELETEThe function cannot delete the specified item.
SCESTATUS_PREFIX_OVERFLOWA prefix overflow occurred.
SCESTATUS_OTHER_ERRORAn unspecified error has occurred.
SCESTATUS_ALREADY_RUNNINGThe service is already running.
SCESTATUS_SERVICE_NOT_SUPPORTThe specified service is not supported.
SCESTATUS_MOD_NOT_FOUNDAn attachment engine DLL listed in the registry either cannot be found or cannot be loaded.
SCESTATUS_EXCEPTION_IN_SERVERAn exception occurred in the server.
STATUS_SUCCESSThe function was successful.
STATUS_ACCESS_DENIEDCaller does not have the appropriate access to complete the operation.
STATUS_INSUFFICIENT_RESOURCESThere are not enough system resources (such as memory to allocate buffers) to complete the call.
STATUS_INTERNAL_DB_ERRORThe LSA database contains an internal inconsistency.
STATUS_INVALID_HANDLEIndicates an object or RPC handle is not valid in the context used.
STATUS_INVALID_SERVER_STATEIndicates the LSA server is currently disabled.
STATUS_INVALID_PARAMETEROne of the parameters is not valid.
STATUS_NO_SUCH_PRIVILEGEIndicates a specified privilege does not exist.
STATUS_OBJECT_NAME_NOT_FOUNDAn object in the LSA policy database was not found. The object may have been specified either by SID or by name, depending on its type.
STATUS_UNSUCCESSFULGeneric failure, such as RPC connection failure.
27 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.