Win32 error codes

Code Description Name

0

The operation completed successfully.

ERROR_SUCCESS

1

Incorrect function.

ERROR_INVALID_FUNCTION

2

The system cannot find the file specified.

ERROR_FILE_NOT_FOUND

3

The system cannot find the path specified.

ERROR_PATH_NOT_FOUND

4

The system cannot open the file.

ERROR_TOO_MANY_OPEN_FILES

5

Access is denied.

ERROR_ACCESS_DENIED

6

The handle is invalid.

ERROR_INVALID_HANDLE

7

The storage control blocks were destroyed.

ERROR_ARENA_TRASHED

8

Not enough storage is available to process
this command.

ERROR_NOT_ENOUGH_MEMORY

9

The storage control block address is invalid.

ERROR_INVALID_BLOCK

10

The environment is incorrect.

ERROR_BAD_ENVIRONMENT

11

An attempt was made to load a program with
an incorrect format.

ERROR_BAD_FORMAT

12

The access code is invalid.

ERROR_INVALID_ACCESS

13

The data is invalid.

ERROR_INVALID_DATA

14

Not enough storage is available to complete
this operation.

ERROR_OUTOFMEMORY

15

The system cannot find the drive specified.

ERROR_INVALID_DRIVE

16

The directory cannot be removed.

ERROR_CURRENT_DIRECTORY

17

The system cannot move the file to a different
disk drive.

ERROR_NOT_SAME_DEVICE

18

There are no more files.

ERROR_NO_MORE_FILES

19

The media is write protected.

ERROR_WRITE_PROTECT

20

The system cannot find the device specified.

ERROR_BAD_UNIT

21

The device is not ready.

ERROR_NOT_READY

22

The device does not recognize the command.

ERROR_BAD_COMMAND

23

Data error (cyclic redundancy check).

ERROR_CRC

24

The program issued a command but the command
length is incorrect.

ERROR_BAD_LENGTH

25

The drive cannot locate a specific area or
track on the disk.

ERROR_SEEK

26

The specified disk or diskette cannot be accessed.

ERROR_NOT_DOS_DISK

27

The drive cannot find the sector requested.

ERROR_SECTOR_NOT_FOUND

28

The printer is out of paper.

ERROR_OUT_OF_PAPER

29

The system cannot write to the specified device.

ERROR_WRITE_FAULT

30

The system cannot read from the specified
device.

ERROR_READ_FAULT

31

A device attached to the system is not functioning.

ERROR_GEN_FAILURE

32

The process cannot access the file because
it is being used by another process.

ERROR_SHARING_VIOLATION

33

The process cannot access the file because
another process has locked a portion of the file.

ERROR_LOCK_VIOLATION

34

The wrong diskette is in the drive. Insert
%2 (Volume Serial Number: %3) into drive %1.

ERROR_WRONG_DISK

36

Too many files opened for sharing.

ERROR_SHARING_BUFFER_EXCEEDED

38

Reached the end of the file.

ERROR_HANDLE_EOF

39

The disk is full.

ERROR_HANDLE_DISK_FULL

50

The network request is not supported.

ERROR_NOT_SUPPORTED

51

The remote computer is not available.

ERROR_REM_NOT_LIST

52

A duplicate name exists on the network.

ERROR_DUP_NAME

53

The network path was not found.

ERROR_BAD_NETPATH

54

The network is busy.

ERROR_NETWORK_BUSY

55

The specified network resource or device is
no longer available.

ERROR_DEV_NOT_EXIST

56

The network BIOS command limit has been reached.

ERROR_TOO_MANY_CMDS

57

A network adapter hardware error occurred.

ERROR_ADAP_HDW_ERR

58

The specified server cannot perform the requested
operation.

ERROR_BAD_NET_RESP

59

An unexpected network error occurred.

ERROR_UNEXP_NET_ERR

60

The remote adapter is not compatible.

ERROR_BAD_REM_ADAP

61

The printer queue is full.

ERROR_PRINTQ_FULL

62

Space to store the file waiting to be printed
is not available on the server.

ERROR_NO_SPOOL_SPACE

63

Your file waiting to be printed was deleted.

ERROR_PRINT_CANCELED

64

The specified network name is no longer available.

ERROR_NETNAME_DELETED

65

Network access is denied.

ERROR_NETWORK_ACCESS_DENIED

66

The network resource type is not correct.

