Skip to main content
Version: OpCon

Windows System Errors

The table contains error numbers and descriptions of Microsoft Windows Error Codes.

Constant/valueDescription
ERROR_SUCCESS0The operation completed successfully.
ERROR_INVALID_FUNCTION1Incorrect function.
ERROR_FILE_NOT_FOUND2The system cannot find the file specified.
ERROR_PATH_NOT_FOUND3The system cannot find the path specified.
ERROR_TOO_MANY_OPEN_FILES4The system cannot open the file.
ERROR_ACCESS_DENIED5Access is denied.
ERROR_INVALID_HANDLE6The handle is invalid.
ERROR_ARENA_TRASHED7The storage control blocks were destroyed.
ERROR_NOT_ENOUGH_MEMORY8Not enough storage is available to process this command.
ERROR_INVALID_BLOCK9The storage control block address is invalid.
ERROR_BAD_ENVIRONMENT10The environment is incorrect.
ERROR_BAD_FORMAT11An attempt was made to load a program with an incorrect format.
ERROR_INVALID_ACCESS12The access code is invalid.
ERROR_INVALID_DATA13The data is invalid.
ERROR_OUTOFMEMORY14Not enough storage is available to complete this operation.
ERROR_INVALID_DRIVE15The system cannot find the drive specified.
ERROR_CURRENT_DIRECTORY16The directory cannot be removed.
ERROR_NOT_SAME_DEVICE17The system cannot move the file to a different disk drive.
ERROR_NO_MORE_FILES18There are no more files.
ERROR_WRITE_PROTECT19The media is write protected.
ERROR_BAD_UNIT20The system cannot find the device specified.
ERROR_NOT_READY21The device is not ready.
ERROR_BAD_COMMAND22The device does not recognize the command.
ERROR_CRC23Data error (cyclic redundancy check).
ERROR_BAD_LENGTH24The program issued a command but the command length is incorrect.
ERROR_SEEK25The drive cannot locate a specific area or track on the disk.
ERROR_NOT_DOS_DISK26The specified disk or diskette cannot be accessed.
ERROR_SECTOR_NOT_FOUND27The drive cannot find the sector requested.
ERROR_OUT_OF_PAPER28The printer is out of paper.
ERROR_WRITE_FAULT29The system cannot write to the specified device.
ERROR_READ_FAULT30The system cannot read from the specified device.
ERROR_GEN_FAILURE31A device attached to the system is not functioning.
ERROR_SHARING_VIOLATION32The process cannot access the file because it is being used by another process.
ERROR_LOCK_VIOLATION33The process cannot access the file because another process has locked a portion of the file.
ERROR_WRONG_DISK34The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.
ERROR_SHARING_BUFFER_EXCEEDED36Too many files opened for sharing.
ERROR_HANDLE_EOF38Reached the end of the file.
ERROR_HANDLE_DISK_FULL39The disk is full.
ERROR_NOT_SUPPORTED50The request is not supported.
ERROR_REM_NOT_LIST51Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact the network administrator.
ERROR_DUP_NAME52The connection was not made because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
ERROR_BAD_NETPATH53The network path was not found.
ERROR_NETWORK_BUSY54The network is busy.
ERROR_DEV_NOT_EXIST55The specified network resource or device is no longer available.
ERROR_TOO_MANY_CMDS56The network BIOS command limit has been reached.
ERROR_ADAP_HDW_ERR57A network adapter hardware error occurred.
ERROR_BAD_NET_RESP58The specified server cannot perform the requested operation.
ERROR_UNEXP_NET_ERR59An unexpected network error occurred.
ERROR_BAD_REM_ADAP60The remote adapter is not compatible.
ERROR_PRINTQ_FULL61The printer queue is full.
ERROR_NO_SPOOL_SPACE62Space to store the file waiting to be printed is not available on the server.
ERROR_PRINT_CANCELLED63The file waiting to be printed was deleted.
ERROR_NETNAME_DELETED64The specified network name is no longer available.
ERROR_NETWORK_ACCESS_DENIED65Network access is denied.
ERROR_BAD_DEV_TYPE66The network resource type is not correct.
ERROR_BAD_NET_NAME67The network name cannot be found.
ERROR_TOO_MANY_NAMES68The name limit for the local computer network adapter card was exceeded.
ERROR_TOO_MANY_SESS69The network BIOS session limit was exceeded.
ERROR_SHARING_PAUSED70The remote server has been paused or is in the process of being started.
ERROR_REQ_NOT_ACCEP71No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
ERROR_REDIR_PAUSED72The specified printer or disk device has been paused.
ERROR_FILE_EXISTS80The file exists.
ERROR_CANNOT_MAKE82The directory or file cannot be created.
ERROR_FAIL_I2483Fail on INT 24.
ERROR_OUT_OF_STRUCTURES84Storage to process this request is not available.
ERROR_ALREADY_ASSIGNED85The local device name is already in use.
ERROR_INVALID_PASSWORD86The specified network password is not correct.
ERROR_INVALID_PARAMETER87The parameter is incorrect.
ERROR_NET_WRITE_FAULT88A write fault occurred on the network.
ERROR_NO_PROC_SLOTS89The system cannot start another process at this time.
ERROR_TOO_MANY_SEMAPHORES100Cannot create another system semaphore.
ERROR_EXCL_SEM_ALREADY_OWNED101The exclusive semaphore is owned by another process.
ERROR_SEM_IS_SET102The semaphore is set and cannot be closed.
ERROR_TOO_MANY_SEM_REQUESTS103The semaphore cannot be set again.
ERROR_INVALID_AT_INTERRUPT_TIME104Cannot request exclusive semaphores at interrupt time.
ERROR_SEM_OWNER_DIED105The previous ownership of this semaphore has ended.
ERROR_SEM_USER_LIMIT106Insert the diskette for drive %1.
ERROR_DISK_CHANGE107The program stopped because an alternate diskette was not inserted.
ERROR_DRIVE_LOCKED108The disk is in use or locked by another process.
ERROR_BROKEN_PIPE109The pipe has been ended.
ERROR_OPEN_FAILED110The system cannot open the device or file specified.
ERROR_BUFFER_OVERFLOW111The file name is too long.
ERROR_DISK_FULL112There is not enough space on the disk.
ERROR_NO_MORE_SEARCH_HANDLES113No more internal file identifiers available.
ERROR_INVALID_TARGET_HANDLE114The target internal file identifier is incorrect.
ERROR_INVALID_CATEGORY117The IOCTL call made by the application program is not correct.
ERROR_INVALID_VERIFY_SWITCH118The verify-on-write switch parameter value is not correct.
ERROR_BAD_DRIVER_LEVEL119The system does not support the command requested.
ERROR_CALL_NOT_IMPLEMENTED120This function is not supported on this system.
ERROR_SEM_TIMEOUT121The semaphore timeout period has expired.
ERROR_INSUFFICIENT_BUFFER122The data area passed to a system call is too small.
ERROR_INVALID_NAME123The filename, directory name, or volume label syntax is incorrect.
ERROR_INVALID_LEVEL124The system call level is not correct.
ERROR_NO_VOLUME_LABEL125The disk has no volume label.
ERROR_MOD_NOT_FOUND126The specified module could not be found.
ERROR_PROC_NOT_FOUND127The specified procedure could not be found.
ERROR_WAIT_NO_CHILDREN128There are no child processes to wait for.
ERROR_CHILD_NOT_COMPLETE129The %1 application cannot be run in Win32 mode.
ERROR_DIRECT_ACCESS_HANDLE130Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
ERROR_NEGATIVE_SEEK131An attempt was made to move the file pointer before the beginning of the file.
ERROR_SEEK_ON_DEVICE132The file pointer cannot be set on the specified device or file.
ERROR_IS_JOIN_TARGET133A JOIN or SUBST command cannot be used for a drive that contains previously joined drives.
ERROR_IS_JOINED134An attempt was made to use a JOIN or SUBST command on a drive that has already been joined.
ERROR_IS_SUBSTED135An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted.
ERROR_NOT_JOINED136The system tried to delete the JOIN of a drive that is not joined.
ERROR_NOT_SUBSTED137The system tried to delete the substitution of a drive that is not substituted.
ERROR_JOIN_TO_JOIN138The system tried to join a drive to a directory on a joined drive.
ERROR_SUBST_TO_SUBST139The system tried to substitute a drive to a directory on a substituted drive.
ERROR_JOIN_TO_SUBST140The system tried to join a drive to a directory on a substituted drive.
ERROR_SUBST_TO_JOIN141The system tried to SUBST a drive to a directory on a joined drive.
ERROR_BUSY_DRIVE142The system cannot perform a JOIN or SUBST at this time.
ERROR_SAME_DRIVE143The system cannot join or substitute a drive to or for a directory on the same drive.
ERROR_DIR_NOT_ROOT144The directory is not a subdirectory of the root directory.
ERROR_DIR_NOT_EMPTY145The directory is not empty.
ERROR_IS_SUBST_PATH146The path specified is being used in a substitute.
ERROR_IS_JOIN_PATH147Not enough resources are available to process this command.
ERROR_PATH_BUSY148The path specified cannot be used at this time.
ERROR_IS_SUBST_TARGET149An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute.
ERROR_SYSTEM_TRACE150System trace information was not specified in the CONFIG.SYS file, or tracing is disallowed.
ERROR_INVALID_EVENT_COUNT151The number of specified semaphore events for DosMuxSemWait is not correct.
ERROR_TOO_MANY_MUXWAITERS152DosMuxSemWait did not execute; too many semaphores are already set.
ERROR_INVALID_LIST_FORMAT153The DosMuxSemWait list is not correct.
ERROR_LABEL_TOO_LONG154The volume label entered exceeds the label character limit of the target file system.
ERROR_TOO_MANY_TCBS155Cannot create another thread.
ERROR_SIGNAL_REFUSED156The recipient process has refused the signal.
ERROR_DISCARDED157The segment is already discarded and cannot be locked.
ERROR_NOT_LOCKED158The segment is already unlocked.
ERROR_BAD_THREADID_ADDR159The address for the thread ID is not correct.
ERROR_BAD_ARGUMENTS160One or more arguments are not correct.
ERROR_BAD_PATHNAME161The specified path is invalid.
ERROR_SIGNAL_PENDING162A signal is already pending.
ERROR_MAX_THRDS_REACHED164No more threads can be created in the system.
ERROR_LOCK_FAILED167Unable to lock a region of a file.
ERROR_BUSY170The requested resource is in use.
ERROR_CANCEL_VIOLATION173A lock request was not outstanding for the supplied cancel region.
ERROR_ATOMIC_LOCKS_NOT_SUPPORTED174The file system does not support atomic changes to the lock type.
ERROR_INVALID_SEGMENT_NUMBER180The system detected a segment number that was not correct.
ERROR_INVALID_ORDINAL182The operating system cannot run %1.
ERROR_ALREADY_EXISTS183Cannot create a file when that file already exists.
ERROR_INVALID_FLAG_NUMBER186The flag passed is not correct.
ERROR_SEM_NOT_FOUND187The specified system semaphore name was not found.
ERROR_INVALID_STARTING_CODESEG188The operating system cannot run %1.
ERROR_INVALID_STACKSEG189The operating system cannot run %1.
ERROR_INVALID_MODULETYPE190The operating system cannot run %1.
ERROR_INVALID_EXE_SIGNATURE191Cannot run %1 in Win32 mode.
ERROR_EXE_MARKED_INVALID192The operating system cannot run %1.
ERROR_BAD_EXE_FORMAT193The program is not a valid Win32 application.
ERROR_ITERATED_DATA_EXCEEDS_64k194The operating system cannot run %1.
ERROR_INVALID_MINALLOCSIZE195The operating system cannot run %1.
ERROR_DYNLINK_FROM_INVALID_RING196The operating system cannot run this application program.
ERROR_IOPL_NOT_ENABLED197The operating system is not presently configured to run this application.
ERROR_INVALID_SEGDPL198The operating system cannot run %1.
ERROR_AUTODATASEG_EXCEEDS_64k199The operating system cannot run this application program.
ERROR_RING2SEG_MUST_BE_MOVABLE200The code segment cannot be greater than or equal to 64K.
ERROR_RELOC_CHAIN_XEEDS_SEGLIM201The operating system cannot run %1.
ERROR_INFLOOP_IN_RELOC_CHAIN202The operating system cannot run %1.
ERROR_ENVVAR_NOT_FOUND203The system could not find the environment option that was entered.
ERROR_NO_SIGNAL_SENT205No process in the command subtree has a signal handler.
ERROR_FILENAME_EXCED_RANGE206The filename or extension is too long.
ERROR_RING2_STACK_IN_USE207The ring 2 stack is in use.
ERROR_META_EXPANSION_TOO_LONG208The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified.
ERROR_INVALID_SIGNAL_NUMBER209The signal being posted is not correct.
ERROR_THREAD_1_INACTIVE210The signal handler cannot be set.
ERROR_LOCKED212The segment is locked and cannot be reallocated.
ERROR_TOO_MANY_MODULES214Too many dynamic-link modules are attached to this program or dynamic-link module.
ERROR_NESTING_NOT_ALLOWED215Cannot nest calls to LoadModule.
ERROR_EXE_MACHINE_TYPE_MISMATCH216The image file %1 is valid, but is for a machine type other than the current machine.
ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY217The image file %1 is signed, unable to modify.
ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY218The image file %1 is strong signed, unable to modify.
ERROR_BAD_PIPE230The pipe state is invalid.
ERROR_PIPE_BUSY231All pipe instances are busy.
ERROR_NO_DATA232The pipe is being closed.
ERROR_PIPE_NOT_CONNECTED233No process is on the other end of the pipe.
ERROR_MORE_DATA234More data is available.
ERROR_VC_DISCONNECTED240The session was canceled.
ERROR_INVALID_EA_NAME254The specified extended attribute name was invalid.
ERROR_EA_LIST_INCONSISTENT255The extended attributes are inconsistent.
WAIT_TIMEOUT258The wait operation timed out.
ERROR_NO_MORE_ITEMS259No more data is available.
ERROR_CANNOT_COPY266The copy functions cannot be used.
ERROR_DIRECTORY267The directory name is invalid.
ERROR_EAS_DIDNT_FIT275The extended attributes did not fit in the buffer.
ERROR_EA_FILE_CORRUPT276The extended attribute file on the mounted file system is corrupt.
ERROR_EA_TABLE_FULL277The extended attribute table file is full.
ERROR_INVALID_EA_HANDLE278The specified extended attribute handle is invalid.
ERROR_EAS_NOT_SUPPORTED282The mounted file system does not support extended attributes.
ERROR_NOT_OWNER288Attempt to release mutex not owned by caller.
ERROR_TOO_MANY_POSTS298Too many posts were made to a semaphore.
ERROR_PARTIAL_COPY299Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
ERROR_OPLOCK_NOT_GRANTED300The oplock request is denied.
ERROR_INVALID_OPLOCK_PROTOCOL301An invalid oplock acknowledgment was received by the system.
ERROR_DISK_TOO_FRAGMENTED302The volume is too fragmented to complete this operation.
ERROR_DELETE_PENDING303The file cannot be opened because it is in the process of being deleted.
ERROR_MR_MID_NOT_FOUND317The system cannot find message text for message number 0x%1 in the message file for %2.
ERROR_SCOPE_NOT_FOUND318The scope specified was not found.
ERROR_INVALID_ADDRESS487Attempt to access invalid address.

Source: "Platform SDK: Debugging and Error Handling: System Error Codes (0 -- 499)." MSDN Library. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes\_\_0-499\_.asp. Accessed 11/30/2005 10:30 am.