Assistance with ADSUtil.VBS

Trying to create a virtual directory through bat files on my "default web
site" and using the adsutil.vbs utility. Cannot find a lot of examples
online and need assistance:
CScript ADSUtil.VBS CREATE W3SVC/1/ROOT/TestDir
CScript ADSUtil.VBS SET W3SVC/1/ROOT/TestDir C:\TestADS
Also need to set permissions READ,WRITE,BROWSING
Also need to only have "Integrated Windows Authentication" only under
"Authentication Methods"

Any help is appreciated, thanks

url:http://www.ureader.com/gp/1524-1.aspx
John [ Do, 24 Januar 2008 15:52 ] [ ID #1915503 ]

Re: Assistance with ADSUtil.VBS

On Jan 24, 6:52=A0am, "John"<j... [at] nospam.com> wrote:
> Trying to create a virtual directory through bat files on my "default web
> site" and using the adsutil.vbs utility. Cannot find a lot of examples
> online and need assistance:
> CScript ADSUtil.VBS CREATE W3SVC/1/ROOT/TestDir
> CScript ADSUtil.VBS SET W3SVC/1/ROOT/TestDir C:\TestADS
> Also need to set permissions READ,WRITE,BROWSING
> Also need to only have "Integrated Windows Authentication" only under
> "Authentication Methods"
>
> Any help is appreciated, thanks
>
> url:http://www.ureader.com/gp/1524-1.aspx


Here's the information for you to help yourself. Don't worry, it's not
hard and you're not that far off. Just need to read and follow
instructions.

Here is the list of all the properties:
http://www.microsoft.com/technet/prodtechnol/WindowsServer20 03/Library/IIS/c=
de669f1-5714-4159-af95-f334251c8cbd.mspx?mfr=3Dtrue

You need to:
1. Create a virtual directory node with "KeyType" IIsWebVirtualDir
2. Set the virtual directory's "Path" property with the correct
filesystem path
3. Set the virtual directory's "AccessFlags" property with the right
bitflag for permissions
4. Set the virtual directory's "AuthFlags" property with the right
bitflag for authentication method

I have given you all the property names that you need to set and the
URL which gives you all their valid values.

Good luck.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
David Wang [ Fr, 25 Januar 2008 01:54 ] [ ID #1916329 ]
Webserver » microsoft.public.inetserver.iis » Assistance with ADSUtil.VBS

Vorheriges Thema: VPing for sites
Nächstes Thema: Properties Dialog Not Showing in IIS!