ERROR_BAD_DEV_TYPE

67

The network name cannot be found.

ERROR_BAD_NET_NAME

68

The name limit for the local computer network
adapter card was exceeded.

ERROR_TOO_MANY_NAMES

69

The network BIOS session limit was exceeded.

ERROR_TOO_MANY_SESS

70

The remote server has been paused or is in
the process of being started.

ERROR_SHARING_PAUSED

71

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_REQ_NOT_ACCEP

72

The specified printer or disk device has been
paused.

ERROR_REDIR_PAUSED

80

The file exists.

ERROR_FILE_EXISTS

82

The directory or file cannot be created.

ERROR_CANNOT_MAKE

83

Fail on INT 24.

ERROR_FAIL_I24

84

Storage to process this request is not available.

ERROR_OUT_OF_STRUCTURES

85

The local device name is already in use.

ERROR_ALREADY_ASSIGNED

86

The specified network passwordA secret combination of characters for a Automation Engine user. is not correct.

ERROR_INVALID_PASSWORD

87

The parameter is incorrect.

ERROR_INVALID_PARAMETER

88

A write fault occurred on the network.

ERROR_NET_WRITE_FAULT

89

The system cannot start another process at
this time.

ERROR_NO_PROC_SLOTS

100

Cannot create another system semaphore.

ERROR_TOO_MANY_SEMAPHORES

101

The exclusive semaphore is owned by another
process.

ERROR_EXCL_SEM_ALREADY_OWNED

102

The semaphore is set and cannot be closed.

ERROR_SEM_IS_SET

103

The semaphore cannot be set again.

ERROR_TOO_MANY_SEM_REQUESTS

104

Cannot request exclusive semaphores at interrupt
time.

ERROR_INVALID_AT_INTERRUPT_TIME

105

The previous ownership of this semaphore has
ended.

ERROR_SEM_OWNER_DIED

106

Insert the diskette for drive %1.

ERROR_SEM_USER_LIMIT

107

The program stopped because an alternate diskette
was not inserted.

ERROR_DISK_CHANGE

108

The disk is in use or locked by another process.

ERROR_DRIVE_LOCKED

109

The pipe has been ended.

ERROR_BROKEN_PIPE

110

The system cannot open the device or file
specified.

ERROR_OPEN_FAILED

111

The file name is too long.

ERROR_BUFFER_OVERFLOW

112

There is not enough space on the disk.

ERROR_DISK_FULL

113

No more internal file identifiers available.

ERROR_NO_MORE_SEARCH_HANDLES

114

The target internal file identifier is incorrect.

ERROR_INVALID_TARGET_HANDLE

117

The IOCTL call made by the application program
is not correct.

ERROR_INVALID_CATEGORY

118

The verify-on-write switch parameter value
is not correct.

ERROR_INVALID_VERIFY_SWITCH

119

The system does not support the command requested.

ERROR_BAD_DRIVER_LEVEL

120

This function is not supported on this system.

ERROR_CALL_NOT_IMPLEMENTED

121

The semaphore timeout period has expired.

ERROR_SEM_TIMEOUT

122

The data area passed to a system call is too
small.

ERROR_INSUFFICIENT_BUFFER

123

The filename, directory name, or volume label
syntax is incorrect.

ERROR_INVALID_NAME

124

The system call level is not correct.

ERROR_INVALID_LEVEL

125

The disk has no volume label.

ERROR_NO_VOLUME_LABEL

126

The specified module could not be found.

ERROR_MOD_NOT_FOUND

127

The specified procedure could not be found.

ERROR_PROC_NOT_FOUND

128

There are no child processes to wait for.

ERROR_WAIT_NO_CHILDREN

129

The %1 application cannot be run in Win32
mode.

ERROR_CHILD_NOT_COMPLETE

130

Attempt to use a file handle to an open disk
partition for an operation other than raw disk I/O.

ERROR_DIRECT_ACCESS_HANDLE

131

An attempt was made to move the file pointer
before the beginning of the file.

ERROR_NEGATIVE_SEEK

132

The file pointer cannot be set on the specified
device or file.

ERROR_SEEK_ON_DEVICE

133

A JOIN or SUBST command cannot be used for
a drive that contains previously joined drives.

ERROR_IS_JOIN_TARGET

134

An attempt was made to use a JOIN or SUBST
command on a drive that has already been joined.

ERROR_IS_JOINED

135

An attempt was made to use a JOIN or SUBST
command on a drive that has already been substituted.

ERROR_IS_SUBSTED

136

The system tried to delete the JOIN of a drive
that is not joined.

ERROR_NOT_JOINED

137

The system tried to delete the substitution
of a drive that is not substituted.

ERROR_NOT_SUBSTED

138

The system tried to join a drive to a directory
on a joined drive.

ERROR_JOIN_TO_JOIN

139

The system tried to substitute a drive to
a directory on a substituted drive.

ERROR_SUBST_TO_SUBST

140

The system tried to join a drive to a directory
on a substituted drive.

ERROR_JOIN_TO_SUBST

141

The system tried to SUBST a drive to a directory
on a joined drive.

ERROR_SUBST_TO_JOIN

142

The system cannot perform a JOIN or SUBST
at this time.

ERROR_BUSY_DRIVE

143

The system cannot join or substitute a drive
to or for a directory on the same drive.

ERROR_SAME_DRIVE

144

The directory is not a subdirectory of the
root directory.

ERROR_DIR_NOT_ROOT

145

The directory is not empty.

ERROR_DIR_NOT_EMPTY

146

The path specified is being used in a substitute.

ERROR_IS_SUBST_PATH

147

Not enough resources are available to process
this command.

ERROR_IS_JOIN_PATH

148

The path specified cannot be used at this
time.

ERROR_PATH_BUSY

149

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_IS_SUBST_TARGET

150

System trace information was not specified
in your CONFIG.SYS file, or tracing is disallowed.

ERROR_SYSTEM_TRACE

151

The number of specified semaphore events for
DosMuxSemWait is not correct.

ERROR_INVALID_EVENT_COUNT

152

DosMuxSemWait did not execute; too many semaphores
are already set.

ERROR_TOO_MANY_MUXWAITERS

153

The DosMuxSemWait list is not correct.

ERROR_INVALID_LIST_FORMAT

154

The volume label you entered exceeds the label
character limit of the target file system.

ERROR_LABEL_TOO_LONG

155

Cannot create another thread.

ERROR_TOO_MANY_TCBS

156

The recipient process has refused the signal.

ERROR_SIGNAL_REFUSED

157

The segment is already discarded and cannot
be locked.

ERROR_DISCARDED

158

The segment is already unlocked.

ERROR_NOT_LOCKED

159

The address for the thread ID is not correct.

ERROR_BAD_THREADID_ADDR

160

The argument string passed to DosExecPgm is
not correct.

ERROR_BAD_ARGUMENTS

161

The specified path is invalid.

ERROR_BAD_PATHNAME

162

A signal is already pending.

ERROR_SIGNAL_PENDING

164

No more threads can be created in the system.

ERROR_MAX_THRDS_REACHED

167

Unable to lock a region of a file.

ERROR_LOCK_FAILED

170

The requested resource is in use.

ERROR_BUSY

173

A lock request was not outstanding for the
supplied cancel region.

ERROR_CANCEL_VIOLATION

174

The file system does not support atomic changes
to the lock type.

ERROR_ATOMIC_LOCKS_NOT_SUPPORTED

180

The system detected a segment number that
was not correct.

ERROR_INVALID_SEGMENT_NUMBER

182

The operating system cannot run %1.

ERROR_INVALID_ORDINAL

183

Cannot create a file when that file already
exists.

ERROR_ALREADY_EXISTS

186

The flag passed is not correct.

ERROR_INVALID_FLAG_NUMBER

187

The specified system semaphore name was not
found.

ERROR_SEM_NOT_FOUND

188

The operating system cannot run %1.

ERROR_INVALID_STARTING_CODESEG

189

The operating system cannot run %1.

ERROR_INVALID_STACKSEG

190

The operating system cannot run %1.

ERROR_INVALID_MODULETYPE

191

Cannot run %1 in Win32 mode.

ERROR_INVALID_EXE_SIGNATURE

192

The operating system cannot run %1.

ERROR_EXE_MARKED_INVALID

193

%1 is not a valid Win32 application.

ERROR_BAD_EXE_FORMAT

194

The operating system cannot run %1.

ERROR_ITERATED_DATA_EXCEEDS_64k

195

The operating system cannot run %1.

ERROR_INVALID_MINALLOCSIZE

196

The operating system cannot run this application
program.

