RE: Scripting the creation of IIS Web Sites

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
>
.



Relevant Pages

  • Re: Anonymous works 1 Day ??
    ... If you run CSCRIPT //h:CSCRIPT that will set CSCRIPT as the default script ... This right is needed for IIS to logon the anonymous user though. ...
    (microsoft.public.inetserver.iis.security)
  • Re: CGI Security on IIS 6.0
    ... Was it written for an IIS ... >The script takes a username and current password and new ... anonymous user, attempting to perform an LDAP query that is restricted ... account, nor are you logging in as the anonymous user when you run the ...
    (microsoft.public.inetserver.iis.security)
  • Re: Secured IIS Project - IIS 4.0 Secure Script
    ... Secured IIS Project - IIS 4.0 Secure Script ... Machines which were upgraded from IIS 2.0 (original NT installation), ... Remove FTP Service ...
    (NT-Bugtraq)
  • Re: INETINFO and ASP Trouble
    ... seeing many IIS and ASP errors in the event log, ... > Event Type: Error ... > Event Source: Service Control Manager ... IIS log failed to write entry, Script timed out. ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 4.0 DOS attack?
    ... Subject: IIS 4.0 DOS attack? ... patch distribution script we use (exploded hotfixes applied through ... a lot of our servers were fine -- we just ...
    (Focus-Microsoft)