How to clean a corrupted Silverlight installation and then reinstall Silverlight

Article translations Article translations
Article ID: 2608523
Expand all | Collapse all

On This Page

Symptoms

When working with Microsoft Silverlight you may encounter the following scenarios:
  • Install Microsoft Silverlight
  • Upgrade to another version of Microsoft Silverlight
  • Uninstall Microsoft Silverlight
  • Microsoft Silverlight does not work as expected

Attempts to restart the computer and try to upgrade, install or uninstall Microsoft Silverlight again end in the same results.

Cause

This issue can occur if an existing installation or uninstall has become corrupt.

Resolution

To automatically uninstall Microsoft Silverlight, click the button in the "Fix it for me" section. If you would rather verify and update these keys yourself, go to the "Let me fix it myself" section.


Fix it for me

Collapse this imageExpand this image
assets fixit1
Fix this problem
Microsoft Fix it
Collapse this imageExpand this image
assets fixit2

Note This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.

Note If you are not currently using the computer that is experiencing this problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it later on the computer in question.

When the Fix it solution has completed, click the link below to install the latest version of Microsoft Silverlight:

http://www.microsoft.com/getsilverlight/get-started/install/default.aspx



Let me fix it myself

To resolve this issue yourself, follow these steps:
  1. Click Start and type Notepad in the Search box
  2. Double-click on Notepadfrom the list of results above
  3. Copy and then paste the following text into Notepad.
    reg delete HKLM\Software\Microsoft\Silverlight /f
    reg delete HKEY_CLASSES_ROOT\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\D7314F9862C648A4DB8BE2A5B47BE100 /f
    reg delete HKEY_CLASSES_ROOT\TypeLib\{283C8576-0726-4DBC-9609-3F855162009A} /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\install.exe /f
    reg delete HKEY_CLASSES_ROOT\AgControl.AgControl /f
    reg delete HKEY_CLASSES_ROOT\AgControl.AgControl.5.1 /f
    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{89F4137D-6C26-4A84-BDB8-2E5A4BB71E00} /f
    rmdir /s /q "%ProgramFiles%\Microsoft Silverlight"
    rmdir /s /q "%ProgramFiles(x86)%\Microsoft Silverlight"
    

  4. Click File and Save As and type CleanSilverlight.cmd
  5. In the Save astype box, click All Files (*.*)
  6. In the Save in box, click Desktop, and then click Save
  7. On the File menu, click Exit
  8. Right-click the CleanSilverlight.cmd file on your desktop and click Run as administrator
  9. When the uninstall completes, right-click the CleanSilverlight.cmd file on your desktop and click Run as administrator a second time
  10. Once the uninstall has completed, click the link below to install the latest version of Microsoft Silverlight

    http://www.microsoft.com/getsilverlight/get-started/install/default.aspx
  11. Delete the CleanSilverlight.cmd file from your desktop.

More information

Microsoft Community

Have other questions? To obtain free support, check out our Microsoft Community. There, you can search for answers or ask other users specific questions. Click the following link to visit the Microsoft Community Forums: http://answers.microsoft.com

Questions specific to Silverlight
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2608523 - Last Review: September 12, 2013 - Revision: 13.0
Keywords: 
KB2608523

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com