# Advanced IIS configruation

**URL:** https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689
**Category:** Discussion
**Created:** [January 21, 2011, 5:15am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689 "2011-01-21T05:15:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![gastelllo](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/g/47e85d/32.png) [@gastelllo](https://www.finalbuilder.com/forums/u/gastelllo)
#### Post date: [January 21, 2011, 5:15am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/1 "2011-01-21T05:15:24Z")

</div>

I need to modify a website and add a site-bindings and also add an enabled protocol.

I can perform these operations in IIS7 directly but don't see a way to make modifications to the site with FB7.&nbsp; Is this possible?

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 24, 2011, 12:43pm UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/2 "2011-01-24T12:43:13Z")

</div>

Hi,   
  
 For more advanced IIS configuration you’ll need to use the ‘Execute Program’ action to call out to the AppCMD utility, here’s a link to the documentation for AppCMD:   
  
 URL: [http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe](http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe)   
  
 I’ll also add a note to the to-do list to implement some of these more advanced configuration options for a future version.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![stpitner](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@stpitner](https://www.finalbuilder.com/forums/u/stpitner)
#### Post date: [January 26, 2012, 8:33am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/3 "2012-01-26T08:33:20Z")

</div>

I would also fully support seeing additional IIS&nbsp;command support within FinalBuilder.&nbsp; Right now I'm trying to just set the DefaultAppPool to not auto start on a remote computer using PSexec.&nbsp; I'm using appcmd to make the change, and I verified that I&nbsp;have the call correct on the remote machine.&nbsp; When I&nbsp;try to call it from psexec I&nbsp;get an error:

ERROR ( message:Configuration error   
Filename: redirection.config  
Line Number: 0  
Description: Cannot read configuration file due to insufficient permissions  
&nbsp;

I&nbsp;\*do\*&nbsp;have to run the command line on the remote machine as administrator in order for this command to work, so perhaps PSexec is not running as administrator?&nbsp;&nbsp;I tried opening Final Builder as administator just to test it out, but that didn't do anything.&nbsp; I saw on another site that I&nbsp;could try passing in -s in order to run as the system account, but I&nbsp;do not see a -s option on the Process Options tab for FB.&nbsp; I'm running 7.0.0.1682.

---

<div class="post-metadata">

### Author: ![stpitner](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@stpitner](https://www.finalbuilder.com/forums/u/stpitner)
#### Post date: [January 27, 2012, 5:36am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/4 "2012-01-27T05:36:13Z")

</div>

Ok, so I just tested this out by dropping the same psexec command into a powershell script that I ran from final builder. I added the -s command to the PSexec script and it worked exactly how I needed it to. Is there a way to add the -s option to the PSExec command? It’s more intuitive for others that may use my script later instead of looking at the powershell script.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 28, 2012, 2:17am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/5 "2012-01-28T02:17:08Z")

</div>

This build includes the -s option (on the Remote page under Credentials) : [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_1753.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1753.exe)

---

<div class="post-metadata">

### Author: ![stpitner](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/8e8cbc/32.png) [@stpitner](https://www.finalbuilder.com/forums/u/stpitner)
#### Post date: [January 31, 2012, 10:43am UTC](https://www.finalbuilder.com/forums/t/advanced-iis-configruation/1689/6 "2012-01-31T10:43:27Z")

</div>

fantastic! Installed, tested it out, and it’s exactly what I needed. Thanks for adding this for me!