ERROR_DYNLINK_FROM_INVALID_RING

197

The operating system is not presently configured
to run this application.

ERROR_IOPL_NOT_ENABLED

198

The operating system cannot run %1.

ERROR_INVALID_SEGDPL

199

The operating system cannot run this application
program.

ERROR_AUTODATASEG_EXCEEDS_64k

200

The code segment cannot be greater than or
equal to 64K.

ERROR_RING2SEG_MUST_BE_MOVABLE

201

The operating system cannot run %1.

ERROR_RELOC_CHAIN_XEEDS_SEGLIM

202

The operating system cannot run %1.

ERROR_INFLOOP_IN_RELOC_CHAIN

203

The system could not find the environment
option that was entered.

ERROR_ENVVAR_NOT_FOUND

205

No process in the command subtree has a signal
handler.

ERROR_NO_SIGNAL_SENT

206

The filename or extension is too long.

ERROR_FILENAME_EXCED_RANGE

207

The ring 2 stack is in use.

ERROR_RING2_STACK_IN_USE

208

The global filename characters, * or ?, are
entered incorrectly or too many global filename characters are specified.

ERROR_META_EXPANSION_TOO_LONG

209

The signal being posted is not correct.

ERROR_INVALID_SIGNAL_NUMBER

210

The signal handler cannot be set.

ERROR_THREAD_1_INACTIVE

212

The segment is locked and cannot be reallocated.

ERROR_LOCKED

214

Too many dynamic-link modules are attached
to this program or dynamic-link module.

ERROR_TOO_MANY_MODULES

215

Cannot nest calls to LoadModule.

ERROR_NESTING_NOT_ALLOWED

216

The image file %1 is valid, but is for a machine
type other than the current machine.

ERROR_EXE_MACHINE_TYPE_MISMATCH

230

The pipe state is invalid.

ERROR_BAD_PIPE

231

All pipe instances are busy.

ERROR_PIPE_BUSY

232

The pipe is being closed.

ERROR_NO_DATA

233

No process is on the other end of the pipe.

ERROR_PIPE_NOT_CONNECTED

234

More data is available.

ERROR_MORE_DATA

240

The session was canceled.

ERROR_VC_DISCONNECTED

254

The specified extended attribute name was
invalid.

ERROR_INVALID_EA_NAME

255

The extended attributes are inconsistent.

ERROR_EA_LIST_INCONSISTENT

258

The wait operation timed out.

WAIT_TIMEOUT

259

No more data is available.

ERROR_NO_MORE_ITEMS

266

The copy functions cannot be used.

ERROR_CANNOT_COPY

267

The directory name is invalid.

ERROR_DIRECTORY

275

The extended attributes did not fit in the
buffer.

ERROR_EAS_DIDNT_FIT

276

The extended attribute file on the mounted
file system is corrupt.

ERROR_EA_FILE_CORRUPT

277

The extended attribute table file is full.

ERROR_EA_TABLE_FULL

278

The specified extended attribute handle is
invalid.

ERROR_INVALID_EA_HANDLE

282

The mounted file system does not support extended
attributes.

ERROR_EAS_NOT_SUPPORTED

288

Attempt to release mutex not owned by caller.

ERROR_NOT_OWNER

298

Too many posts were made to a semaphore.

ERROR_TOO_MANY_POSTS

299

Only part of a ReadProcessMemory or WriteProcessMemory
request was completed.

ERROR_PARTIAL_COPY

300

The oplock request is denied.

ERROR_OPLOCK_NOT_GRANTED

301

An invalid oplock acknowledgment was received
by the system.

ERROR_INVALID_OPLOCK_PROTOCOL

317

The system cannot find message text for message
number 0x%1 in the message file for %2.

ERROR_MR_MID_NOT_FOUND

487

Attempt to access invalid address.

ERROR_INVALID_ADDRESS

534

Arithmetic result exceeded 32 bits.

ERROR_ARITHMETIC_OVERFLOW

535

There is a process on other end of the pipe.

ERROR_PIPE_CONNECTED

536

Waiting for a process to open the other end
of the pipe.

ERROR_PIPE_LISTENING

994

Access to the extended attribute was denied.

ERROR_EA_ACCESS_DENIED

995

The I/O operation has been aborted because
of either a thread exit or an application request.

ERROR_OPERATION_ABORTED

996

Overlapped I/O event is not in a signaled
state.

