System Error Codes (1300-1699)

Header: winerror.h

The following list describes system error codes for errors 1300 to 1699. They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag.

Note

This information is intended for developers debugging system errors. For other errors, such as issues with Windows Update, see the list of resources on the Error codes page.

SymbolicCodeDescription
ERROR_NOT_ALL_ASSIGNED0x514Not all privileges or groups referenced are assigned to the caller.
ERROR_SOME_NOT_MAPPED0x515Some mapping between account names and security IDs was not done.
ERROR_NO_QUOTAS_FOR_ACCOUNT0x516No system quota limits are specifically set for this account.
ERROR_LOCAL_USER_SESSION_KEY0x517No encryption key is available. A well-known encryption key was returned.
ERROR_NULL_LM_PASSWORD0x518The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a **NULL** string.
ERROR_UNKNOWN_REVISION0x519The revision level is unknown.
ERROR_REVISION_MISMATCH0x51AIndicates two revision levels are incompatible.
ERROR_INVALID_OWNER0x51BThis security ID may not be assigned as the owner of this object.
ERROR_INVALID_PRIMARY_GROUP0x51CThis security ID may not be assigned as the primary group of an object.
ERROR_NO_IMPERSONATION_TOKEN0x51DAn attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client.
ERROR_CANT_DISABLE_MANDATORY0x51EThe group may not be disabled.
ERROR_NO_LOGON_SERVERS0x51FThere are currently no logon servers available to service the logon request.
ERROR_NO_SUCH_LOGON_SESSION0x520A specified logon session does not exist. It may already have been terminated.
ERROR_NO_SUCH_PRIVILEGE0x521A specified privilege does not exist.
ERROR_PRIVILEGE_NOT_HELD0x522A required privilege is not held by the client.
ERROR_INVALID_ACCOUNT_NAME0x523The name provided is not a properly formed account name.
ERROR_USER_EXISTS0x524The specified account already exists.
ERROR_NO_SUCH_USER0x525The specified account does not exist.
ERROR_GROUP_EXISTS0x526The specified group already exists.
ERROR_NO_SUCH_GROUP0x527The specified group does not exist.
ERROR_MEMBER_IN_GROUP0x528Either the specified user account is already a member of the specified group, or the specified group cannot be deleted because it contains a member.
ERROR_MEMBER_NOT_IN_GROUP0x529The specified user account is not a member of the specified group account.
ERROR_LAST_ADMIN0x52AThis operation is disallowed as it could result in an administration account being disabled, deleted or unable to log on.
ERROR_WRONG_PASSWORD0x52BUnable to update the password. The value provided as the current password is incorrect.
ERROR_ILL_FORMED_PASSWORD0x52CUnable to update the password. The value provided for the new password contains values that are not allowed in passwords.
ERROR_PASSWORD_RESTRICTION0x52DUnable to update the password. The value provided for the new password does not meet the length, complexity, or history requirements of the domain.
ERROR_LOGON_FAILURE0x52EThe user name or password is incorrect.
ERROR_ACCOUNT_RESTRICTION0x52FAccount restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced.
ERROR_INVALID_LOGON_HOURS0x530Your account has time restrictions that keep you from signing in right now.
ERROR_INVALID_WORKSTATION0x531This user isn't allowed to sign in to this computer.
ERROR_PASSWORD_EXPIRED0x532The password for this account has expired.
ERROR_ACCOUNT_DISABLED0x533This user can't sign in because this account is currently disabled.
ERROR_NONE_MAPPED0x534No mapping between account names and security IDs was done.
ERROR_TOO_MANY_LUIDS_REQUESTED0x535Too many local user identifiers (LUIDs) were requested at one time.
ERROR_LUIDS_EXHAUSTED0x536No more local user identifiers (LUIDs) are available.
ERROR_INVALID_SUB_AUTHORITY0x537The subauthority part of a security ID is invalid for this particular use.
ERROR_INVALID_ACL0x538The access control list (ACL) structure is invalid.
ERROR_INVALID_SID0x539The security ID structure is invalid.
ERROR_INVALID_SECURITY_DESCR0x53AThe security descriptor structure is invalid.
ERROR_BAD_INHERITANCE_ACL0x53CThe inherited access control list (ACL) or access control entry (ACE) could not be built.
ERROR_SERVER_DISABLED0x53DThe server is currently disabled.
ERROR_SERVER_NOT_DISABLED0x53EThe server is currently enabled.
ERROR_INVALID_ID_AUTHORITY0x53FThe value provided was an invalid value for an identifier authority.
ERROR_ALLOTTED_SPACE_EXCEEDED0x540No more memory is available for security information updates.
ERROR_INVALID_GROUP_ATTRIBUTES0x541The specified attributes are invalid, or incompatible with the attributes for the group as a whole.
ERROR_BAD_IMPERSONATION_LEVEL0x542Either a required impersonation level was not provided, or the provided impersonation level is invalid.
ERROR_CANT_OPEN_ANONYMOUS0x543Cannot open an anonymous level security token.
ERROR_BAD_VALIDATION_CLASS0x544The validation information class requested was invalid.
ERROR_BAD_TOKEN_TYPE0x545The type of the token is inappropriate for its attempted use.
ERROR_NO_SECURITY_ON_OBJECT0x546Unable to perform a security operation on an object that has no associated security.
ERROR_CANT_ACCESS_DOMAIN_INFO0x547Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied.
ERROR_INVALID_SERVER_STATE0x548The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation.
ERROR_INVALID_DOMAIN_STATE0x549The domain was in the wrong state to perform the security operation.
ERROR_INVALID_DOMAIN_ROLE0x54AThis operation is only allowed for the Primary Domain Controller of the domain.
ERROR_NO_SUCH_DOMAIN0x54BThe specified domain either does not exist or could not be contacted.
ERROR_DOMAIN_EXISTS0x54CThe specified domain already exists.
ERROR_DOMAIN_LIMIT_EXCEEDED0x54DAn attempt was made to exceed the limit on the number of domains per server.
ERROR_INTERNAL_DB_CORRUPTION0x54EUnable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk.
ERROR_INTERNAL_ERROR0x54FAn internal error occurred.
ERROR_GENERIC_NOT_MAPPED0x550Generic access types were contained in an access mask which should already be mapped to nongeneric types.
ERROR_BAD_DESCRIPTOR_FORMAT0x551A security descriptor is not in the right format (absolute or self-relative).
ERROR_NOT_LOGON_PROCESS0x552The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process.
ERROR_LOGON_SESSION_EXISTS0x553Cannot start a new logon session with an ID that is already in use.
ERROR_NO_SUCH_PACKAGE0x554A specified authentication package is unknown.
ERROR_BAD_LOGON_SESSION_STATE0x555The logon session is not in a state that is consistent with the requested operation.
ERROR_LOGON_SESSION_COLLISION0x556The logon session ID is already in use.
ERROR_INVALID_LOGON_TYPE0x557A logon request contained an invalid logon type value.
ERROR_CANNOT_IMPERSONATE0x558Unable to impersonate using a named pipe until data has been read from that pipe.
ERROR_RXACT_INVALID_STATE0x559The transaction state of a registry subtree is incompatible with the requested operation.
ERROR_RXACT_COMMIT_FAILURE0x55AAn internal security database corruption has been encountered.
ERROR_SPECIAL_ACCOUNT0x55BCannot perform this operation on built-in accounts.
ERROR_SPECIAL_GROUP0x55CCannot perform this operation on this built-in special group.
ERROR_SPECIAL_USER0x55DCannot perform this operation on this built-in special user.
ERROR_MEMBERS_PRIMARY_GROUP0x55EThe user cannot be removed from a group because the group is currently the user's primary group.
ERROR_TOKEN_ALREADY_IN_USE0x55FThe token is already in use as a primary token.
ERROR_NO_SUCH_ALIAS0x560The specified local group does not exist.
ERROR_MEMBER_NOT_IN_ALIAS0x561The specified account name is not a member of the group.
ERROR_MEMBER_IN_ALIAS0x562The specified account name is already a member of the group.
ERROR_ALIAS_EXISTS0x563The specified local group already exists.
ERROR_LOGON_NOT_GRANTED0x564Logon failure: the user has not been granted the requested logon type at this computer.
ERROR_TOO_MANY_SECRETS0x565The maximum number of secrets that may be stored in a single system has been exceeded.
ERROR_SECRET_TOO_LONG0x566The length of a secret exceeds the maximum length allowed.
ERROR_INTERNAL_DB_ERROR0x567The local security authority database contains an internal inconsistency.
ERROR_TOO_MANY_CONTEXT_IDS0x568During a logon attempt, the user's security context accumulated too many security IDs.
ERROR_LOGON_TYPE_NOT_GRANTED0x569Logon failure: the user has not been granted the requested logon type at this computer.
ERROR_NT_CROSS_ENCRYPTION_REQUIRED0x56AA cross-encrypted password is necessary to change a user password.
ERROR_NO_SUCH_MEMBER0x56BA member could not be added to or removed from the local group because the member does not exist.
ERROR_INVALID_MEMBER0x56CA new member could not be added to a local group because the member has the wrong account type.
ERROR_TOO_MANY_SIDS0x56DToo many security IDs have been specified.
ERROR_LM_CROSS_ENCRYPTION_REQUIRED0x56EA cross-encrypted password is necessary to change this user password.
ERROR_NO_INHERITANCE0x56FIndicates an ACL contains no inheritable components.
ERROR_FILE_CORRUPT0x570The file or directory is corrupted and unreadable.
ERROR_DISK_CORRUPT0x571The disk structure is corrupted and unreadable.
ERROR_NO_USER_SESSION_KEY0x572There is no user session key for the specified logon session.
ERROR_LICENSE_QUOTA_EXCEEDED0x573The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept.
ERROR_WRONG_TARGET_NAME0x574The target account name is incorrect.
ERROR_MUTUAL_AUTH_FAILED0x575Mutual Authentication failed. The server's password is out of date at the domain controller.
ERROR_TIME_SKEW0x576There is a time and/or date difference between the client and server.
ERROR_CURRENT_DOMAIN_NOT_ALLOWED0x577This operation cannot be performed on the current domain.
ERROR_INVALID_WINDOW_HANDLE0x578Invalid window handle.
ERROR_INVALID_MENU_HANDLE0x579Invalid menu handle.
ERROR_INVALID_CURSOR_HANDLE0x57AInvalid cursor handle.
ERROR_INVALID_ACCEL_HANDLE0x57BInvalid accelerator table handle.
ERROR_INVALID_HOOK_HANDLE0x57CInvalid hook handle.
ERROR_INVALID_DWP_HANDLE0x57DInvalid handle to a multiple-window position structure.
ERROR_TLW_WITH_WSCHILD0x57ECannot create a top-level child window.
ERROR_CANNOT_FIND_WND_CLASS0x57FCannot find window class.
ERROR_WINDOW_OF_OTHER_THREAD0x580Invalid window; it belongs to other thread.
ERROR_HOTKEY_ALREADY_REGISTERED0x581Hot key is already registered.
ERROR_CLASS_ALREADY_EXISTS0x582Class already exists.
ERROR_CLASS_DOES_NOT_EXIST0x583Class does not exist.
ERROR_CLASS_HAS_WINDOWS0x584Class still has open windows.
ERROR_INVALID_INDEX0x585Invalid index.
ERROR_INVALID_ICON_HANDLE0x586Invalid icon handle.
ERROR_PRIVATE_DIALOG_INDEX0x587Using private DIALOG window words.
ERROR_LISTBOX_ID_NOT_FOUND0x588The list box identifier was not found.
ERROR_NO_WILDCARD_CHARACTERS0x589No wildcards were found.
ERROR_CLIPBOARD_NOT_OPEN0x58AThread does not have a clipboard open.
ERROR_HOTKEY_NOT_REGISTERED0x58BHot key is not registered.
ERROR_WINDOW_NOT_DIALOG0x58CThe window is not a valid dialog window.
ERROR_CONTROL_ID_NOT_FOUND0x58DControl ID not found.
ERROR_INVALID_COMBOBOX_MESSAGE0x58EInvalid message for a combo box because it does not have an edit control.
ERROR_WINDOW_NOT_COMBOBOX0x58FThe window is not a combo box.
ERROR_INVALID_EDIT_HEIGHT0x590Height must be less than 256.
ERROR_DC_NOT_FOUND0x591Invalid device context (DC) handle.
ERROR_INVALID_HOOK_FILTER0x592Invalid hook procedure type.
ERROR_INVALID_FILTER_PROC0x593Invalid hook procedure.
ERROR_HOOK_NEEDS_HMOD0x594Cannot set nonlocal hook without a module handle.
ERROR_GLOBAL_ONLY_HOOK0x595This hook procedure can only be set globally.
ERROR_JOURNAL_HOOK_SET0x596The journal hook procedure is already installed.
ERROR_HOOK_NOT_INSTALLED0x597The hook procedure is not installed.
ERROR_INVALID_LB_MESSAGE0x598Invalid message for single-selection list box.
ERROR_SETCOUNT_ON_BAD_LB0x599LB_SETCOUNT sent to non-lazy list box.
ERROR_LB_WITHOUT_TABSTOPS0x59AThis list box does not support tab stops.
ERROR_DESTROY_OBJECT_OF_OTHER_THREAD0x59BCannot destroy object created by another thread.
ERROR_CHILD_WINDOW_MENU0x59CChild windows cannot have menus.
ERROR_NO_SYSTEM_MENU0x59DThe window does not have a system menu.
ERROR_INVALID_MSGBOX_STYLE0x59EInvalid message box style.
ERROR_INVALID_SPI_VALUE0x59FInvalid system-wide (SPI_*) parameter.
ERROR_SCREEN_ALREADY_LOCKED0x5A0Screen already locked.
ERROR_HWNDS_HAVE_DIFF_PARENT0x5A1All handles to windows in a multiple-window position structure must have the same parent.
ERROR_NOT_CHILD_WINDOW0x5A2The window is not a child window.
ERROR_INVALID_GW_COMMAND0x5A3Invalid GW_* command.
ERROR_INVALID_THREAD_ID0x5A4Invalid thread identifier.
ERROR_NON_MDICHILD_WINDOW0x5A5Cannot process a message from a window that is not a multiple document interface (MDI) window.
ERROR_POPUP_ALREADY_ACTIVE0x5A6Popup menu already active.
ERROR_NO_SCROLLBARS0x5A7The window does not have scroll bars.
ERROR_INVALID_SCROLLBAR_RANGE0x5A8Scroll bar range cannot be greater than MAXLONG.
ERROR_INVALID_SHOWWIN_COMMAND0x5A9Cannot show or remove the window in the way specified.
ERROR_NO_SYSTEM_RESOURCES0x5AAInsufficient system resources exist to complete the requested service.
ERROR_NONPAGED_SYSTEM_RESOURCES0x5ABInsufficient system resources exist to complete the requested service.
ERROR_PAGED_SYSTEM_RESOURCES0x5ACInsufficient system resources exist to complete the requested service.
ERROR_WORKING_SET_QUOTA0x5ADInsufficient quota to complete the requested service.
ERROR_PAGEFILE_QUOTA0x5AEInsufficient quota to complete the requested service.
ERROR_COMMITMENT_LIMIT0x5AFThe paging file is too small for this operation to complete.
ERROR_MENU_ITEM_NOT_FOUND0x5B0A menu item was not found.
ERROR_INVALID_KEYBOARD_HANDLE0x5B1Invalid keyboard layout handle.
ERROR_HOOK_TYPE_NOT_ALLOWED0x5B2Hook type not allowed.
ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION0x5B3This operation requires an interactive window station.
ERROR_TIMEOUT0x5B4This operation returned because the timeout period expired.
ERROR_INVALID_MONITOR_HANDLE0x5B5Invalid monitor handle.
ERROR_INCORRECT_SIZE0x5B6Incorrect size argument.
ERROR_SYMLINK_CLASS_DISABLED0x5B7The symbolic link cannot be followed because its type is disabled.
ERROR_SYMLINK_NOT_SUPPORTED0x5B8This application does not support the current operation on symbolic links.
ERROR_XML_PARSE_ERROR0x5B9Windows was unable to parse the requested XML data.
ERROR_XMLDSIG_ERROR0x5BAAn error was encountered while processing an XML digital signature.
ERROR_RESTART_APPLICATION0x5BBThis application must be restarted.
ERROR_WRONG_COMPARTMENT0x5BCThe caller made the connection request in the wrong routing compartment.
ERROR_AUTHIP_FAILURE0x5BDThere was an AuthIP failure when attempting to connect to the remote host.
ERROR_NO_NVRAM_RESOURCES0x5BEInsufficient NVRAM resources exist to complete the requested service. A reboot might be required.
ERROR_NOT_GUI_PROCESS0x5BFUnable to finish the requested operation because the specified process is not a GUI process.
ERROR_EVENTLOG_FILE_CORRUPT0x5DCThe event log file is corrupted.
ERROR_EVENTLOG_CANT_START0x5DDNo event log file could be opened, so the event logging service did not start.
ERROR_LOG_FILE_FULL0x5DEThe event log file is full.
ERROR_EVENTLOG_FILE_CHANGED0x5DFThe event log file has changed between read operations.
ERROR_INVALID_TASK_NAME0x60EThe specified task name is invalid.
ERROR_INVALID_TASK_INDEX0x60FThe specified task index is invalid.
ERROR_THREAD_ALREADY_IN_TASK0x610The specified thread is already joining a task.
ERROR_INSTALL_SERVICE_FAILURE0x641The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
ERROR_INSTALL_USEREXIT0x642User cancelled installation.
ERROR_INSTALL_FAILURE0x643Fatal error during installation.
ERROR_INSTALL_SUSPEND0x644Installation suspended, incomplete.
ERROR_UNKNOWN_PRODUCT0x645This action is only valid for products that are currently installed.
ERROR_UNKNOWN_FEATURE0x646Feature ID not registered.
ERROR_UNKNOWN_COMPONENT0x647Component ID not registered.
ERROR_UNKNOWN_PROPERTY0x648Unknown property.
ERROR_INVALID_HANDLE_STATE0x649Handle is in an invalid state.
ERROR_BAD_CONFIGURATION0x64AThe configuration data for this product is corrupt. Contact your support personnel.
ERROR_INDEX_ABSENT0x64BComponent qualifier not present.
ERROR_INSTALL_SOURCE_ABSENT0x64CThe installation source for this product is not available. Verify that the source exists and that you can access it.
ERROR_INSTALL_PACKAGE_VERSION0x64DThis installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
ERROR_PRODUCT_UNINSTALLED0x64EProduct is uninstalled.
ERROR_BAD_QUERY_SYNTAX0x64FSQL query syntax invalid or unsupported.
ERROR_INVALID_FIELD0x650Record field does not exist.
ERROR_DEVICE_REMOVED0x651The device has been removed.
ERROR_INSTALL_ALREADY_RUNNING0x652Another installation is already in progress. Complete that installation before proceeding with this install.
ERROR_INSTALL_PACKAGE_OPEN_FAILED0x653This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
ERROR_INSTALL_PACKAGE_INVALID0x654This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
ERROR_INSTALL_UI_FAILURE0x655There was an error starting the Windows Installer service user interface. Contact your support personnel.
ERROR_INSTALL_LOG_FAILURE0x656Error opening installation log file. Verify that the specified log file location exists and that you can write to it.
ERROR_INSTALL_LANGUAGE_UNSUPPORTED0x657The language of this installation package is not supported by your system.
ERROR_INSTALL_TRANSFORM_FAILURE0x658Error applying transforms. Verify that the specified transform paths are valid.
ERROR_INSTALL_PACKAGE_REJECTED0x659This installation is forbidden by system policy. Contact your system administrator.
ERROR_FUNCTION_NOT_CALLED0x65AFunction could not be executed.
ERROR_FUNCTION_FAILED0x65BFunction failed during execution.
ERROR_INVALID_TABLE0x65CInvalid or unknown table specified.
ERROR_DATATYPE_MISMATCH0x65DData supplied is of wrong type.
ERROR_UNSUPPORTED_TYPE0x65EData of this type is not supported.
ERROR_CREATE_FAILED0x65FThe Windows Installer service failed to start. Contact your support personnel.
ERROR_INSTALL_TEMP_UNWRITABLE0x660The Temp folder is on a drive that is full or is inaccessible. Free up space on the drive or verify that you have write permission on the Temp folder.
ERROR_INSTALL_PLATFORM_UNSUPPORTED0x661This installation package is not supported by this processor type. Contact your product vendor.
ERROR_INSTALL_NOTUSED0x662Component not used on this computer.
ERROR_PATCH_PACKAGE_OPEN_FAILED0x663This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
ERROR_PATCH_PACKAGE_INVALID0x664This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package.
ERROR_PATCH_PACKAGE_UNSUPPORTED0x665This update package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
ERROR_PRODUCT_VERSION0x666Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
ERROR_INVALID_COMMAND_LINE0x667Invalid command line argument. Consult the Windows Installer SDK for detailed command line help.
ERROR_INSTALL_REMOTE_DISALLOWED0x668Only administrators have permission to add, remove, or configure server software during a Terminal services remote session. If you want to install or configure software on the server, contact your network administrator.
ERROR_SUCCESS_REBOOT_INITIATED0x669The requested operation completed successfully. The system will be restarted so the changes can take effect.
ERROR_PATCH_TARGET_NOT_FOUND0x66AThe upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
ERROR_PATCH_PACKAGE_REJECTED0x66BThe update package is not permitted by software restriction policy.
ERROR_INSTALL_TRANSFORM_REJECTED0x66COne or more customizations are not permitted by software restriction policy.
ERROR_INSTALL_REMOTE_PROHIBITED0x66DThe Windows Installer does not permit installation from a Remote Desktop Connection.
ERROR_PATCH_REMOVAL_UNSUPPORTED0x66EUninstallation of the update package is not supported.
ERROR_UNKNOWN_PATCH0x66FThe update is not applied to this product.
ERROR_PATCH_NO_SEQUENCE0x670No valid sequence could be found for the set of updates.
ERROR_PATCH_REMOVAL_DISALLOWED0x671Update removal was disallowed by policy.
ERROR_INVALID_PATCH_XML0x672The XML update data is invalid.
ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT0x673Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.
ERROR_INSTALL_SERVICE_SAFEBOOT0x674The Windows Installer service is not accessible in Safe Mode. Please try again when your computer is not in Safe Mode or you can use System Restore to return your machine to a previous good state.
ERROR_FAIL_FAST_EXCEPTION0x675A fail fast exception occurred. Exception handlers will not be invoked and the process will be terminated immediately.
ERROR_INSTALL_REJECTED0x676The app that you are trying to run is not supported on this version of Windows.
232 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.