RE: Scripting the creation of IIS Web Sites
- From: "David Davis" <DavidDavis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 18:23:02 -0700
When you create a user via script, you must go back and assign it a password.
This can be done by using another script. Note that you must create the user,
close the script that created the user, then run the password script. Do not
ask me the why, I just know that it must be done this way. I am going to
assume that this is intended functionality for security reasons.
Keep us posted
--
David Davis [MCSE, CCNA, Security +]
"William Tasso" wrote:
> Hello
>
> I've hacked together a script which automates almost everything I need to
> do when creating a new web site including creating the new anonymous user.
>
> Unfortunately IIS seems to have an issue with this user.
>
> o The directory structure is created ok
> o The anonymous user is created ok
> o Appropriate permissions are set ok
> o The site is created ok.
>
> Using the IIS MMC I can see that IIS is using the newly created user for
> anonymous access. Navigating to the site returns a 401.1 every time until
> I manually reset the password for Anonymous user access in the MMC.
>
> Speaking to Microsoft earlier today I was assured that kb:883489
> (http://support.microsoft.com/?id=883489) is not relevant here.
>
> Clues appreciated.
>
> Oh yes, one more thing. So far, I've failed to turn up a usable example
> of a script (I'm using WSH:vbScript) that will create an Application Pool.
>
> Thanks for reading.
> --
> William Tasso
>
.
- Follow-Ups:
- Re: Scripting the creation of IIS Web Sites
- From: William Tasso
- Re: Scripting the creation of IIS Web Sites
- References:
- Scripting the creation of IIS Web Sites
- From: William Tasso
- Scripting the creation of IIS Web Sites
- Prev by Date: RE: Master Browser Error
- Next by Date: RE: Windows 2003 services
- Previous by thread: Scripting the creation of IIS Web Sites
- Next by thread: Re: Scripting the creation of IIS Web Sites
- Index(es):
Relevant Pages
|