<?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>Windows Server &#8211; Tjitjing Blog</title>
	<atom:link href="http://localhost/index.php/tag/windows-server/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.tjitjing.com/</link>
	<description>This is my blog on technology related stuff and on occation other things too...</description>
	<lastBuildDate>Sat, 05 Nov 2011 15:41:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.16</generator>
	<item>
		<title>Backup or Copy Windows Server 2008 Configuration</title>
		<link>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html</link>
					<comments>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html#respond</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Sat, 05 Nov 2011 15:41:34 +0000</pubDate>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[Windows Server]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=485</guid>

					<description><![CDATA[In Windows Server 2008 there is a backup tool called Windows Server Backup which however creates huge backup files. I prefer to use a simple command/batch file that copies everything I want to backup, zips it and then uploads it to Amazon S3 (aka &#8220;the cloud&#8221;) I have not been able to find a simple way to&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html">Continue reading <span class="screen-reader-text">Backup or Copy Windows Server 2008 Configuration</span></a>]]></description>
										<content:encoded><![CDATA[<p>In Windows Server 2008 there is a backup tool called <a title="Backup Windows Server" href="http://technet.microsoft.com/en-us/library/cc754097(WS.10).aspx" target="_blank" rel="noopener noreferrer">Windows Server Backup</a> which however creates huge backup files. I prefer to use a simple command/batch file that copies everything I want to backup, zips it and then <a title="Amazon S3 Command Line Copy for Windows" href="http://blog.tjitjing.com/index.php/2009/04/amazon-s3-command-line-copy-for-windows.html" target="_blank" rel="noopener noreferrer">uploads it to Amazon S3</a> (aka &#8220;the cloud&#8221;)</p>
<p>I have not been able to find a simple way to copy all of my Windows Server 2008 settings. Theses are the bits and pieces I have found:</p>
<h2>Copy IIS7 Configuration</h2>
<p>To save IIS 7 (Internet Information Services) configuration, copy the config directory %SYSTEMROOT%\System32\inetsrv\config, example:</p>
<p>[code]xcopy %SYSTEMROOT%\System32\inetsrv\config c:\backup\iisconfig\ /S/E[/code]</p>
<h2>Windows Advanced Firewall Export Configuration</h2>
<p>To export all the current configurations of your firewall to a file:</p>
<p>[code]netsh advfirewall export c:\backup\advfirewall.wfw[/code]</p>
<p>Source: <a title="David Davis" href="http://www.windowsnetworking.com/articles_tutorials/Configure-Windows-2008-Advanced-Firewall-NETSH-CLI.html" target="_blank" rel="noopener noreferrer">David Davis</a></p>
<h2>Export Windows Registry</h2>
<p>To export the Registry, use regedit.exe command line options. Note that export is done in background so you need to allow some time before you are able to access the exported file.</p>
<p>[code]regedit /e c:\backup\regbackup.reg[/code]</p>
<p>Source: <a title="Export registry" href="http://www.speedguide.net/articles/how-to-backup-using-batch-files-1547" target="_blank" rel="noopener noreferrer">Speedguide</a></p>
<h2>Network Settings</h2>
<p>[code]netsh dump &gt; c:\backup\network-settings-netsh-dump.txt[/code]</p>
<p>Source: <a title="backup windows network" href="http://www.windowsnetworking.com/kbase/windowstips/windows2003/admintips/network/usingnetshtobackupandrestorenetworkconfiguration.html" target="_blank" rel="noopener noreferrer">Chris Sanders</a></p>
<p>&nbsp;</p>
<p><strong>Please note that this method cannot and should not to be compared to a full backup method such as Windows Server Backup.</strong></p>
<p>This method will not allow you to do a full recovery. It will mean installing Windows Server and all software from scratch and then recover the data you have backed up. Meaning an unrecoverable hard drive crash would most likely mean more downtime/recovery time.</p>
<p><strong></strong>The reason I like this method is because it takes less space which allows me to use S3 to save my backups. That means I can fully automate it (scheduled batch script and no need to change any media) and it is off-site (meaning if there is a fire where my server is, my backup is still safe). And I prefer the ease of just getting my files from a zip file if I need to check or recover anything. Besides, it&#8217;s dirt cheap, I pay Amazon S3 a few dollars for a month worth of daily 1GB backups.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2011/11/backup-or-copy-windows-server-2008-configuration.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress on Windows/IIS cannot upgrade, add plugins, upload themes</title>
		<link>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Wed, 24 Feb 2010 15:16:35 +0000</pubDate>
				<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=232</guid>

					<description><![CDATA[I have been struggling with this one ever since I moved my WordPress installation from my old Windows 2003 server to a new Windows Server 2008 machine. If I try to use &#8220;automatic upgrade&#8221; to upgrade to the latest WordPress release or upgrade or add a new plugin I get to the &#8220;Connection Information&#8221; page&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html">Continue reading <span class="screen-reader-text">WordPress on Windows/IIS cannot upgrade, add plugins, upload themes</span></a>]]></description>
										<content:encoded><![CDATA[<p>I have been struggling with this one ever since I moved my WordPress installation from my old Windows 2003 server to a new Windows Server 2008 machine. If I try to use &#8220;automatic upgrade&#8221; to upgrade to the latest WordPress release or upgrade or add a new plugin I get to the &#8220;Connection Information&#8221; page asking me to fill out ftp host name, user name and password. When I try to upload a new WordPress theme I get 500 Internal Server Error. I have understood that this is a permissions problem in the file system but have failed to be able to solve it.<br />
I have been trying to give various users and groups permissions on the everything from the entire wordpress directory to the wp-content folder.<br />
<strong><br />
However what I did not realize until today is that (at least in my Windows installation) the group IIS_IUSRS does not have any group members but I should instead give the user IUSR permissions. Too easy&#8230; <img src="https://s.w.org/images/core/emoji/14.0.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
So simply do this: give user IUSR Modify and Write permissions to your WordPress directory.</strong></p>
<p>Finally!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/02/wordpress-on-windowsiis-cannot-upgrade-add-plugins-upload-themes.html/feed</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error</title>
		<link>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html</link>
					<comments>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html#comments</comments>
		
		<dc:creator><![CDATA[Max]]></dc:creator>
		<pubDate>Wed, 24 Feb 2010 14:36:20 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Windows Server]]></category>
		<guid isPermaLink="false">http://blog.tjitjing.com/?p=225</guid>

					<description><![CDATA[Solution After a lot of googling and testing I finally found Bruce Kirkpatrick&#8217;s comment at the end of the PHP install manual Seems it is no longer enough to have localhost in the servers local hosts file (C:\Windows\System32\drivers\etc\hosts) you also have to comment out or remove the IPv6 equivalent. 127.0.0.1 localhost #::1 localhost After I&#8230; <a class="more-link" href="https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html">Continue reading <span class="screen-reader-text">PHP 5.3.1 upgrade on IIS7 and MySQL gives Internal Server Error</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Solution</h2>
<p>After a lot of googling and testing I finally found <a href="http://www.php.net/manual/en/install.windows.iis7.php">Bruce Kirkpatrick&#8217;s comment at the end of the PHP install manual</a></p>
<p><strong>Seems it is no longer enough to have localhost in the servers local hosts file (C:\Windows\System32\drivers\etc\hosts) you also have to comment out or remove the IPv6 equivalent.</strong></p>
<blockquote><p><code>127.0.0.1       localhost<br />
#::1             localhost</code></p></blockquote>
<p>After I did this everything worked ok again. Thanks Bruce!</p>
<h2>Problem</h2>
<p>I just upgraded PHP on my Windows Server 2008 running IIS7 from PHP 5.2.10 to 5.3.1. Used the non-threaded install package and installed for FastCGI.</p>
<p>After the upgrade installation worked fine for some non-database driven pages and phpinfo worked fine but whenever a page tries to accessed the MySQL database the browser only gave me a 500 Internal Server Error.</p>
<p>Checking the php error log (C:\Windows\Temp\php-errors.log) I get messages like this:</p>
<blockquote><p><code>[24-Feb-2010 13:44:36] PHP Warning:  mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: [2002] A connection attempt failed because the connected party did not  (trying to connect via tcp://localhost:3306) in C:\inetpub\wwwroot\XXX\init_page.inc on line 32<br />
[24-Feb-2010 13:44:36] PHP Warning:  mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.<br />
in C:\inetpub\wwwroot\XXX\init_page.inc on line 32<br />
[24-Feb-2010 13:44:36] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in C:\inetpub\wwwroot\XXX\init_page.inc on line 32</code></p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.tjitjing.com/index.php/2010/02/php-5-3-1-upgrade-on-iis7-and-mysqlgives-internal-server-error.html/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
