Back

Manual Uninstall of SQL 2005 Server or Express with Reports

I had issues uninstalling the 32 bit SQL 2005 Express and SQL 2005 Standard from a customers machine running Windows 2003 64bit This was due to Sys...

3 min read
Published on Mar 4, 2008
Manual Uninstall of SQL 2005 Server or Express with Reports

I had issues uninstalling the 32 bit SQL 2005 Express and SQL 2005 Standard from a customers machine running Windows 2003 64bit.   This was due to Systems Center Essentials requirement of having a 64 bit SQL when running on a 64 bit box with registry redirection.

The server ha two previous versions of the 32 bit reporting services (SQL and SQL Express)…and even after a complete uninstall, I could not reinstall SQL 2005 x64 bit and have function properly.  I received errors after the 64 bit install on the Configuration Tools > Reporting Services Configuration (WMI Error 80040219).  Also, when connecting to the reporting instance through SQL 2005 Management Studio (Could not complete operation, WinMgmt). When I tried to reinstall SQL using the default instance, I received an error that the default instance was installed, even when I removed everything (add/remove programs, SQL services, program files).

So, even after I thought I had removed all of the 32 bit SQL services on the machine, I kept having errors with 64 bit reporting services not being able to be configured. It was because the instance name still existed in the redirected 32 bit node of the registry (WOW6432node)

The quick fix to this problem was to delete the old 32 bit SQL configuration that was preventing the 64 bit version of reporting services from working from:

HKEY_LOCAL_MACHINESOFTWAREWOW6432nodeMicrosoftMicrosoft SQL Server

Note - That will destroy any 32 bit SQL running on your 64 bit box…please make sure the services are deleted as detailed below.

Uninstalling SQL 2005 Manually

First, here are the recommended steps to manually uninstall SQL 2005:

http://support.microsoft.com/kb/909967

If that doesn’t work, this is how you can manually uninstall all versions of SQL 2005 so that SQL can be reinstalled:

Note - This method will delete all databases and configuration, you must have a backup of your existing SQL databases (which this uninstall will delete) before proceeding. (Again, this is not supported, please call Microsoft PSS for supported methods)

  • Uninstall all SQL components possible in Add/Remove Programs (including the SQL client and VSS writer)
  • Stop all SQL Services and configure them to disabled using Start > SQL Configuration Manager
  • Delete the following registry to get rid of the services.  If you have multiple instance installed, it will be Keyname$Instance (i.e. MSSQLServer$OFFICESERVERS)

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSSQLServer HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSQLServerAgent HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSSQLServerADHelper HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesReportServer Verify that the services do not exist in the SQL Configuration Manager. Delete the SQL Configuration in the registry

  1. HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSQLServer
  2. HKEY_LOCAL_MACHINESoftwareMicrosoftMicrosoft SQL Server
  3. Note - if you installed a 32 bit version of SQL on 64 bit version of Windows, you will need to also delete them from the 32 bit registry node that is redirected. More Info MS 896459. * HKEY_LOCAL_MACHINESOFTWAREWOW6432nodeMicrosoftMSSQLServer * HKEY_LOCAL_MACHINESOFTWAREWOW6432nodeMicrosoftMicrosoft SQL Server

Delete the SQL Program files - Note this will also delete the existing databases on the system that must be restored from backup.

    1. Delete the directory: C:Program FilesMicrosoft SQL Server Note - if you installed a 32 bit version of SQL on 64 bit version of Windows, you will need to also delete them from the 32 bit program files: C:Program Files (x86)Microsoft SQL Server
    2. You might need to reboot to close all files before you can delete the directory.

Now you can reinstall a clean 32 bit or 64 bit SQL without errors. Please let me know how it works… Please check us out for your Managed Service or Cloud Consulting needs.

This post has matured and its content may no longer be relevant beyond historical reference. To see the most current information on a given topic, click on the associated category or tag.

Related Posts

OneDrive GCC High Migration: Step-by-Step Process

Steps to Migrate OneDrive to GCC High Environment

Follow this step-by-step guide to migrate OneDrive to GCC High securely and meet CMMC, DFARS, and ITAR compliance standards.

Dec 19, 2025
7 min read
Microsoft 365 Backup Access Control Best Practices

Managing Access Controls for Backup Data in Microsoft 365

Learn how to manage access controls for Microsoft 365 backup data. Protect sensitive data and ensure compliance with role-based permissions and audit logging.

Dec 18, 2025
5 min read
Why Hire an MSP for CMMC Certification Support

Why Hire an MSP for CMMC Certification Support?

Learn why partnering with an MSP for CMMC certification support can streamline your path to compliance, reduce costs, and improve cybersecurity posture.

Dec 17, 2025
7 min read
SharePoint GCC High Migration: Step-by-Step Guide

How to Migrate SharePoint Data to GCC High

Learn how to migrate SharePoint data to GCC High to meet CMMC, NIST, and ITAR compliance requirements with this practical guide.

Dec 15, 2025
7 min read
FedRAMP & Microsoft Cloud Tenant Migrations

Understanding FedRAMP Implications for Microsoft Cloud Tenant Migrations

Learn how FedRAMP requirements impact Microsoft cloud tenant migrations and what regulated organizations must do to stay compliant.

Nov 25, 2025
6 min read
Cloud Backup Strategies for Ransomware Protection

Protecting Against Ransomware with Cloud Backup Strategies

Explore effective cloud backup strategies to defend against ransomware attacks. Learn best practices for recovery, redundancy, and data resilience.

Nov 20, 2025
6 min read

Ready to Secure and Defend Your Data
So Your Business Can Thrive?

Fill out the form to see how we can protect your data and help your business grow.

Loading...
Secure. Defend. Thrive.

Let's start a conversation

Discover more about Agile IT's range of services by reaching out.

Don’t want to wait for us to get back to you?

Schedule a Free Consultation

Location

Agile IT Headquarters
4660 La Jolla Village Drive #100
San Diego, CA 92122