Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripting virtual directory security

Status
Not open for further replies.

SeanJ

Technical User
Apr 3, 2001
10
0
0
GB
Hi all,

I have automated an installation of an application which as part of the installation creates a Virtual directory within IIS, everything works OK. The problem is that the application creates the Virtual directory with basic Authentication as default. I want to be able to run a script or change the settings on the virtual directory to enable Intergrated authentication only without using the IIS management console.
Using IIS6 and W2k3.
Thanks in advance.
 
Finally worked it out using ADSUTIL.VBS

adsutil.vbs set w3svc/1/root/virdir/AuthFlags 4 -->Integrated Windows Authentication

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top