Select the product you need help with
How to correct common User32.dll file errorsArticle ID: 142676 - View products that this article applies to. 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 |
| Image Name | PID | Modules |
|---|---|---|
| explorer.exe | 2532 | USER32.dll |
| OUTLOOK.EXE | 3128 | USER32.dll |
| iexplore.exe | 3232 | USER32.dll |
| tasklist.exe | 3012 | USER32.dll |
If this method worked
If 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 work
If 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 Restore
You 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
For more information about how to use System Restore, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://windowshelp.microsoft.com/Windows/en-US/Help/9f6d755a-74bb-4a7d-a625-d762dd8e79e51033.mspx)
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
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:
(http://support.microsoft.com/kb/306084/
)
How to restore the operating system to a previous state in Windows XP
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
Start your computer in safe mode, and use System Restore
If 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
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:
(http://windowshelp.microsoft.com/Windows/en-US/Help/6b969e00-d4ec-4d3a-bffe-b96107e3bda91033.mspx)
304449
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:
(http://support.microsoft.com/kb/304449/
)
How to start the System Restore tool at a command prompt in Windows XP
325375
(http://support.microsoft.com/kb/325375/
)
How to troubleshoot startup problems in Windows Server 2003
315396
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:
(http://support.microsoft.com/kb/315396/
)
How to troubleshoot startup problems in Windows 2000
49500
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
If this method worked
If 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 work
If 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 Troubleshooting
Method 1: Use Recovery Console to restore the User32.dll file
Some 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:
- Windows XP
- Windows Server 2003
- Windows 2000
936212
Note You may find it easier to follow the steps if you print this article first.
(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
Before you perform this procedure you should have the Windows installation CD.
- Insert the Windows XP CD into your computer, and then restart the computer.
- If you are asked whether you want to start the computer from the CD drive, click Yes.
- When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
- When you are asked to type the Administrator password, type the Administrator password. If the administrator password is blank, just press ENTER.
- At the command prompt, type the following command: cd %systemroot%\system32
- First, rename the damaged or corrupted file so that it is not deleted when you copy the original file. To do this, type the following command: ren USER32.DLL USER32.BAK
- Next, restore the original User32.dll file from the Windows CD to your computer. To do this, type the following command: expand [CD drive letter]:\i386\USER32.DLL %systemroot%\system32 /YNote In this command, replace [CD drive letter] with the letter of your CD drive, such as D.
- To exit the Recovery Console and to restart the computer, type exit at the command prompt, and then press ENTER.
49500
For more information about the Recovery Console, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/49500/
)
List of antivirus software vendors
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 worked
If 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 work
If 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.dll
System 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 worked
If 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 work
If 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 INFORMATION
When 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:
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:
- The User32.dll file is damaged, renamed or removed: The User32.dll file could be damaged during a system or software update. A damaged User32.dll file might be missing a routine that is required by a program that you installed. When the program tries to call these routines, an error occurs. A user might accidentally rename or remove the User32.dll file.
- Program files are damaged or missing: If programs that call routines in User32.dll have damaged or missing files, the programs can make invalid calls to routines in User32.dll. Invalid calls to routines in User32.dll result in User32.dll errors.
- Software calls for functions that do not exist in User32.dll: If a software program calls for functions in User32.dll that are not present, an error message occurs. This problem can occur if software is run on the wrong version of Windows.
- A program does not allow for Windows to update User32.dll when it is necessary: An antivirus program might be configured to prevent upgrading any files on your computer.
- A problem with memory allocation occurs: Windows reserves memory space for User32.dll. If a different file occupies memory space that is reserved for User32.dll, User32.dll is relocated in memory. Windows considers this relocation an “Illegal System DLL Relocation,” and this results in an error. These memory problems usually occur when software or files are installed in such an order that a file occupies memory space that is reserved for User32.dll.
- Driver problems occur: Missing or damaged drivers or incompatible driver versions can result in calls to routines in User32.dll that are invalid. Invalid calls to routines in User32.dll result in User32.dll errors messages.
- The Windows registry is damaged: A damaged Windows registry may result in a damaged User32.dll file.
- Viruses infect User32.dll: User32.dll is a very important file for Windows, and there are some viruses that try to infect it.
REFERENCES
Windows 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
Properties
Article ID: 142676 - Last Review: March 11, 2008 - Revision: 4.3
APPLIES TO
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows 2000 Server
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows Server 2003, Standard Edition (32-bit x86)
- Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
- Microsoft Windows Server 2003, Web Edition
- Windows Vista Enterprise
- Windows Vista Home Premium
- Windows Vista Home Basic
- Windows Vista Ultimate
- Windows Vista Starter
Keywords: | kbexpertiseadvanced kbfix kbresolve kbenv KB142676 |
Article Translations
- Brasil (Português)
- Česká republika (Čeština)
- Deutschland (Deutsch)
- España, Latinoamérica (Español)
- France (Français)
- Indonesia (Bahasa Indonesia)
- Italia (Italiano)
- Nederland (Nederlands)
- Polska (Polski)
- Portugal (Português)
- Slovenská Republika (Slovenčina)
- Việt Nam (Tiếng Việt)
- Ελλάδα (Ελληνικά)
- Россия (Русский)
- भारत (हिंदी)
- ไทย (ไทย)
- 대한민국 (한국어)
- 台灣 (繁體中文)
- 日本 (日本語)


Back to the top








