The title pretty much says it. I need a command line equivalent to pressing the Remove button on the Application Name setting when looking at the properties of a Virtual Directory in IIS6 on a Windows Server 2003. I need this for a batch file. If there is an alternative for a VBScript that would work also.

I know with

Cscript.exe adsutil.vbs SET Path Value

I can alter settings but cannot find a list of what settings I can alter.


Using the remove button actually removes the application from the virtual directory, the equivalent in adsutil is to use the command:


See this page for a full list of commands to use with adsutil.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.