How Do I Remove the IISADMPWD folder in IIS 6.0

Posted on 2009-02-18
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 "". 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
    LVL 22

    Accepted Solution

    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.
    LVL 22

    Expert Comment

    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

    Thank you for your reply...How do I determine what numeric site reference value is associated with a particular site?
    LVL 22

    Assisted Solution

    Try this ... iisweb /query ... this should report all your sites and their associated number.
    LVL 22

    Expert Comment

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

    Expert Comment

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

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now