How Do I Remove the IISADMPWD folder in IIS 6.0

I've attempted to remove the "C:\WINDOWS\system32\inetsrv\iisadmpwd" directory in accordance with Experts Exchange reference to URL "http://groups.google.com/group/microsoft.public.inetserver.iis/browse_thread/thread/555deab791f877b6". But when attempting to run the "adsutil.vbs" command a text document pops up and the command doesn't seem to execute. Thus my folder keeps reapearing after a system reboot. Can someone please provide me direction on how to permanetly delete the "IISADMPWD" directory. A quick response is greatly appreciated. Thank you.
habusanAsked:
Who is Participating?
 
cj_1969Commented:
Do you have more than one site defined in IIS or have you changed or deleted the default website?
When executing the command referenced you have to provide the numeric site reference so that the paramter in the IIS metabase is modified for the specific site within IIS ... so, ifyou have more than one site, you would have to do this for each site.

From here ... http://windowsitpro.com/article/articleid/42426/q-how-can-i-control-access-to-the-iisadmpwd-virtual-directory.html
 
adsutil.vbs set w3svc/1/PasswordChangeFlags 2 would disable the password changing option for the default site, assuming the default site is the default one created when IIS was installed, this is the only site that will have the number 1 (referenced by w3svc/<site number>/PasswordChangeFlags )

Once you disable this for all of the sites then I would expect that the directory will not come back once deleted.
0
 
cj_1969Commented:
Do you have any other MS applications installed on this machine?
A number of MS's web based applications use this directory to enable users to change their passwords.
If you have his then you will either have to uninstall the app from this machine, remove/uninstall this capability from the application or be stuck with the directory.
0
 
habusanAuthor Commented:
Thank you for your reply...How do I determine what numeric site reference value is associated with a particular site?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
cj_1969Commented:
Try this ... iisweb /query ... this should report all your sites and their associated number.
0
 
cj_1969Commented:
Take a look at this site if you want more information on script access to site configuration info ...
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1805162e-6ac5-4a98-9a08-919c4c10827d.mspx?mfr=true
0
 
USBDevCommented:
Ran teh adsutil command and then deleted the folder it still keeps reappearing.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.