Windows Error Codes

This documentation provides a structured reference of Windows system error codes with clear descriptions and technical context. You can browse error codes by range, search by code number or name, and open individual articles for detailed explanations.


Error Code Description
ERROR_SUCCESS 0 (0x0) The operation completed successfully.
ERROR_INVALID_FUNCTION 1 (0x1) Incorrect function.
ERROR_FILE_NOT_FOUND 2 (0x2) The system cannot find the file specified.
ERROR_PATH_NOT_FOUND 3 (0x3) The system cannot find the path specified.
ERROR_TOO_MANY_OPEN_FILES 4 (0x4) The system cannot open the file.
ERROR_ACCESS_DENIED 5 (0x5) Access is denied.
ERROR_INVALID_HANDLE 6 (0x6) The handle is invalid.
ERROR_ARENA_TRASHED 7 (0x7) The storage control blocks were destroyed.
ERROR_NOT_ENOUGH_MEMORY 8 (0x8) Not enough memory resources are available to process this command.
ERROR_INVALID_BLOCK 9 (0x9) The storage control block address is invalid.
ERROR_BAD_ENVIRONMENT 10 (0xA) The environment is incorrect.
ERROR_BAD_FORMAT 11 (0xB) An attempt was made to load a program with an incorrect format.
ERROR_INVALID_ACCESS 12 (0xC) The access code is invalid.
ERROR_INVALID_DATA 13 (0xD) The data is invalid.
ERROR_OUTOFMEMORY 14 (0xE) Not enough storage is available to complete this operation.
ERROR_INVALID_DRIVE 15 (0xF) The system cannot find the drive specified.
ERROR_CURRENT_DIRECTORY 16 (0x10) The directory cannot be removed.
ERROR_NOT_SAME_DEVICE 17 (0x11) The system cannot move the file to a different disk drive.
ERROR_NO_MORE_FILES 18 (0x12) There are no more files.
ERROR_WRITE_PROTECT 19 (0x13) The media is write protected.
ERROR_BAD_UNIT 20 (0x14) The system cannot find the device specified.
ERROR_NOT_READY 21 (0x15) The device is not ready.
ERROR_BAD_COMMAND 22 (0x16) The device does not recognize the command.
ERROR_CRC 23 (0x17) Data error (cyclic redundancy check).
ERROR_BAD_LENGTH 24 (0x18) The program issued a command but the command length is incorrect.
ERROR_SEEK 25 (0x19) The drive cannot locate a specific area or track on the disk.
ERROR_NOT_DOS_DISK 26 (0x1A) The specified disk or diskette cannot be accessed.
ERROR_SECTOR_NOT_FOUND 27 (0x1B) The drive cannot find the sector requested.
ERROR_OUT_OF_PAPER 28 (0x1C) The printer is out of paper.
ERROR_WRITE_FAULT 29 (0x1D) The system cannot write to the specified device.
ERROR_READ_FAULT 30 (0x1E) The system cannot read from the specified device.
ERROR_GEN_FAILURE 31 (0x1F) A device attached to the system is not functioning.
ERROR_SHARING_VIOLATION 32 (0x20) The process cannot access the file because it is being used by another process.
ERROR_LOCK_VIOLATION 33 (0x21) The process cannot access the file because another process has locked a portion of the file.
ERROR_WRONG_DISK 34 (0x22) The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.
ERROR_SHARING_BUFFER_EXCEEDED 36 (0x24) Too many files opened for sharing.
ERROR_HANDLE_EOF 38 (0x26) Reached the end of the file.
ERROR_HANDLE_DISK_FULL 39 (0x27) The disk is full.
ERROR_NOT_SUPPORTED 50 (0x32) The request is not supported.
ERROR_REM_NOT_LIST 51 (0x33) Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy o…
ERROR_DUP_NAME 52 (0x34) You were not connected because a duplicate name exists on the network. If joining a domain, go to System in Control Pane…
ERROR_BAD_NETPATH 53 (0x35) The network path was not found.
ERROR_NETWORK_BUSY 54 (0x36) The network is busy.
ERROR_DEV_NOT_EXIST 55 (0x37) The specified network resource or device is no longer available.
ERROR_TOO_MANY_CMDS 56 (0x38) The network BIOS command limit has been reached.
ERROR_ADAP_HDW_ERR 57 (0x39) A network adapter hardware error occurred.
ERROR_BAD_NET_RESP 58 (0x3A) The specified server cannot perform the requested operation.
ERROR_UNEXP_NET_ERR 59 (0x3B) An unexpected network error occurred.
ERROR_BAD_REM_ADAP 60 (0x3C) The remote adapter is not compatible.
ERROR_PRINTQ_FULL 61 (0x3D) The printer queue is full.
ERROR_NO_SPOOL_SPACE 62 (0x3E) Space to store the file waiting to be printed is not available on the server.
ERROR_PRINT_CANCELLED 63 (0x3F) Your file waiting to be printed was deleted.
ERROR_NETNAME_DELETED 64 (0x40) The specified network name is no longer available.
ERROR_NETWORK_ACCESS_DENIED 65 (0x41) Network access is denied.
ERROR_BAD_DEV_TYPE 66 (0x42) The network resource type is not correct.
ERROR_BAD_NET_NAME 67 (0x43) The network name cannot be found.
ERROR_TOO_MANY_NAMES 68 (0x44) The name limit for the local computer network adapter card was exceeded.
ERROR_TOO_MANY_SESS 69 (0x45) The network BIOS session limit was exceeded.
ERROR_SHARING_PAUSED 70 (0x46) The remote server has been paused or is in the process of being started.
ERROR_REQ_NOT_ACCEP 71 (0x47) No more connections can be made to this remote computer at this time because there are already as many connections as th…
ERROR_REDIR_PAUSED 72 (0x48) The specified printer or disk device has been paused.
ERROR_FILE_EXISTS 80 (0x50) The file exists.
ERROR_CANNOT_MAKE 82 (0x52) The directory or file cannot be created.
ERROR_FAIL_I24 83 (0x53) Fail on INT 24.
ERROR_OUT_OF_STRUCTURES 84 (0x54) Storage to process this request is not available.
ERROR_ALREADY_ASSIGNED 85 (0x55) The local device name is already in use.
ERROR_INVALID_PASSWORD 86 (0x56) The specified network password is not correct.
ERROR_INVALID_PARAMETER 87 (0x57) The parameter is incorrect.
ERROR_NET_WRITE_FAULT 88 (0x58) A write fault occurred on the network.
ERROR_NO_PROC_SLOTS 89 (0x59) The system cannot start another process at this time.
ERROR_TOO_MANY_SEMAPHORES 100 (0x64) Cannot create another system semaphore.
ERROR_EXCL_SEM_ALREADY_OWNED 101 (0x65) The exclusive semaphore is owned by another process.
ERROR_SEM_IS_SET 102 (0x66) The semaphore is set and cannot be closed.
ERROR_TOO_MANY_SEM_REQUESTS 103 (0x67) The semaphore cannot be set again.
ERROR_INVALID_AT_INTERRUPT_TIME 104 (0x68) Cannot request exclusive semaphores at interrupt time.
ERROR_SEM_OWNER_DIED 105 (0x69) The previous ownership of this semaphore has ended.
ERROR_SEM_USER_LIMIT 106 (0x6A) Insert the diskette for drive %1.
ERROR_DISK_CHANGE 107 (0x6B) The program stopped because an alternate diskette was not inserted.
ERROR_DRIVE_LOCKED 108 (0x6C) The disk is in use or locked by another process.
ERROR_BROKEN_PIPE 109 (0x6D) The pipe has been ended.
ERROR_OPEN_FAILED 110 (0x6E) The system cannot open the device or file specified.
ERROR_BUFFER_OVERFLOW 111 (0x6F) The file name is too long.
ERROR_DISK_FULL 112 (0x70) There is not enough space on the disk.
ERROR_NO_MORE_SEARCH_HANDLES 113 (0x71) No more internal file identifiers available.
ERROR_INVALID_TARGET_HANDLE 114 (0x72) The target internal file identifier is incorrect.
ERROR_INVALID_CATEGORY 117 (0x75) The IOCTL call made by the application program is not correct.
ERROR_INVALID_VERIFY_SWITCH 118 (0x76) The verify-on-write switch parameter value is not correct.
ERROR_BAD_DRIVER_LEVEL 119 (0x77) The system does not support the command requested.
ERROR_CALL_NOT_IMPLEMENTED 120 (0x78) This function is not supported on this system.
ERROR_SEM_TIMEOUT 121 (0x79) The semaphore timeout period has expired.
ERROR_INSUFFICIENT_BUFFER 122 (0x7A) The data area passed to a system call is too small.
ERROR_INVALID_NAME 123 (0x7B) The filename, directory name, or volume label syntax is incorrect.
ERROR_INVALID_LEVEL 124 (0x7C) The system call level is not correct.
ERROR_NO_VOLUME_LABEL 125 (0x7D) The disk has no volume label.
ERROR_MOD_NOT_FOUND 126 (0x7E) The specified module could not be found.
ERROR_PROC_NOT_FOUND 127 (0x7F) The specified procedure could not be found.
ERROR_WAIT_NO_CHILDREN 128 (0x80) There are no child processes to wait for.
ERROR_CHILD_NOT_COMPLETE 129 (0x81) The %1 application cannot be run in Win32 mode.
ERROR_DIRECT_ACCESS_HANDLE 130 (0x82) Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O.
ERROR_NEGATIVE_SEEK 131 (0x83) An attempt was made to move the file pointer before the beginning of the file.