We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


How Do I Remove the IISADMPWD folder in IIS 6.0

habusan asked
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.
Watch Question

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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

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.


Thank you for your reply...How do I determine what numeric site reference value is associated with a particular site?
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.