ERROR_IO_INCOMPLETE

997

Overlapped I/O operation is in progress.

ERROR_IO_PENDING

998

Invalid access to memory location.

ERROR_NOACCESS

999

Error performing inpage operation. 

ERROR_SWAPERROR 

There could be thousands of Win32 error codes in Windows. Do you know what they mean? In this post, MiniTool introduces some of the Win32 error codes and you can also learn how to fix them if you encounter with Win32 error codes.

Have you ever encountered some Win 32 error codes when you are working on your Windows?

What Is the Win32 Error Code

Win32 error codes can be found both in 16-bit fields and 32-bit fields. And every value has a default message defined, which can be understood by Windows users.

For example, if you see Win 32 error code 5, it means access is denied, which is possible to lead to troubles running programs or saving its data. So, Win32 error code is also known as a message identifier.

The common usage details of some Win32 error codes are provided in this article. You can check the values and corresponding meanings if Win32 error codes appear on your Windows.

1. Win32 error code 0:

  • This error is also named error code 0x0 and ERROR_SUCCESS.
  • It means “The operation completed successfully”.

2. Win32 error code 4:

  • It is also known as 0x4 and ERROR_TOO_MANY_OPEN_FILES.
  • It means “The system cannot open the file”.

3. Win32 error code 5:

  • Error code 5 is also known as 0x5 and ERROR_ACCESS_DENIED.
  • It means “Access is denied”.

4. Win32 error code 17:

  • It also names 0x11 and ERROR_NOT_SAME_DEVICE.
  • It is described as “The system cannot move the file to a different disk drive”.

5. Win32 error code 18:

  • You can see it as 0x13 and ERROR_WRITE_PROTECT as well.
  • It means “The media is write-protected”.

6. Win32 error code 23:

  • It is also called 0x17 and ERROR_CRC.
  • This Win32 error code means “Data error (cyclic redundancy check)”.

7. Win32 error code 32:

  • This error code is also named 0x20 and ERROR_SHARING_VIOLATION.
  • It means “The process cannot access the file because it is being used by another process”.

8. Win32 error code 39:

  • It is also named 0x27 and ERROR_HANDLE_DISK_FULL.
  • It refers to “The disk is full”.

9. Win32 error code 57:

  • It is also known as 0x39 and ERROR_ADAP_HDW_ERR.
  • It is described as “A network adapter hardware error occurred”.

10. Win32 error code 549:

  • It also names 0x225 as well as ERROR_INSTRUCTION_MISALIGNMENT.
  • It means “An attempt was made to execute an instruction at an unaligned address, and the host system does not support unaligned instruction references”.

11. Win32 error code 1005:

  • It is also called 0x3ED and ERROR_UNRECOGNIZED_VOLUME.
  • It reminds you “The volume does not contain a recognized file system. Be sure that all required file system drivers are loaded and that the volume is not corrupted.”

12. Win32 error code 1115:

  • It is also named 0x45B and ERROR_SHUTDOWN_IN_PROGRESS.
  • It means “A system shutdown is in progress”.

13. Win32 error code 1116:

  • It is also called 0x45C and ERROR_NO_SHUTDOWN_IN_PROGRESS.
  • It is described as “Unable to abort the system shutdown because no shutdown was in progress”.

14. Win32 error code 1117:

  • It is also named 0x45D and ERROR_IO_DEVICE.
  • It means “The request could not be performed because of an I/O device error”.

15. Win32 error code 1118:

  • It is also named 0x45E and ERROR_SERIAL_NO_DEVICE.
  • It means “No serial device was successfully initialized. The serial driver will unload”.

16. Win32 error code 1119:

  • It is also called 0x706 and ERROR_UNKNOWN_PRINTPROCESSOR.
  • It means “The print processor is unknown”.

17. Win32 error code 1797:

  • it is also named 0x705 and ERROR_UNKNOWN_PRINTER_DRIVER.
  • It means “The printer driver is unknown”.

Win32 error code 1117

The Consequences of Win32 Error Codes

The consequences of Win32 error codes are depended on the specific description. For example, when you are working on a remote computer and error code 1115 appears, you could not shut down the computer remotely.

