Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How Do I Remove the IISADMPWD folder in IIS 6.0

Posted on 2009-02-18
Medium Priority
Last Modified: 2012-05-06
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.
Question by:habusan
  • 4
LVL 22

Accepted Solution

cj_1969 earned 2000 total points
ID: 23681536
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.
LVL 22

Expert Comment

ID: 23681659
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.

Author Comment

ID: 23683143
Thank you for your reply...How do I determine what numeric site reference value is associated with a particular site?
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 22

Assisted Solution

cj_1969 earned 2000 total points
ID: 23683374
Try this ... iisweb /query ... this should report all your sites and their associated number.
LVL 22

Expert Comment

ID: 23683382
Take a look at this site if you want more information on script access to site configuration info ...

Expert Comment

ID: 24522358
Ran teh adsutil command and then deleted the folder it still keeps reappearing.

Featured Post

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question