System Error Codes (0-499)
System Error Codes (0-499)
System Error Codes (0-499)
Docs
Windows
Error Handling
Error Handling Reference
System Error Codes
System Error Codes (0-499)
Search
Error Handling
Error Handling Reference
o
System Error Codes
Download and use the Microsoft Error Lookup Tool
System Error Codes (0-499)
System Error Codes (500-999)
System Error Codes (1000-1299)
System Error Codes (1300-1699)
System Error Codes (1700-3999)
System Error Codes (4000-5999)
System Error Codes (6000-8199)
System Error Codes (8200-8999)
System Error Codes (9000-11999)
System Error Codes (12000-15999)
o
o
Note
This information is intended for developers debugging system errors. For other errors, such as
issues with Windows Update, there is a list of resources on the Error codes page.
The following list describes system error codes (errors 0 to 499). 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.
ERROR_SUCCESS
0 (0x0)
ERROR_INVALID_FUNCTION
1 (0x1)
Incorrect function.
ERROR_FILE_NOT_FOUND
2 (0x2)
ERROR_PATH_NOT_FOUND
3 (0x3)
ERROR_TOO_MANY_OPEN_FILES
4 (0x4)
ERROR_ACCESS_DENIED
5 (0x5)
Access is denied.
ERROR_INVALID_HANDLE
6 (0x6)
ERROR_ARENA_TRASHED
7 (0x7)
ERROR_NOT_ENOUGH_MEMORY
8 (0x8)
ERROR_INVALID_BLOCK
9 (0x9)
10 (0xA)
ERROR_BAD_FORMAT
11 (0xB)
ERROR_INVALID_ACCESS
12 (0xC)
ERROR_INVALID_DATA
13 (0xD)
ERROR_OUTOFMEMORY
14 (0xE)
ERROR_INVALID_DRIVE
15 (0xF)
ERROR_CURRENT_DIRECTORY
16 (0x10)
ERROR_NOT_SAME_DEVICE
17 (0x11)
ERROR_NO_MORE_FILES
18 (0x12)
ERROR_WRITE_PROTECT
19 (0x13)
ERROR_BAD_UNIT
20 (0x14)
ERROR_NOT_READY
21 (0x15)
ERROR_BAD_COMMAND
22 (0x16)
ERROR_CRC
23 (0x17)
ERROR_BAD_LENGTH
24 (0x18)
ERROR_SEEK
25 (0x19)
ERROR_NOT_DOS_DISK
26 (0x1A)
The specified disk or diskette cannot be accessed.
ERROR_SECTOR_NOT_FOUND
27 (0x1B)
ERROR_OUT_OF_PAPER
28 (0x1C)
ERROR_WRITE_FAULT
29 (0x1D)
ERROR_READ_FAULT
30 (0x1E)
ERROR_GEN_FAILURE
31 (0x1F)
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)
ERROR_HANDLE_EOF
38 (0x26)
ERROR_HANDLE_DISK_FULL
39 (0x27)
ERROR_NOT_SUPPORTED
50 (0x32)
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 or turned off. If Windows still cannot find the
network path, contact your network administrator.
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 Panel to change the computer name and try again. If
joining a workgroup, choose another workgroup name.
ERROR_BAD_NETPATH
53 (0x35)
ERROR_NETWORK_BUSY
54 (0x36)
ERROR_DEV_NOT_EXIST
55 (0x37)
ERROR_TOO_MANY_CMDS
56 (0x38)
ERROR_ADAP_HDW_ERR
57 (0x39)
ERROR_BAD_NET_RESP
58 (0x3A)
ERROR_UNEXP_NET_ERR
59 (0x3B)
ERROR_BAD_REM_ADAP
60 (0x3C)
ERROR_PRINTQ_FULL
61 (0x3D)
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)
ERROR_NETNAME_DELETED
64 (0x40)
ERROR_NETWORK_ACCESS_DENIED
65 (0x41)
ERROR_BAD_DEV_TYPE
66 (0x42)
ERROR_BAD_NET_NAME
67 (0x43)
ERROR_TOO_MANY_NAMES
68 (0x44)
The name limit for the local computer network adapter card was exceeded.
ERROR_TOO_MANY_SESS
69 (0x45)
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 the computer can accept.
ERROR_REDIR_PAUSED
72 (0x48)
ERROR_FILE_EXISTS
80 (0x50)
ERROR_CANNOT_MAKE
82 (0x52)
ERROR_FAIL_I24
83 (0x53)
ERROR_OUT_OF_STRUCTURES
84 (0x54)
ERROR_ALREADY_ASSIGNED
85 (0x55)
ERROR_INVALID_PASSWORD
86 (0x56)
ERROR_INVALID_PARAMETER
87 (0x57)
ERROR_NET_WRITE_FAULT
88 (0x58)
ERROR_NO_PROC_SLOTS
89 (0x59)
ERROR_TOO_MANY_SEMAPHORES
100 (0x64)
ERROR_EXCL_SEM_ALREADY_OWNED
101 (0x65)
ERROR_SEM_IS_SET
102 (0x66)
ERROR_TOO_MANY_SEM_REQUESTS
103 (0x67)
ERROR_INVALID_AT_INTERRUPT_TIME
104 (0x68)
ERROR_SEM_OWNER_DIED
105 (0x69)
The previous ownership of this semaphore has ended.
ERROR_SEM_USER_LIMIT
106 (0x6A)
ERROR_DISK_CHANGE
107 (0x6B)
ERROR_DRIVE_LOCKED
108 (0x6C)
ERROR_BROKEN_PIPE
109 (0x6D)
ERROR_OPEN_FAILED
110 (0x6E)
ERROR_BUFFER_OVERFLOW
111 (0x6F)
ERROR_DISK_FULL
112 (0x70)
ERROR_NO_MORE_SEARCH_HANDLES
113 (0x71)
114 (0x72)
ERROR_INVALID_CATEGORY
117 (0x75)
ERROR_INVALID_VERIFY_SWITCH
118 (0x76)
ERROR_BAD_DRIVER_LEVEL
119 (0x77)
ERROR_CALL_NOT_IMPLEMENTED
120 (0x78)
ERROR_SEM_TIMEOUT
121 (0x79)
ERROR_INSUFFICIENT_BUFFER
122 (0x7A)
ERROR_INVALID_NAME
123 (0x7B)
ERROR_INVALID_LEVEL
124 (0x7C)
ERROR_NO_VOLUME_LABEL
125 (0x7D)
ERROR_MOD_NOT_FOUND
126 (0x7E)
ERROR_PROC_NOT_FOUND
127 (0x7F)
ERROR_WAIT_NO_CHILDREN
128 (0x80)
ERROR_CHILD_NOT_COMPLETE
129 (0x81)
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.
ERROR_SEEK_ON_DEVICE
132 (0x84)
The file pointer cannot be set on the specified device or file.
ERROR_IS_JOIN_TARGET
133 (0x85)
A JOIN or SUBST command cannot be used for a drive that contains previously
joined drives.
ERROR_IS_JOINED
134 (0x86)
An attempt was made to use a JOIN or SUBST command on a drive that has already
been joined.
ERROR_IS_SUBSTED
135 (0x87)
An attempt was made to use a JOIN or SUBST command on a drive that has already
been substituted.
ERROR_NOT_JOINED
136 (0x88)
The system tried to delete the JOIN of a drive that is not joined.
ERROR_NOT_SUBSTED
137 (0x89)
The system tried to delete the substitution of a drive that is not substituted.
ERROR_JOIN_TO_JOIN
138 (0x8A)
ERROR_SUBST_TO_SUBST
139 (0x8B)
ERROR_JOIN_TO_SUBST
140 (0x8C)
The system tried to join a drive to a directory on a substituted drive.
ERROR_SUBST_TO_JOIN
141 (0x8D)
ERROR_BUSY_DRIVE
142 (0x8E)
ERROR_SAME_DRIVE
143 (0x8F)
The system cannot join or substitute a drive to or for a directory on the same drive.
ERROR_DIR_NOT_ROOT
144 (0x90)
ERROR_DIR_NOT_EMPTY
145 (0x91)
ERROR_IS_SUBST_PATH
146 (0x92)
ERROR_IS_JOIN_PATH
147 (0x93)
ERROR_PATH_BUSY
148 (0x94)
149 (0x95)
An 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_TRACE
150 (0x96)
System trace information was not specified in your CONFIG.SYS file, or tracing is
disallowed.
ERROR_INVALID_EVENT_COUNT
151 (0x97)
ERROR_TOO_MANY_MUXWAITERS
152 (0x98)
DosMuxSemWait did not execute; too many semaphores are already set.
ERROR_INVALID_LIST_FORMAT
153 (0x99)
ERROR_LABEL_TOO_LONG
154 (0x9A)
The volume label you entered exceeds the label character limit of the target file
system.
ERROR_TOO_MANY_TCBS
155 (0x9B)
ERROR_SIGNAL_REFUSED
156 (0x9C)
157 (0x9D)
ERROR_NOT_LOCKED
158 (0x9E)
ERROR_BAD_THREADID_ADDR
159 (0x9F)
ERROR_BAD_ARGUMENTS
160 (0xA0)
ERROR_BAD_PATHNAME
161 (0xA1)
ERROR_SIGNAL_PENDING
162 (0xA2)
ERROR_MAX_THRDS_REACHED
164 (0xA4)
ERROR_LOCK_FAILED
167 (0xA7)
ERROR_BUSY
170 (0xAA)
ERROR_DEVICE_SUPPORT_IN_PROGRESS
171 (0xAB)
ERROR_CANCEL_VIOLATION
173 (0xAD)
A lock request was not outstanding for the supplied cancel region.
ERROR_ATOMIC_LOCKS_NOT_SUPPORTED
174 (0xAE)
The file system does not support atomic changes to the lock type.
ERROR_INVALID_SEGMENT_NUMBER
180 (0xB4)
ERROR_INVALID_ORDINAL
182 (0xB6)
ERROR_ALREADY_EXISTS
183 (0xB7)
ERROR_INVALID_FLAG_NUMBER
186 (0xBA)
ERROR_SEM_NOT_FOUND
187 (0xBB)
The specified system semaphore name was not found.
ERROR_INVALID_STARTING_CODESEG
188 (0xBC)
ERROR_INVALID_STACKSEG
189 (0xBD)
ERROR_INVALID_MODULETYPE
190 (0xBE)
ERROR_INVALID_EXE_SIGNATURE
191 (0xBF)
ERROR_EXE_MARKED_INVALID
192 (0xC0)
ERROR_BAD_EXE_FORMAT
193 (0xC1)
ERROR_ITERATED_DATA_EXCEEDS_64k
194 (0xC2)
ERROR_INVALID_MINALLOCSIZE
195 (0xC3)
196 (0xC4)
ERROR_IOPL_NOT_ENABLED
197 (0xC5)
ERROR_INVALID_SEGDPL
198 (0xC6)
ERROR_AUTODATASEG_EXCEEDS_64k
199 (0xC7)
ERROR_RING2SEG_MUST_BE_MOVABLE
200 (0xC8)
ERROR_RELOC_CHAIN_XEEDS_SEGLIM
201 (0xC9)
ERROR_INFLOOP_IN_RELOC_CHAIN
202 (0xCA)
ERROR_ENVVAR_NOT_FOUND
203 (0xCB)
The system could not find the environment option that was entered.
ERROR_NO_SIGNAL_SENT
205 (0xCD)
ERROR_FILENAME_EXCED_RANGE
206 (0xCE)
ERROR_RING2_STACK_IN_USE
207 (0xCF)
ERROR_META_EXPANSION_TOO_LONG
208 (0xD0)
The global filename characters, * or ?, are entered incorrectly or too many global
filename characters are specified.
ERROR_INVALID_SIGNAL_NUMBER
209 (0xD1)
ERROR_THREAD_1_INACTIVE
210 (0xD2)
ERROR_LOCKED
212 (0xD4)
ERROR_TOO_MANY_MODULES
214 (0xD6)
ERROR_NESTING_NOT_ALLOWED
215 (0xD7)
ERROR_EXE_MACHINE_TYPE_MISMATCH
216 (0xD8)
This version of %1 is not compatible with the version of Windows you're running.
Check your computer's system information and then contact the software publisher.
ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY
217 (0xD9)
ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY
218 (0xDA)
ERROR_FILE_CHECKED_OUT
220 (0xDC)
ERROR_CHECKOUT_REQUIRED
221 (0xDD)
ERROR_BAD_FILE_TYPE
222 (0xDE)
ERROR_FILE_TOO_LARGE
223 (0xDF)
The file size exceeds the limit allowed and cannot be saved.
ERROR_FORMS_AUTH_REQUIRED
224 (0xE0)
Access Denied. Before opening files in this location, you must first add the web site to
your trusted sites list, browse to the web site, and select the option to login
automatically.
ERROR_VIRUS_INFECTED
225 (0xE1)
Operation did not complete successfully because the file contains a virus or potentially
unwanted software.
ERROR_VIRUS_DELETED
226 (0xE2)
This file contains a virus or potentially unwanted software and cannot be opened. Due
to the nature of this virus or potentially unwanted software, the file has been removed
from this location.
ERROR_PIPE_LOCAL
229 (0xE5)
ERROR_BAD_PIPE
230 (0xE6)
ERROR_PIPE_BUSY
231 (0xE7)
ERROR_NO_DATA
232 (0xE8)
ERROR_PIPE_NOT_CONNECTED
233 (0xE9)
ERROR_MORE_DATA
234 (0xEA)
ERROR_VC_DISCONNECTED
240 (0xF0)
ERROR_INVALID_EA_NAME
254 (0xFE)
ERROR_EA_LIST_INCONSISTENT
255 (0xFF)
WAIT_TIMEOUT
258 (0x102)
ERROR_NO_MORE_ITEMS
259 (0x103)
ERROR_CANNOT_COPY
266 (0x10A)
ERROR_DIRECTORY
267 (0x10B)
ERROR_EAS_DIDNT_FIT
275 (0x113)
The extended attributes did not fit in the buffer.
ERROR_EA_FILE_CORRUPT
276 (0x114)
ERROR_EA_TABLE_FULL
277 (0x115)
ERROR_INVALID_EA_HANDLE
278 (0x116)
ERROR_EAS_NOT_SUPPORTED
282 (0x11A)
ERROR_NOT_OWNER
288 (0x120)
ERROR_TOO_MANY_POSTS
298 (0x12A)
ERROR_PARTIAL_COPY
299 (0x12B)
ERROR_OPLOCK_NOT_GRANTED
300 (0x12C)
301 (0x12D)
ERROR_DISK_TOO_FRAGMENTED
302 (0x12E)
ERROR_DELETE_PENDING
303 (0x12F)
ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTIN
G
304 (0x130)
Short name settings may not be changed on this volume due to the global registry
setting.
ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME
305 (0x131)
ERROR_SECURITY_STREAM_IS_INCONSISTENT
306 (0x132)
The security stream for the given volume is in an inconsistent state. Please run
CHKDSK on the volume.
ERROR_INVALID_LOCK_RANGE
307 (0x133)
A requested file lock operation cannot be processed due to an invalid byte range.
ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT
308 (0x134)
309 (0x135)
The specified file already has a notification GUID associated with it.
ERROR_INVALID_EXCEPTION_HANDLER
310 (0x136)
ERROR_DUPLICATE_PRIVILEGES
311 (0x137)
ERROR_NO_RANGES_PROCESSED
312 (0x138)
ERROR_NOT_ALLOWED_ON_SYSTEM_FILE
313 (0x139)
ERROR_DISK_RESOURCES_EXHAUSTED
314 (0x13A)
ERROR_INVALID_TOKEN
315 (0x13B)
ERROR_DEVICE_FEATURE_NOT_SUPPORTED
316 (0x13C)
ERROR_MR_MID_NOT_FOUND
317 (0x13D)
The system cannot find message text for message number 0x%1 in the message file
for %2.
ERROR_SCOPE_NOT_FOUND
318 (0x13E)
ERROR_UNDEFINED_SCOPE
319 (0x13F)
The Central Access Policy specified is not defined on the target machine.
ERROR_INVALID_CAP
320 (0x140)
ERROR_DEVICE_UNREACHABLE
321 (0x141)
ERROR_DEVICE_NO_RESOURCES
322 (0x142)
ERROR_DATA_CHECKSUM_ERROR
323 (0x143)
A data integrity checksum error occurred. Data in the file stream is corrupt.
ERROR_INTERMIXED_KERNEL_EA_OPERATION
324 (0x144)
An attempt was made to modify both a KERNEL and normal Extended Attribute (EA)
in the same operation.
ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED
326 (0x146)
ERROR_OFFSET_ALIGNMENT_VIOLATION
327 (0x147)
The command specified a data offset that does not align to the device's
granularity/alignment.
ERROR_INVALID_FIELD_IN_PARAMETER_LIST
328 (0x148)
ERROR_OPERATION_IN_PROGRESS
329 (0x149)
ERROR_BAD_DEVICE_PATH
330 (0x14A)
An attempt was made to send down the command via an invalid path to the target
device.
ERROR_TOO_MANY_DESCRIPTORS
331 (0x14B)
ERROR_SCRUB_DATA_DISABLED
332 (0x14C)
ERROR_NOT_REDUNDANT_STORAGE
333 (0x14D)
ERROR_RESIDENT_FILE_NOT_SUPPORTED
334 (0x14E)
ERROR_COMPRESSED_FILE_NOT_SUPPORTED
335 (0x14F)
ERROR_DIRECTORY_NOT_SUPPORTED
336 (0x150)
ERROR_NOT_READ_FROM_COPY
337 (0x151)
ERROR_FAIL_NOACTION_REBOOT
350 (0x15E)
ERROR_FAIL_SHUTDOWN
351 (0x15F)
ERROR_FAIL_RESTART
352 (0x160)
ERROR_MAX_SESSIONS_REACHED
353 (0x161)
ERROR_THREAD_MODE_ALREADY_BACKGROUND
400 (0x190)
The thread is already in background processing mode.
ERROR_THREAD_MODE_NOT_BACKGROUND
401 (0x191)
ERROR_PROCESS_MODE_ALREADY_BACKGROUND
402 (0x192)
ERROR_PROCESS_MODE_NOT_BACKGROUND
403 (0x193)
ERROR_INVALID_ADDRESS
487 (0x1E7)
Requirements
Table 1
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header WinError.h (include Windows.h)
See also
System Error Codes
In this article
1. Requirements
2. See also
English (United States)