How to completely remove SQL server from my PC

I received a PC. I had Windows XP and I upgraded to Windows Vista Ultimate. I installed SQL server 2000 on it using a default instance and When I wanted to open the Quedry analyzer it couldn't open the server. I went to check in Enterprise Manager, I noticed that there were two servers in the server group. The "Local" and another server name. I understood that tere was another SQL server installed on the PC. I asked the person who sold me the PC, he told me that He had SQL Server 2005 installed on it and then he uninstalled it. I tried to uninstall the SQL Server 2000 I installed then I deleted the SQL folders in Program files. And then tried to install again, I still have the same problem. The Sql server seems to want to connect to the server of the SQL server 2005 that was previously installed. In the Enterprise Manager, the two server name are still there.
What can I do to completely remove SQL Server from the PC so I can installed my own server.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
you can remove the registration in the enterprise manager, just right-click and delete...
SharathData EngineerCommented:
To remove all SQL Server components, try this
execute the below command from the command prompt,

CD %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap
Setup100.exe /q /Action=Uninstall /FEATURES=SQL,AS,RS,IS,Tools /INSTANCENAME=MSSQLSERVER

go to that location and check what are all the folder you have like 80,90 and 100.
Try to uninstall all by chaniging the folde name in the above command.

Then via Add-Remove, uninstall SQLXML4 and SNAC if They do not get uninstalled by above command.

Verify no more SQL components are left in the Add-Remove.

Hope this will help you.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.