Besides, there are some common situations which may be caused by Win32 error codes.

  • Stop you from some operations. Once Win32 error codes appear, you may fail to finish the operation you are working on.
  • Affect computers performance. Win32 error codes often come with dialog windows which may have an influence on the performance of your PC and slow down the computer.
  • Result in abrupt system restart, crash, Blue Screen of Death(BSOD) and system trash. Some of Win32 error codes which appear when you update your Windows may cause your Windows shutdown suddenly or you are asked to restart your Windows, or even you will meet BSOD.

How to Avoid Win32 Error Codes

There could be thousands of Win32 error codes and some are inevitable. The specific reasons of Win32 error codes are hard to find out, but you can try the following ways to avoid Win32 error codes and protect your computer from data loss due to Win32 error codes.

Trick 1: Run Windows Defender Regularly

Viruses attack could be a reason for some of the Win32 error codes. To protect your computer in advance, you can Run Windows Defender regularly.

Step 1: Type Task Scheduler in Search box and then click Task Scheduler App to open it.

Step 2: Go to Task Scheduler Library > Microsoft > Windows > Windows Defender.

Step 3: Right-click “Windows Defender Scheduled Scan” and choose Properties.

click Properties

Step 4: Add a new trigger for the task and specify the time to run Windows Defender scan according to your needs. Then click OK to save the changes you have made.

If you don’t know how to add a new trigger in Task Scheduler, you can read the following article: Free Ways to Schedule a Scan in Windows Defender Antivirus.

Once it’s done, the chance of Win32 error codes could be reduced.

Trick 2: Back up Data Just in Case

Once a Win32 error code happens to you, you may need to update or even reinstall Windows to fix the problem. To protect your important files and programs, you are recommended to back up them from now on.

Back up data before Win32 error codes appear and I don’t need to worry about data loss when I fix Win32 errors.Click to Tweet

How to Fix Win32 Errors

If you meet Win32 error codes when you are running some programs, the direct way to fix the problems is to solve the corresponding hardware or software issues which is described in the error.

Here are some examples.

  • For Win32 error code 0x20 — “The process cannot access the file because it is being used by another process”, you can close the file with Task Manager and then access it again to fix it.
  • For Win32 error code 39 — “The disk is full”, you can free up the diskor choose another location to fix the problem.
  • For Win32 error code 1005 — “The volume does not contain a recognized file system. Be sure that all required file system drivers are loaded and that the volume is not corrupted”, you can check file system or change file system to solve it.

In a word, you need to read the description carefully and find the ways to fix the error.

In addition, there are common ways which are effective for most Win32 error codes, and you can try them one by one if you encounter a Win32 error code.

Solution 1: Update Windows

When your computer gets a Win32 error code message, the application on which the error occurs will stop working and you will be unable to use the function on your computer.

You can try restarting Windows to fix the problem. If it doesn’t work, you need to install any updates that may be available for your system.

Step 1: Press Win + I to open Settings and click Update & Security.

Step 2: In Windows Update section, click Check for updates.

Check for updates

Then Windows will check and install the available updates automatically. Once it’s done, you can restart your PC and check if the error is solved.

Solution 2: Run the Hardware and Devices Troubleshooter

Windows Troubleshooter is a built-in program, which can find and fix many errors on Windows. If you have the problem about Win32 error code, you can try to run Troubleshooter to solve it.

You have to go to Settings > Update & Security > Troubleshoot. Then select Run the troubleshooter in the problematic hardware and device, which will make the program scan your PC to find issues and solve them automatically.

Run the troubleshooter

Solution 3: Run System File Checker

You can also use Microsoft’s System File Checker to check whether there is any system file corruption when Win32 error codes appear.

You just need to run command prompt as administrator and then type sfc /scannow. Then wait for the scanning process to complete and then restart your computer. All corrupted files will be replaced on reboot.

Solution 4: Check for Bad Sectors

Bad Sectors may lead to data retrieval issues. If you get a Win32 error code, you can check for bad sectors to fix it. Download and install MiniTool Partiiton Wizard by clicking the button below.

Free Download

Step 1: Launch MiniTool Partition Wizard. Then right-click your disk and choose Surface Test.

click Surface Test

Step 2: Then follow the instructions to finish the process. If you have found bad sectors, you need to run command prompt and input chkdsk /f/r to shield the bad sectors.

Step 3: Recover data for damaged hard drive.

Step 4: Since the disk is damaged, you need to copy the disk and replace it with another one as soon as possible.

You can read more detailed steps in this article: Can We Remove Bad Sector from Hard Disk Permanently?

