locked
Problem adding login items RRS feed

  • Question

  • User-1650787818 posted

    I’m trying to set up an “automated” environment that will install a minimal version of IIS 7.5, move the files off the C: to D:, and then set some system “hardening” values within the IIS 7.5 configuration attributes.

     I’m trying to add Referrer and Protocol to the site logging, via appcmd and it looks like it works, but does not actually check the box.

     I’m using the following to add the last two items in the Log file:  %windir%\system32\inetsrv\Appcmd set config -section:sites -siteDefaults.logfile.logExtFileFlags:Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,Referer,ProtocolVersion

     Again it looks like it works but does not “check the box”

    Thanks in advance,

     Bryan Wilburn

    Friday, August 19, 2011 3:38 PM

All replies

  • User-1475386077 posted

    are you using any tool for this automation ?

    You can consider powershell which most advanced and user friendly tool to create automated scripts like unattended installations of components

    Sunday, November 20, 2011 12:35 PM
  • User-1672167363 posted

    Hi Bryan,

    I thought Steve  http://forums.iis.net/p/1180936/1993649.aspx#1993649 answered

    this for appcmd and powershell and the IIS Resource Kit Sample Chapters ?

    Martin

     

    Friday, November 25, 2011 8:15 AM