<?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>IIS Hacks &#124; Server and System Administration &#187; Windows</title>
	<atom:link href="http://www.iishacks.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iishacks.com</link>
	<description>System and Network Administration, IIS, Exchange Server, Windows Tips, Opinions</description>
	<lastBuildDate>Thu, 01 Dec 2011 05:33:41 +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>Windows 7 Desktop Icons and Shortcuts Disappearing</title>
		<link>http://www.iishacks.com/2011/11/30/fix-windows-7-desktop-icons-and-shortcuts-disappearing/</link>
		<comments>http://www.iishacks.com/2011/11/30/fix-windows-7-desktop-icons-and-shortcuts-disappearing/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 05:07:34 +0000</pubDate>
		<dc:creator>Chris Stinson</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iishacks.com/?p=808</guid>
		<description><![CDATA[So your desktop shortcuts are missing? If they are all missing, chances are they might have been deleted or somehow, either you or a program, has disabled desktop icons. See Method 1 below. If some of your icons look funny, are missing thumbnails, or the desktop doesn&#8217;t &#8220;refresh&#8221; when you&#8217;ve placed new items on it, [...]


Related posts:<ol><li><a href='http://www.iishacks.com/2009/11/10/block-ip-addresses-using-ip-security-policy-in-windows-server-2003/' rel='bookmark' title='Block IP Addresses using IP Security Policy in Windows Server 2003'>Block IP Addresses using IP Security Policy in Windows Server 2003</a></li>
<li><a href='http://www.iishacks.com/2007/11/17/microsoft-internet-explorer-7-tab-shortcuts/' rel='bookmark' title='Microsoft Internet Explorer 7 Tab Shortcuts'>Microsoft Internet Explorer 7 Tab Shortcuts</a></li>
<li><a href='http://www.iishacks.com/2007/06/07/tcp-ip-filtering-for-windows/' rel='bookmark' title='TCP / IP Filtering For Windows'>TCP / IP Filtering For Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>So your desktop shortcuts are missing?</strong></p>
<p>If they are all missing, chances are they might have been deleted or somehow, either you or a program, has disabled desktop icons. See <span style="text-decoration: underline;">Method 1</span> below.</p>
<p>If some of your icons look funny, are missing thumbnails, or the desktop doesn&#8217;t &#8220;refresh&#8221; when you&#8217;ve placed new items on it, try <span style="text-decoration: underline;">Method 2</span> as your icon cache may be corrupted.</p>
<p>If your desktop icons are missing and they are all network, broken local shortcuts, or shortcuts to files on a removable USB drive, system maintenance is to blame. There are two methods to help with that:</p>
<ul>
<li><span style="text-decoration: underline;">Method 3</span> is the easy way. The downside is that it disables all system maintenance. I would only recommend this as a way to test if that is indeed the correct solution to your problem.</li>
<li><span style="text-decoration: underline;">Method 4</span> is the recommended method, as it is less of a band-aid solution. It involves increasing the threshold that Windows will have <em>before</em> it starts cleaning up broken shortcuts.</li>
</ul>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Method 1: All Icons missing from Desktop</strong></span></p>
<ol>
<li>Right-Click on an empty part of the Desktop.</li>
<li>Hover over &#8220;View&#8221; and make sure &#8220;Show Desktop Icons&#8221; is checked.</li>
</ol>
<p><img class="alignnone size-full wp-image-823" title="Show Desktop Icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/view1.png" alt="Show Desktop Icons" width="491" height="322" /></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Method 2: Rebuild The Icon Cache</strong></span></p>
<p>Open notepad, paste the following code, and then save it as IconFix.bat. Go to where you saved the file and double click it. As an alternative, you can type the lines one-by-one in the command prompt (Start -&gt; Search -&gt; cmd -&gt; Right-click and select &#8220;Run as Administrator&#8221;).</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;">taskkill /F /IM explorer.exe<br />
cd /d %userprofile%\AppData\Local<br />
attrib –h IconCache.db<br />
del IconCache.db<br />
start explorer.exe</div>
</div>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Method 3: Disable System Maintenance</strong></span></p>
<ol>
<li>Go to the Start Menu -&gt; Control Panel -&gt; System and Security -&gt; Under &#8220;Action Center&#8221; click on &#8220;Troubleshoot Common Computer Problems&#8221; -&gt; Click &#8220;Change Settings&#8221; on the left side.</li>
<li>Under &#8220;Computer Maintenance&#8221; select &#8220;off&#8221; and under &#8220;Other Settings&#8221; remove both checkmarks as shown in the screenshots below.</li>
</ol>
<p><img class="alignnone size-full wp-image-821" title="Disable System Maintenance Step 1" src="http://www.iishacks.com/wp-content/uploads/2011/11/tshoot0.png" alt="Disable System Maintenance Step 1" width="690" height="155" /></p>
<p><img class="alignnone size-full wp-image-822" title="Disable System Maintenance Step 2" src="http://www.iishacks.com/wp-content/uploads/2011/11/tshoot1.png" alt="Disable System Maintenance Step 2" width="577" height="230" /></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><strong>Method 4: Modify The Scheduled Task Files</strong></span></p>
<p>Try this when your network shortcuts or broken shortcuts disappear from your desktop. Windows 7 has a broken-shortcut threshold of 4. Some people recommend deleting the script file, but modifying it to increase the threshold to a higher number is a safer way to do it, while still allowing system maintenance to run (unlike Method 3). This method does require a bit more work, and there is a greater risk to system damage than the previous methods. There are some screenshots below to help you along with the steps.</p>
<ol>
<li>Double-click on &#8220;Computer&#8221; on the Desktop, or right-click on the Start Menu and click &#8220;Open Windows Explorer.&#8221;</li>
<li>Go to: <strong>C:\Windows\diagnostics\scheduled\Maintenance.</strong></li>
<li>Right-click on <strong>TS_BrokenShortcuts.ps1 </strong>and select &#8220;Properties.&#8221;</li>
<li>Click on the &#8220;Security&#8221; tab.</li>
<li>Click on &#8220;Advanced&#8221; near the bottom.</li>
<li>The Advanced Security settings dialog will pop up. Click on the &#8220;Owner&#8221; tab.</li>
<li>The Current Owner will show TrustedInstaller. Click &#8220;Edit&#8221; near the bottom.</li>
<li>Under &#8220;Change Owner To:&#8221; select your username.</li>
<li>Click &#8220;OK&#8221; to close the dialog. Click &#8220;OK&#8221; to the warning.</li>
<li>After returning to the Advanced Security settings dialog, it will show your user as the current owner. Click &#8220;OK.&#8221;</li>
<li>Now that you are back in the Security tab, click &#8220;Edit.&#8221;</li>
<li>The Permissions dialog will pop up. You are now free to select a group or user and modify the permissions on the file. You will likely be part of the &#8220;Users&#8221; group. Select &#8220;Users&#8221; and under permissions select &#8220;Modify.&#8221;</li>
<li>Click &#8220;OK&#8221; to return to the Security tab. Click &#8220;OK&#8221; again to exit the file&#8217;s properties.</li>
<li>Right-Click on TS_BrokenShortcuts.ps1 and select &#8220;Edit.&#8221;</li>
<li>On line 44, find &#8220;<strong>-gt 4))</strong>&#8221; -&gt; Change this to &#8220;<strong>-gt 25))</strong>&#8221; to set the threshold to 25 broken icons. If you feel there may be more than 25 broken network icons on your desktop at a time, adjust accordingly.</li>
<li>If you wish to use the same method for preventing the removal of unused icons, edit the <strong>TS_UnusedDesktopIcons.ps1</strong> file following the steps above, find &#8220;<strong>-gt 10</strong>&#8221; on line 50 and change it to a higher number.</li>
</ol>
<p><img class="alignnone size-full wp-image-815" title="Step 2 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps1.png" alt="Step 4 for fixing missing icons" width="592" height="398" /></p>
<p><img class="alignnone size-full wp-image-816" title="Step 4 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps2.png" alt="Step 4 for fixing missing icons" width="372" height="513" /></p>
<p><img class="alignnone size-full wp-image-817" title="Step 6 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps3.png" alt="Step 6 for fixing missing icons" width="632" height="479" /></p>
<p><img class="alignnone size-full wp-image-818" title="Step 8 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps4.png" alt="Step 8 for fixing missing icons" width="632" height="475" /></p>
<p><img class="alignnone size-full wp-image-819" title="Step 12 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps5.png" alt="Step 12 for fixing missing icons" width="373" height="453" /></p>
<p><img class="alignnone size-full wp-image-820" title="Step 15 for fixing missing icons" src="http://www.iishacks.com/wp-content/uploads/2011/11/icons-ps6.png" alt="Step 15 for fixing missing icons" width="644" height="456" /></p>


<p>Related posts:<ol><li><a href='http://www.iishacks.com/2009/11/10/block-ip-addresses-using-ip-security-policy-in-windows-server-2003/' rel='bookmark' title='Block IP Addresses using IP Security Policy in Windows Server 2003'>Block IP Addresses using IP Security Policy in Windows Server 2003</a></li>
<li><a href='http://www.iishacks.com/2007/11/17/microsoft-internet-explorer-7-tab-shortcuts/' rel='bookmark' title='Microsoft Internet Explorer 7 Tab Shortcuts'>Microsoft Internet Explorer 7 Tab Shortcuts</a></li>
<li><a href='http://www.iishacks.com/2007/06/07/tcp-ip-filtering-for-windows/' rel='bookmark' title='TCP / IP Filtering For Windows'>TCP / IP Filtering For Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iishacks.com/2011/11/30/fix-windows-7-desktop-icons-and-shortcuts-disappearing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reduce Windows 7 WinSxS Folder Size</title>
		<link>http://www.iishacks.com/2011/06/23/reduce-windows-7-winsxs-folder-size/</link>
		<comments>http://www.iishacks.com/2011/06/23/reduce-windows-7-winsxs-folder-size/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 02:02:07 +0000</pubDate>
		<dc:creator>Chris Stinson</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iishacks.com/?p=791</guid>
		<description><![CDATA[With Windows Vista, the WinSxS folder was able to be cleaned up via a third party tool (WinSxS Lite here &#8211; Vista only!). With the initial release of Windows 7, we lost that capability &#8211; but it has since returned with Service Pack 1. The WinSxS folder is used to store install and uninstall files, [...]


Related posts:<ol><li><a href='http://www.iishacks.com/2007/06/19/disabling-windows-search-in-vista-stop-hard-drive-running-constantly/' rel='bookmark' title='Disabling Windows Search in Vista: Stop hard drive running constantly'>Disabling Windows Search in Vista: Stop hard drive running constantly</a></li>
<li><a href='http://www.iishacks.com/2007/06/26/print-directory-listing-in-windows/' rel='bookmark' title='Print Directory Listing in Windows'>Print Directory Listing in Windows</a></li>
<li><a href='http://www.iishacks.com/2007/06/10/speed-up-low-memory-system-running-windows-vista/' rel='bookmark' title='Speed up low memory system running Windows Vista'>Speed up low memory system running Windows Vista</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>With Windows Vista, the WinSxS folder was able to be cleaned up via a third party tool (<a href="http://sites.google.com/site/winsxslite/">WinSxS Lite here</a> &#8211; Vista only!). With the initial release of Windows 7, we lost that capability &#8211; but it has since returned with Service Pack 1.</p>
<p>The WinSxS folder is used to store install and uninstall files, windows packages (current and previous versions of a component) and out-of-band releases. <span style="text-decoration: underline;"><em>You should not completely delete this folder</em></span>. Post Windows 7 SP1, there is now a way to remove the unnecessary files from this folder using the command line (elevated/admin mode -&gt; Click Start -&gt; Type &#8220;cmd&#8221; in Search. Right click on &#8220;cmd&#8221; and choose &#8220;Run as Administrator&#8221;). This is great for reducing the Windows folder size for SSDs and netbooks. In my case it saved 3.5GB of space.</p>
<p>&nbsp;</p>
<div class="codesnip-container" ><strong>dism /online /cleanup-image /spsuperseded</strong></div>
<p>&nbsp;</p>
<p><img class="alignnone size-full wp-image-793" title="WinSXS4" src="http://www.iishacks.com/wp-content/uploads/2011/06/WinSXS4.jpg" alt="" width="673" height="242" /></p>
<p>&nbsp;</p>
<p><strong>Before:</strong></p>
<p><img class="alignnone size-full wp-image-792" title="WinSXS1" src="http://www.iishacks.com/wp-content/uploads/2011/06/WinSXS1.jpg" alt="" width="375" height="485" /></p>
<p>&nbsp;</p>
<p><strong>After:</strong></p>
<p><img class="alignnone size-full wp-image-794" title="WinSXS5" src="http://www.iishacks.com/wp-content/uploads/2011/06/WinSXS5.jpg" alt="" width="375" height="485" /></p>


<p>Related posts:<ol><li><a href='http://www.iishacks.com/2007/06/19/disabling-windows-search-in-vista-stop-hard-drive-running-constantly/' rel='bookmark' title='Disabling Windows Search in Vista: Stop hard drive running constantly'>Disabling Windows Search in Vista: Stop hard drive running constantly</a></li>
<li><a href='http://www.iishacks.com/2007/06/26/print-directory-listing-in-windows/' rel='bookmark' title='Print Directory Listing in Windows'>Print Directory Listing in Windows</a></li>
<li><a href='http://www.iishacks.com/2007/06/10/speed-up-low-memory-system-running-windows-vista/' rel='bookmark' title='Speed up low memory system running Windows Vista'>Speed up low memory system running Windows Vista</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iishacks.com/2011/06/23/reduce-windows-7-winsxs-folder-size/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>How to Install PHP 5.3 FastCGI on Windows 2008 IIS 7</title>
		<link>http://www.iishacks.com/2011/02/14/how-to-install-php-5-3-fastcgi-on-windows-2008-iis-7/</link>
		<comments>http://www.iishacks.com/2011/02/14/how-to-install-php-5-3-fastcgi-on-windows-2008-iis-7/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 20:35:08 +0000</pubDate>
		<dc:creator>Chris Stinson</dc:creator>
				<category><![CDATA[Internet Information Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iishacks.com/?p=766</guid>
		<description><![CDATA[PHP on Windows has come along way in the past few years. It used to be a chore to get PHP to work properly on IIS. Not so, anymore. In the past I&#8217;ve recommended PHP ISAPI for IIS when using threaded applications and accelerators like eAccelerator, xCache and APC. APC now includes support for FastCGI [...]


Related posts:<ol><li><a href='http://www.iishacks.com/2008/07/03/how-to-install-php-isapi-on-windows-2008-iis7-x64/' rel='bookmark' title='How to install PHP ISAPI on Windows 2008 IIS7 x64'>How to install PHP ISAPI on Windows 2008 IIS7 x64</a></li>
<li><a href='http://www.iishacks.com/2009/01/11/install-and-boot-windows-7-beta-or-windows-server-2008-r2-beta-on-vhd/' rel='bookmark' title='Install and Boot Windows 7 Beta or Windows Server 2008 R2 Beta on VHD'>Install and Boot Windows 7 Beta or Windows Server 2008 R2 Beta on VHD</a></li>
<li><a href='http://www.iishacks.com/2007/07/15/enabling-internet-on-fresh-windows-server-2008-install/' rel='bookmark' title='Enabling Internet on fresh Windows Server 2008 install'>Enabling Internet on fresh Windows Server 2008 install</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>PHP on Windows has come along way in the past few years. It used to be a chore to get PHP to work properly on IIS. Not so, anymore.</p>
<p>In the past I&#8217;ve recommended PHP ISAPI for IIS when using threaded applications and accelerators like eAccelerator, xCache and APC. APC now includes support for FastCGI (Non-Thread Safe). To install PHP 4 &#8211; 5.2.x ISAPI, see my previous post: <a href="http://www.iishacks.com/2008/07/03/how-to-install-php-isapi-on-windows-2008-iis7-x64/">How to install PHP ISAPI on Windows 2008 IIS7 x64</a>.</p>
<p>With PHP 5.3.x, the ISAPI dll has been removed for Windows. In order to use it, you&#8217;ll need to compile it yourself. There is a big push to use FastCGI on IIS, and with good reason &#8211; the performance has increased dramatically. Since most web applications (blogs, forums, CMS) do not require a Thread Safe install of PHP, FastCGI is the fastest and most stable option around.</p>
<p>PHP 5.3 for Windows is now compiled with either VC6 or VC9. VC9 should be used with IIS and VC6 should be used with Apache 1 or 2. For the VC9 versions you will need the Microsoft 2008 C++ Runtime (<a href="http://www.microsoft.com/downloads/en/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&amp;displaylang=en">VC x86</a>, <a href="http://www.microsoft.com/downloads/en/details.aspx?familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6&amp;displaylang=en">VC x64</a>, even though you are installing 32-bit PHP, install the correct version of VC++ for the version of Windows that you have).</p>
<p>When installing multiple versions of PHP with PHP Manager, each install can have a different PHP.ini and set of extensions installed and enabled. Within IIS, you can have a different version of PHP enabled for each site.</p>
<p>1. <strong>Download and Install PHP Manager for IIS 7/7.5.</strong> (<a href="http://phpmanager.codeplex.com/releases/view/59970">http://phpmanager.codeplex.com/releases/view/59970</a>) Even though PHP is 32-bit, install the version of PHP Manager that matches your install of Windows (x86 or x64).</p>
<p><img class="alignnone size-full wp-image-767" title="PHP Manager for IIS" src="http://www.iishacks.com/wp-content/uploads/2011/02/0-phpman1.jpg" alt="" width="554" height="516" /></p>
<p>2. <strong>Download and Install PHP 5.3.x for Windows VC9 (Non-Thread Safe).</strong> (<a href="http://windows.php.net/download/">http://windows.php.net/download/</a>) You can use the installer or zip package. I&#8217;d recommend using the installer package if this is your first install, as it will set the PATH for your PHP install in Windows. If you are adding a second version or upgrading PHP, download the zip package and simply unzip it. If you plan to use multiple versions of PHP at the same time, I&#8217;d recommend naming your directories with the PHP version, ie: C:\php_5.3.5\.</p>
<p>3. In PHP Manager (<strong>IIS Manager</strong> -&gt; <strong>Server Name</strong> -&gt; <strong>PHP Manager</strong>), click on &#8220;<strong>Register New PHP Version</strong>&#8221; and browse to where you unzipped the PHP files. Select the <strong>php-cgi.exe</strong> file and click OK. Once you have registered the PHP module, you&#8217;ll need to configure the PHP.ini. This can be done in Notepad or within PHP Manager (Manage All Settings). For most basic installs, the default PHP.ini will suffice. If you are using a MySQL database, you&#8217;ll have to enable the MySQL or MySQLi extension. Go to <strong>IIS Manager</strong> -&gt; <strong>PHP Manager</strong> -&gt; <strong>PHP Extensions</strong> -&gt; <strong>Enable</strong> <strong>or disable an extension</strong>. Click on <strong>php_mysql.dll </strong>and/or <strong>php_mysqli.dll </strong>and under Actions on the right side bar, click <strong>Enable</strong>.</p>
<p><img class="alignnone size-full wp-image-768" title="Register PHP in IIS" src="http://www.iishacks.com/wp-content/uploads/2011/02/1-phpman-register.jpg" alt="" width="446" height="300" /></p>
<p>4. If you are using Windows x64, you&#8217;ll need to set your application pool settings to allow 32-bit PHP to function. If you are using 32-bit Windows, skip this step. In <strong>IIS Manager</strong> -&gt; <strong>Application Pools</strong> -&gt; Right-Click on the website&#8217;s application pool (or Default if you haven&#8217;t set one up yet) and select <strong>Advanced Settings</strong>. Set &#8220;<strong>Enable 32-bit applications</strong>&#8221; to <strong>TRUE</strong>. Click OK. This spawns the App Pool in 32-bit mode, so if you have other modules that need to be run in 64-bit mode, best to separate the website into two App Pools: one 32-bit and one 64-bit.</p>
<p><img class="alignnone size-full wp-image-769" title="Application Pool settings for PHP on IIS x64" src="http://www.iishacks.com/wp-content/uploads/2011/02/2-phpman5-apppool.jpg" alt="" width="477" height="131" /></p>
<p>5. If you want to install multiple versions of PHP, all you need to do is register each version using PHP Manager. You can click on each individual website and select a specific version of PHP to run. Remember to modify the PHP.ini of each version you register. If you get CGI errors when trying to view a webpage, make sure cgi.force_redirect = 0, or it is commented out in the PHP.ini.</p>
<p><img class="alignnone size-full wp-image-770" title="Switch versions of PHP on IIS" src="http://www.iishacks.com/wp-content/uploads/2011/02/3-phpman3-switch.jpg" alt="" width="426" height="303" /></p>


<p>Related posts:<ol><li><a href='http://www.iishacks.com/2008/07/03/how-to-install-php-isapi-on-windows-2008-iis7-x64/' rel='bookmark' title='How to install PHP ISAPI on Windows 2008 IIS7 x64'>How to install PHP ISAPI on Windows 2008 IIS7 x64</a></li>
<li><a href='http://www.iishacks.com/2009/01/11/install-and-boot-windows-7-beta-or-windows-server-2008-r2-beta-on-vhd/' rel='bookmark' title='Install and Boot Windows 7 Beta or Windows Server 2008 R2 Beta on VHD'>Install and Boot Windows 7 Beta or Windows Server 2008 R2 Beta on VHD</a></li>
<li><a href='http://www.iishacks.com/2007/07/15/enabling-internet-on-fresh-windows-server-2008-install/' rel='bookmark' title='Enabling Internet on fresh Windows Server 2008 install'>Enabling Internet on fresh Windows Server 2008 install</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iishacks.com/2011/02/14/how-to-install-php-5-3-fastcgi-on-windows-2008-iis-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling Ping Replies in Windows Server 2008 and R2</title>
		<link>http://www.iishacks.com/2010/07/20/enabling-ping-replies-in-windows-server-2008/</link>
		<comments>http://www.iishacks.com/2010/07/20/enabling-ping-replies-in-windows-server-2008/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:03:48 +0000</pubDate>
		<dc:creator>Chris Stinson</dc:creator>
				<category><![CDATA[Security, Viruses, Trojans]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iishacks.com/?p=670</guid>
		<description><![CDATA[A few people have emailed asking why Windows Server 2008 does not reply to pings (and how to enable it). It doesn&#8217;t by default. No official reason why, but it probably has something to do with POD (Ping of Death) and Ping Flooding. Commonly used in Denial of Service attacks, POD is when a target [...]


Related posts:<ol><li><a href='http://www.iishacks.com/2007/07/15/enabling-internet-on-fresh-windows-server-2008-install/' rel='bookmark' title='Enabling Internet on fresh Windows Server 2008 install'>Enabling Internet on fresh Windows Server 2008 install</a></li>
<li><a href='http://www.iishacks.com/2009/11/10/block-ip-addresses-using-ip-security-policy-in-windows-server-2003/' rel='bookmark' title='Block IP Addresses using IP Security Policy in Windows Server 2003'>Block IP Addresses using IP Security Policy in Windows Server 2003</a></li>
<li><a href='http://www.iishacks.com/2007/09/24/microsoft-windows-server-2003-iis-log-file-format-comparison/' rel='bookmark' title='Microsoft Windows Server 2003 IIS Log File Format Comparison'>Microsoft Windows Server 2003 IIS Log File Format Comparison</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A few people have emailed asking why Windows Server 2008 does not reply to pings (and how to enable it).</p>
<p>It doesn&#8217;t by default. No official reason why, but it probably has something to do with POD (Ping of Death) and Ping Flooding. Commonly used in Denial of Service attacks, POD is when a target server is sent an unusually large ICMP packet. For Ping flooding, if the target server is set to respond to pings, it may become bogged down and unable to effectively respond to other requests such as HTTP and FTP. Denial of Service attacks usually require a coordinated effort among multiple computers to halt a server - but it happens, and often!</p>
<p>To enable pings on the public profile (ie. over the Internet), go to <strong>Administrative Tools</strong> -&gt; <strong>Firewall with Advanced Security</strong> -&gt; <strong>Inbound Rules</strong> and find &#8220;<strong>File and Printer Sharing (Echo Request &#8211; ICMPv4-In)</strong>&#8221; -&gt; Right-click and select &#8220;<strong>Enable</strong>.&#8221;</p>
<p> </p>
<p><img class="alignnone size-full wp-image-672" title="Enable Ping Requests Windows 2008" src="http://www.iishacks.com/wp-content/uploads/2010/07/ping4.JPG" alt="Enable Ping Requests Windows 2008" width="687" height="128" /></p>
<p> </p>
<p>You can also open up the command prompt and type:</p>
<div class="codesnip-container" >netsh firewall set icmpsetting 8</div>
<p>or type the following to disable the setting:</p>
<div class="codesnip-container" >netsh firewall set icmpsetting 8 disable</div>
<p><strong>For Windows Server 2008 R2, type:</strong></p>
<div class="codesnip-container" >netsh advfirewall firewall add rule name=&#8221;ICMP Allow incoming V4 echo request&#8221; protocol=icmpv4:8,any dir=in action=allow</div>


<p>Related posts:<ol><li><a href='http://www.iishacks.com/2007/07/15/enabling-internet-on-fresh-windows-server-2008-install/' rel='bookmark' title='Enabling Internet on fresh Windows Server 2008 install'>Enabling Internet on fresh Windows Server 2008 install</a></li>
<li><a href='http://www.iishacks.com/2009/11/10/block-ip-addresses-using-ip-security-policy-in-windows-server-2003/' rel='bookmark' title='Block IP Addresses using IP Security Policy in Windows Server 2003'>Block IP Addresses using IP Security Policy in Windows Server 2003</a></li>
<li><a href='http://www.iishacks.com/2007/09/24/microsoft-windows-server-2003-iis-log-file-format-comparison/' rel='bookmark' title='Microsoft Windows Server 2003 IIS Log File Format Comparison'>Microsoft Windows Server 2003 IIS Log File Format Comparison</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iishacks.com/2010/07/20/enabling-ping-replies-in-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Defragment to the Shell menu in Windows 7 / Vista</title>
		<link>http://www.iishacks.com/2010/03/10/add-defragment-to-the-shell-menu-in-windows-7-vista/</link>
		<comments>http://www.iishacks.com/2010/03/10/add-defragment-to-the-shell-menu-in-windows-7-vista/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 16:19:38 +0000</pubDate>
		<dc:creator>Chris Stinson</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.iishacks.com/?p=602</guid>
		<description><![CDATA[I find adding common tasks to the shell menu a great timesaver when I am running between stations. It is also easier to direct users to simply &#8220;right-click&#8221; on something rather than walk them through a maze of menus&#8230;or even have them find the &#8220;run&#8221; box. Click Start -&#62; type &#8220;regedit&#8221; in the Search command [...]


Related posts:<ol><li><a href='http://www.iishacks.com/2008/03/19/windows-vista-service-pack-1-released-improvements/' rel='bookmark' title='Windows Vista Service Pack 1 Released: Improvements!'>Windows Vista Service Pack 1 Released: Improvements!</a></li>
<li><a href='http://www.iishacks.com/2007/06/26/print-directory-listing-in-windows/' rel='bookmark' title='Print Directory Listing in Windows'>Print Directory Listing in Windows</a></li>
<li><a href='http://www.iishacks.com/2007/06/19/disabling-windows-search-in-vista-stop-hard-drive-running-constantly/' rel='bookmark' title='Disabling Windows Search in Vista: Stop hard drive running constantly'>Disabling Windows Search in Vista: Stop hard drive running constantly</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I find adding common tasks to the shell menu a great timesaver when I am running between stations. It is also easier to direct users to simply &#8220;right-click&#8221; on something rather than walk them through a maze of menus&#8230;or even have them find the &#8220;run&#8221; box.</p>
<ol>
<li>Click Start -&gt; type &#8220;regedit&#8221; in the Search command box.</li>
<li>Navigate to <strong>HKEY_CLASSES_ROOT\Drive\shell</strong>.</li>
<li>Right-click on &#8220;shell&#8221; and select New -&gt; Key. Name it &#8220;<strong>runas</strong>&#8221; and set the default value to &#8220;<strong>Defragmen</strong>t&#8221;.</li>
<li>Right-click on &#8220;runas&#8221; and select New -&gt; Key. Name it &#8220;<strong>command</strong>&#8221; and set the default value to &#8220;<strong>defrag %1 -v</strong>&#8220;.</li>
<li>If you ever wish to remove this functionality, just delete the &#8220;runas&#8221; key.</li>
</ol>
<p> </p>
<p><img class="alignnone size-full wp-image-604" title="Add Defrag to the shell menu registry edit" src="http://www.iishacks.com/wp-content/uploads/2010/03/AddDefragRegistry.GIF" alt="Add Defrag to the shell menu registry edit" width="574" height="247" /></p>
<p> </p>
<p>You can also paste the following into Notepad and save it as: RightClickDefragment.reg or you can download the zipped <a href="http://www.iishacks.com/wp-content/uploads/2010/03/RightClickDefragment.zip">RightClickDefragment.reg</a> here. Double-click on the .reg file and click &#8220;yes&#8221; when asked to enter it into the registry.</p>
<div class="codesnip-container" >Windows Registry Editor Version 5.00</p>
<p>[HKEY_CLASSES_ROOT\Drive\shell\runas]<br />
@=&#8221;Defragment&#8221;</p>
<p>[HKEY_CLASSES_ROOT\Drive\shell\runas\command]<br />
@=&#8221;defrag %1 -v&#8221;</p></div>
<p> </p>
<p><img class="alignnone size-full wp-image-605" title="Defragment Command Screen" src="http://www.iishacks.com/wp-content/uploads/2010/03/DefragmentCMD.GIF" alt="Defragment Command Screen" width="609" height="254" /></p>


<p>Related posts:<ol><li><a href='http://www.iishacks.com/2008/03/19/windows-vista-service-pack-1-released-improvements/' rel='bookmark' title='Windows Vista Service Pack 1 Released: Improvements!'>Windows Vista Service Pack 1 Released: Improvements!</a></li>
<li><a href='http://www.iishacks.com/2007/06/26/print-directory-listing-in-windows/' rel='bookmark' title='Print Directory Listing in Windows'>Print Directory Listing in Windows</a></li>
<li><a href='http://www.iishacks.com/2007/06/19/disabling-windows-search-in-vista-stop-hard-drive-running-constantly/' rel='bookmark' title='Disabling Windows Search in Vista: Stop hard drive running constantly'>Disabling Windows Search in Vista: Stop hard drive running constantly</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iishacks.com/2010/03/10/add-defragment-to-the-shell-menu-in-windows-7-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

