Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Why can't I run the Control Panel Add/Remove Programs applet under Windows 2000 and later?
 

A. The Control Panel Add/Remove Programs applet might stop running if your system is missing some required registry entries. To resolve this problem, you must add the necessary entries to the registry by performing the following steps:

  1. Start a command session by going to Start, Run and typing
    cmd
  2. Enter each of the following commands (click OK to each confirmation that appears):
    regsvr32 mshtml.dll
    regsvr32 shdocvw.dll -i
    regsvr32 shell32.dll -i 
  3. Close the command session by typing
    exit 

You should now be able to start the Add/Remove Programs applet. If the applet still won't run, you might be missing a file; to check, use the system file checker (SFC) to check for and replace missing or corrupt files by performing the following steps:

  1. Start a command session by going to Start, Run and typing
    cmd 
  2. Enter each of the following commands (the system might prompt you to enter the installation media during this process):
    sfc /purgecache
    sfc /scannow 
  3. Restart the computer.







Reader Comments

Excellent advice! Problem solved. Thank you,

Rolf -September 05, 2003

Thank you !!!

Jean-Marc Gillet -October 02, 2003

Much better explanantion and instructions for the problem we ran into than what was on Microsofts website. Thanks!

John Lear -October 23, 2003

Hi ; I have the same problem and have tried the commands on this article. However, they do not work for my situation. Now, I run on Windows 2000. Should I be trying something else? Much appreciated for the assistance. Wai

Wai Huynh -November 18, 2003

I tried the above procedure and it works to perfection. Thanks.

Akash Gupta -November 20, 2003

It didn´t work... What should I do? I´m running Windows XP Pro... Please tell me... Is there something else I can do to be able to run Control Panel Add/Remove Programs applet under Windows XP Professional? Thanks in advance!

Rodrigo -December 04, 2003

This works very well. Thanks

Alex Lima -March 10, 2004

Works perfect for me, thanks!! For those still having trouble, trie also Microsoft: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q329862

Dumon Maarten -April 02, 2004

Excellent! After searching through newsgroups and technet I was about to give up. This solved my problem. Thank You!

Amanda -April 22, 2004

I was unable to run the add/remove app. under a terminal server session. I did what this article suggested and it worked.. Thanks

Joe -April 23, 2004

didn't work for me either on windows 2000 pro. i did a search for the add/remove ".cpl"file and couldn't find that. what exactly is it called so i can check that out first before i go on, and if i deleted it, which .cab file from my windows cd do i find it so i can just replace it? and where would i replace it to? thanks -t

tony -April 28, 2004

Microsoft support knowledge have not solution, this is very bad

Pavan Stefano -April 29, 2004

I tried the above procedure and it works to perfection. Thanks.

Teey -May 10, 2004

It worked for me. Thanks. I was in safe mode when I ran the commands. I certain the reg changes were a result of spyware.

L Hinkle -May 19, 2004

worked a treat, thankyou so much. johnnieb

John burke -June 07, 2004

I used the Command feature to input the lines listed in the Technical Note. However after sfc /s input the following error was listed. "The specific error code 0x000006ba (the RPC server is unavailable. This is running W2K Server with the adminstrator logged in. I'm stumped now. Any ideas on this one?

kmghondo -September 29, 2004

Google and WindowsITPro - a killer combo! Thanks!

Anonymous User -October 13, 2004

Re-registering the DLLs solved the problem like a wonder. Thanks.

Anonymous User -October 14, 2004

Thank you very much

Anonymous User -October 19, 2004

Worked a treat

Anonymous User -October 19, 2004

You are awesome! I love you so much! =]

Anonymous User -November 01, 2004

Solved my problem instantly

Anonymous User -November 19, 2004

worked perfectly, but only shows icons not name or size of program

Anonymous User -November 26, 2004

This still has not worked in my situation. My Add/Remove Programs icon is completely gone from the Control Panel. I tried both methods listed above and have had no luck.

Anonymous User -December 07, 2004

Try logging in with local admin rights and typing this in a cmd prompt: "RunDLL32 shell32.dll,Control_RunDLL c:\windows\system32\appwiz.cpl" If you have a windows 2000 box you need to change the c:\windows\ to c:\winnt.

Anonymous User -December 11, 2004

Just a note of caution: When I followed the instructions to use the sfc command, my computer would not boot afterwards!

Anonymous User -December 21, 2004

great, worked well, thank you!!!

Anonymous User -December 28, 2004

Brilliant!

Anonymous User -January 04, 2005

Worth trying but didn't work for me. Microsoft q266668 is lengthy process. Eventually solved my problem by re-registering files; and Java was the culprit. cmd: regservr32 %systemroot%\System32\Jscript.dll worked for me :-))

Anonymous User -January 05, 2005

RE:above - Sorry typo in above should be "regsvr32" Perhaps moderator can edit and correct - or leave this.

Anonymous User -January 05, 2005

This worked perfectly using only the first 3 commands for XP Pro SP2 Thank you

Anonymous User -January 11, 2005

it worked lika a charm!! Thank~

Anonymous User -January 13, 2005

Didn't work for me however i also had a blank windows update page aswell.. reinstalling VB script package worked a treat tho http://support.microsoft.com/?scid=kb;en-us;231917 (download on above url points to 98/me/nt download, seach download centre for 2k/xp ver)

Anonymous User -January 15, 2005

Thank you very much, problem solved !!!

Anonymous User -January 28, 2005

Didn't need to run SFC, problem solved with regsvr command for a domain controller running Windows 2000 server SP4. Thank you!!

Anonymous User -January 28, 2005

Works perfectly, now. Thanks very much!

Anonymous User -February 09, 2005

Very good. Thank you

Anonymous User -February 09, 2005

Beautiful, thanks!

Anonymous User -March 17, 2005

Perfect... saved me during a major server upgrade... whoot... and thanks much ;-)

Anonymous User -March 18, 2005

At first I was getting the specific error code 0x000006ba, but no longer. I'm running Windows XP. I installed the files that you mentioned, and was able to get rid of the 0x000006ba error. However, in add/remove programs, I'm unable to remove a program. I did everything meaning - loading in safe mode, start/run/cmd.exe, msiexec/ unregister, and then regserver..etc, to no avail, I'm still getting error 1721. States there is a problem with windows installer package and to contact my vendor. I have not a clue. I've done everything. I simply hate to have to reformat my pc, if something else can be done. Thanks very much for any help given.

itsmadsn -March 27, 2005

fixed by the jscript corruption.... THANK YOU!!!

Anonymous User -April 22, 2005

thank you for this advise, much better then Microsoft, is their any MCSE engineers at Microsoft

Anonymous User -April 29, 2005

Much appreciated for the reference\support

Anonymous User -May 19, 2005

Great thanks

Anonymous User -May 31, 2005

Thanks, Worked great and saved me much time!

Anonymous User -June 01, 2005

Great goodness.. thanks SO much for this article.. it was a last-chance attempt to fix my computer myself before taking it into the shop. I simply downloaded SP2 two days ago, and since then Explorer was encountering an error and had to close upon starting my computer.. everything i did had to be through Run commands and Command Prompt screens. I just wanted to thank you for this article.. truely saved me a lot of trouble.. if i had needed to reboot windows i would have lost my mind!

Anonymous User -July 23, 2005

This is a life saver solution!!!! Thanks a lot!!

Anonymous User -July 24, 2005
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement