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 "". 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.
Who is Participating?
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 ...
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.
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.
habusanAuthor Commented:
Thank you for your reply...How do I determine what numeric site reference value is associated with a particular site?
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.

Try this ... iisweb /query ... this should report all your sites and their associated number.
Take a look at this site if you want more information on script access to site configuration info ...
Ran teh adsutil command and then deleted the folder it still keeps reappearing.
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.