These 4 solutions are worth trying when you encounter Win32 error codes.Click to Tweet

Bottom Line

This article is about the information of Win32 error codes and how to fix them. Some are easy to fix and some are hard. Anyway, you can try these solutions when you encounter Win32 error code.

If you have better ways to solve this problem, you can post it in the comment section below and you will be replied soon.

For any questions about MiniTool Partition Wizard, please don’t hesitate to contact [email protected].

description ms.assetid title ms.topic ms.date

These error codes are returned by the Windows Installer functions MsiExec.exe and InstMsi.exe.

9ea81ef3-a5b5-4d13-b0b8-3da6e919315e

MsiExec.exe and InstMsi.exe Error Messages (for Developers)

article

09/11/2020

MsiExec.exe and InstMsi.exe Error Messages (for Developers)

[!NOTE]
This article is intended for software developers who are using Windows Installer to build installer packages for their applications. If you are a user experiencing difficulty with your computer either during or after installing or uninstalling an application, you should contact customer support for the software you are trying to install or remove. If you feel you are in need of support for a Microsoft product, please go to our technical support site at support.microsoft.com.

These error codes are returned by the Windows Installer functions MsiExec.exe and InstMsi.exe. Note that any error in Winerror.h (such as ERROR_INVALID_DATA, included here) can be returned as well. For more error codes returned by the Windows Installer, see Windows Installer Error Messages.

The error codes ERROR_SUCCESS, ERROR_SUCCESS_REBOOT_INITIATED, and ERROR_SUCCESS_REBOOT_REQUIRED are indicative of success. If ERROR_SUCCESS_REBOOT_REQUIRED is returned, the installation completed successfully but a reboot is required to complete the installation operation.

