<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thebackroomtech &#187; IIS</title>
	<atom:link href="http://thebackroomtech.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebackroomtech.com</link>
	<description>serving up the info back room techs everywhere find interesting</description>
	<lastBuildDate>Sat, 20 Nov 2010 03:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Howto: Specify a service account for accessing a remote data path in IIS 7.0</title>
		<link>http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/</link>
		<comments>http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 11:14:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Anyonymous]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[IIS 7.0]]></category>
		<category><![CDATA[remote share]]></category>
		<category><![CDATA[service account]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1653</guid>
		<description><![CDATA[I have an Active Directory domain service account that has permissions to a share on our SAN that will host IIS web site content.  I needed to allow IIS to access the share via the service account.  Here&#8217;s how to do it in IIS 7.0 on Windows Server 2008: Open Server Manager &#62; Roles &#62; [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><!--StartFragment-->I have an Active Directory domain service account that has permissions to a share on our SAN that will host IIS web site content.  I needed to allow IIS to access the share via the service account.  Here&#8217;s how to do it in IIS 7.0 on Windows Server 2008:</p>
<ol>
<li><em>Open Server Manager &gt; Roles &gt; Web Server (IIS) &gt; Internet Information Services (IIS) Manager &gt; ServerName &gt; Sites &gt; WebSiteName</em></li>
<li>Double click <em>Authentication &gt; Anonymous Authentication &gt; Edit</em></li>
<li>Under <em>Anonymous user identity</em>, select <em>Specific User &gt; Set</em></li>
<li>Enter the user name and password &gt; OK &gt; OK </li>
<li>Restart the web site</li>
</ol>
<div>Reference and details:</div>
<div><a href="http://learn.iis.net/page.aspx/140/understanding-the-built-in-user-and-group-accounts-in-iis-7">http://learn.iis.net/page.aspx/140/understanding-the-built-in-user-and-group-accounts-in-iis-7/</a></div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/" title="Using Caspol.exe to grant .NET applications rights to a remote network share">Using Caspol.exe to grant .NET applications rights to a remote network share</a></li><li><a href="http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/" title="Howto: Backup IIS 7.0 web server configuration">Howto: Backup IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/01/15/howto-edit-network-card-bindings-in-windows-server-2008/" title="Howto:  Edit network card bindings in Windows Server 2008">Howto:  Edit network card bindings in Windows Server 2008</a></li><li><a href="http://thebackroomtech.com/2009/01/09/running-windows-media-services-and-and-iis-on-the-same-server-in-windows-server2008/" title="Running Windows Media Services and and IIS on the same server in Windows Server2008">Running Windows Media Services and and IIS on the same server in Windows Server2008</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Caspol.exe to grant .NET applications rights to a remote network share</title>
		<link>http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/</link>
		<comments>http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 16:39:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[caspol]]></category>
		<category><![CDATA[FullTrust]]></category>
		<category><![CDATA[IIS 7.0]]></category>
		<category><![CDATA[SecurityException]]></category>
		<category><![CDATA[System.SecurityException]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1632</guid>
		<description><![CDATA[When you host a .NET application on a remote network share, you may receive a System.SecurityException exception error message or a security warning message. The Code Access Security Policy tool (CASPOL) enables administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level. Caspol is used to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When you host a .NET application on a remote network share, you may receive a System.SecurityException exception error message or a security warning message.</p>
<p>The Code Access Security Policy tool (CASPOL) enables administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level.</p>
<p>Caspol is used to fully trust a remote share, since by default network shares only get LocalIntranet permissions.</p>
<p>The solution for the System.SecurityException exception error message is to use caspol to grant a .NET application the FullTrust right to a network share.  To do this:</p>
<p>1.  Launch a command prompt with administrative credentials</p>
<p>2.  Change to the C:\Windows\Microsoft.NET\Framework\v2.0.50727 directory.</p>
<p>3.  Run the following command:</p>
<p><em>caspol -m -ag 1 -url &#8220;file://\\server\share\*&#8221; FullTrust -exclusive on</em></p>
<p>Replace \\server\share\ with the path to your .NET application located on the remote network share.</p>
<p>Running the above command allowed me to resolve the following IIS 7.0 error:</p>
<p><em>SecurityException: Request for the permission of type &#8216;System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8242; failed</em></p>
<p>By the way, .NET Framework 3.5 SP1 allows managed code to be launched from a network share.</p>
<p>References:</p>
<p>http://support.microsoft.com/?id=320268</p>
<p>http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx</p>
<p>http://books.google.com/books?id=VJOtwMawoswC&#038;pg=PA576&#038;lpg=PA576&#038;dq=iis+7.0+caspol.exe&#038;source=bl&#038;ots=W88GOo1Cfp&#038;sig=U8sBtcNzbaSgPTghAp519S9O3sM&#038;hl=en&#038;ei=o1zSSeafEobmnQfHrbzlBQ&#038;sa=X&#038;oi=book_result&#038;resnum=1&#038;ct=result</p>
<p>http://www.iislogs.com/articles/23/</p>
<p>http://support.microsoft.com/kb/837909</p>
<p>http://www.sharepointblogs.com/ssa/archive/2007/09/06/using-caspol-exe-to-add-assemblies-to-full-trust-assembly-list.aspx</p>
<p>http://www.dotnetjunkies.ddj.com/quickstart/howto/doc/security/SecScripting.aspx</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/" title="Howto: Specify a service account for accessing a remote data path in IIS 7.0">Howto: Specify a service account for accessing a remote data path in IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/03/12/fix-the-world-wide-web-publishing-service-www-service-did-not-register-the-url-prefix-httpxxxx80-for-site-1-the-site-has-been-disabled-the-data-field-contains-the-error-number/" title="Fix: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number">Fix: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number</a></li><li><a href="http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/" title="Howto: Backup IIS 7.0 web server configuration">Howto: Backup IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/01/09/running-windows-media-services-and-and-iis-on-the-same-server-in-windows-server2008/" title="Running Windows Media Services and and IIS on the same server in Windows Server2008">Running Windows Media Services and and IIS on the same server in Windows Server2008</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fix: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number</title>
		<link>http://thebackroomtech.com/2009/03/12/fix-the-world-wide-web-publishing-service-www-service-did-not-register-the-url-prefix-httpxxxx80-for-site-1-the-site-has-been-disabled-the-data-field-contains-the-error-number/</link>
		<comments>http://thebackroomtech.com/2009/03/12/fix-the-world-wide-web-publishing-service-www-service-did-not-register-the-url-prefix-httpxxxx80-for-site-1-the-site-has-been-disabled-the-data-field-contains-the-error-number/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:06:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[0×80070020]]></category>
		<category><![CDATA[1004]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[web site disabled]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1548</guid>
		<description><![CDATA[Fix for The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://x.x.x.x:80/ for site 1. The site has been disabled. The data field contains the error number. System log Event: 1004 Source: IIS-W3SVC Error received when trying to start the stopped web site:  The process cannot access the file because [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><!--StartFragment-->Fix for <em>The World Wide Web Publishing Service (WWW Service) did not register the URL prefix </em><a href="http://x.x.x.x/"><em>http://x.x.x.x:80/</em></a><em> for site 1. The site has been disabled. The data field contains the error number.</em></p>
<p><em>System log Event: 1004 Source: IIS-W3SVC Error received when trying to start the stopped web site:</em> </p>
<div><em>The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0&#215;80070020)</em></div>
<div> </div>
<div>To verify nothing else is using the x.x.x.x:80 IP address and port (which would be a different issue), launch administrative command prompt and type:</div>
<div> </div>
<div><em>netstat -ano |findstr 80</em></div>
<div> </div>
<div>Verify no other process is listening on the x.x.x.x IP and port 80 (or whatever port the web site is running on).  If you are running the affected web site on a port other than 80, substitute that port number in the netstat command listed above.  If something is listening on that IP and port when the web site is stopped, this is probably not going to fix your problem.  </div>
<div> </div>
<div>FIX:</div>
<div> </div>
<div>From administrative command prompt type:</div>
<div> </div>
<div><em>net stop http</em></div>
<div> </div>
<div>In regedit browse to</div>
<div> <em>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList</em></div>
<div> </div>
<div>If an IP address is listed in the <em>ListenOnly</em> List, change the IP address to <em>0.0.0.0</em></div>
<div> </div>
<div>From administrative command prompt type:</div>
<div> </div>
<div><em>net start http</em></div>
<div> </div>
<div>From the services applet , restart the <em>World Wide Web Publishing Service</em></div>
<div> </div>
<div>Restart the affect web site by opening <em>Server Manager &gt; Roles &gt; Web Server (IIS) &gt; Internet Information Services (IISM) Manager &gt; Your Server Name &gt; Sites</em>.  Highlight the affected site and select <em>Restart</em>.</div>
<div> </div>
<div>My issue was caused by an old, invalid IP address being specified at <em>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList</em>.  This happened because I had previously ran the web site on a different IP address on this server.  </div>
<div> </div>
<div>See <a href="http://support.microsoft.com/?id=890015">KB 890015</a> details on the solution.</div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/04/24/howto-do-not-display-the-name-of-the-user-who-has-locked-a-windows-computer-or-server/" title="Howto: Do not display the name of the user who has locked a Windows computer or server">Howto: Do not display the name of the user who has locked a Windows computer or server</a></li><li><a href="http://thebackroomtech.com/2009/04/15/global-fix-windows-media-player-audio-works-video-does-not/" title="Global Fix: Windows Media Player audio works, video does not">Global Fix: Windows Media Player audio works, video does not</a></li><li><a href="http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/" title="Howto: Specify a service account for accessing a remote data path in IIS 7.0">Howto: Specify a service account for accessing a remote data path in IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/" title="Using Caspol.exe to grant .NET applications rights to a remote network share">Using Caspol.exe to grant .NET applications rights to a remote network share</a></li><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/03/12/fix-the-world-wide-web-publishing-service-www-service-did-not-register-the-url-prefix-httpxxxx80-for-site-1-the-site-has-been-disabled-the-data-field-contains-the-error-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Export IIS 7.0 web server configuration</title>
		<link>http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/</link>
		<comments>http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 08:46:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS 7.0]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1531</guid>
		<description><![CDATA[To export a backup copy of your IIS 7.0 configuration on a Windows 2008 Server: Open Server Manager Expand Roles &#8211; Web Server (IIS) &#8211; Internet Information Services (IIS) Manager Highlight the web server name From the Management category, double click Shared Configuration Under Actions, select Export Configuration. Accept or change the default export path [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>To export a backup copy of your IIS 7.0 configuration on a Windows 2008 Server:</p>
<p>Open <em>Server Manager</em></p>
<p>Expand <em>Roles &#8211; Web Server (IIS) &#8211; Internet Information Services (IIS) Manager</em></p>
<p>Highlight the web server name</p>
<p>From the <em>Management</em> category, double click <em>Shared Configuration</em></p>
<p>Under <em>Actions</em>, select <em>Export Configuration</em>. Accept or change the default export path of <em>C:\Windows\system32\inetsrv\config\export</em></p>
<p>Click the <em>Connect As</em> button, and enter administrative credentials. If the server is a domain member, you may need to enter your credentials in the format domain\username or username@domain.com</p>
<p>Enter the encryption keys password twice and press OK</p>
<p>You should now have three files in the C:\Windows\system32\inetsrv\config\export directory: administration.config, applicationHost.config, and configEncKey.key. Save the files in a safe place.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/" title="Howto: Specify a service account for accessing a remote data path in IIS 7.0">Howto: Specify a service account for accessing a remote data path in IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/" title="Howto: Backup IIS 7.0 web server configuration">Howto: Backup IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/06/11/howto-export-a-list-of-all-computers-in-an-ad-ou/" title="HowTo: Export a list of all computers in an AD OU">HowTo: Export a list of all computers in an AD OU</a></li><li><a href="http://thebackroomtech.com/2009/04/01/using-caspolexe-to-grant-net-applications-rights-to-a-remote-network-share/" title="Using Caspol.exe to grant .NET applications rights to a remote network share">Using Caspol.exe to grant .NET applications rights to a remote network share</a></li><li><a href="http://thebackroomtech.com/2009/01/15/howto-edit-network-card-bindings-in-windows-server-2008/" title="Howto:  Edit network card bindings in Windows Server 2008">Howto:  Edit network card bindings in Windows Server 2008</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto: Backup IIS 7.0 web server configuration</title>
		<link>http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/</link>
		<comments>http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 13:37:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[appcmd.exe]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1526</guid>
		<description><![CDATA[To backup your IIS 7.0 configuration on a Windows 2008 Server, you just need to make a copy of the \windows\system32\inetsrv\config directory (and subdirectories) and save it in a safe location. You can also use the appcmd.exe utility to create the backup via the command line. The syntax to create a backup is: %windir%\system32\inetsrv\appcmd.exe add [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>To backup your IIS 7.0 configuration on a Windows 2008 Server, you just need to make a copy of the <em>\windows\system32\inetsrv\config</em> directory (and subdirectories) and save it in a safe location.</p>
<p>You can also use the appcmd.exe utility to create the backup via the command line.  The syntax to create a backup is:</p>
<p><em>%windir%\system32\inetsrv\appcmd.exe add backup &#8220;Backup Name&#8221; </em></p>
<p>to restore the backup, the syntax is:</p>
<p><em>%windir%\system32\inetsrv\appcmd.exe restore backup &#8220;Backup Name&#8221;  </em></p>
<p>to remove a backup, the syntax is:</p>
<p><em>%windir%\system32\inetsrv\appcmd.exe delete backup &#8220;Backup Name&#8221;  </em></p>
<p>For additional details on appcmd.exe see <a href="http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx">Bill&#8217;s IIS blog</a>, or check out <a href="http://mvolo.com/blogs/serverside/archive/2008/03/25/backing-up-and-restoring-IIS-7.0-shared-configuration.aspx">Mike&#8217;s IIS 7.0 Server-side blog</a> for information on backing up and restoring IIS 7.0 shared configuration.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/" title="Howto: Specify a service account for accessing a remote data path in IIS 7.0">Howto: Specify a service account for accessing a remote data path in IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2008/06/23/script-to-securely-backup-and-export-iis-60-configuration/" title="Script to securely backup and export IIS 6.0 Configuration">Script to securely backup and export IIS 6.0 Configuration</a></li><li><a href="http://thebackroomtech.com/2008/06/18/script-to-securely-backup-iis-60-metabase/" title="Script to securely backup IIS 6.0 Metabase">Script to securely backup IIS 6.0 Metabase</a></li><li><a href="http://thebackroomtech.com/2007/06/12/howto-automatically-remove-files-older-than-x-days/" title="Howto: automatically remove files older than &#8216;x&#8217; days">Howto: automatically remove files older than &#8216;x&#8217; days</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Windows Media Services and and IIS on the same server in Windows Server2008</title>
		<link>http://thebackroomtech.com/2009/01/09/running-windows-media-services-and-and-iis-on-the-same-server-in-windows-server2008/</link>
		<comments>http://thebackroomtech.com/2009/01/09/running-windows-media-services-and-and-iis-on-the-same-server-in-windows-server2008/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 14:44:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Media Services]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[WMS]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1312</guid>
		<description><![CDATA[MS KB328728 describes how to run Windows Media Services and and IIS on the same server in Windows 2003, but the WMSHttpSysCfg utility the KB article references does not exist on Windows 2008. Here&#8217;s how to run both WMS and IIS on Windows 2008. 1. Install both WMS and IIS 2. Add a second IP [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>MS <a href="http://support.microsoft.com/kb/328728">KB328728</a> describes how to run Windows Media Services and and IIS on the same server in Windows 2003, but the <em>WMSHttpSysCfg</em> utility the KB article references does not exist on Windows 2008.</p>
<p>Here&#8217;s how to run both WMS and IIS on Windows 2008.</p>
<p>1. Install both WMS and IIS</p>
<p>2. Add a second IP address to the server by either configuring a second NIC or by binding a second IP address to the existing network card.</p>
<p>3. From a command prompt type<br />
<em>net stop wmserver<br />
net stop iisadmin<br />
net stop http </em></p>
<p>4. From a command propmt run <em>netsh.exe</em>.  It will open a  <em>netsh&gt;</em>   command prompt.</p>
<p>5. Type <em>http</em> and press enter. You will now have a <em>netsh http&gt;</em>  command prompt.</p>
<p>6. Type <em>show iplisten</em> and press enter. It should not show any IP addresses under &#8220;IP Listen&#8221; if this procedure has not been done before.</p>
<p>7. What you want to do now is to add the IP address that IIS websites will EXCLUSIVELY use. Type <em>add iplisten 99.99.99.99</em> and press enter (where 99.99.99.99 is the IP address that IIS websites will use).</p>
<p>You can confirm this by repeating step #6 above.</p>
<p>8. From a command prompt type<br />
<em>net start wmserver<br />
net start iisadmin<br />
net start http </em></p>
<p>9. Create websites (or configure the default website) using only the IP address that was used in step #7 above.</p>
<p>To configure IIS, open Server Manager &gt; Roles &gt; Web Server (IIS) &gt; Internet Information Services (IIS ) Manager &gt; ServerName &gt; Sites.</p>
<p>Right click Default Web Site and select <em>Edit Bindings</em>.</p>
<p>Highlight the binding, press <em>edit</em>, and enter the IP address &gt; <em>OK</em> &gt; <em>Close</em>.</p>
<p>10. Restart the web server by typing<em> iisreset</em> from a command prompt.</p>
<p>11. Configure WMS HTTP Server Control Protocol to use the IP address THAT WAS NOT USED in step #7 above.</p>
<p>To configure WMS HTTP Server Control Protocol, open Server Manager &gt; Roles &gt; Streaming Media Services &gt; Windows Media Services &gt; ServerName.</p>
<p>Select the Properties tab, then click <em>Control Protocol</em>.</p>
<p>Right click <em>WMS HTTP Server Control Protocol</em> and click <em>Disable</em>.</p>
<p>Right click <em>WMS HTTP Server Control Protocol </em>and select <em>Properties</em>.</p>
<p>Click <em>Allow selected IP Addresses to use this Protocol</em>.  Specify the IP address you DID NOT assign to IIS in step #7 above.  Click Apply &gt; OK.</p>
<p>Right-click WMS HTTP Server Control Protocol, and then click <em>Enable</em>.</p>
<p>Instructions are <a href="http://discussms.hosting.lsoft.com/SCRIPTS/WA-MSD.EXE?A3=ind0808d&amp;L=WMTALK&amp;E=quoted-printable&amp;P=67007&amp;B=------%3D_Part_90733_208663.1219700191451&amp;T=text%2Fhtml;%20charset=ISO-8859-1">based on a solution</a> posted by Wayne Coleman.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/03/27/fix-503-service-unavailable-when-accessing-content-on-windows-media-services-2008-server-behind-load-balancer/" title="Fix: 503 Service Unavailable when accessing content on Windows Media Services 2008 server behind load balancer">Fix: 503 Service Unavailable when accessing content on Windows Media Services 2008 server behind load balancer</a></li><li><a href="http://thebackroomtech.com/2009/04/07/howto-specify-a-service-account-for-accessing-a-remote-data-path-in-iis-70/" title="Howto: Specify a service account for accessing a remote data path in IIS 7.0">Howto: Specify a service account for accessing a remote data path in IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/01/14/howto-enable-ssl-on-windows-media-services-web-administration-site-running-on-windows-2008-iis-70/" title="Howto: Enable SSL on Windows Media Services Web Administration Site running on Windows 2008 / IIS 7.0">Howto: Enable SSL on Windows Media Services Web Administration Site running on Windows 2008 / IIS 7.0</a></li><li><a href="http://thebackroomtech.com/2009/01/13/howto-delegate-administrative-rights-to-windows-media-services-web-administration-to-non-admins/" title="Howto: Delegate administrative rights to Windows Media Services Web Administration to non-admins">Howto: Delegate administrative rights to Windows Media Services Web Administration to non-admins</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/01/09/running-windows-media-services-and-and-iis-on-the-same-server-in-windows-server2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to securely backup and export IIS 6.0 Configuration</title>
		<link>http://thebackroomtech.com/2008/06/23/script-to-securely-backup-and-export-iis-60-configuration/</link>
		<comments>http://thebackroomtech.com/2008/06/23/script-to-securely-backup-and-export-iis-60-configuration/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 06:46:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=367</guid>
		<description><![CDATA[Last week I posted a basic script that took advantage of file encryption to securely backup the iis metabase. Today&#8217;s script builds upon it by backing up the IIS configuration and exporting it using iiscnfg.vbs. REM delete mapping for H: if it exists net use h: /del REM map H: to remote server share net [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Last week I <a href="http://thebackroomtech.wordpress.com/2008/06/18/script-to-securely-backup-iis-60-metabase/" target="_blank">posted a basic script</a> that took advantage of file encryption to securely backup the iis metabase.  Today&#8217;s script builds upon it by backing up the IIS configuration and exporting it using iiscnfg.vbs.</p>
<p><span style="color:#333399;">REM delete mapping for H: if it exists<br />
net use h: /del</span></p>
<p><span style="color:#333399;">REM map H: to remote server share<br />
net use h: \\RemoteServer\backup /user:RemoteServer\user password</span></p>
<p><span style="color:#333399;">REM replace YouriisServerName with the name of your IIS web server<br />
SET SERVER=YouriisServerName</span></p>
<p><span style="color:#333399;">REM yymmdd will be the current date.<br />
REM For example  June 18 2008 will be in the format 080618<br />
SET yymmdd=%date:~12,2%%date:~4,2%%date:~7,2%</span></p>
<p><span style="color:#333399;">REM replace YouriiSserverPassword with the password of an<br />
REM administrative user on the IIS box<br />
SET PASSWORD=YouriiSserverPassword</span></p>
<p><span style="color:#333399;">REM replace User with an administrative user on IIS server<br />
SET USER=Administrator</span></p>
<p><span style="color:#333399;">REM replace DECRYPTPWD with the password for decrypting IIS exported configuration<br />
SET DECRYPTPWD=pwd</span></p>
<p><span style="color:#333399;">REM Saves configuration to C:\WINDOWS\system32\inetsrv\metabase.xml<br />
iiscnfg.vbs /save /s %SERVER% /u %USER% /p %PASSWORD%</span></p>
<p><span style="color:#333399;">REM export IIS Configuration to date.metabase.xml.file<br />
REM The following command should be on one line<br />
iiscnfg.vbs /export /s %SERVER% /u %USER% /p %PASSWORD% /d %PASSWORD% /f H:\%SERVER%\%yymmdd%.metabase.xml /sp / /children</span></p>
<p>Now, for the secure part.  We need to encrypt the <em>bkupmeta.bat</em> file so that not just anyone can read it’s contents.  That would be a bad thing, since we have our password saved in the script.</p>
<p>To encrypt the bkupmeta.bat file:</p>
<p>In Windows Explorer right click on the <em>bkupmeta.bat</em> file<br />
Select <em>Properties<br />
</em>Select <em>Advanced<br />
</em>Check the <em>Encrypt Contents to Secure Data</em> check box &#8211; <em>OK</em> &#8211; <em>Apply<br />
</em>Select <em>Encrypt the File Only</em></p>
<p>While you’re at it, double check the <em>bkupmeta.bat</em>’s ntfs permissions to make sure only the appropriate administrative user has access to the file.  You should also verify the %windir%\system32\inetsrv\metaback\ directory has the appropriate permissions, even though it’s secured by default.</p>
<p>Finally, create a scheduled task that runs bkupmeta.bat whenever you’d like.  Verify the backups are occuring by checking for the MD* and SC* files on the remote server.</p>
<p>This script was modified from one found in <a href="http://download.microsoft.com/download/7/4/f/74fe970d-4a7d-4034-9f5d-02572567e7f7/22_CHAPTER_9_IIS_6.0_Administration_Scripts_Tips_and_Tricks.doc" target="_blank">Chapter 9</a> of ”IIS 6.0 Administration Scripts, Tips, and Tricks”.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/06/18/script-to-securely-backup-iis-60-metabase/" title="Script to securely backup IIS 6.0 Metabase">Script to securely backup IIS 6.0 Metabase</a></li><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/" title="Howto: Backup IIS 7.0 web server configuration">Howto: Backup IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2008/09/15/script-to-backup-groupwise-configuration-files-on-netware-part-i/" title="Script to backup Groupwise configuration files on Netware Part I">Script to backup Groupwise configuration files on Netware Part I</a></li><li><a href="http://thebackroomtech.com/2008/09/08/simple-script-to-backup-groupwise-7-configuration-files-on-sles-linux/" title="Simple script to backup Groupwise 7 configuration files on SLES Linux">Simple script to backup Groupwise 7 configuration files on SLES Linux</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/06/23/script-to-securely-backup-and-export-iis-60-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to securely backup IIS 6.0 Metabase</title>
		<link>http://thebackroomtech.com/2008/06/18/script-to-securely-backup-iis-60-metabase/</link>
		<comments>http://thebackroomtech.com/2008/06/18/script-to-securely-backup-iis-60-metabase/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 12:34:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Metabase]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=366</guid>
		<description><![CDATA[The following is a script to backup the IIS 6.0 Metabase.  Save it as bkupmeta.bat. REM delete mapping for H: if it exists net use h: /del REM map H: to remote server share net use h: \\RemoteServer\backup /user:RemoteServer\user password REM replace YouriisServerName with the name of your IIS web server SET SERVER=YouriisServerName REM yymmdd will be [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The following is a script to backup the IIS 6.0 Metabase.  Save it as <em>bkupmeta.bat</em>.</p>
<p><span style="color:#000080;">REM delete mapping for H: if it exists<br />
net use h: /del</span></p>
<p><span style="color:#000080;">REM map H: to remote server share<br />
net use h: \\RemoteServer\backup /user:RemoteServer\user password</span></p>
<p><span style="color:#000080;">REM replace YouriisServerName with the name of your IIS web server<br />
SET SERVER=YouriisServerName</span></p>
<p><span style="color:#000080;">REM yymmdd will be the current date. <br />
REM For example  June 18 2008 will be in the format 080618<br />
SET yymmdd=%date:~12,2%%date:~4,2%%date:~7,2%</span></p>
<p><span style="color:#000080;">REM replace YouriiSserverPassword with the password of an administrative<br />
REM user on the IIS box<br />
SET PASSWORD=YouriiSserverPassword</span></p>
<p><span style="color:#000080;">REM iisback.vbs generates the two metabase backup files and saves them<br />
REM to the %windir%\system32\inetsrv\metaback directory<br />
REM in the format yymmdd.MD0 and yymmdd.SC0<br />
iisback.vbs /backup /b %yymmdd% /e %PASSWORD%</span></p>
<p><span style="color:#000080;">REM copy the metabase backup files to the remote server<br />
REM /y tells xcopy to overwrite any files with the same name<br />
REM on the remote server<br />
Xcopy %windir%\system32\inetsrv\metaback\%yymmdd%.* h:\%SERVER% /y</span></p>
<p>Now, for the secure part.  We need to encrypt the <em>bkupmeta.bat</em> file so that not just anyone can read it&#8217;s contents.  That would be a bad thing, since we have our password saved in the script.</p>
<p>To encrypt the bkupmeta.bat file:</p>
<p>In Windows Explorer right click on the <em>bkupmeta.bat</em> file<br />
Select <em>Properties<br />
</em>Select <em>Advanced<br />
</em>Check the <em>Encrypt Contents to Secure Data</em> check box &#8211; <em>OK</em> &#8211; <em>Apply<br />
</em>Select <em>Encrypt the File Only</em></p>
<p>While you&#8217;re at it, double check the <em>bkupmeta.bat</em>&#8216;s ntfs permissions to make sure only the appropriate administrative user has access to the file.  You should also verify the %windir%\system32\inetsrv\metaback\ directory has the appropriate permissions, even though it&#8217;s secured by default.</p>
<p>Finally, create a scheduled task that runs bkupmeta.bat whenever you&#8217;d like.  Verify the backups are occuring by checking for the MD* and SC* files on the remote server.</p>
<p>This script was modified from one found in <a href="http://download.microsoft.com/download/7/4/f/74fe970d-4a7d-4034-9f5d-02572567e7f7/22_CHAPTER_9_IIS_6.0_Administration_Scripts_Tips_and_Tricks.doc" target="_blank">Chapter 9</a> of &#8221;IIS 6.0 Administration Scripts, Tips, and Tricks&#8221;.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/06/23/script-to-securely-backup-and-export-iis-60-configuration/" title="Script to securely backup and export IIS 6.0 Configuration">Script to securely backup and export IIS 6.0 Configuration</a></li><li><a href="http://thebackroomtech.com/2009/03/05/howto-export-iis-70-web-server-configuration/" title="Howto: Export IIS 7.0 web server configuration">Howto: Export IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2009/03/04/howto-backup-iis-70-web-server-configuration/" title="Howto: Backup IIS 7.0 web server configuration">Howto: Backup IIS 7.0 web server configuration</a></li><li><a href="http://thebackroomtech.com/2008/09/15/script-to-backup-groupwise-configuration-files-on-netware-part-i/" title="Script to backup Groupwise configuration files on Netware Part I">Script to backup Groupwise configuration files on Netware Part I</a></li><li><a href="http://thebackroomtech.com/2008/09/08/simple-script-to-backup-groupwise-7-configuration-files-on-sles-linux/" title="Simple script to backup Groupwise 7 configuration files on SLES Linux">Simple script to backup Groupwise 7 configuration files on SLES Linux</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/06/18/script-to-securely-backup-iis-60-metabase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 37/79 queries in 0.032 seconds using disk: basic
Object Caching 1111/1181 objects using disk: basic

Served from: thebackroomtech.com @ 2012-05-22 22:17:29 -->
