<?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>Dev Team Assemble &#187; Windows</title>
	<atom:link href="http://www.calvinirwin.net/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calvinirwin.net</link>
	<description>Evil beware!</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Execute Commands in Windows via .NET Application</title>
		<link>http://www.calvinirwin.net/2011/05/26/execute-commands-in-windows-via-net-application/</link>
		<comments>http://www.calvinirwin.net/2011/05/26/execute-commands-in-windows-via-net-application/#comments</comments>
		<pubDate>Thu, 26 May 2011 15:44:50 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=281</guid>
		<description><![CDATA[Heres a neat little snippit that comes in handy for running commands against the operating system.
Sourced directly from here: http://stackoverflow.com/questions/691716/running-cmd-commands-via-net ...but I like having the code here as well.
&#160;
// Kills a process
&#60;span&#62; &#60;/span&#62; private static void ExecuteCommand&#40;string command&#41;
&#123;
try
&#123;
// create the ProcessStartInfo using &#34;cmd&#34; as the program to be run,
// and &#34;/c &#34; as the parameters. [...]]]></description>
			<content:encoded><![CDATA[<p>Heres a neat little snippit that comes in handy for running commands against the operating system.</p>
<p>Sourced directly from here: <a href="http://stackoverflow.com/questions/691716/running-cmd-commands-via-net" target="_blank">http://stackoverflow.com/questions/691716/running-cmd-commands-via-net</a> ...but I like having the code here as well.</p>
<pre class="csharp">&nbsp;
<span style="color: #008080; font-style: italic;">// Kills a process</span>
&lt;span&gt; &lt;/span&gt; <span style="color: #0600FF;">private</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> ExecuteCommand<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> command<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #0600FF;">try</span>
<span style="color: #000000;">&#123;</span>
<span style="color: #008080; font-style: italic;">// create the ProcessStartInfo using &quot;cmd&quot; as the program to be run,</span>
<span style="color: #008080; font-style: italic;">// and &quot;/c &quot; as the parameters. &amp;gt; tell the command to execute the command that follows</span>
<span style="color: #000000;">System</span>.<span style="color: #0000FF;">Diagnostics</span>.<span style="color: #0000FF;">ProcessStartInfo</span> procStartUpInfo =
<a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #000000;">System</span>.<span style="color: #0000FF;">Diagnostics</span>.<span style="color: #0000FF;">ProcessStartInfo</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;cmd&quot;</span>, <span style="color: #808080;">&quot;/c &quot;</span> + command<span style="color: #000000;">&#41;</span>;
<span style="color: #008080; font-style: italic;">// The following commands are needed to redirect the standard output.</span>
<span style="color: #008080; font-style: italic;">// This means that it will be redirected to the Process.StandardOutput StreamReader.</span>
procStartUpInfo.<span style="color: #0000FF;">RedirectStandardOutput</span> = <span style="color: #0600FF;">true</span>;
procStartUpInfo.<span style="color: #0000FF;">UseShellExecute</span> = <span style="color: #0600FF;">false</span>;
<span style="color: #008080; font-style: italic;">// Do not create a window.</span>
procStartUpInfo.<span style="color: #0000FF;">CreateNoWindow</span> = <span style="color: #0600FF;">true</span>;
<span style="color: #008080; font-style: italic;">// Now we create a process, assign its ProcessStartInfo and start it</span>
<span style="color: #000000;">System</span>.<span style="color: #0000FF;">Diagnostics</span>.<span style="color: #0000FF;">Process</span> proc = <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> <span style="color: #000000;">System</span>.<span style="color: #0000FF;">Diagnostics</span>.<span style="color: #0000FF;">Process</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
proc.<span style="color: #0000FF;">StartInfo</span> = procStartUpInfo;
proc.<span style="color: #0000FF;">Start</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #008080; font-style: italic;">// Get the output into a string</span>
<span style="color: #FF0000;">string</span> result = proc.<span style="color: #0000FF;">StandardOutput</span>.<span style="color: #0000FF;">ReadToEnd</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #008080; font-style: italic;">// Display the command output.</span>
Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span>result<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #0600FF;">catch</span> <span style="color: #000000;">&#40;</span>Exception objException<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
Console.<span style="color: #0000FF;">WriteLine</span><span style="color: #000000;">&#40;</span>objException<span style="color: #000000;">&#41;</span>;
<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;</pre>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/.net' rel='tag' target='_self'>.net</a>, <a class='technorati-link' href='http://technorati.com/tag/cmd' rel='tag' target='_self'>cmd</a>, <a class='technorati-link' href='http://technorati.com/tag/command' rel='tag' target='_self'>command</a>, <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2011/05/26/execute-commands-in-windows-via-net-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Debugging a windows Service</title>
		<link>http://www.calvinirwin.net/2011/05/04/installing-and-debugging-a-windows-service/</link>
		<comments>http://www.calvinirwin.net/2011/05/04/installing-and-debugging-a-windows-service/#comments</comments>
		<pubDate>Wed, 04 May 2011 13:04:42 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=275</guid>
		<description><![CDATA[Here is some useful information that I always seem to forget when developing windows services.

To install/uninstall manually, which i find helpful to do from the bin folder of your project use the following commands:

INSTALL: %windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe [the name of the executable]
UNINSTALL: %windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe -u [the name of the executable]


To Debug a windows service add the following code [...]]]></description>
			<content:encoded><![CDATA[<p>Here is some useful information that I always seem to forget when developing windows services.</p>
<ul>
<li>To install/uninstall manually, which i find helpful to do from the bin folder of your project use the following commands:
<ul>
<li>INSTALL: %windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe [the name of the executable]</li>
<li>UNINSTALL: %windir%\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe -u [the name of the executable]</li>
</ul>
</li>
<li>To Debug a windows service add the following code to your Main method<br />
<code><br />
static void Main(string[] args)<br />
{<br />
#if DEBUG<br />
System.Diagnostics.Debugger.Break();<br />
#endif</code></p>
<p><code> </code></p>
<p style="padding-left: 30px;"><code> ServiceBase.Run(new Service());</code></p>
<p style="padding-left: 30px;"><code>}<br />
</code>
</li>
<li>To create an installation package for a service: ....I will come back to that - no time to put it together today <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</li>
</ul>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/services' rel='tag' target='_self'>services</a>, <a class='technorati-link' href='http://technorati.com/tag/visual+studio' rel='tag' target='_self'>visual studio</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2011/05/04/installing-and-debugging-a-windows-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2008 Server GPO &#8211; Force Allow Remote Desktop Connections</title>
		<link>http://www.calvinirwin.net/2010/09/29/windows-2008-server-gpo-force-allow-remote-desktop-connections/</link>
		<comments>http://www.calvinirwin.net/2010/09/29/windows-2008-server-gpo-force-allow-remote-desktop-connections/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 18:00:07 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=260</guid>
		<description><![CDATA[Neat thing I figured out today...which I am 100% certain I will forget...to force allow remote desktop connections on a windows 2008 domain you need to set the following

Set windows Firewall to have a exception for the remote connection : computer &#62;&#62; admin templates &#62;&#62; network &#62;&#62; network connections &#62;&#62; windows firewall &#62;&#62; domain profile [...]]]></description>
			<content:encoded><![CDATA[<p>Neat thing I figured out today...which I am 100% certain I will forget...to force allow remote desktop connections on a windows 2008 domain you need to set the following</p>
<ol>
<li>Set windows Firewall to have a exception for the remote connection : computer &gt;&gt; admin templates &gt;&gt; network &gt;&gt; network connections &gt;&gt; windows firewall &gt;&gt; domain profile &gt;&gt; windows firewall: allow inbound remote desktop exceptions</li>
<li>Set the remote desktop services to allow connections: : computer &gt;&gt; admin templates &gt;&gt; windows components &gt;&gt; remote desktop services &gt;&gt; remote desktop session host &gt;&gt; connections &gt;&gt; Allow users to connect remotely using remote desktop services</li>
</ol>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/GPO' rel='tag' target='_self'>GPO</a>, <a class='technorati-link' href='http://technorati.com/tag/group+policy' rel='tag' target='_self'>group policy</a>, <a class='technorati-link' href='http://technorati.com/tag/remote+desktop' rel='tag' target='_self'>remote desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Security' rel='tag' target='_self'>Security</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a>, <a class='technorati-link' href='http://technorati.com/tag/windows+2008+r2' rel='tag' target='_self'>windows 2008 r2</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2010/09/29/windows-2008-server-gpo-force-allow-remote-desktop-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great Post on ASP.NET Caching</title>
		<link>http://www.calvinirwin.net/2010/04/14/great-post-on-asp-net-caching/</link>
		<comments>http://www.calvinirwin.net/2010/04/14/great-post-on-asp-net-caching/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 13:46:12 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=250</guid>
		<description><![CDATA[I came across a great post today that talks about ASP.NET caching (applies to SharePoint) and what to look for.  Thanks to Gunnar Peipman for the great insight.
http://weblogs.asp.net/gunnarpeipman/archive/2010/04/02/measuring-asp-net-and-sharepoint-output-cache.aspx
Basically you need to setup the following performance counters in windows:

Total number of objects added
Total object discards
Cache hit count
Cache hit ratio




Technorati Tags: ASP.NET, IIS, Windows, windows 2008 r2


]]></description>
			<content:encoded><![CDATA[<p>I came across a great post today that talks about ASP.NET caching (applies to SharePoint) and what to look for.  Thanks to Gunnar Peipman for the great insight.</p>
<p><a href="http://weblogs.asp.net/gunnarpeipman/archive/2010/04/02/measuring-asp-net-and-sharepoint-output-cache.aspx">http://weblogs.asp.net/gunnarpeipman/archive/2010/04/02/measuring-asp-net-and-sharepoint-output-cache.aspx</a></p>
<p>Basically you need to setup the following performance counters in windows:</p>
<ul>
<li>Total number of objects added</li>
<li>Total object discards</li>
<li>Cache hit count</li>
<li>Cache hit ratio</li>
</ul>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ASP.NET' rel='tag' target='_self'>ASP.NET</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_self'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a>, <a class='technorati-link' href='http://technorati.com/tag/windows+2008+r2' rel='tag' target='_self'>windows 2008 r2</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2010/04/14/great-post-on-asp-net-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 on Windows 2008 R2 x64</title>
		<link>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/</link>
		<comments>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:11:00 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=239</guid>
		<description><![CDATA[I was trying to install install SharePoint 2007 onto Windows 2008 r2 and was getting a strange error referencing KB article 962935. Funny enough this article is not live yet so it left me a little unhappy. Apprarently Microsoft does not support the distributed SP1 installation package of SharePoint for this version of the OS. [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install install SharePoint 2007 onto Windows 2008 r2 and was getting a strange error referencing KB article 962935. Funny enough this article is not live yet so it left me a little unhappy. Apprarently Microsoft does not support the distributed SP1 installation package of SharePoint for this version of the OS. Turns out Jei Li posting on his msdn blog detailing how to go about creating a slipstreamed installation for SP2 on this server <a href="http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx">Click here for the article</a>. Basically the steps are (pretty much word for word from Jei Li's blog):</p>
<ul>
<li>Install .Net Framework 3.5 SP1 in the features applet</li>
<li>Copy the installtion media contents to a folder on the computer (c:\install)</li>
<li>Download the<a href="http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en"> WSS x64 SP package </a>and the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082">MOSS 2007 SP2 x64 </a></li>
<li>Delete everything inside <strong>Updates</strong> folder in the install folder you setup.</li>
<li>Open a command prompt,  change directory to the folder you put the downloaded patches, and run the following two commands: 
<ul>
<li>wssv3sp2-kb953338-x64-fullfile-en-us.exe /extract:<strong>[Path to installation bits]</strong>\Updates /quiet</li>
<li>officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:<strong> [Path to installation bits]</strong>\Updates /quiet</li>
</ul>
</li>
<li>Delete the <strong>wsssetup.dll</strong> filein the updates dir. This is a very important step so please don’t miss it.</li>
<li>If you also need the Cumulative Updates to be applied when install SharePoint, download the latest Windows SharePoint Services 3.0 and SharePoint Server 2007 Cumulative Update packages and extract them into <strong>Updates</strong> folder like step 4.</li>
<li>Your slipstream build of SharePoint Server 2007 is done!</li>
<li>Go and install it on your Windows Server 2008 R2 box, after the installation, the site version will show <strong>12.0.0.6421 </strong>or possibly a higher version.</li>
</ul>
<p>Please reference Jei Li's post for furthur instuctions.  I only posted all the steps here because things have a mysterious way of dissappearing or not appearing at all on Microsofts site.</p>
<p>After doing all of this everything seems to be fine...seems to be <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Links</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc261890.aspx">http://technet.microsoft.com/en-us/library/cc261890.aspx</a></li>
<li><a href="http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx">http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en</a></li>
</ul>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/server' rel='tag' target='_self'>server</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a>, <a class='technorati-link' href='http://technorati.com/tag/windows+2008+r2' rel='tag' target='_self'>windows 2008 r2</a>, <a class='technorati-link' href='http://technorati.com/tag/x64' rel='tag' target='_self'>x64</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Windows 2008 Hyper-V Server</title>
		<link>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/</link>
		<comments>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 23:08:54 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=191</guid>
		<description><![CDATA[Recently I acquired some server class hardware (Dell PowerEdge 2950)  and I thought, hey this is a great opportunity for me to setup a virtual environment at home so I can test out some beta products and do some tinkering with Linux.  I have VMWare Workstation installed inside of Windows Vista machine at home [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I acquired some server class hardware (Dell PowerEdge 2950)  and I thought, hey this is a great opportunity for me to setup a virtual environment at home so I can test out some beta products and do some tinkering with Linux.  I have VMWare Workstation installed inside of Windows Vista machine at home and I have ubuntu 8.10 running in it and this seems to work ok but I have come across some issues with it that annoy me.</p>
<p>I was undecided on whether to install VMWare ESXi or Windows 2008 Hyper-V server.  Based on the title of this article you can probably guess which route I took.  I didn't decide to do this simply because I think Microsoft's virtualization platform is superior...I chose it simply because I use VMWare ESXi and ESX at work and was interested in seeing the capabilities of this free product in comparison.</p>
<p>After configuring the server with RAID 0  (faster and this is test) I popped the disk in and started installing.  Truth be told the installation was a breeze...so much so in fact that I started the install, watched a soccer game and when I came back it was ready for me to login.  I was a little confiused at first because at no point did I provide a username and password for the admin account but it prompted me at the login screen.  Didn't take long to figure out it was Administrator/-blank- to login.</p>
<p>This all seemed a little too good to be true and I quickly found out that it was...after downloading and installing the Hyper-V Manager MMC into my vista machine I found I could not connect to the server.   found this odd as the very purpose of this server is too allow connections.  Turns out there were a few steps I had to do:</p>
<ol>
<li>I had to <strong>add my user account (the vista one) to the server in order to pass my creds through</strong>.  I believe that once you have connected to it you can turn this off via the Hyper-V settings panel.</li>
<li>I had to <strong>turn off the server's firewall</strong> (I know, I know this is a bad thing but its a test box that will never see the outside world so...).  You can use the following command <em><strong><span>netsh firewall set opmode disable</span></strong></em></li>
<li><span>I was able to connect to the server...BUT when I tried to create a machine I would get an error about Access Denied.  So I <strong>added myself to the Administrators</strong> group on the server.  At this point I can now use MMC to do most admin work on the server from my Vista client</span></li>
<li><span>I then started getting the following when trying to connect: Hyper-V Access Denied. Unable to establish communication between ‘SERVER’ and ‘CLIENT’ .  Funny thing is it would let me create a virtual machine but I could never seem to connect to it.  This one was quite confusing so I turned to my trusty friend Google to help me resolve this...I came across a blog post of one <a href="http://www.carbonwind.net/blog/post/2008/12/31/Hyper-V-Server-2008%28workgroup%29-managed-from-Hyper-V-MMC-Vista-x64%28workgroup-too%29-How-it-worked-for-me.aspx" target="_blank">Adrian Dimcev here</a> and it had the solution I was looking for.   <strong>Word for word heres the instructions from his site:</strong></span>
<ul>
<li> Click Start, Run, type DCOMCNFG. Click OK.</li>
<li> Expand Component Services, expand Computers. Right-click on My Computer and click on Properties.</li>
<li> Click on COM Security.</li>
<li> In the Access Permission area, click Edit Limits.</li>
<li> Select ANONYMOUS LOGON in the Group or User Name area. Then set the Permissions for ANONYMOUS LOGON to Allow for Remote Access.</li>
</ul>
</li>
<li><span>After the previous breakthrough I got the following error (oh joy)  : <em>The application encountered an error when attempting to change the state of the 'machinename'.  The hypervisor is not running</em>....WHAT????? Ummmm yes it is......<br />
Ok turns out there is a very good reason for this as explained here in this <a href="http://technet.microsoft.com/en-us/library/cc742454.aspx" target="_blank">Microsoft article</a>.  All I had to do here was <strong>enable </strong></span><strong>hardware-assisted virtualization</strong><span><strong> in the BIOS</strong>.  After doing that it I was able to create my first machine in this environment == Ubuntu 9.</span></li>
</ol>
<p>After reading a little further on the internet it seems that my setup at home (using a workgroup) is not the best way to do this and is partly to blame for some of mine and other peoples issues.  All in all the installation was a success but seems a little more confusing than installing ESXi.  Either way my environment is up and running.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/hyper-v' rel='tag' target='_self'>hyper-v</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/server' rel='tag' target='_self'>server</a>, <a class='technorati-link' href='http://technorati.com/tag/virtualization' rel='tag' target='_self'>virtualization</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/08/29/setting-up-a-windows-2008-hyper-v-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GACUtil missing&#8230;Windows 2008/Visual Studio 2008 development machine</title>
		<link>http://www.calvinirwin.net/2009/08/24/gacutil-missing-windows-2008visual-studio-2008-development-machine/</link>
		<comments>http://www.calvinirwin.net/2009/08/24/gacutil-missing-windows-2008visual-studio-2008-development-machine/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:26:44 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[gac]]></category>
		<category><![CDATA[gacutil]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=188</guid>
		<description><![CDATA[Great post here with a fix/workaround.  Essentially when you go to look in the windows .net framework directory that program is not there.  In order to run this utility program you will need to use the Visual Studio command prompt that is in the Programs/Visual Studio menu.



Technorati Tags: Configuration, gac, gacutil, visual studio, [...]]]></description>
			<content:encoded><![CDATA[<p>Great post <a href="http://weblogs.asp.net/wenching/archive/2008/05/22/gacutil-missing-in-windows-server-2008-visual-studio-2008-installation.aspx">here</a> with a fix/workaround.  Essentially when you go to look in the windows .net framework directory that program is not there.  In order to run this utility program you will need to use the Visual Studio command prompt that is in the Programs/Visual Studio menu.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/gac' rel='tag' target='_self'>gac</a>, <a class='technorati-link' href='http://technorati.com/tag/gacutil' rel='tag' target='_self'>gacutil</a>, <a class='technorati-link' href='http://technorati.com/tag/visual+studio' rel='tag' target='_self'>visual studio</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/08/24/gacutil-missing-windows-2008visual-studio-2008-development-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DevConnections Wrap Up &#8211; Nov 2008</title>
		<link>http://www.calvinirwin.net/2009/07/26/devconnections-wrap-up-nov-2008/</link>
		<comments>http://www.calvinirwin.net/2009/07/26/devconnections-wrap-up-nov-2008/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 19:39:47 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[sql server 2005]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=41</guid>
		<description><![CDATA[From November 2008:
Whew...its been a long week and its only Thursday. This years conference was much the same as last years with the exception of being held in various portions of the Mandalay Bay convention center as opposed to on one floor. This made for lots and lots and lots and lots of walking. But [...]]]></description>
			<content:encoded><![CDATA[<p>From November 2008:</p>
<p>Whew...its been a long week and its only Thursday. This years conference was much the same as last years with the exception of being held in various portions of the Mandalay Bay convention center as opposed to on one floor. This made for lots and lots and lots and lots of walking. But I'm still young (yes i am) so it makes for good excercise to walk off all the food they shovel in your mouth.</p>
<p>Most of the sessions I attended were really good with the exception of a couple. I wouldn't blame the speakers because these problems were mostly due to technical issues like the computers not working, the projectors broken or feedback in the presenters microphone sort of thing. All in all there were some great things presented this week.</p>
<p>Some of the sessions that really stuck out were:</p>
<p><a href="http://www.sqlskills.com/blogs/kimberly/">Kimberly Tripp </a>- Index Internals and Usage<br />
This was a great session that talked about thins like SQL Server Statistics, Query Optimization, Types of indexes, diminishing returns on performance, etc. Of all the session I think this one stood out the most and because it is probably the most relevant for me right now being one of the "SQL Server DBA" for my company (<a href="http://www.christiedigital.com/">Christie Digital</a>). I say it that way because its a committee based DBA <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.west-wind.com/Weblog/">Rick Strahl </a>- Using WCF for JSON and REST Services with ASP.Net</p>
<p>Great session....last one of the conference for me so it really sticks out but essentially this covers the next gen replacement for ASMX or first gen webservices in the .NET Framework.</p>
<p><a href="http://www.johnpapa.net/">John Papa</a> - Practical Strategies with the Entity Framework</p>
<p>For me this was an introduction to the Entity Framework that was released in VS 2008 SP1. John did a great job of quickly introducing the technology and getting on to the meat and potatoes of what we were there to discuss. There was a good discussion on how to use the IDE to build the data mappings and what happens after you make changes to the backend server, which coinceidently can be any data source...not just SQL as Linq to SQL supports.</p>
<p>Things I would change...(and only because its my blog and I can say whatever I want!!!)</p>
<p>...the time between sessions was ridiculous...one hour or in some cases and hour and a half is just way too long. They could have added an extra session or two to the day. I realize they want you in the expo hall but they could have extended the day to facilitate that or leave it open all day and then some people may skip a couple of sessions here and there to go and see what the vendors are offering. this was my gripe last year and its my gripe this year. Its probably going to be the thing that keeps me from going to this in the future.</p>
<p>...provide video or podcasts of the sessions so we can take in the whole conference...even the sessions we didn't get to go to. I see there point about this being intellectual property and the speakers are consultants and this is their livelyhood but I mean if they are willing to teach this at a conference...and we pay to see it...shouldn't we be entitled to review this information after the fact? Maybe they will supply it on their site (i heard they were recording the sessions this year).</p>
<p>...ease up on the food. Damn, there was too much...I ate too much...I felt stuffed the whole time...I guess this is really my fault! Okay dont change that <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/.net' rel='tag' target='_self'>.net</a>, <a class='technorati-link' href='http://technorati.com/tag/ASP.NET' rel='tag' target='_self'>ASP.NET</a>, <a class='technorati-link' href='http://technorati.com/tag/conference' rel='tag' target='_self'>conference</a>, <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/SQL+Server' rel='tag' target='_self'>SQL Server</a>, <a class='technorati-link' href='http://technorati.com/tag/sql+server+2005' rel='tag' target='_self'>sql server 2005</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/07/26/devconnections-wrap-up-nov-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup your GAC to view it naked</title>
		<link>http://www.calvinirwin.net/2009/07/26/setup-your-gac-to-view-it-naked/</link>
		<comments>http://www.calvinirwin.net/2009/07/26/setup-your-gac-to-view-it-naked/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 19:32:19 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[gac]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=39</guid>
		<description><![CDATA[Heres a simple way for you to view your GAC in its naked state, go to the following registry location:

HKLM\Software\Microsoft\Fusion, once there create a DWORD value named "DisableCacheViewer" and set it to value 1. 
Easy!




Technorati Tags: .net, Configuration, gac


]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: arial;">Heres a simple way for you to view your GAC in its naked state, go to the following registry location:<br />
</span></p>
<p><span style="font-family: arial;">HKLM\Software\Microsoft\Fusion, once there create a DWORD value named "DisableCacheViewer" and set it to value 1. </span></p>
<p><span style="font-family: arial;">Easy!<br />
</span></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/.net' rel='tag' target='_self'>.net</a>, <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/gac' rel='tag' target='_self'>gac</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/07/26/setup-your-gac-to-view-it-naked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting to a SharePoint Standalone instance DB</title>
		<link>http://www.calvinirwin.net/2009/07/26/connecting-to-a-sharepoint-standalone-instance-db/</link>
		<comments>http://www.calvinirwin.net/2009/07/26/connecting-to-a-sharepoint-standalone-instance-db/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 19:30:02 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[sql server 2005]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=37</guid>
		<description><![CDATA[Kudos to Scott Elliott a colleague of mine for putting this together...
Here is how I got my SQL Express to remotely respond to SQL Management Studio.
In SQL Server Configuration Manager:
Under SQL Server 2005 Network Configuration:
Protocols for

 Enable Shared Memory
 Enable Name Pipes
 Enable TCP/IP

Under SQL Server 2005 Servers

 SQL Server (ServerInstance) Properties

Log on as: Local [...]]]></description>
			<content:encoded><![CDATA[<p>Kudos to Scott Elliott a colleague of mine for putting this together...</p>
<p>Here is how I got my SQL Express to remotely respond to SQL Management Studio.</p>
<p>In SQL Server Configuration Manager:<br />
Under SQL Server 2005 Network Configuration:<br />
Protocols for</p>
<ul>
<li> Enable Shared Memory</li>
<li> Enable Name Pipes</li>
<li> Enable TCP/IP</li>
</ul>
<p>Under SQL Server 2005 Servers</p>
<ul>
<li> SQL Server (ServerInstance) Properties</li>
</ul>
<p>Log on as: Local System (have to restart)<br />
SQL Server Browser</p>
<ul>
<li> Log on as: Local System (may have to enable this service first in the Services MMC applet)</li>
</ul>
<p>And with that, you should be able to remotely connect! Hazzah!</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Security' rel='tag' target='_self'>Security</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/SQL+Server' rel='tag' target='_self'>SQL Server</a>, <a class='technorati-link' href='http://technorati.com/tag/sql+server+2005' rel='tag' target='_self'>sql server 2005</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/07/26/connecting-to-a-sharepoint-standalone-instance-db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