Error code Value Description
ERROR_SUCCESS 0 The action completed successfully.
ERROR_INVALID_DATA 13 The data is invalid.
ERROR_INVALID_PARAMETER 87 One of the parameters was invalid.
ERROR_CALL_NOT_IMPLEMENTED 120 This value is returned when a custom action attempts to call a function that cannot be called from custom actions. The function returns the value ERROR_CALL_NOT_IMPLEMENTED. Available beginning with Windows Installer version 3.0.
ERROR_APPHELP_BLOCK 1259 If Windows Installer determines a product may be incompatible with the current operating system, it displays a dialog box informing the user and asking whether to try to install anyway. This error code is returned if the user chooses not to try the installation.
ERROR_INSTALL_SERVICE_FAILURE 1601 The Windows Installer service could not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered.
ERROR_INSTALL_USEREXIT 1602 The user cancels installation.
ERROR_INSTALL_FAILURE 1603 A fatal error occurred during installation.
ERROR_INSTALL_SUSPEND 1604 Installation suspended, incomplete.
ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed.
ERROR_UNKNOWN_FEATURE 1606 The feature identifier is not registered.
ERROR_UNKNOWN_COMPONENT 1607 The component identifier is not registered.
ERROR_UNKNOWN_PROPERTY 1608 This is an unknown property.
ERROR_INVALID_HANDLE_STATE 1609 The handle is in an invalid state.
ERROR_BAD_CONFIGURATION 1610 The configuration data for this product is corrupt. Contact your support personnel.
ERROR_INDEX_ABSENT 1611 The component qualifier not present.
ERROR_INSTALL_SOURCE_ABSENT 1612 The installation source for this product is not available. Verify that the source exists and that you can access it.
ERROR_INSTALL_PACKAGE_VERSION 1613 This 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_UNINSTALLED 1614 The product is uninstalled.
ERROR_BAD_QUERY_SYNTAX 1615 The SQL query syntax is invalid or unsupported.
ERROR_INVALID_FIELD 1616 The record field does not exist.
ERROR_INSTALL_ALREADY_RUNNING 1618 Another installation is already in progress. Complete that installation before proceeding with this install.For information about the mutex, see _MSIExecute Mutex.
ERROR_INSTALL_PACKAGE_OPEN_FAILED 1619 This installation package could not be opened. Verify that the package exists and is accessible, or contact the application vendor to verify that this is a valid Windows Installer package.
ERROR_INSTALL_PACKAGE_INVALID 1620 This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
ERROR_INSTALL_UI_FAILURE 1621 There was an error starting the Windows Installer service user interface. Contact your support personnel.
ERROR_INSTALL_LOG_FAILURE 1622 There was an error opening installation log file. Verify that the specified log file location exists and is writable.
ERROR_INSTALL_LANGUAGE_UNSUPPORTED 1623 This language of this installation package is not supported by your system.
ERROR_INSTALL_TRANSFORM_FAILURE 1624 There was an error applying transforms. Verify that the specified transform paths are valid.
ERROR_INSTALL_PACKAGE_REJECTED 1625 This installation is forbidden by system policy. Contact your system administrator.
ERROR_FUNCTION_NOT_CALLED 1626 The function could not be executed.
ERROR_FUNCTION_FAILED 1627 The function failed during execution.
ERROR_INVALID_TABLE 1628 An invalid or unknown table was specified.
ERROR_DATATYPE_MISMATCH 1629 The data supplied is the wrong type.
ERROR_UNSUPPORTED_TYPE 1630 Data of this type is not supported.
ERROR_CREATE_FAILED 1631 The Windows Installer service failed to start. Contact your support personnel.
ERROR_INSTALL_TEMP_UNWRITABLE 1632 The Temp folder is either full or inaccessible. Verify that the Temp folder exists and that you can write to it.
ERROR_INSTALL_PLATFORM_UNSUPPORTED 1633 This installation package is not supported on this platform. Contact your application vendor.
ERROR_INSTALL_NOTUSED 1634 Component is not used on this machine.
ERROR_PATCH_PACKAGE_OPEN_FAILED 1635 This patch package could not be opened. Verify that the patch package exists and is accessible, or contact the application vendor to verify that this is a valid Windows Installer patch package.
ERROR_PATCH_PACKAGE_INVALID 1636 This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package.
ERROR_PATCH_PACKAGE_UNSUPPORTED 1637 This patch 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_VERSION 1638 Another 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 in Control Panel.
ERROR_INVALID_COMMAND_LINE 1639 Invalid command line argument. Consult the Windows Installer SDK for detailed command-line help.
ERROR_INSTALL_REMOTE_DISALLOWED 1640 The current user is not permitted to perform installations from a client session of a server running the Terminal Server role service.
ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success.
ERROR_PATCH_TARGET_NOT_FOUND 1642 The installer cannot install the upgrade patch because the program being upgraded may be missing or the upgrade patch updates a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.
ERROR_PATCH_PACKAGE_REJECTED 1643 The patch package is not permitted by system policy.
ERROR_INSTALL_TRANSFORM_REJECTED 1644 One or more customizations are not permitted by system policy.
ERROR_INSTALL_REMOTE_PROHIBITED 1645 Windows Installer does not permit installation from a Remote Desktop Connection.
ERROR_PATCH_REMOVAL_UNSUPPORTED 1646 The patch package is not a removable patch package. Available beginning with Windows Installer version 3.0.
ERROR_UNKNOWN_PATCH 1647 The patch is not applied to this product. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_NO_SEQUENCE 1648 No valid sequence could be found for the set of patches. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_REMOVAL_DISALLOWED 1649 Patch removal was disallowed by policy. Available beginning with Windows Installer version 3.0.
ERROR_INVALID_PATCH_XML 1650 The XML patch data is invalid. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT 1651 Administrative user failed to apply patch for a per-user managed or a per-machine application that is in advertise state. Available beginning with Windows Installer version 3.0.
ERROR_INSTALL_SERVICE_SAFEBOOT 1652 Windows Installer is not accessible when the computer is in Safe Mode. Exit Safe Mode and try again or try using System Restore to return your computer to a previous state. Available beginning with Windows Installer version 4.0.
ERROR_ROLLBACK_DISABLED 1653 Could not perform a multiple-package transaction because rollback has been disabled. Multiple-Package Installations cannot run if rollback is disabled. Available beginning with Windows Installer version 4.5.
ERROR_INSTALL_REJECTED 1654 The app that you are trying to run is not supported on this version of Windows. A Windows Installer package, patch, or transform that has not been signed by Microsoft cannot be installed on an ARM computer.
ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success. This does not include installs where the ForceReboot action is run.

Понравилась статья? Поделить с друзьями:
  • Win 10 как изменить язык системы
  • Vulcanadapter cc line 372 ошибка
  • Warning maybe error as follows 1 com ports number repetitive or invalid
  • Vscode как изменить powershell на cmd
  • Wild rift ошибка аутентификации 100005