Important: This article contains information about how to modify the registry. Before modifying the registry, you must back up the registry and know how to restore the Registry in case of a problem. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/) Microsoft Windows registry description
Symptoms when you install and uninstall a program, the "Add/delete program" tool in "Control Panel" may not correctly display the installed program. The currently installed program box may only contain a single text string, or a large blank area may appear before the program item. Other display problems may also occur, such as not listing any programs. In addition, one of the following error messages may be displayed:
Message 1
An unexpected error occurred. class not registered
Res: // appwiz. Cpl/ListBox. HTC
Line: 225
Message 2
The object does not support this attribute or the method Res: // appwiz. Cpl/Default. HTA
Line: 75
This problem may occur if the uninstall program of a program mistakenly deletes the registry key used by windows and the Add/delete program tool.
Solution
Warning: If the registry is incorrectly modified using the Registry Editor or other methods, it may cause serious problems. These problems may need to be solved by re-installing the operating system. Microsoft cannot guarantee that you can resolve these problems. You are at your own risk to modify the registry.
To solve this problem, follow these steps:
1. |
ClickStart, ClickRunAnd then type cmd. |
2. |
At the command prompt, type regsvr32 appwiz. Cpl. |
3. |
If it fails, find the registry key listed below. To solve this problem, check the following registry keys and values in the registry. Recreate all missing registry keys and values. Note that these registry entries use the system drive letter. You may have to adjust these registry items to match your computer configuration.
• |
[Hkey_classes_root/CLSID/{00000535-0000-0010-8000-00aa006d2ea4}] "ADODB. recordset" |
• |
[Hkey_classes_root/CLSID/{00000535-0000-0010-8000-00aa006d2ea4}/inprocserver32] "C:/program files/common files/system/ADO/msado15.dll" |
• |
[Hkey_classes_root/CLSID/{00000535-0000-0010-8000-00aa006d2ea4}/inprocserver32] "Threadingmodel" = "apartment" |
• |
[Hkey_classes_root/CLSID/{00000535-0000-0010-8000-00aa006d2ea4}/progid]"ADODB. recordset.2.5" |
• |
[Hkey_classes_root/CLSID/{00000535-0000-0010-8000-00aa006d2ea4}/versionindependentprogid] "ADODB. recordset" |
• |
Hkey_classes_root/CLSID/{2048eee6-7fa2-11d0-9e6a-00a0c9138c29} "Microsoft ole db row position library" |
• |
Hkey_classes_root/CLSID/{2048eee6-7fa2-11d0-9e6a-00a0c9138c29}/inprocserver32 "C:/program files/common files/system/ole db/oledb32.dll" "threadingmodel" = "both" |
• |
Hkey_classes_root/CLSID/{2048eee6-7fa2-11d0-9e6a-00a0c9138c29}/progid "Rowposition. rowposition.1" |
• |
Hkey_classes_root/CLSID/{2048eee6-7fa2-11d0-9e6a-00a0c9138c29}/versionindependentprogid "Rowposition. rowposition" |
• |
[Hkey_classes_root/CLSID/{352ec2b7-8b9a-11d1-b8ae-006008059382}/inprocserver32] "% SystemRoot %/system32/appwiz. Cpl" |
|
4. |
Perform the following steps based on your computer and test whether the problem has been solved. If the problem has been resolved, skip the other steps. If the problem persists, go to Step 5.
• |
To solve this problem when Internet Explorer 6.0 is installed, fix Internet Explorer 6.0:
A. |
ClickStartAnd then clickRun. |
B. |
Paste the following commandOpenBox, and then clickOK:Rundll32 setupwbv. dll, ie6maintenance "C:/program files/Internet Explorer/Setup/setup. EXE"/g "C:/Windows/ie uninstall log. txt Because this command is case sensitive, Microsoft recommends that you copy the command from this article and paste itOpenBox. |
|
• |
To solve this problem when Internet Explorer 5.0 or 5.5 is installed, fix Internet Explorer 5.0 or 5.5:
A. |
ClickStartAnd then clickRun. |
B. |
Paste the following commandOpenBox, and then clickOK:Rundll32 setupwbv. dll, ie5maintenance "C:/program files/Internet Explorer/Setup/setup. EXE"/g "C:/Windows/ie uninstall log. txt Because this command is case sensitive, Microsoft recommends that you copy the command from this article and paste itOpenBox. |
|
|
5. |
Perform local upgrade: Note:: Make sure to back up your data before performing an on-site upgrade. For more information about the risks of local upgrade, see "More information.
A. |
Run winnt32.exe from the/i386 directory on the Windows 2000 installation CD-ROM. |
B. |
When the "Windows 2000 installer" Screen appears, click "upgrade to Windows 2000 ". |
C. |
Wait until the installation process is complete. |
|
If the "Add/delete programs" tool still does not run properly and NO content is displayed, or you want to solve this problem without upgrading to a higher version of Internet Explorer, check the following registry items to make sure they contain:
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/uninstallhkey_local_machine/software/Microsoft/Windows/CurrentVersion/APP management/arpcache
Note:: If the preceding registry key is empty, the "Add/delete programs" tool may also be empty.
Use the command line regsvr32 [Path/Filename] Register the following files:
% SystemRoot %/system32/appwiz. CPL
% SystemRoot %/system32/mshtml. dll
% SystemRoot %/system32/jscript. dll
% SystemRoot %/system32/MSI. dll
Program Files/common files/system/ole db/oledb32.dll
Program Files/common files/system/ADO/msado15.dll
% SystemRoot %/system32/msdart32.dll [unable to register]
% SystemRoot %/system32/mshtmled. dll
% SystemRoot %/system32/mswstr10.dll [cannot be registered]
If the information displayed by the Add/delete programs tool is incomplete or blank, verify the file date and register the following files (if possible ):
% SystemRoot %/system32/gdi32.dll [unable to register]
% SystemRoot %/system32/user32.dll [unable to register]
% SystemRoot %/system32/msvcrt. dll [unable to register]
% SystemRoot %/system32/ole32.dll
% SystemRoot %/system32/shlwapi. dll [unable to register]
% SystemRoot %/system32/imm32.dll [cannot be registered]
% SystemRoot %/system32/indicdll. dll [unable to register]
% SystemRoot %/system32/urlmon. dll
% SystemRoot %/system32/version. dll [cannot be registered]
% SystemRoot %/system32/lz32.dll [unable to register]
% SystemRoot %/system32/comctl32.dll [unable to register]
% SystemRoot %/system32/clbcatq. dll
% SystemRoot %/system32/oleaut32.dll
% SystemRoot %/system32/mlang. dll
% SystemRoot %/system32/shell32.dll
% SystemRoot %/system32/shdoclc. dll [unable to register]
% SystemRoot %/system32/netapi32.dll [unable to register]
% SystemRoot %/system32/secur32.dll [unable to register]
% SystemRoot %/system32/netrap. dll [cannot be registered]
% SystemRoot %/system32/samlib. dll [cannot be registered]
% SystemRoot %/system32/ws2_32.dll [unable to register]
% SystemRoot %/system32/ws2help. dll [unable to register]
% SystemRoot %/system32/wldap32.dll [unable to register]
% SystemRoot %/system32/dnsapi. dll [unable to register]
% SystemRoot %/system32/wsock32.dll [unable to register]
% SystemRoot %/system32/plugin. ocx
% SystemRoot %/system32/wininet. dll [cannot be registered]
% SystemRoot %/system32/crypt32.dll [unable to register]
% SystemRoot %/system32/MSASN1.DLL [cannot be registered]
% SystemRoot %/system32/msls31.dll [unable to register]
% SystemRoot %/system32/imgutil. dll
% SystemRoot %/system32/cscui. dll
% SystemRoot %/system32/cscdll. dll [cannot be registered]
If the "Add/delete programs" tool displays the user interface of the dialog box but does not display any installed programs, check whether the following items exist in the registry:
Hkey_classes_root/CLSID/{352ec2b7-8b9a-11d1-b8ae-006008059382}/inprocserver32
If this registry entry is lost, copy the following text to a text file, save the file with the. Reg extension, and double-click the file on the affected computer to return the correct entry.
For Windows Registry Editor Version 5.00:
[Hkey_classes_root/CLSID/{352ec2b7-8b9a-11d1-b8ae-006008059382}/inprocserver32]
@ = Hex (2): 25, 00, 53,00, 79,00, 00, 6d, 00, 6f, 00, 6f, 25, 00, 5C,, 53, 65, 00, 6d, 00, 00, 7A, 00, 2e,, 70, 00, 6C, 00
"Threadingmodel" = "apartment"
Status Microsoft has confirmed that this is an issue with Microsoft products listed in the apply for section. The following lists all registry keys used by "Add/delete programs. These items must be set by registering appwiz. CPL, but here we will list them for your reference when you confirm that the registration is successful.
• |
[Hkey_classes_root/CLSID/{352ec2b7-8b9a-11d1-b8ae-006008059382}] @ = "% Desc_shellappmgr %" |
• |
[Hkey_classes_root/CLSID/{352ec2b7-8b9a-11d1-b8ae-006008059382}/inprocserver32] @ = "Systemroot %/system32/appwiz. Cpl" (reg_expand_sz) "Threadingmodel" = "apartment" |
• |
[Hkey_classes_root/CLSID/{0b124f8c-91f0-11d1-b8b5-006008059382}] @ = "Installed apps enumerator" |
• |
[Hkey_classes_root/CLSID/{0b124f8f-91f0-11d1-b8b5-006008059382}/inprocserver32] @ = "Systemroot %/system32/appwiz. Cpl" (reg_expand_sz) "Threadingmodel" = "apartment"Note:: This option is only available in Microsoft Windows XP. |
• |
[Hkey_classes_root/CLSID/{CFCCC7A0-A282-11D1-9082-006008059382}] @ = "Darwin app publisher" |
• |
[Hkey_classes_root/CLSID/{CFCCC7A0-A282-11D1-9082-006008059382}/inprocserver32] @ = "Systemroot %/system32/appwiz. Cpl" (reg_expand_sz) "Threadingmodel" = "apartment" |
• |
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/Shell extensions/approved] "{352ec2b7-8b9a-11d1-b8ae-006008059382}" = "Shell application manager" |
• |
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/Shell extensions/approved] "{0b124f8f-91f0-11d1-b8b5-006008059382}" = "installed apps enumerator"Note:: This option is only available in Microsoft Windows XP. |
• |
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/current version/APP management/Publishers/Darwin app Publisher] @ = "{CFCCC7A0-A282-11D1-9082-006008059382 }" |
• |
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/Shell extensions/approved] "{CFCCC7A0-A282-11D1-9082-006008059382}" = "Darwin app publisher" |
• |
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/Explorer/controlpanel/inproccpls] "Appwiz. Cpl" = ""The registry key used when ARP is running. |
• |
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/appinstallpath Read the INF file. The Code reads the INF file name. The INF segment used is "appinstalllist" |
• |
HKEY_LOCAL_MACHINE/software/policies/Microsoft/Windows/installer/Terminal Server/enableadminremote Set ARP to 1 during running. Inform the terminal server that ARP is running. When ARP exits, it is set to 0. |
• |
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/APP management/publishersEnumerative application publishers |
• |
HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/wx86/cmdline Read it to determine whether wx86 is enabled. |
• |
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/Explorer/new1_cuthandlers Enumerate to obtain the list of "new-link" handlers. These handlers seem to be able to add links to a given project, such as links to the Start Menu, desktop, or other projects. |
• |
HKEY_LOCAL_MACHINE/system/CurrentControlSet/control/shutdown/forcereboot Read it to determine whether to restart the computer after running the installer. If it contains a value, it means that the installation must be restarted after each running of the installation program. |
• |
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/MS-dosoptions |
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
265829 (http://support.microsoft.com/kb/265829/) after Internet Explorer 2000 or Internet Explorer 6 is installed on Windows 5.5, the Add/delete programs tool may not work 315341 (http://support.microsoft.com/kb/315341) how to perform a Windows XP Local upgrade (reinstallation) 292175 (http://support.microsoft.com/kb/292175/) how to perform a Windows 2000 local upgrade
The information in this article applies:
• |
Microsoft Windows XP Home Edition |
• |
Microsoft Windows XP Professional Edition |
• |
Microsoft Windows 2000 Server |
• |
Microsoft Windows 2000 Advanced Server |
• |
Microsoft Windows 2000 Professional Edition |
Allyesno Note: it does not seem applicable to 2003 strange