<?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>Thomas Maurer (tm) &#187; Windows Server 2003</title>
	<atom:link href="http://www.thomasmaurer.ch/category/it/microsoft/windows-server/windows-server-2003-windows-server-microsoft-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:42:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Error: IIS6 Error EventID 1059 and 1021</title>
		<link>http://www.thomasmaurer.ch/2011/05/error-iis6-error-eventid-1059-and-1021/</link>
		<comments>http://www.thomasmaurer.ch/2011/05/error-iis6-error-eventid-1059-and-1021/#comments</comments>
		<pubDate>Mon, 30 May 2011 16:29:02 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[1021]]></category>
		<category><![CDATA[1059]]></category>
		<category><![CDATA[App Pool]]></category>
		<category><![CDATA[Application Pool]]></category>
		<category><![CDATA[crashed]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[EventID]]></category>
		<category><![CDATA[EventID 1021]]></category>
		<category><![CDATA[EventID 1059]]></category>
		<category><![CDATA[Eventlog]]></category>
		<category><![CDATA[IIS 6]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[W3SVC]]></category>
		<category><![CDATA[Warning]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2152</guid>
		<description><![CDATA[Just a had a problem with an application pool which always crashed after start. The application pool worked some days ago without any problems. After watching den System Eventlog I got the Error with Event ID 1059 and a Warning &#8230; <a href="http://www.thomasmaurer.ch/2011/05/error-iis6-error-eventid-1059-and-1021/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div>Just a had a problem with an application pool which always crashed after start. The application pool worked some days ago without any problems. After watching den System Eventlog I got the Error with Event ID 1059 and a Warning with Event ID 1021.</div>
<div>I had this problem on a Windows Server 2003 SP2 with all the latest patches<br />
EventID 1059</div>
<div><code>Event Type:	Error<br />
Event Source:	W3SVC<br />
Event Category:	None<br />
Event ID:	1059<br />
Date:		27.05.2011<br />
Time:		11:49:31<br />
User:		N/A<br />
Computer:	WEB-WIN<br />
Description:<br />
A failure was encountered while launching the process serving application pool 'www.domain.ch'. The application pool has been disabled.<br />
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</code></div>
<div><code> </code><br />
EventID 1021</div>
<div><code>Event Type:	Warning<br />
Event Source:	W3SVC<br />
Event Category:	None<br />
Event ID:	1021<br />
Date:		27.05.2011<br />
Time:		11:50:01<br />
User:		N/A<br />
Computer:	WEB-WIN<br />
Description:<br />
The identity of application pool, 'www.domain.ch' is invalid.  If it remains invalid when the first request for the application pool is processed, the application pool will be disabled.  The data field contains the error number.</code></div>
<div></div>
<p><code></p>
<div>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br />
Data:<br />
0000: 2e 05 07 80               ...</div>
<p></code></p>
<div>
The Solution for this problem is very simple. Just reset the password of the specific IUSR and don&#8217;t forget to reset the password for the application pool identity.</div>
<div class="shr-publisher-2152"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/05/error-iis6-error-eventid-1059-and-1021/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell: How to export Windows Eventlogs with Powershell</title>
		<link>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/#comments</comments>
		<pubDate>Thu, 26 May 2011 15:14:26 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.evt]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Backupeventlog]]></category>
		<category><![CDATA[cleanup]]></category>
		<category><![CDATA[Delete]]></category>
		<category><![CDATA[Eventlog]]></category>
		<category><![CDATA[Eventlogs]]></category>
		<category><![CDATA[Export]]></category>
		<category><![CDATA[export eventlog]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[logfile]]></category>
		<category><![CDATA[logfiles]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[Remove]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2142</guid>
		<description><![CDATA[This is a little dirty Windows Powershell script which exports or backups Windows Eventlogs. The script creates a .evt file which can be used with the Windows Eventlog Viewer. # Config $logFileName = "Application" # Add Name of the Logfile &#8230; <a href="http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter" title="Powershell Header" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/05/Screen-shot-2010-05-30-at-13.08.42.png" alt="Powershell Header" width="440" height="104" /></p>
<p>This is a little dirty Windows Powershell script which exports or backups Windows Eventlogs. The script creates a .evt file which can be used with the Windows Eventlog Viewer.</p>
<pre>
# Config
$logFileName = "Application" # Add Name of the Logfile (System, Application, etc)
$path = "C:\temp\" # Add Path, needs to end with a backsplash

# do not edit
$exportFileName = $logFileName + (get-date -f yyyyMMdd) + ".evt"
$logFile = Get-WmiObject Win32_NTEventlogFile | Where-Object {$_.logfilename -eq $logFileName}
$logFile.backupeventlog($path + $exportFileName)
</pre>
<p>And with the next code it cleans up older exported Eventlogs.</p>
<pre>
# Deletes all .evt logfiles in $path
# Be careful, this script removes all files with the extension .evt not just the selfcreated logfiles
$Daysback = "-7"

$CurrentDate = Get-Date
$DatetoDelete = $CurrentDate.AddDays($Daysback)
Get-ChildItem $Path | Where-Object { ($_.LastWriteTime -lt $DatetoDelete) -and ($_.Extension -eq ".evt") } | Remove-Item
</pre>
<p><strong>UPDATE:</strong> If you wanna clean the Eventlog after the export you can do that by using the Clear-Eventlog cmdlet. (Thanks to Michel from <a href="http://www.server-talk.eu">server-talk.eu</a>)</p>
<pre>
Clear-Eventlog -LogName $logFileName
</pre>
<p>And here the whole &#8220;script&#8221;</p>
<pre>
# Config
$logFileName = "Application" # Add Name of the Logfile (System, Application, etc)
$path = "C:\temp\" # Add Path, needs to end with a backsplash

# do not edit
$exportFileName = $logFileName + (get-date -f yyyyMMdd) + ".evt"
$logFile = Get-WmiObject Win32_NTEventlogFile | Where-Object {$_.logfilename -eq $logFileName}
$logFile.backupeventlog($path + $exportFileName)

# Deletes all .evt logfiles in $path
# Be careful, this script removes all files with the extension .evt not just the selfcreated logfiles
$Daysback = "-7"

$CurrentDate = Get-Date
$DatetoDelete = $CurrentDate.AddDays($Daysback)
Get-ChildItem $Path | Where-Object { ($_.LastWriteTime -lt $DatetoDelete) -and ($_.Extension -eq ".evt") } | Remove-Item
Clear-Eventlog -LogName $logFileName
</pre>
<div class="shr-publisher-2142"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/05/powershell-how-to-export-windows-eventlogs-with-powershell/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Check NTFS Version</title>
		<link>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/</link>
		<comments>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/#comments</comments>
		<pubDate>Mon, 16 May 2011 18:58:49 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[Filesystem]]></category>
		<category><![CDATA[Filesystem version]]></category>
		<category><![CDATA[fsinfo]]></category>
		<category><![CDATA[fsutil]]></category>
		<category><![CDATA[fsutil fsinfo ntfsinfo]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[ntfsinfo]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1946</guid>
		<description><![CDATA[If you need to know which version of NTFS you are using you can do that with the fsutil.exe and the following command. In my case I am testing my C:\ drive: fsutil fsinfo ntfsinfo c: More on NTFS Versions &#8230; <a href="http://www.thomasmaurer.ch/2011/05/check-ntfs-version/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>If you need to know which version of NTFS you are using you can do that with the fsutil.exe and the following command.</p>
<p>In my case I am testing my C:\ drive:</p>
<pre>fsutil fsinfo ntfsinfo c:</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2011/05/fsutil.png" rel="lightbox[1946]"><img class="aligncenter size-medium wp-image-1947" title="fsutil" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/05/fsutil-300x171.png" alt="fsutil" width="300" height="171" /></a></p>
<p>More on NTFS Versions on <a title="Wikipedia NTFS" href="http://en.wikipedia.org/wiki/Ntfs#Versions" target="_blank">wikipedia</a>.</p>
<div class="shr-publisher-1946"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/05/check-ntfs-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error: Unable to get the private bytes memory limit for the W3WP process</title>
		<link>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/</link>
		<comments>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 13:19:31 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[ACL]]></category>
		<category><![CDATA[AppPool]]></category>
		<category><![CDATA[AppPools]]></category>
		<category><![CDATA[ASP.NET cache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[IIS6]]></category>
		<category><![CDATA[IIS_WPG]]></category>
		<category><![CDATA[memory limit]]></category>
		<category><![CDATA[metaacl.vbs]]></category>
		<category><![CDATA[Metabase]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[W3SVC]]></category>
		<category><![CDATA[W3WP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1495</guid>
		<description><![CDATA[Error ================== Event Type: Error Event Source: ASP.NET 2.0.50727.0 Event Category: None Event ID: 1093 Date: 13.01.2011 Time: 11:11:50 User: N/A Computer: Server01 Description: Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will &#8230; <a href="http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div><span style="font-size: medium;"><span style="line-height: 24px;"><span style="font-size: small;"><span style="line-height: 19px;"></p>
<h2>Error</h2>
<p>==================<br />
Event Type:	Error<br />
Event Source:	ASP.NET 2.0.50727.0<br />
Event Category:	None<br />
Event ID:	1093<br />
Date:	 13.01.2011<br />
Time:	 11:11:50<br />
User:	 N/A<br />
Computer:	Server01</p>
<p>Description:</p>
<p>Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will be unable to limit its memory use, which may lead to a process restart. Error: 0&#215;80070005</p>
<p>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br />
==================</p>
<h2>Environment</h2>
<ul>
<li>Windows Server 2003</li>
<li>IIS 6</li>
<li>.NET 2.0 and 1.1</li>
</ul>
<p></span></span></span></span></div>
<h2>Summary</h2>
<p>This Error is caused by the a know issue with permissions of the IIS metabase. The metabse ACL&#8217;s do not include the IIS_WPG group on the W3SVC/AppPools part in the metabase.</p>
<h2>Solution</h2>
<ul>
<li>Download <a title="metaacl.vbs" href="http://support.microsoft.com/?id=267904" target="_blank">metaacl.vbs</a></li>
<li><a title="metaacl.vbs" href="http://support.microsoft.com/?id=267904" target="_blank"></a>Run the following command:<br />
cscript metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG RE</li>
</ul>
<h2>More Information</h2>
<ul>
<li><a title="http://support.microsoft.com/?id=267904" href="http://support.microsoft.com/?id=267904" target="_blank">http://support.microsoft.com/?id=267904</a></li>
<li><a title="http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx" href="http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx" target="_blank">http://blogs.msdn.com/b/carloc/archive/2006/09/20/unable-to-get-the-private-bytes-memory-limit-for-w3wp-exe-process.aspx</a></li>
<li><a title="http://support.microsoft.com/?id=812614" href="http://support.microsoft.com/?id=812614" target="_blank">http://support.microsoft.com/?id=812614</a></li>
<li><a title="http://forums.iis.net/t/1057159.aspx" href="http://forums.iis.net/t/1057159.aspx" target="_blank">http://forums.iis.net/t/1057159.aspx</a></li>
</ul>
<div class="shr-publisher-1495"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/01/error-unable-to-get-the-private-bytes-memory-limit-for-the-w3wp-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect sites to HTTPS in IIS 7.5</title>
		<link>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/</link>
		<comments>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 16:00:54 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[302]]></category>
		<category><![CDATA[302 redirect]]></category>
		<category><![CDATA[403]]></category>
		<category><![CDATA[403 error page]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[http to https redirect]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[IIS 7]]></category>
		<category><![CDATA[IIS 7.5]]></category>
		<category><![CDATA[IIS https redirect]]></category>
		<category><![CDATA[IIS redirect]]></category>
		<category><![CDATA[IIS Settings]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[requiere SSL]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL Settings]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1203</guid>
		<description><![CDATA[This little guide shows you how you can redirect http request to the https website using IIS Settings. You can do the same on other versions of IIS slightly different. First set &#8220;require SSL&#8221; under the SSL Settings from the &#8230; <a href="http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This little guide shows you how you can redirect http request to the https website using IIS Settings. You can do the same on other versions of IIS slightly different.</p>
<ol>
<li>First set &#8220;require SSL&#8221; under the SSL Settings from the Website<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.12.41.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1206" title="SSL Settings" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.12.41-300x179.png" alt="SSL Settings" width="300" height="179" /></a></li>
<li>Under the Error Page Settings edit the 403 Error Page<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.00.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1207" title="Error Page Settings" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.00-300x271.png" alt="Error Page Settings" width="300" height="271" /></a></li>
<li>mark the Setting &#8220;Respond with a 302 redirect&#8221; and add the https URL<br />
<a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.10.png" rel="lightbox[1203]"><img class="aligncenter size-medium wp-image-1208" title="Respond with a 302 redirect" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/11/Screen-shot-2010-11-06-at-15.13.10-290x300.png" alt="Respond with a 302 redirect" width="290" height="300" /></a></li>
</ol>
<div class="shr-publisher-1203"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/11/how-to-redirect-sites-to-https-in-iis-7-5/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Windows PPTP VPN with Cisco Linksys RV042</title>
		<link>http://www.thomasmaurer.ch/2010/10/windows-pptp-vpn-with-cisco-linksys-rv042/</link>
		<comments>http://www.thomasmaurer.ch/2010/10/windows-pptp-vpn-with-cisco-linksys-rv042/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 20:29:50 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Cisco Linksys]]></category>
		<category><![CDATA[Cisco Linksys RV042]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[Linksys]]></category>
		<category><![CDATA[Linksys RV042]]></category>
		<category><![CDATA[Passthrough]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[Portforwarding]]></category>
		<category><![CDATA[PPTP]]></category>
		<category><![CDATA[PPTP Passthrough]]></category>
		<category><![CDATA[RV042]]></category>
		<category><![CDATA[SPI Firewall]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[VPN Connection]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1183</guid>
		<description><![CDATA[Today I was setting up my little lab, I decided to create a Windows PPTP VPN for my lab network which should give me more comfort. First I installed the Network Policy and Access Services Role and did the configuration. &#8230; <a href="http://www.thomasmaurer.ch/2010/10/windows-pptp-vpn-with-cisco-linksys-rv042/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/10/IMG_0408.jpg" rel="lightbox[1183]"><img class="aligncenter size-medium wp-image-1182" title="Cisco Linksys RV042" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/10/IMG_0408-223x300.jpg" alt="Cisco Linksys RV042" width="223" height="300" /></a></p>
<p>Today I was setting up my little lab, I decided to create a Windows PPTP VPN for my lab network which should give me more comfort. First I installed the Network Policy and Access Services Role and did the configuration. I also enabled PPTP Passthrough, added a port forwarding and a firewall rule to my <a title="Cisco Linksys RV042" href="http://www.cisco.com/en/US/products/ps9925/index.html" target="_blank">Cisco Linksys RV042</a>. I know the RV042 is not really a big deal, but you have a lot of jobs and if you don&#8217;t really need a lot of network options, like me in my lab, this is a pretty cool device.</p>
<p>I now tested the VPN Connection with my Windows 7 Client. Error 800 and 807 which basically means no connection through the firewalls with the VPN Server.</p>
<p>I checked again the Firewall Configuration on my RV042, and could not found any mistake. After a quick search with <a title="Google.com" href="http://www.google.com" target="_blank">Google</a> and <a title="Bing.com" href="http://www.bing.com" target="_blank">Bing</a> <img src='http://www.thomasmaurer.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I saw a lot of posts with the same problem and the Linksys RV042.</p>
<p>After some search I came to a solution, I deactivated the SPI Firewall on the Device, and this caused the problem. After activating the SPI Firewall again, the error was gone and the VPN worked.</p>
<div class="shr-publisher-1183"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/10/windows-pptp-vpn-with-cisco-linksys-rv042/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and configure IPv6 on Windows Server 2003</title>
		<link>http://www.thomasmaurer.ch/2010/10/install-and-configure-ipv6-on-windows-server-2003/</link>
		<comments>http://www.thomasmaurer.ch/2010/10/install-and-configure-ipv6-on-windows-server-2003/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 11:00:18 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[add address]]></category>
		<category><![CDATA[add dns]]></category>
		<category><![CDATA[add route]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[configure IPv6]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[int ipv6]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Microsoft Windows Server 2003]]></category>
		<category><![CDATA[netsh]]></category>
		<category><![CDATA[reset]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1086</guid>
		<description><![CDATA[On Microsoft Windows Server 2003 there is no GUI to configure IPv6. So this article should show you how to configure IPv6 on a Windows Server 2003. Install the IPv6 Protocol in the Network Adapter Properties or Control Panel Open &#8230; <a href="http://www.thomasmaurer.ch/2010/10/install-and-configure-ipv6-on-windows-server-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>On Microsoft Windows Server 2003 there is no GUI to configure IPv6. So this article should show you how to configure IPv6 on a Windows Server 2003.</p>
<ol>
<li>Install the IPv6 Protocol in the Network Adapter Properties or Control Panel</li>
<li>Open the console</li>
<li>Type &#8220;netsh&#8221; this is a command line program to configure network adapters</li>
<li>Here are some demo configurations</li>
</ol>
<blockquote><p>int ipv6<br />
reset<br />
add dns interface=&#8221;&lt;Interface Name&gt;&#8221; address=&lt;IPv6 primary DNS IP Address&gt;<br />
add dns interface=&#8221;&lt;Interface Name&gt;&#8221; address=&lt;IPv6 secondary DNS IP Address&gt;<br />
add route prefix=::/0 interface=&#8221;&lt;Interface Name&gt;&#8221; metric=0 nexthop=&lt;IPv6 Gateway IP Address&gt;<br />
add address interface=&#8221;&lt;Interface Name&gt;&#8221; address=&lt;IPv6 IP Address&gt;</p></blockquote>
<blockquote><p>int ipv6<br />
reset<br />
add dns interface=&#8221;Local Area Connection&#8221; address=fec0:0:0:0:ffff::1<br />
add dns interface=&#8221;Local Area Connection&#8221; address=fec0:0:0:0:ffff::2<br />
add route prefix=::/0 interface=&#8221;Local Area Connection&#8221;metric=0 nexthop=fe80::1<br />
add address interface=&#8221;Local Area Connection&#8221; address=fe80::2</p></blockquote>
<blockquote><p>
int ipv6<br />
reset<br />
add dns &#8220;Local Area Connection&#8221; fec0:0:0:0:ffff::1<br />
add dns &#8220;Local Area Connection&#8221; fec0:0:0:0:ffff::2<br />
add route ::/0 &#8220;Local Area Connection&#8221; fe80::1<br />
add address&#8221;Local Area Connection&#8221; fe80::2
</p></blockquote>
<div class="shr-publisher-1086"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/10/install-and-configure-ipv6-on-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pagefile size limits on Windows Server 2003</title>
		<link>http://www.thomasmaurer.ch/2010/09/pagefile-size-limits-on-windows-server-2003/</link>
		<comments>http://www.thomasmaurer.ch/2010/09/pagefile-size-limits-on-windows-server-2003/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 20:56:10 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[PAE]]></category>
		<category><![CDATA[Pagefile]]></category>
		<category><![CDATA[Pagefiles]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1052</guid>
		<description><![CDATA[Some moths ago I posted a Blogpost called &#8220;Pagefile size bigger than 4095MB on Windows Server 2003&#8220;. In this post I wrote about the pagefile size limit of 4096MB. Today I got a comment on this post which shows another &#8230; <a href="http://www.thomasmaurer.ch/2010/09/pagefile-size-limits-on-windows-server-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Some moths ago I posted a Blogpost called &#8220;<a href="http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003" target="_blank">Pagefile size bigger than 4095MB on Windows Server 2003</a>&#8220;. In this post I wrote about the pagefile size limit of 4096MB. Today I got a comment on this post which shows another solution for this.</p>
<p>If you use the /PAE (Wikipedia Link: <a href="http://de.wikipedia.org/wiki/Physical_Address_Extension" target="_blank">Physical Address Extension</a>) switch, the pagefile is not limited to 4096MB anymore. Using the PAE switch limits the pagefile to 16TB, this should be enough for the most Windows Server 2003 32-bit systems. If you don&#8217;t use PAE the limit of the Pagefile remains 4GB.</p>
<p>By the way, Windows Server 2003 x64 can also have pagefiles up to 16TB and Windows Server 2003 for IA64 systems can have pagefiles up to 32TB. And for all versions, Windows Server 2003 supports up to 16 pagefiles.</p>
<p>For more information on memory limits in Windows Server 2003 check out this <a title="TechNet" href="http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx" target="_blank">TechNet Blog post</a>.</p>
<p>Thank goes to Ethan Anderson for giving me this information.</p>
<div class="shr-publisher-1052"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/09/pagefile-size-limits-on-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell: Changing registry key value</title>
		<link>http://www.thomasmaurer.ch/2010/08/powershell-changing-registry-key-value/</link>
		<comments>http://www.thomasmaurer.ch/2010/08/powershell-changing-registry-key-value/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 16:00:21 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Changing]]></category>
		<category><![CDATA[get-psdrive]]></category>
		<category><![CDATA[HKLM]]></category>
		<category><![CDATA[key value]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[Microsoft Powershell]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[registry key value]]></category>
		<category><![CDATA[Set-ItemProperty]]></category>
		<category><![CDATA[Set-Location]]></category>
		<category><![CDATA[Values]]></category>
		<category><![CDATA[Windows Registry]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=907</guid>
		<description><![CDATA[After posting Pagefile size bigger than 4095MB on Windows Server 2003 I had the Idea to change this registry values with powershell. First start powershell You can get all PS Drives with the command Get-PSDrive Now you see the drive &#8230; <a href="http://www.thomasmaurer.ch/2010/08/powershell-changing-registry-key-value/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="aligncenter size-medium wp-image-621" title="Powershell Header" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/05/Screen-shot-2010-05-30-at-13.08.42-300x70.png" alt="Powershell Header" width="300" height="70" /></p>
<p>After posting <a title="Pagefile size bigger than 4095MB on Windows Server 2003" href="http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003/" target="_blank">Pagefile size bigger than 4095MB on Windows Server 2003</a> I had the Idea to change this registry values with powershell.</p>
<ol>
<li>First start powershell</li>
<li>You can get all PS Drives with the command
<pre>Get-PSDrive</pre>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-16.41.23.png" rel="lightbox[907]"><img class="aligncenter size-medium wp-image-909" title="Get-PSDrive" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-16.41.23-300x152.png" alt="Get-PSDrive" width="300" height="152" /></a></li>
<li>Now you see the drive HKLM which stands for HKEY_LOCAL_MACHINE</li>
<li>Open this Registry Key
<pre>Set-Location 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management'</pre>
</li>
<li>With this command you get all the key values
<pre>Get-ItemProperty -path .</pre>
</li>
<li> With the next command you can set the the key value
<pre>Set-ItemProperty -path . -name "PagingFiles" -value "D:\pagefile1\pagefile.sys 4096 4096"</pre>
</li>
</ol>
<p>And now the simple way with multiple entries:</p>
<pre>
$values = @"
D:\pagefile1\pagefile.sys 4096 4096
D:\pagefile2\pagefile.sys 4096 4096
"@
$keys = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"
$name = "PagingFiles"
Set-ItemProperty -path $keys -name $name -value $values
</pre>
<div class="shr-publisher-907"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/08/powershell-changing-registry-key-value/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pagefile size bigger than 4095MB on Windows Server 2003</title>
		<link>http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003/</link>
		<comments>http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 16:00:01 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[multiple pagefiles]]></category>
		<category><![CDATA[Pagefile]]></category>
		<category><![CDATA[Pagefiles]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=903</guid>
		<description><![CDATA[UPDATE: If you can use PAE on your Windows Server 2003 you should check out this post: Pagefile size limits on Windows Server 2003 The pagefile size on Windows Server 2003 x86 and other Windows x86 platforms is limited to &#8230; <a href="http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><strong>UPDATE: If you can use PAE on your Windows Server 2003 you should check out this post: </strong><a href="http://www.thomasmaurer.ch/2010/09/pagefile-size-limits-on-windows-server-2003/" target="_blank"><strong>Pagefile size limits on Windows Server 2003</strong></a></p>
<p>The pagefile size on Windows Server 2003 x86 and other Windows x86 platforms is limited to 4095 MB per pagefile. But a lot of Windows Server 2003 systems already have 4GB RAM and are using PAE (<a title="PAE Physical Address Extension Wikipedia" href="http://en.wikipedia.org/wiki/Physical_Address_Extension" target="_blank">Physical Address Extension</a>) to use them. So it would be useful to create more than 4 GB pagefiles.</p>
<p>Microsofts solution for this is to create multiple pagefiles. You can now create multiple pagefiles on different partitions. If you don&#8217;t have enough partitions or you just have one, you can create multiple pagefile in different folders by using the Windows Registry.</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-16.25.07.png" rel="lightbox[903]"><img class="aligncenter size-full wp-image-904" title="Pagefiles" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/08/Screen-shot-2010-08-02-at-16.25.07.png" alt="Pagefiles" width="384" height="351" /></a></p>
<ol>
<li>Create the folders on the drive where the pagefiles should be located. For example, C:\Pagefile1, C:\Pagefile2, and C:\Pagefile3.</li>
<li>Open regedit.exe</li>
<li>I would recommend to create a backup of the registry</li>
<li>locate this key:<br />
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement</li>
<li>Edit the value &#8220;PagingFiles&#8221;</li>
<li>Remove the existing values and add the following values:<br />
C:\Pagefile1\pagefile.sys 4096 4096<br />
C:\Pagefile2\pagefile.sys 4096 4096<br />
C:\Pagefile3\pagefile.sys 4096 4096</li>
<li>Save this</li>
</ol>
<p>Note: It&#8217;s still recommended to have the Pagefiles on the same partition as the system</p>
<p>You can get more information in this Microsoft Knowledge Base entry: <a title="How to overcome the 4,095 MB paging file size limit in Windows" href="http://support.microsoft.com/kb/237740" target="_blank">How to overcome the 4,095 MB paging file size limit in Windows</a></p>
<p>How to do this with Powershell: <a title="Powershell: Changing registry key value" href="http://www.thomasmaurer.ch/2010/08/powershell-changing-registry-key-value/" target="_blank">Powershell: Changing registry key value</a></p>
<div class="shr-publisher-903"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/08/pagefile-size-bigger-than-4095mb-on-windows-server-2003/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

