Can"t fully uninstall or re-install IIS

Can"t fully uninstall or re-install IIS

am 13.02.2006 00:38:01 von Andarial

Hi,

I had set up IIS on my laptop (XP Pro SP2) last month and got all of
the MS Express Development tools working (VB & Web Developer Express).
Everything was working fine & I could develop without any problems.

More recently, I installed IE 7 Beta 2 Preview. I'm not sure if it's
related, but since then, I have not been able to develop properly using
IIS.

I can't overwrite any files in my existing web project (I'm getting an
access denied error). To try to get around this, I uninstalled IIS
(assuming it would completely delete the Inetpub folder & all the child
subfolders & contents). IIS seemed to uninstall without a problem, but
my Inetpub and wwwroot folders (as well as the web site folder
underneath wwwroot) were still there!

I still can't delete any of the web project files or folders, and now I
can't seem to re-install IIS either. I get the following error
message:

Setup could not copy one or more files. The specific error code is
0xe0000233.
Press OK to continue or Cancel to stop setup and try again.
If you continue the components may not function properly.

PLEASE help!! I'm so frustrated with this & would like to have
everything working as it did a month ago.

Thanks in advance!

Re: Can"t fully uninstall or re-install IIS

am 13.02.2006 00:40:10 von Andarial

I should note that I uninstalled IE 7 Beta 2 preview and the files
still wouldn't delete & I still can't install IIS.

Re: Can"t fully uninstall or re-install IIS

am 13.02.2006 01:50:24 von nomailreplies

After you uninstall IIS, have you tried deleting \inetpub ?
( ...and then reinstalling IIS ? )

You might also want to delete \windows\system32\inetsrv



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaƱol : http://asp.net.do/foros/
===================================
"Andarial" wrote in message
news:1139787610.661724.159670@z14g2000cwz.googlegroups.com.. .
>I should note that I uninstalled IE 7 Beta 2 preview and the files
> still wouldn't delete & I still can't install IIS.
>

Re: Can"t fully uninstall or re-install IIS

am 13.02.2006 20:29:13 von Andarial

Hi - I did try deleting the inetpub folder but got the same access
denied error.

I tried deleting that inetsrv folder, but got the following error;
Cannot delete inetsrv: It is being used by another person or program.
Close any programs that might be using the file and try again.

I used an unlocker program (won't work with inetpub folder) and was
able to delete the inetsrv folder, however I still can't delete the
Inetpub folder. Just to note, the IISAdmin service is still visible
under services, but I have it disabled & stopped.

Any other suggestions?

Re: Can"t fully uninstall or re-install IIS

am 15.02.2006 06:20:40 von Ken Schaefer

When you uninstall IIS, it doesn't delete your WWWRoot folder, because you
might have your own files in there. You can manually delete the WWWroot
folder when you are ready.

If you are getting permission denied errors, then perhaps NTFS ACLs are
preventing you from deleting it. You can "take ownership" of the
files/folders by right-clicking on the WWWroot folder and choosing
"Properties". ON the Security tab, click the Advanced button, and goto the
Owner tab. Replace the owner with your account. This will give your account
full permissions over the files/folders, which will then allow you to delete
them.

IISAdmin etc should have been deleted during IIS uninstall. If they haven't
you can use the sc.exe tool to manually remove them

At a command prompt type sc.exe /? for information on how to use that tool.

Cheers
Ken


"Andarial" wrote in message
news:1139858953.226115.49350@z14g2000cwz.googlegroups.com...
: Hi - I did try deleting the inetpub folder but got the same access
: denied error.
:
: I tried deleting that inetsrv folder, but got the following error;
: Cannot delete inetsrv: It is being used by another person or program.
: Close any programs that might be using the file and try again.
:
: I used an unlocker program (won't work with inetpub folder) and was
: able to delete the inetsrv folder, however I still can't delete the
: Inetpub folder. Just to note, the IISAdmin service is still visible
: under services, but I have it disabled & stopped.
:
: Any other suggestions?
:

Re: Can"t fully uninstall or re-install IIS

am 17.02.2006 07:23:24 von Andarial

I deleted the IISAdmin service as you described and it worked great.

Adding my account to the security of the folder worked like a charm. I
cant' believe I didn't think of that!!

Because all of that got fixed up, I could reinstall IIS without any
problems.

Thanks so much!

Re: Can"t fully uninstall or re-install IIS

am 03.05.2006 13:47:02 von roberto

I think I'm having the same problem, but even after changing ownership of
inetsrv I can't delete it.

Any other ideas?

"Andarial" wrote:

> I deleted the IISAdmin service as you described and it worked great.
>
> Adding my account to the security of the folder worked like a charm. I
> cant' believe I didn't think of that!!
>
> Because all of that got fixed up, I could reinstall IIS without any
> problems.
>
> Thanks so much!
>
>