<?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>Its Lennys Fault &#187; windows</title>
	<atom:link href="http://itslennysfault.com/t/windows/feed" rel="self" type="application/rss+xml" />
	<link>http://itslennysfault.com</link>
	<description>Random things and stuff mostly stuff but there are still some things</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:00:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Testing live sites before switching DNS / pointing the domain name</title>
		<link>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name</link>
		<comments>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name#comments</comments>
		<pubDate>Sat, 07 May 2011 18:29:41 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[site launch]]></category>
		<category><![CDATA[staging]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=384</guid>
		<description><![CDATA[So, you&#39;re ready to launch your site. You&#39;ve got it all set up on the production server and all you need to do is log in to your domain host and point the domain at your new server and hope everything is working. Hope everything is working? Yes, that seems to be how most developers [...]]]></description>
			<content:encoded><![CDATA[<p>So, you&#39;re ready to launch your site. You&#39;ve got it all set up on the production server and all you need to do is log in to your domain host and point the domain at your new server and hope everything is working. Hope everything is working? Yes, that seems to be how most developers think. I&#39;ve encountered several people who use this method for launching a site.</p>
<p>Fear not friends there is a simple solution that will allow you to fully test your site on the live server before switching the DNS to make it live to the rest of the world.</p>
<p><span id="more-384"></span></p>
<p>All you have to do to make this dream a reality is point your local hosts file to the ip of the new server. Then when you go to the url in your web browser the hosts file will override everything and send you to the new server. This guide is broken in to 3 sections: Mac, Windows, and Linux.</p>
<p>Before you get started you should at least have a basic understanding of DNS and how it works. At the VERY least you need to understand A records and how they work. If you don&#39;t please don&#39;t ask me just google &quot;how dns works&quot; or something to that effect and do some reading on your own.
</p>
<h3>Mac OS X</h3>
<ul>
<li>Open terminal (Applications > Utilities > Terminal)</li>
<li>type: sudo edit /private/etc/hosts</li>
<li>Enter your password</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<h3>Linux</h3>
<ul>
<li>Open terminal </li>
<li>type: sudo nano /etc/hosts</li>
<li>Enter your password</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<h3>Windows</h3>
<ul>
<li>Open a command prompt (Start > run > &quot;cmd&quot;)</li>
<li>type: notepad C:\windows\system32\drivers\etc\hosts</li>
<li>Edit the hosts file. (<a href="#edithost">see details below</a>)</li>
<li>Save and close the editor</li>
</ul>
<p><a name="edithost"></a></p>
<h3>Edit host file</h3>
<p>This part is basically the same for all 3 system. The hosts file is extremely simple. It is just an ip address and a domain name separated by a space or tab</p>
<p>
You should have something like this in the file (at the very least) this is connecting the loop back ip to the localhost host name.</p>
<p>127.0.0.1 &nbsp;&nbsp;&nbsp; localhost</p>
<p>You can associate any domain you want to any IP address and your computer will listen to your host file first before the outside world. For example if you wanted google.com to take you to my site you&#39;d do the following.</p>
<p>74.84.131.77 &nbsp;&nbsp;&nbsp; google.com</p>
<p>If my server was set up to understand requests for google.com you would see my site. Instead you&#39;ll see our site not found page.
</p>
<h3>Conclusion</h3>
<p>
Once you&#39;ve completed these steps you should be able to go to your web browser and enter the old site domain and have it pointed (just on your computer) to the new server. This will allow you to fully test the site before updating the domain / dns settings for the rest of the world to see.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Ftesting-live-sites-before-switching-dns-pointing-the-domain-name&amp;title=Testing%20live%20sites%20before%20switching%20DNS%20%2F%20pointing%20the%20domain%20name" id="wpa2a_2"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/testing-live-sites-before-switching-dns-pointing-the-domain-name/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flush DNS cache</title>
		<link>http://itslennysfault.com/flush-dns-cache</link>
		<comments>http://itslennysfault.com/flush-dns-cache#comments</comments>
		<pubDate>Sat, 07 May 2011 17:48:43 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[dns cache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=381</guid>
		<description><![CDATA[Most (if not all) modern operating systems keep a local DNS cache some are pretty good at keeping them updated some aren&#39;t. Either way from time to time when making DNS changes it is useful to know how to clear your DNS cache. This is just a quick reference of how to clear DNS cache [...]]]></description>
			<content:encoded><![CDATA[<p>Most (if not all) modern operating systems keep a local DNS cache some are pretty good at keeping them updated some aren&#39;t. Either way from time to time when making DNS changes it is useful to know how to clear your DNS cache. This is just a quick reference of how to clear DNS cache on several popular operating systems.</p>
<p><span id="more-381"></span></p>
<h3>Mac OS X 10.5 and after (leopard)</h3>
<p>lookupd -flushcache</p>
<h3>Mac OS X 10.4 and before (tiger)</h3>
<p>lookupd -flushcache</p>
<h3>Windows</h3>
<p>ipconfig /flushdns</p>
<h3>Linux</h3>
<p>Depending on your distro and configuration one of the following should work fine. Don&#39;t worry regardless of your setup all of these command should be safe they just might not do anything.</p>
<p>/etc/init.d/nscd restart</p>
<p>service nscd restart</p>
<p>/etc/init.d/named restart</p>
<p>/etc/init.d/dnsmasq restart</p>
<p>nscd -i hosts</p>
<p>/etc/init.d/networking restart</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fflush-dns-cache&amp;title=Flush%20DNS%20cache" id="wpa2a_4"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/flush-dns-cache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox Error: has 1 differencing child hard disks</title>
		<link>http://itslennysfault.com/virtualbox-error-has-1-differencing-child-hard-disks</link>
		<comments>http://itslennysfault.com/virtualbox-error-has-1-differencing-child-hard-disks#comments</comments>
		<pubDate>Tue, 18 Jan 2011 21:26:35 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Quick Tips]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=376</guid>
		<description><![CDATA[Recently I went to start up my VirtualBox Windows 7 client and I got the following error: &#34;Hard disk &#39;____.vdi&#39; with UUID {___} cannot be directly attached to the virtual machine &#39;Windows7&#8242; (&#39;___.xml&#39;) because it has 1 differencing child hard disks.&#34; I have no idea what &#39;caused this error and it took me a lot [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I went to start up my VirtualBox Windows 7 client and I got the following error:</p>
<p>&quot;Hard disk &#39;____.vdi&#39; with UUID {___} cannot be directly attached to the virtual machine &#39;Windows7&#8242; (&#39;___.xml&#39;) because it has 1 differencing child hard disks.&quot;</p>
<p>I have no idea what &#39;caused this error and it took me a lot of searching to find a good solution to it. Since it took me so long to figure out I decided I would post the solution here for my own reference and hopefully to help anyone else that faces the same issue.</p>
<p><span id="more-376"></span>For me the fix was amazingly simple. All you have to do is create a new virtual machine from scratch and use the existing hard disk image for the broken virtual machine.</p>
<ul>
<li>Load the VirtualBox Manager</li>
<li>Click &quot;New&quot;</li>
<li>fill out all the basic info</li>
<li>On the &quot;Virtual Hard Disk&quot; tab select &quot;use existing hard disk&quot;</li>
<li>Browse for your existing hard disk</li>
<li>Select your .vdi file and click continue</li>
<li>Finish the remaining steps and start up your new Virtual Machine</li>
</ul>
<p>If you have trouble finding your virtual machine just look at the path in the error message it will be something like:</p>
<p>Windows:  C:\Users\Lenny\.VirtualBox\Machines\Windows7\</p>
<p>Mac: /Users/Lenny/VirtualBox VMs/Windows7/</p>
<p>replace &quot;Lenny&quot; with your username and replace &quot;Windows7&#8243; with the name you chose for the virtual machine that stopped working. You should use the .vdi file in that folder DO NOT use the .vdi in the &quot;snapshots&quot; folder.</p>
<p>Once I did that I started up the new virtual machine and everything started up just fine. Also, once I started it up once and shut it back down it actually fixed the broken virtual machine. You can either use the new one you just created or just delete it and go back to using your newly fixed (previously broken) VirtualBox virtual machine.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fvirtualbox-error-has-1-differencing-child-hard-disks&amp;title=VirtualBox%20Error%3A%20has%201%20differencing%20child%20hard%20disks" id="wpa2a_6"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/virtualbox-error-has-1-differencing-child-hard-disks/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Enable Remote Desktop RDP on Windows 7 Home Premium</title>
		<link>http://itslennysfault.com/enable-remote-desktop-rdp-on-windows-7-home-premium</link>
		<comments>http://itslennysfault.com/enable-remote-desktop-rdp-on-windows-7-home-premium#comments</comments>
		<pubDate>Mon, 19 Jul 2010 14:01:45 +0000</pubDate>
		<dc:creator>Lenny</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[rdp]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://itslennysfault.com/?p=261</guid>
		<description><![CDATA[If you&#39;ve ever tried to use a computer running Windows 7 Home Premium as a Remote Desktop host you know the sad truth. You can&#39;t! If you ask Microsoft they&#39;ll tell you to get Windows 7 Professional (and pay us extra money for it). However, if you&#39;re like me I only needed 1 feature from [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#39;ve ever tried to use a computer running Windows 7 Home Premium as a Remote Desktop host you know the sad truth. You can&#39;t! If you ask Microsoft they&#39;ll tell you to get Windows 7 Professional (and pay us extra money for it). However, if you&#39;re like me I only needed 1 feature from Windows 7 Professional that wasn&#39;t in Home Premium, Remote Desktop.</p>
<p><span id="more-261"></span></p>
<p>Luckily, there is a very easy solution (and don&#39;t say VNC&#8230; it sucks). There is a very easy way to enable remote desktop on Windows 7 Home Premium. Simply follow the instructions below and you&#39;ll be running a Remote Desktop (RDP) host on Windows 7 Home in a matter of minutes.</p>
<p>The First thing you need to do is download the Concurrent RDP Windows 7 RTM Patcher. You can get it <a title="Windows 7 home premium" href="http://www.filedropper.com/concurrentrdpwin7rtmpatcher">here</a> or <a href="http://www.mediafire.com/?hzz2l5mznzm">here (mirror)</a>. Please, be safe and scan this file for viruses after you download it. I scanned it when I used it and it came up clean, but I don&#39;t host this file / didn&#39;t create it and you can&#39;t be too careful.</p>
<p>Now that you have the patcher downloaded we can start the process of unlocking remote desktop on your Windows 7 Home Premium computer.</p>
<ol>
<li>Unzip the file you downloaded.</li>
<li>Right-click on the <strong>install</strong> file and click <strong>Run as administrator</strong>. If you receive a UAC prompt click &quot;yes&quot;</li>
<li>After this the Windows 7 RTM patcher will be opened in a new command window. It will look like this.
<div id="attachment_262" class="wp-caption aligncenter" style="width: 556px"><a href="http://itslennysfault.com/wp-content/uploads/2010/07/1-Windows-7-Remote-Desktop.jpg"><img class="size-full wp-image-262" title="Windows 7 Remote Desktop Patcher" src="http://itslennysfault.com/wp-content/uploads/2010/07/1-Windows-7-Remote-Desktop.jpg" alt="Windows 7 Remote Desktop Patcher" width="546" height="405" /></a><p class="wp-caption-text">Windows 7 Remote Desktop Patcher</p></div>
<p>At this prompt feel free to read the text then press any key to start the process</li>
<li>Next you will see the following screen. This is asking if you want to allow multiple sessions per user. In most cases you do. So my advise is answer yes. So, you want to type Y and hit enter.
<div id="attachment_263" class="wp-caption aligncenter" style="width: 461px"><a href="http://itslennysfault.com/wp-content/uploads/2010/07/2-Windows-7-enable-Remote-Desktop.jpg"><img class="size-full wp-image-263" title="Windows 7 Home Premium patcher" src="http://itslennysfault.com/wp-content/uploads/2010/07/2-Windows-7-enable-Remote-Desktop.jpg" alt="Windows 7 Home Premium Remote Desktop" width="451" height="90" /></a><p class="wp-caption-text">Windows 7 enable Remote Desktop </p></div>
<p>&nbsp;</p>
</li>
<li>Then you will be presented another question (pictured below) this will allow you to use a blank password on RDP. Again, I advise answering yes. Even if you say yes you CAN still use a password if you want, but if you ever want to use a blank password you can&#39;t if you answer no. Leave your options open and type Y and hit enter.
<p><a href="http://itslennysfault.com/wp-content/uploads/2010/07/3-Windows-7-enable-Remote-Desktop.jpg.jpg"><img class="aligncenter size-full wp-image-264" title="Enable blank password RDP windows 7" src="http://itslennysfault.com/wp-content/uploads/2010/07/3-Windows-7-enable-Remote-Desktop.jpg.jpg" alt="Enable blank password RDP windows 7" width="450" height="90" /></a> </p>
</li>
<li>Wait and wait.. for me this step took quite a while. The patcher will now do all the work the double check that the fix worked. For whatever reason it waited a long time to ensure the service was actually listening for Remote Desktop connections. Once it&#39;s complete your screen should look like this.
<div id="attachment_265" class="wp-caption aligncenter" style="width: 550px"><a href="http://itslennysfault.com/wp-content/uploads/2010/07/4-Windows-7-enable-Remote-Desktop.jpg.jpg"><img class="size-full wp-image-265" title="Remote Desktop Enabled on Windows 7" src="http://itslennysfault.com/wp-content/uploads/2010/07/4-Windows-7-enable-Remote-Desktop.jpg.jpg" alt="Remote Desktop Enabled on Windows 7 Home Premium" width="540" height="217" /></a><p class="wp-caption-text">Remote Desktop Enabled on Windows 7</p></div>
<p>Press any key and you should be all set.</li>
</ol>
<p>On my computer for some reason it failed to properly configure the firewall. If this happens to you just go to the Windows control panel and click on firewall. Then, add an incoming TCP exception on port 3389 and you should be good to go.</p>
<p>Thats it now you can enjoy using remote desktop (RDP) on Windows 7 Home Premium.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fitslennysfault.com%2Fenable-remote-desktop-rdp-on-windows-7-home-premium&amp;title=Enable%20Remote%20Desktop%20RDP%20on%20Windows%207%20Home%20Premium" id="wpa2a_8"><img src="http://itslennysfault.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://itslennysfault.com/enable-remote-desktop-rdp-on-windows-7-home-premium/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

