<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>IIS7 - Configuration &amp; Scripting</title><link>http://forums.iis.net/1046.aspx</link><description>Forum aimed at understanding the system.Webserver or system.ApplicationHost using a text editor or scripting</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1870324.aspx</link><pubDate>Tue, 27 May 2008 14:48:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1870324</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1870324.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1870324</wfw:commentRss><description>&lt;p&gt;Update on this:&lt;/p&gt;
&lt;p&gt;In the absence of an official article, I describe the fixed port best practice here: &lt;a href="http://mvolo.com/blogs/serverside/archive/2008/05/26/Accessing-IIS-7.0-configuration-remotely-and-on-server-core.aspx"&gt;http://mvolo.com/blogs/serverside/archive/2008/05/26/Accessing-IIS-7.0-configuration-remotely-and-on-server-core.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is a batch file to configure fixed port access, and a tool you can use to check common connectivity issues.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.mvolo.com/"&gt;http://www.mvolo.com&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1864903.aspx</link><pubDate>Sat, 08 Mar 2008 06:07:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1864903</guid><dc:creator>colinbo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1864903.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1864903</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;mvolo:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;ve asked our config guys to look into producing official guidance for opening up DCOM for the configuration COM objects&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Mike - Did this guidance get published?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862652.aspx</link><pubDate>Mon, 28 Jan 2008 04:38:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862652</guid><dc:creator>colinbo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862652.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862652</wfw:commentRss><description>&lt;p&gt;Mike,&lt;/p&gt;
&lt;p&gt;I agree that the dllhost.exe is a pretty nasty solution.&amp;nbsp; The key though is the AHAdmin COM object.&amp;nbsp; With that information I added an Endpoints entry to the registry per KB217351, rebooted the server, and now my server is happy with a locked down port.&amp;nbsp; My new rule set is as follows:&lt;/p&gt;&lt;code&gt;NetSh AdvFirewall Firewall Add Rule Name=&amp;quot;Remote Web Server Management (RPC)&amp;quot; Dir=In Action=Allow Program=&amp;quot;C:\WINDOWS\SYSTEM32\dllhost.exe&amp;quot; Protocol=TCP LocalPort=49494&lt;br /&gt;&lt;br /&gt;NetSh AdvFirewall Firewall Add Rule Name=&amp;quot;Remote Web Server Management (RPC-EPMap)&amp;quot; Dir=In Action=Allow Program=&amp;quot;C:\WINDOWS\SYSTEM32\SvcHost.exe&amp;quot; Service=RPCSS Protocol=TCP LocalPort=RPC-EPMap&lt;/code&gt; 
&lt;p&gt;That&amp;#39;s a whole lot more secure.&amp;nbsp; I would love to use the IIS Management Service but my understanding is that with Server Core that is not an option.&amp;nbsp; Hopefully the Server Core guys will get the .NET Framework in for the next release.&amp;nbsp; I can see a lot of advantages to having it as an option in Server Core.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Colin&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862637.aspx</link><pubDate>Mon, 28 Jan 2008 03:20:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862637</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862637.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862637</wfw:commentRss><description>&lt;p&gt;Dan, Colin,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked our config guys to look into producing official guidance for opening up DCOM for the configuration COM objects.&lt;/p&gt;
&lt;p&gt;IMHO, I wouldnt open RPC in general in a production system just to allow MWA remoting - I believe many enterprises already have policy against doing this. Opening RPC for dllhost.exe is no better (as Colin mentions), since most COM objects are hosted by dllhost.exe COM servers.&lt;/p&gt;
&lt;p&gt;Given the current DCOM support, I would use the approach given by KB 312960 to publish the RPC endpoint used by the &amp;quot;Ahadmin&amp;quot; COM package to a specific port. Then, open that port in the firewall.&amp;nbsp; This way, you would only open DCOM access to the IIS COM objects, which require authentication and demand administrative credentials.&lt;/p&gt;
&lt;p&gt;Also, while this is not a substitute for programatic IIS administration, you can consider using IIS Manager&amp;#39;s remote management capability which uses HTTP-based connectivity to the management service, and therefore doesnt require DCOM. Unfortunately, this currently requires you to perform your management within the context of the IIS Manager.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked our config guys to come up with the official guidance for opening DCOM endpoints for Ahadmin that can be published on IIS.NET.&lt;/p&gt;
&lt;p&gt;Thanks for raising this issue - &lt;/p&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;Program Manager&lt;br /&gt;IIS Core Server&lt;br /&gt;Visit &lt;a href="http://www.mvolo.com/"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;mvolo.com&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; for more&amp;nbsp;on IIS 7.0 and ASP.NET&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862623.aspx</link><pubDate>Sun, 27 Jan 2008 18:16:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862623</guid><dc:creator>colinbo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862623.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862623</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;DungKHoang:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Proto&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Foreign Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State&lt;br /&gt;TCP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.111:135&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.110:49228&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&lt;br /&gt;RpcSs&lt;br /&gt;[Svchost.exe]&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Netstat is a timing-based tool.&amp;nbsp; You need to get it at the right time to see the connection to the end-point established.&amp;nbsp; The excerpt above is probably too early in the process since the connection is being made to the RPC endpoint mapper.&amp;nbsp; Windows Server 2008 has changed the RPC endpoint mapper behaviour from using all ports above 1024 for dynamic endpoints to &lt;a class="" href="http://support.microsoft.com/kb/929851"&gt;locking it down to a specific range of 49152 through 65535 by default&lt;/a&gt;.&amp;nbsp; This should eliminate the need for setting the RPC registry key you noted allowing you to focus on 49152 and above.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I mentioned the SvcHost earlier because it appears that Windows Firewall will automagically read into the RPC packet and look for the end point service that is being accessed to provide another level of filtering beyond a port number.&amp;nbsp; This is pretty nifty in my opinion.&amp;nbsp; The resulting Windows Firewall rules then say that &amp;quot;i&amp;#39;m going to allow dynamic RPC endpoint traffic, but it must be service X that is being access&amp;quot;.&amp;nbsp; This is certainly one step better than opening up an entire port range into the open.&amp;nbsp; Too bad it doesn&amp;#39;t support DLLHost-based processes&amp;nbsp;which is why I suggested that SvcHost.exe is a better choice, and the best choice being a custom COM surrogate wrapper.&amp;nbsp; Other approaches have been to lock services down to specific endpoints.&amp;nbsp; NTDS, Netlogon, and FRS take this approach.&amp;nbsp; I don&amp;#39;t really have a preference either way from a development perspective, but I know the security folks do prefer a known ports rather than a range.&amp;nbsp; I&amp;#39;m also going to suggest that it is unlikely that you&amp;#39;ll have many happy security analysts who want to open 49152-65535 for servers because it relies on the server being properly configured as well.&amp;nbsp; The trust factor will make this a nightmare scenario that could easily be solved by enabling adminsitrators to set a specific port.&amp;nbsp; I don&amp;#39;t know the underpinings well enough to comment on the best approach but I do know that DCOM does offer up the ability to lock down to a specific port through Component Services.&lt;/p&gt;
&lt;p&gt;Thanks for the post too, it has been interesting to dig&amp;nbsp;back into&amp;nbsp;RPC and&amp;nbsp;get up to speed on some of the smaller changes&amp;nbsp;coming in Windows Server 2008.&amp;nbsp; These changes make it exciting and worth to upgrade to the latest versions.&amp;nbsp; I&amp;#39;m excited to get our hands on the advanced firewall for our production servers next month.&amp;nbsp; I wrote up more of an explanation on &lt;a class="" href="http://rockstarguys.com/blogs/colin/archive/2008/01/27/troubleshooting-rpc-across-firewalls-or-what-the-developers-forgot-to-explain.aspx"&gt;how I understand RPC to work&lt;/a&gt; for others that come across this thread in the future.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Colin&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862622.aspx</link><pubDate>Sun, 27 Jan 2008 17:45:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862622</guid><dc:creator>DungKHoang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862622.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862622</wfw:commentRss><description>&lt;p&gt;Colin&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks much!&lt;/p&gt;
&lt;p&gt;I confirm that adding those two rules work for MWA! You rock!&lt;/p&gt;
&lt;p&gt;The starnge thing is that MWA works right away agaisnt IIS7 installed on a full server ( without any modification for the firewall rules) while it&amp;#39;s quite a challenge to find out rules for MWA on Server Core.&lt;/p&gt;
&lt;p&gt;Again, thanks for looking at this problem,&lt;/p&gt;
&lt;p&gt;/Dung&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862621.aspx</link><pubDate>Sun, 27 Jan 2008 17:37:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862621</guid><dc:creator>DungKHoang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862621.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862621</wfw:commentRss><description>&lt;p&gt;Mike,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I did it on the IIS-CORE machine ( server side). After adding the registry entries and reboot the system, it still doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Here is what I did:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Open the registry on IIS-CORE&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Create a key under HKLM\Software\Microsoft\Rpc called Internet&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Add the following entries: Ports Multi_SZ 3000-4000 ; PortsInternetAvailable Y ; UseInternetPorts Y&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Reboot the server&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;After the server reboots,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Disable the firewall netsh firewall set opmode DISABLE ( to look at the ports used)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Run Netstat -B ( as suggested by ColinBo)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;On IIS-FULL, run MWATEST.EXE IIS-CORE&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;On IIS-CORE, I notice the following connection:&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Proto&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Foreign Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State&lt;br /&gt;TCP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.111:135&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.110:49228&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&lt;br /&gt;RpcSs&lt;br /&gt;[Svchost.exe]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Note: 192.168.0.111 is IIS-CORE and 192.168.0.110 is IIS-FULL&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Enable the firewall netsh firewall set opmode ENABLE&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/Dung&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862615.aspx</link><pubDate>Sun, 27 Jan 2008 06:55:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862615</guid><dc:creator>colinbo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862615.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862615</wfw:commentRss><description>&lt;p&gt;I have the following rule groups&amp;nbsp;enabled:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Core Networking&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;File&amp;nbsp;and Printer Sharing&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Remote Administration&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Windows Remote Management&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Windows Management Instrumentation (WMI)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Secure World Wide Web Services (HTTPS)&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;World Wide Web Services (HTTP)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I think I found it after watching what is happening with NETSTAT -B.&amp;nbsp; The RPC endpoint is going through dllhost.exe.&amp;nbsp; Adding the following two rules seems to enable it:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NetSh AdvFirewall Firewall Add Rule Name=&amp;quot;Remote Web Server Management (RPC)&amp;quot; Dir=In Action=Allow Program=&amp;quot;C:\WINDOWS\SYSTEM32\dllhost.exe&amp;quot; Protocol=TCP LocalPort=RPC&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;NetSh AdvFirewall Firewall Add Rule Name=&amp;quot;Remote Web Server Management (RPC-EPMap)&amp;quot; Dir=In Action=Allow Program=&amp;quot;C:\Windows\system32\svchost.exe&amp;quot; Service=RPCSS Protocol=TCP LocalPort=RPC-EPMap&lt;/code&gt; &lt;/p&gt;
&lt;p&gt;I can&amp;#39;t really vouch for the security of it as it came about through trial-and-error.It&amp;#39;s too bad that the IIS Administration doesn&amp;#39;t flow through a custom COM surrogate so that we could lock it down to something other than DLLHost.exe.&amp;nbsp; Even SvcHost.exe would be better because it appears that Windows Firewall allows us to specify a service (we could specify IISAdmin for example).&amp;nbsp; It seems like we&amp;#39;re opening a can of worms here, no?&amp;nbsp; Any thoughts from the PMs lurking?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Colin&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862610.aspx</link><pubDate>Sun, 27 Jan 2008 01:21:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862610</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862610.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862610</wfw:commentRss><description>&lt;p&gt;Did you follow the KBs to restrict DCOM to specific ports? I didnt see you mention anything about doing this.&amp;nbsp; See my previous post for information.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;span style="FONT-SIZE:11pt;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;font face="Arial" size="2"&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;Program Manager&lt;br /&gt;IIS Core Server&lt;br /&gt;Visit &lt;a href="http://www.mvolo.com/"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;mvolo.com&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; for more&amp;nbsp;IIS 7.0 posts, tools, and info&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862589.aspx</link><pubDate>Fri, 25 Jan 2008 22:38:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862589</guid><dc:creator>DungKHoang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862589.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862589</wfw:commentRss><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s exaclty what I did as expalined in my previous replies.&lt;/p&gt;
&lt;p&gt;Create 2 rules to allow incoming access to port 135 on protocol TCP and UDP&lt;/p&gt;
&lt;p&gt;netsh advfirewall firewall add rule name=&amp;quot;COM+ Network Access (DCOM-In)&amp;quot; dir=in protocol=TCP localport=135&lt;/p&gt;
&lt;p&gt;netsh advfirewall firewall add rule name=&amp;quot;COM+ Network Access (DCOM-In)- UDP&amp;quot; dir=in protocol=UDP localport=135&lt;/p&gt;
&lt;p&gt;Sorry for not being clear,&lt;/p&gt;
&lt;p&gt;/Dung&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862583.aspx</link><pubDate>Fri, 25 Jan 2008 21:36:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862583</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862583.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862583</wfw:commentRss><description>&lt;p&gt;Hi Dung,&lt;/p&gt;
&lt;p&gt;According to that document, you need to open port 135, but also need to open the port that the DCOM connection will use.&amp;nbsp; There are two approaches:&lt;/p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;By default, DCOM uses RPC dynamic port allocation, which randomly selects port numbers above 1024. In addition, port 135 is used by the RPC endpoint mapping service.&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Restrict the ports required to support DCOM on the internal firewall in two ways:&lt;/span&gt;&lt;/i&gt; 
&lt;p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/i&gt;&amp;nbsp;&lt;/p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:140%;FONT-FAMILY:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-size:8.5pt;mso-bidi-font-family:Symbol;mso-bidi-font-style:italic;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Define port ranges&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;. &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;This allows you to control the ports dynamically allocated by RPC. For more information about dynamic port restrictions, see Microsoft Knowledge Base article 300083, &amp;quot;How To: Restrict TCP/IP Ports on Windows 2000 and Windows&amp;nbsp;XP.&amp;quot;&lt;/span&gt;&lt;/i&gt; 
&lt;p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/i&gt;&amp;nbsp;&lt;/p&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;&lt;/i&gt;&lt;b&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Use static endpoint mapping&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;. &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Microsoft Windows&amp;nbsp;2000&amp;nbsp;SP3 (or QFE 18.1 and later) or Windows Server 2003 allows you to configure Enterprise Services applications to use a static endpoint. Static endpoint mapping means that you only need to open two ports in the firewall: port 135 for RPC and a nominated port for your Enterprise Services application. &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;For more information about static endpoint mapping, see Microsoft Knowledge Base article 312960, &amp;quot;Cannot Set Fixed Endpoint for a COM+ Application.&amp;quot; &lt;/span&gt;&lt;/i&gt;&lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:140%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;Program Manager&lt;br /&gt;IIS Core Server&lt;br /&gt;Visit &lt;a href="http://www.mvolo.com/"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;mvolo.com&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; for more&amp;nbsp;on IIS 7.0 and ASP.NET&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862556.aspx</link><pubDate>Fri, 25 Jan 2008 12:58:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862556</guid><dc:creator>DungKHoang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862556.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862556</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the pointer,&lt;/p&gt;
&lt;p&gt;I have tried to add a rule for COM Accesss on UDP/ port 135 but it still does not work&lt;/p&gt;
&lt;p&gt;/Dung&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862529.aspx</link><pubDate>Thu, 24 Jan 2008 23:02:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862529</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862529.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862529</wfw:commentRss><description>&lt;p&gt;Hi Dung,&lt;/p&gt;
&lt;p&gt;Try this: &lt;a href="http://msdn2.microsoft.com/en-us/library/ms809327.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms809327.aspx&lt;/a&gt;. I am not 100% sure this is still valid, but you can try it as I have seen very recent references to it.&lt;/p&gt;
&lt;p&gt;Let me know if it doesnt work for you.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;Program Manager&lt;br /&gt;IIS Core Server&lt;br /&gt;Visit &lt;a href="http://www.mvolo.com/"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;mvolo.com&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; for more&amp;nbsp;IIS 7.0 posts, tools, and info&lt;/p&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862527.aspx</link><pubDate>Thu, 24 Jan 2008 22:56:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862527</guid><dc:creator>DungKHoang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862527.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862527</wfw:commentRss><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Here is what I observed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;On Full Server (IIS-FULL), the rule &amp;quot;COM+ Network Access (DCOM-In)&amp;quot; exists but is NOT enabled. &lt;u&gt;MWA works!&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;On Server Core (IIS-CORE), the rule does not exist &lt;u&gt;MWA does not work&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Here is what I did on Server Core&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Enable Remote admin on&amp;nbsp;the firewall&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;netsh firewall set service remoteadmin&lt;/p&gt;
&lt;p&gt;netsh advfirewall set currentprofile settings remote management enable&lt;/p&gt;
&lt;p&gt;Result:&amp;nbsp;&amp;nbsp;&lt;u&gt;MWA does not work&lt;/u&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Create a rule:&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;netsh advfirewall firewall add rule name=&amp;quot;COM+ Network Access (DCOM-In)&amp;quot; dir=in protocol=TCP localport=135&lt;/p&gt;
&lt;p&gt;netsh advfirewall firewall&amp;nbsp;set rule name=&amp;quot;COM+ Network Access (DCOM-In)&amp;quot; new enable=Yes&lt;/p&gt;
&lt;p&gt;Result:&amp;nbsp;&amp;nbsp;&lt;u&gt;MWA does not work&lt;/u&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Turn off firewall&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;netsh advfirewall set allprofiles state off&lt;/p&gt;
&lt;p&gt;Result: &lt;u&gt;MWA works!&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;I really don&amp;#39;t want to use the 3rd option (turn the firewall off). There must be another rule to make it work. If you have an idea, I really appreciate your help on this&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;/Dung&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#008000"&gt;&lt;/font&gt;</description></item><item><title>Re: Using MWA to remotely manage IIS on Server Core.</title><link>http://forums.iis.net/thread/1862424.aspx</link><pubDate>Wed, 23 Jan 2008 23:44:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1862424</guid><dc:creator>mvolo</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1862424.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1046&amp;PostID=1862424</wfw:commentRss><description>&lt;p&gt;Hmm, can you first check the firewall to make sure it allows &amp;quot;COM+ Network Access (DCOM-In)&amp;quot;?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mike Volodarsky&lt;/p&gt;
&lt;p&gt;Program Manager&lt;br /&gt;IIS Core Server&lt;br /&gt;Visit &lt;a href="http://www.mvolo.com/"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;mvolo.com&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt; for more&amp;nbsp;IIS 7.0 posts, tools, and info&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>