IIS Cannot Uninstall

My IIS got corrupted.  I am trying to unstall it but it cannot uninstall.
On XP I did the following:
1.  Disable the IIS service
2.  reboot
3.  delete wwwroot
4.  add windows component - iis
when it gets to 80% it gives me this error:'

Error writing to encrypted data to the Web Servers configuration database(metabase)
0x8009000f=object already exist
Press Retry or Write Unencrpted to write the data unencrypted...

What to do???


many thanks,
ramrocketAsked:
Who is Participating?

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

x
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.

ComputronCommented:
If you remove this folder
%windir%\system32\inetsrv
That should fix the error you're getting
then reinstall IIS
ramrocketAuthor Commented:
I cannot delete / rename the dir because a program is using it.  what program?  IIS Admin service is disabled
ComputronCommented:
Have you tried in Safe Mode ?
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

ramrocketAuthor Commented:
I manage to delete all files/folders except 3 dlls that wont delete.
1. aqadmin.dll
2. aqueue.dll
3. seos.dll

how do I kill these dll.  I delete them and they just comeback
ComputronCommented:
You won't get rid of those, now just reinstall IIS
ramrocketAuthor Commented:
I reinstall and same error.  stops @ 80% and

Error writing to encrypted data to the Web Servers configuration database(metabase)
0x8009000f=object already exist
Press Retry or Write Unencrpted to write the data unencrypted...
ComputronCommented:
You are logged on with appropriate permission, correct ?

What errors are you recording in your event logs ?

Deleting the metabase as we did, should have allowed you to reinstall IIS so we must have another issue here.
ramrocketAuthor Commented:
where is the metabase??
ComputronCommented:
C:\WINDOWS\system32\inetsrv
ramrocketAuthor Commented:
I deleted everything in this dir exept for the 3 dlls metioned above
ComputronCommented:
How about the event viewer or permissioning ?

Lets try one other thing

Navigate to the following folder

%Windir%\Profiles\All Users\Application Data\Microsoft\Crypto\Rsa\MachineKeys directory

Rename the Machinekeys folder to Machinekeys1

then try to reinstall IIS
ramrocketAuthor Commented:
no profiles dir
ComputronCommented:
C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\Rsa\MachineKeys directory
ramrocketAuthor Commented:
it looks like it has installed iis but need to verify if it is working.  I have to uninstall explorer then reinstall.  how do i verify that iis is working properly??
ComputronCommented:
open a browser and go to http://localhost/ and see if the server reports back an error of 400 orsetup a site and page then http://localhost/somepage.html
ramrocketAuthor Commented:
no go.  localhost is not there.  I also try to bringup inetmgr.exe and it complains:
failed to initialize snapin.  

I'll increase the points, thanks for tyring to help me on this.
ComputronCommented:
Is the service started ?
ramrocketAuthor Commented:
yes
ComputronCommented:
Stick a page in your inetpub folder and put the following in a browser

http://my_server_name/mypage.html

replace my_server_name with the name of your computer
replace mypage.html with the page name
ramrocketAuthor Commented:
page not found
ComputronCommented:
I need a little more info or we'll be here all night

What is the URL you used ?
If you use something different then htm you'll have to enter the document type in the IIS settings

Also, lets try to reregister the inetmgr dll file
open a command prompt and type regsvr32 C:\Windows\system32\inetsrv\inetmgr.dll
then try to run the snapin
ramrocketAuthor Commented:
http://192.68.0.3/test.htm and inetmgr.dll is registered and snapin works now.  now just need to get the localhost to work.  almost there.
ComputronCommented:
That URL is not correct

use http://my_server_name/mypage.html

replace my_server_name with the name of your computer

your computers name can be found in control panel, system, computer name tab

in any event, sounds like everything is working now

you may just want to go with setting up a site
ramrocketAuthor Commented:
that is the ip address of my machine.  i also place the machine name and same error
ComputronCommented:
do you have a default site setup ?
ramrocketAuthor Commented:
that is the problem.  i dont have any item in the treeview - ftp site, default site, etc.  will look at this tommorow.
ComputronCommented:
I had no way of knowing that

There seems to still be a problem with the metabase. Shut the service down and try to reinstall again

That file should reside in windows\system32\inetsrv
Sridhar CherukuriService EngineerCommented:
If you have any restore point in your XP then restore it to the previous state. If not you have to a clean install of XP again

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
ramrocketAuthor Commented:
I have already done a restore recovery for xp since my computer crash.
Sridhar CherukuriService EngineerCommented:
Then you have no option other than cleran re-install of XP i guess.
kevp75Commented:
first things first.  When uninstalling IIS you need to make sure all services are stopped.  Also, make sure windows unloads DLL's from memory, otherwise you will get no-where.

from the comman prompt  (Start->Run- type in cmd hit enter)

Type:
net stop w3svc ->Hit Enter
net stop msftpsvc ->Hit Enter
net stop smtpsvc ->Hit Enter

see here for how to find out what other services are running for your IIS
http://support.microsoft.com/kb/271362/EN-US/

once all the services are stopped, go through the Control Panel and remove IIS.

Restart the machine.

Once the machine is back up, go and re-install IIS through the control panel
kevp75Commented:
you do not need to do a clean install of the OS.

If the uninstall fails after trying my suggestions, hit CTRL-ALT-DEL.  and list here what processes are running at that time.  There may be a service that is still running for IIS
ramrocketAuthor Commented:
I can't believe this.  to uninstall and reinstall IIS I had to reinstall the operating system.  thanks guys for all your help.  
Sridhar CherukuriService EngineerCommented:
I do agree this is something viet to re-install the OS just to uninstall IIS. It is not only with IIS there some other issues in XP which forces you to re-install the entire OS to get it up and running. There might be solutions for those issues also. but in these situtations when we are not sure it is better to have a clean re-install
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 IIS Web Server

From novice to tech pro — start learning today.