Article ID: 142676 - Last Review: March 11, 2008 - Revision: 4.3 How to correct common User32.dll file errors
This article was previously published under Q142676 Support for Windows Vista without any service packs installed ended on April 13, 2010. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows (http://windows.microsoft.com/en-us/windows/help/end-support-windows-xp-sp2-windows-vista-without-service-packs)On This PageINTRODUCTIONWhen you try to use a program on your computer, you receive an error that includes the User32.dll file in its description. This problem may occur for several reasons. This article contains general step-by-step methods that you can use to try to resolve this problem. The step-by-step procedures in this article will not take very much time to be completed. This content is designed for a beginner computer user. What is the User32.dll file?Windows stores instructions for graphical elements such as dialog boxes and windows in the User32.dll file. The User32.dll file is necessary to the operation of Windows. If this file is damaged, deleted, or removed, the system will no longer work correctly. If a program or a service accesses User32.dll incorrectly, the program or the service will not work correctly.User32.dll errors are typically corrected by repairing the User32.dll file or by reinstalling the program, the hardware component, or the driver that is causing the error. If these procedures do not correct the User32.dll error, you can restore your computer to a condition before the error appeared by using the Windows System Restore feature. Note If you cannot start Windows because of a User32.dll error, see the "Start your computer in safe mode and use System Restore" section. SYMPTOMSError messages are the most common symptom of User32.dll problems. User32.dll error messages describe the source of the error and indicate that the User32.dll file is involved in the error.
Here is an example of a User32.dll error message: program Illegal system DLL relocation In this example, program refers to the name of a program that caused the User32.dll error message. This article discusses some common causes of User32.dll error messages. Additionally, this article contains some common resolution methods. Start with the first resolution method, and if the problem that you are experiencing persists, go to the next method. Method 1: Use Windows Update to obtain any fixes that are related to User32.dll The User32.dll problem that you are experiencing may be addressed by a Windows product update. To open Windows Update, follow these steps:
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
Microsoft Windows Update Web siteYou can also update Windows by using the Windows Update Web site. To do this, visit the following Microsoft Windows Update Web site:http://windowsupdate.microsoft.com
(http://windowsupdate.microsoft.com)
Note You can also receive updates for Windows, Microsoft Office and other Microsoft applications in Microsoft Update. Microsoft Update brings you all the features and benefits of Windows Update plus downloads for other Microsoft applications that include Office. To use Microsoft Update, visit the following Microsoft Web site: http://update.microsoft.com/microsoftupdate
(http://update.microsoft.com/microsoftupdate)
Turn on Automatic UpdatesTo have Windows install important updates as they become available, turn on automatic updating. To turn on Automatic Updates in Windows, follow these steps:
If this method workedIf you try to perform the task that resulted in the User32.dll error message, and the error message does not appear, you are finished!If this method did not workIf you try to perform the task that resulted in the User32.dll error message, and the error message still appears, go to the next method.Method 2: Reinstall programs, hardware and drivers that are causing User32.dll errorsIf the User32.dll error message appeared during or after you installed a program, a hardware component, or a driver, uninstall the program, the hardware component, or the driver. Then restart Windows, and reinstall the program, the hardware component, or the driver.
Windows Vista Solution Center http://support.microsoft.com/ph/11732/en-us/ (http://support.microsoft.com/ph/11732/en-us/) Windows XP Solution Center http://support.microsoft.com/ph/1173/en-us/ (http://support.microsoft.com/ph/1173/en-us/) Windows Server 2003 Solution Center http://support.microsoft.com/ph/3198 (http://support.microsoft.com/ph/3198) Windows 2000 Solution Center http://support.microsoft.com/ph/1131 (http://support.microsoft.com/ph/1131) Manually update driversIt is best to let Windows automatically install drivers for your hardware. You should avoid manually updating a driver unless Windows is unable to find a driver for one of your devices, and you were able to obtain a driver some other way. Or, you may have to manually update a driver if technical support personnel ask you to install drivers from a disc or from the device manufacturer's Web site. If you decide to manually update a driver, follow these steps:
Determine what programs are using User32.dllIf you are not sure which programs on your computer are using User32.dll, use the Tasklist command-line tool to determine the programs that are currently using User32.dll. The Tasklist command-line tool displays the names of all programs that currently use User32.dll. To use Tasklist, follow these steps:
Collapse this table
If this method workedIf you try to perform the task that resulted in the User32.dll error message, and the error message does not appear, you are finished!If this method did not workIf you try to perform the task that resulted in the User32.dll error message, and the error message still appears, go to the next method.Method 3: Use System RestoreYou can use Windows System Restore feature to restore Windows Vista and Windows XP to a time before you received the User32.dll error. For information about how to use System Restore in Windows Vista, visit the following Microsoft Web site: http://windowshelp.microsoft.com/Windows/en-US/Help/9f6d755a-74bb-4a7d-a625-d762dd8e79e51033.mspx
(http://windowshelp.microsoft.com/Windows/en-US/Help/9f6d755a-74bb-4a7d-a625-d762dd8e79e51033.mspx)
For more information about how to use System Restore, click the following article numbers to view the articles in the Microsoft Knowledge Base:
936212
(http://support.microsoft.com/kb/936212/
)
How to repair the operating system and how to restore the operating system configuration to an earlier point in time in Windows Vista
927525
(http://support.microsoft.com/kb/927525/
)
After you install a device or update a driver for a device, Windows Vista may not start
306084
(http://support.microsoft.com/kb/306084/
)
How to restore the operating system to a previous state in Windows XP
Important We recommend that you run Windows Update after you perform a system restore. For more information, see Method 1. We also recommend that you update your antivirus software after you run Windows Update.
For more information about antivirus software that Microsoft supports, click the following article number to view the article in the Microsoft Knowledge Base:
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
Start your computer in safe mode, and use System RestoreIf you cannot start System Restore, you can use Windows safe mode to start System Restore. For information about how to start Windows Vista in safe mode and to use System Restore, visit the following Microsoft Web site:http://windowshelp.microsoft.com/Windows/en-US/Help/6b969e00-d4ec-4d3a-bffe-b96107e3bda91033.mspx
(http://windowshelp.microsoft.com/Windows/en-US/Help/6b969e00-d4ec-4d3a-bffe-b96107e3bda91033.mspx)
For more information about how to start Windows XP in safe mode and to use System Restore, click the following article number to view the article in the Microsoft Knowledge Base:
304449
(http://support.microsoft.com/kb/304449/
)
How to start the System Restore tool at a command prompt in Windows XP
Use the Backup or Restore Wizard in Windows Server 2003 and in Windows 2000 to restore your computer to a time before you received the User32.dll error.
For more information about how to restore Windows Server 2003 and Windows 2000, click the following article numbers to view the articles in the Microsoft Knowledge Base:
325375
(http://support.microsoft.com/kb/325375/
)
How to troubleshoot startup problems in Windows Server 2003
315396
(http://support.microsoft.com/kb/315396/
)
How to troubleshoot startup problems in Windows 2000
Important We recommend that you run Windows Update after you perform a system restore. For more information, see Method 1. We also recommend that you update your antivirus software after you have run Windows Update.
For more information about antivirus software supported by Microsoft, click the following article number to view the article in the Microsoft Knowledge Base:
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
If this method workedIf you try to perform the task that resulted in the User32.dll, and the error message does not appear, you are finished!If this method did not workIf you try to perform the task that resulted in the User32.dll error message, and the error message persists, unfortunately this content is unable to help you any further. So, your next step is to see the "Advanced Troubleshooting" section in this article. If you must use advanced troubleshooting, and you are not an advanced user, you might want to ask someone for help, or you might want to contact Support:http://support.microsoft.com
(http://support.microsoft.com/)
Advanced TroubleshootingMethod 1: Use Recovery Console to restore the User32.dll fileSome User32.dll errors can be fixed by restoring the original User32.dll file from your Windows CD. Restoring the User32.dll file replaces the copy of User32.dll on your computer by using the original copy of User32.dll that is contained on your Windows CD.You can use this method if you are running one of the following Windows operating systems:
936212
(http://support.microsoft.com/kb/936212/
)
How to repair the operating system and how to restore the operating system configuration to an earlier point in time in Windows Vista
Note You may find it easier to follow the steps if you print this article first.Before you perform this procedure you should have the Windows installation CD.
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
For more information about the Recovery Console, click the following article numbers to view the articles in the Microsoft Knowledge Base:
314058
(http://support.microsoft.com/kb/314058/
)
Description of the Windows XP Recovery Console
326215
(http://support.microsoft.com/kb/326215/
)
How to use the Recovery Console on a Windows Server 2003-based computer that does not start
229716
(http://support.microsoft.com/kb/229716/
)
Description of the Windows 2000 Recovery Console
If this method workedIf you try to perform the task that resulted in the User32.dll error message, and the error message does not appear, you are finished!If this method did not workIf you try to perform the task that resulted in the User32.dll error message, and the error message still appears, go to the next method.Method 2: Use the System File Checker tool to repair User32.dllSystem File Checker lets you scan all protected files to verify their versions. If System File Checker discovers that a protected file has been overwritten, it retrieves the correct version of the file from the cache folder (%Systemroot%\System32\Dllcache) or from the Windows installation source files, and then replaces the incorrect file. You must be logged on as an administrator or as a member of the Administrators group to run System File Checker. For more information about how to use the System File Checker tool, click the following article numbers to view the articles in the Microsoft Knowledge Base:310747
(http://support.microsoft.com/kb/310747/
)
Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
936212
(http://support.microsoft.com/kb/936212/
)
How to repair the operating system and how to restore the operating system configuration to an earlier point in time in Windows Vista
If this method workedIf you try to perform the task that resulted in the User32.dll error message, and the error message does not appear, you are finished!If this method did not workIf you try to perform the task that resulted in the User32.dll error message, and the error message still appears, you might want to contact Support:http://support.microsoft.com
(http://support.microsoft.com/)
MORE INFORMATIONWhen a program or a service tries to use a damaged, a missing, or a corrupted User32.dll, you receive an error message. In some cases, the error message occurs because a program or a service is trying to use User32.dll incorrectly. For any User32.dll error, the error message indicates the cause of the specific problem, and the error message helps you determine how to fix the problem. Typically, User32.dll errors result from one or more of the following causes:
REFERENCESWindows NT 4.0 Resource Kit Supplement 4 includes the Dependency Walker tool. Dependency Walker displays which modules depend on Windows modules, such as User32.dll. For more information about Dependency Walker, visit the Microsoft Web site: http://technet2.microsoft.com/WindowsServer/en/library/4e43ba6c-e297-422c-9873-9538cab18ee61033.mspx?mfr=true
(http://technet2.microsoft.com/WindowsServer/en/library/4e43ba6c-e297-422c-9873-9538cab18ee61033.mspx?mfr=true)
315241
(http://support.microsoft.com/kb/315241/
)
A Stop: 0xc000026C or Stop: 0xc0000221 "Unable to Load Device Driver" error occurs when you start Windows XP
935448
(http://support.microsoft.com/kb/935448/
)
Certain programs may not start, and you receive an error message on a computer that is running Windows XP Service Pack 2: "Illegal System DLL Relocation"
184802
(http://support.microsoft.com/kb/184802/
)
User32.dll or Kernel32.dll fails to initialize
931362
(http://support.microsoft.com/kb/931362/
)
Advanced methods to troubleshoot a program that does not run as expected after it is installed on Windows Vista
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
