<?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>JasonSamuel.com &#187; Windows Server 2008</title>
	<atom:link href="http://www.jasonsamuel.com/category/windows-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonsamuel.com</link>
	<description>Cool stuff I see in the IT world</description>
	<lastBuildDate>Sat, 17 Jul 2010 21:35:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>MSMQ messages stuck in the outgoing queue after cloning servers</title>
		<link>http://www.jasonsamuel.com/2010/06/30/msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers</link>
		<comments>http://www.jasonsamuel.com/2010/06/30/msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:52:48 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[MSMQ]]></category>
		<category><![CDATA[Windows Server 2000]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=471</guid>
		<description><![CDATA[Always remember to sysprep when cloning a node! MSMQ (Microsoft Message Queuing) uses a registry valued called QMId located at: HKLM\Software\Microsoft\MSMQ\Parameters\Machine Cache which has to be unique on all your servers or it will cause all sorts of issues. Sysprepping a server generates a new SID which also generates a new QMId in the process. [...]<p><a href="http://www.jasonsamuel.com/2010/06/30/msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers/">MSMQ messages stuck in the outgoing queue after cloning servers</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
<li><a href='http://www.jasonsamuel.com/2010/01/13/how-to-tell-which-com-application-belongs-to-what-dllhost-exe-in-iis/' rel='bookmark' title='Permanent Link: How to tell which COM+ Application belongs to what dllhost.exe in IIS'>How to tell which COM+ Application belongs to what dllhost.exe in IIS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Always remember to sysprep when cloning a node!  MSMQ (Microsoft Message Queuing) uses a registry valued called <strong>QMId</strong> located at:</p>
<p><strong>HKLM\Software\Microsoft\MSMQ\Parameters\Machine Cache</strong></p>
<p>which has to be unique on all your servers or it will cause all sorts of issues. Sysprepping a server generates a new SID which also generates a new QMId in the process.  If you don&#8217;t do this and have multiple servers out there with the same QMId, you will see strange things like messages remaining in the outgoing queue in limbo and sometimes just disappear completely with no trace in journaling anywhere.  Bottom line, don&#8217;t confuse MSMQ!  It&#8217;s fragile!</p>
<p>Thankfully John Breakwell (MSMQ guru at Microsoft) blogged about this exact issue which made me realize what was going on in the environment I was troubleshooting.  Well done John!</p>
<p><a href="http://blogs.msdn.com/b/johnbreakwell/archive/2007/02/06/msmq-prefers-to-be-unique.aspx">http://blogs.msdn.com/b/johnbreakwell/archive/2007/02/06/msmq-prefers-to-be-unique.aspx</a></p>
<p>I simply ran sysprep and resealed the clone to fix it.  It automatically generated a new QMId in the process so I didn&#8217;t have to follow the exact steps John had blogged about.  It was a simple mistake which can be avoided in the future by using the Guest Customization Wizard in VC to automatically sysprep when creating the clone.</p>
<p>BTW, you can check if your SIDs are identical on a server by using getsid.exe.  Download the Windows XP Service Pack 2 Support Tools:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&#038;displaylang=en</a></p>
<p>and use the getsid.exe tool to compare SIDs on your Windows servers.  Usage syntax is here:</p>
<p><a href="http://technet.microsoft.com/en-us/library/cc784314%28WS.10%29.aspx">http://technet.microsoft.com/en-us/library/cc784314%28WS.10%29.aspx</a></p>
<p>Since I&#8217;m blogging about MSMQ, let me take a moment to plug QueueExplorer (<a href="http://www.cogin.com/mq">http://www.cogin.com/mq</a>).  This is hands down the best MSMQ management software I have ever used and the developer is very open to feature requests.  Give them some business and tell them Jason sent ya! <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Check out a screenshot of it below:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/06/queuexplorer.gif"><img src="http://www.jasonsamuel.com/wp-content/uploads/2010/06/queuexplorer-300x207.gif" alt="" title="queuexplorer" width="300" height="207" class="aligncenter size-medium wp-image-476" /></a></p>
<p><a href="http://www.jasonsamuel.com/2010/06/30/msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers/">MSMQ messages stuck in the outgoing queue after cloning servers</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
<li><a href='http://www.jasonsamuel.com/2010/01/13/how-to-tell-which-com-application-belongs-to-what-dllhost-exe-in-iis/' rel='bookmark' title='Permanent Link: How to tell which COM+ Application belongs to what dllhost.exe in IIS'>How to tell which COM+ Application belongs to what dllhost.exe in IIS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/06/30/msmq-messages-stuck-in-the-outgoing-queue-after-cloning-servers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to fix an IP address conflict on your network caused by a VM using PowerCLI</title>
		<link>http://www.jasonsamuel.com/2010/06/11/how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli</link>
		<comments>http://www.jasonsamuel.com/2010/06/11/how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 22:07:58 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[VMware ESX]]></category>
		<category><![CDATA[VMware ESXi]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[Windows Server 2000]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=434</guid>
		<description><![CDATA[IP Address conflict? Have you narrowed the MAC down to being a VM in one of your ESX/vSphere clusters? Well use vSphere PowerCLI to figure out what device and adapter is causing the conflict. Example, if your MAC is 005056b60b13: Get-vm &#124; Select Name, @{N=“Network“;E={$_ &#124; Get-networkAdapter &#124; ? {$_.macaddress -eq “00:50:56:b6:0b:13“}}} &#124;Where {$_.Network-ne “”} [...]<p><a href="http://www.jasonsamuel.com/2010/06/11/how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli/">How to fix an IP address conflict on your network caused by a VM using PowerCLI</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/11/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='Permanent Link: VMware vSphere PowerCLI scripts to make your ESX Admin life easier'>VMware vSphere PowerCLI scripts to make your ESX Admin life easier</a></li>
<li><a href='http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/' rel='bookmark' title='Permanent Link: How to Build a VMware vSphere VM Template for Windows Server 2008 R2'>How to Build a VMware vSphere VM Template for Windows Server 2008 R2</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>IP Address conflict?  Have you narrowed the MAC down to being a VM in one of your ESX/vSphere clusters?  Well use vSphere PowerCLI to figure out what device and adapter is causing the conflict.  </p>
<p>Example, if your MAC is 005056b60b13:</p>
<p>Get-vm | Select Name, @{N=“Network“;E={$_ | Get-networkAdapter | ? {$_.macaddress -eq “00:50:56:b6:0b:13“}}} |Where {$_.Network-ne “”}</p>
<p>And it will output the VM name and the Network Adapter causing the conflict.  <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.jasonsamuel.com/2010/06/11/how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli/">How to fix an IP address conflict on your network caused by a VM using PowerCLI</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/11/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='Permanent Link: VMware vSphere PowerCLI scripts to make your ESX Admin life easier'>VMware vSphere PowerCLI scripts to make your ESX Admin life easier</a></li>
<li><a href='http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/' rel='bookmark' title='Permanent Link: How to Build a VMware vSphere VM Template for Windows Server 2008 R2'>How to Build a VMware vSphere VM Template for Windows Server 2008 R2</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/06/11/how-to-fix-an-ip-address-conflict-on-your-network-caused-by-a-vm-using-powercli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Build a VMware vSphere VM Template for Windows Server 2008 R2</title>
		<link>http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2</link>
		<comments>http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/#comments</comments>
		<pubDate>Fri, 07 May 2010 17:44:04 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[VMware ESX]]></category>
		<category><![CDATA[VMware ESXi]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[esx template]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[vmware template]]></category>
		<category><![CDATA[vsphere template]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=387</guid>
		<description><![CDATA[A co-worker and myself were asked to create a VMware vSphere (ESX) template for Server 2008 R2 and it&#8217;s not as easy as you might think. Over the course of a day and half and through much research and trial and error, we have come up with the perfect template for our organization. It&#8217;s a [...]<p><a href="http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/">How to Build a VMware vSphere VM Template for Windows Server 2008 R2</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/' rel='bookmark' title='Permanent Link: What&#8217;s new and actually useful in Server 2008 R2?'>What&#8217;s new and actually useful in Server 2008 R2?</a></li>
<li><a href='http://www.jasonsamuel.com/2009/11/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='Permanent Link: VMware vSphere PowerCLI scripts to make your ESX Admin life easier'>VMware vSphere PowerCLI scripts to make your ESX Admin life easier</a></li>
<li><a href='http://www.jasonsamuel.com/2010/03/11/how-to-solve-the-vmware-pci-to-pci-bridge-detected-install-loop/' rel='bookmark' title='Permanent Link: How to solve the VMware &#8220;PCI to PCI bridge detected&#8221; install loop'>How to solve the VMware &#8220;PCI to PCI bridge detected&#8221; install loop</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A co-worker and myself were asked to create a VMware vSphere (ESX) template for Server 2008 R2 and it&#8217;s not as easy as you might think.  Over the course of a day and half and through much research and trial and error, we have come up with the perfect template for our organization.  It&#8217;s a perfect base template for us but depending on where you intend to deploy it and your own organization&#8217;s requirements, you may have to edit it a bit.  We intend to tweak the template even further and possibly even create separate images depending on if the VM will be deployed internally or externally.  Please do comment if you have any suggestions or think we may have missed something.</p>
<p>Building a VMware template for Server 2008 vs. Server 2008 R2 has some differences.  This blog post will cover everything we did to successfully get it working and a detailed explanation of why we chose certain settings.  Big thanks to to Jeremy Waldrop and his <a href="http://jeremywaldrop.wordpress.com/2008/10/28/how-to-build-a-windows-2008-vmware-esx-vm-template/" target="_blank">blog post</a> that described setting up a template for 2008 which helped us quite a bit in our research to create the perfect template for 2008 R2.</p>
<p><strong>OS Used: </strong>Windows Server 2008 R2 Standard (x64) Volume License Edition</p>
<p><strong>VM Hardware config: </strong></p>
<ul>
<li>Single vCPU</li>
<li> 4 GB RAM</li>
<li> 40 GB Primary Hard Drive (for Operating System)</li>
<li> 10 GB Secondary Hard Drive (for Page File</li>
<li>LSI Logic SAS SCSI Controller</li>
<li>VMXNet 3 Network Adapter</li>
</ul>
<p>I know most organizations using Server 2003 have always done a 20 GB C: partition.  With 2008, I suggest going to 40 GB OS drives as a standard.  Server 2008 (especially x64 versions) requires more space.  Out of the box 2008 R2 x64 takes up 10 GB.  Also Server 2008 has a component store (c:\windows\winsxs) which is very large.  This is because 2008 no longer uses i386, everything is stored locally already in this component store folder.  Remember, Server 2008 and any future MS product is all about componentization!!  When you install a component from this store, my understanding is that it is “projected” to the OS.  So basically Windows 2008 installed components run from this component store essentially.  As the system receives updates over time, expect this directory to grow even larger since it never deletes old stuff.  Think of the different versions of kind of stacking on each other.  I believe with each service pack there is a tool to uninstall components that are no longer necessary or superseded.  So stick with a 40 GB OS partition and you should be fine for a long time.  You will also notice we have a 10 GB secondary drive for a page file.  We&#8217;ll get to that later in the article.</p>
<p><strong>Now on to the actual build: </strong></p>
<ol>
<li><strong>First create a new VM</strong>
<ul>
<li>Select Custom Configuration</li>
<li>Enter VM Name and Inventory Location</li>
<li> Select Datastore</li>
<li>Select Virtual Machine Version: 7</li>
<li>Select “Microsoft Windows Server 2008 R2 (64-bit)” as OS Version</li>
<li># of Virtual Processors: 1</li>
<li>Amount of RAM: 4GB</li>
<li>Network
<ul>
<li># of NICs: 1</li>
<li>Adapter Type: VMXNET 3</li>
<li>Select “Connect at Power On</li>
</ul>
</li>
<li>SCSI Controller: LSI Logic SAS</li>
<li>Create New Virtual Disk: 40GB</li>
<li>Advanced Options: No Change</li>
</ul>
</li>
<li><strong>Now prepare the virtual hardware:</strong>
<ul>
<li>Edit       VM Settings &gt; Options &gt; General Section &gt; Uncheck “Enable       logging”</li>
</ul>
<ul>
<li>Boot       Options &gt; Check box to force going into the BIOS on next boot</li>
<li>Power       on the VM (will go directly to BIOS) &gt; Advanced &gt; I/O Device       Configuration:
<ul>
<li>Disable        Serial port A</li>
<li>Disable        Serial port B</li>
<li>Disable        Parallel port</li>
</ul>
</li>
<li>Exit and Save</li>
</ul>
</li>
<li><strong> OS Installation and Configuration</strong>
<ul>
<li>Install      Windows 2008 R2 Standard – Full Install</li>
<li> After      OS install and reboot, change Administrator Password (will prompt)</li>
<li>Disconnect      Windows 2008 R2 ISO and set device type to Client Device</li>
<li>Set      Time Zone</li>
<li>VMware      Tools Install
<ul style="margin-top: 0in;" type="circle">
<li class="MsoNormal">Install       VMtools, choose Custom Install Type</li>
<li class="MsoNormal">Disable       the “Shared Folders” drive and install Tools ** Note we are disable Shared Folder due to profile loading issues which was documented even back in ESX 3.5 and VMware Tools <a href="http://communities.vmware.com/message/669536" target="_blank">here</a> on the VMare Communities forum. I have not personally had an issue leaving it enabled but just to be cautious and the fact we don&#8217;t use this feature in our organization, we have left it disabled.</li>
<li class="MsoNormal">Set time synching between the VM and ESX host</li>
<li class="MsoNormal">Reboot       after Tools Install</li>
</ul>
</li>
<li>Network      Configuration
<ul>
<li>From       Server Manager, select View Network Connections</li>
<li>Right       click on Local Area Connection and select properties</li>
<li>Uninstall       QoS Packet Scheduler and both Link-Layer Topologies (Mapper &amp; Responder) ** We don&#8217;t do QOS at the server level, our switches do that. Link Layer is not used by us.</li>
<li>Uncheck       IPv6 and close network connection screens ** We don&#8217;t use IPv6 yet so we disabled it for now</li>
</ul>
</li>
<li>Server      Name
<ul>
<li>From       Server Manger select Change System Properties</li>
<li>On       System Properties screen click Change on Computer Name Tab</li>
<li>Set       Server Name and restart</li>
</ul>
</li>
<li>Windows      Updates
<ul>
<li>From       Server Manager under Security Information, select Configure Updates</li>
<li>Select       Let me choose</li>
<li>Under       Important Updates, select Never check for updates, click ok</li>
<li>Start       &gt; All Programs &gt; Windows Update &gt; Check for updates and install       all Recommended Updates</li>
</ul>
</li>
<li>Enable      Remote Desktop, choose “Allow connections from computers running any      version of Remote Desktop” (2<sup>nd</sup> option)</li>
<li>Disable      Windows Firewall</li>
<li>From      Server Manager, select “Do not show me this console at logon” and close      Server Manager</li>
<li>Taskbar      Changes
<ul>
<li>Right       click 3<sup>rd</sup> icon from Start Button (Windows Explorer) and select       “Unpin this program from taskbar”</li>
<li>Right       click 2<sup>nd</sup> icon from Start Button (Windows PowerShell) and       select “Unpin this program from taskbar”</li>
<li>Right       click Taskbar and choose Properties and choose Customize under       Notification Area</li>
<li>Select       “Turn system icons on or off”, and turn Volume Off, click Ok</li>
</ul>
</li>
<li>System      Performance
<ul>
<li>From       Server Manager select Change System Properties</li>
<li>Select       Advanced Tab &gt; Settings and choose “Adjust for best performance”</li>
</ul>
</li>
<li>Folder      and Search Options
<ul>
<li>Open       “Computer” &gt; Select Organize &gt; Choose Folder and search options</li>
<li>Under       View Tab
<ul>
<li>Select        “Show hidden files, folders and drives”</li>
<li>Uncheck        “Hide extensions for known file types”</li>
</ul>
</li>
</ul>
</li>
<li class="MsoNormal">IE       ESC
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">From        Security Information Section, select Configure IE ESC
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal">Change         Administrators to Off and leave Users On ** My reasoning for this is the only &#8220;Users&#8221; should be service accounts on a server so leaving it On should not matter</li>
</ul>
</li>
</ul>
</li>
<li class="MsoNormal">Change       IE Home Page to blank so you don&#8217;t get that pesky Internet Exploer Enhanced Security Configuration warning page</li>
<li class="MsoNormal">Under       Computer, right click c: and select properties, uncheck “Allow files on       this drive to have contents indexed in addition to file properties”
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">Apply        changes to c:\ and all subfolder/files</li>
<li class="MsoNormal">Continue/Ignore        on Access Denied errors</li>
</ul>
</li>
<li class="MsoNormal">Power       Options (from Control Panel)
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">Change        option to High Performance</li>
</ul>
</li>
<li class="MsoNormal">Disable       Hibernation
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">Command        Prompt, enter <strong>powercfg.exe –h off</strong></li>
</ul>
</li>
<li class="MsoNormal">Delete       the Page file and reboot (so c:\ can be fully defragmented)</li>
<li class="MsoNormal">Run       defrag</li>
<li class="MsoNormal">Page       File
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">Edit        VM Properties</li>
<li class="MsoNormal">Add        a 2<sup>nd</sup> hard drive (10GB) and change to SCSI (1:0)</li>
<li class="MsoNormal">Run        Disk Manager and format as Z:\ drive ** We use Z: as the drive letter so it does not interfere with adding additional drives later on.</li>
<li class="MsoNormal">From        Server Manager, select System Properties &gt; Advanced &gt; Performance        Settings &gt; Advanced &gt; Virtual Memory Change
<ul style="margin-top: 0in;" type="disc">
<li class="MsoNormal">Assign         1024MB Page file to c:\</li>
<li class="MsoNormal">Assign          5120MB Page file to z:\</li>
</ul>
</li>
</ul>
</li>
<li class="MsoNormal">SNMP
<ul style="margin-top: 0in;" type="square">
<li class="MsoNormal">Server        Manager &gt; Add Features &gt; SNMP</li>
<li class="MsoNormal">Server        Manager &gt; Configuration &gt; Services &gt; SNMP &gt; Security
<ul>
<li>Accepted          community names – Add your community (as READ ONLY)</li>
<li>Accept          SNMP Packets from these hosts &#8211; Add your hosts (remember to leave localhost in there)
	</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><strong>Turn VM into a Template </strong><strong> <br />
  </strong>This       procedure will copy the Administrator account profile into the default       user profile so that all users that login or that will be created in the future will get the same profile with all the customizations you have done above. When you sysrep a server template and create a new VM from it, a new SID is generated which means a new local Administratior account is created during the sysrep procedure. This means all the cuztomizations you have done will be wiped out above unless you copy all your settings above when you create a new VM. In the past with Server 2003 and even Server 2008, you had the &#8220;Copy To&#8221; feature to copy a user profile to another. With Server 2008 R2, Microsoft has disabled this feature. It is now done via an unattend.xml file using the &#8220;CopyProfile&#8221; node. I actually prefer this method now after doing it a few times. This       procedure is detailed per the Microsoft KB article <a href="http://support.microsoft.com/kb/959753">http://support.microsoft.com/kb/959753</a></p>
<ul>
<li>Create       unattend.xml in “<strong>c:\windows\system32\sysprep</strong>” folder as follows. NOTE: Do not copy and paste the text below because WordPress messes up the quotes which will lead to errors during sysprep. Please right click-save as <a href="http://www.jasonsamuel.com/wp-content/uploads/2010/05/unattend.txt" target="_blank">this link</a> and copy and paste from the txt file instead.<br />
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</p>
<p>            &lt;unattend xmlns=&#8221;urn:schemas-microsoft-com:unattend&#8221;&gt;</p>
<p>            &lt;settings pass=&#8221;specialize&#8221;&gt;</p>
<p>            &lt;component name=&#8221;Microsoft-Windows-Shell-Setup&#8221; processorArchitecture=&#8221;amd64&#8243; publicKeyToken=&#8221;31bf3856ad364e35&#8243; language=&#8221;neutral&#8221; versionScope=&#8221;nonSxS&#8221; xmlns:wcm=&#8221;http://schemas.microsoft.com/WMIConfig/2002/State&#8221; xmlns:xsi=&#8221;http://www.w3.org/2001/XMLSchema-instance&#8221;&gt;</p>
<p>            &lt;RegisteredOrganization&gt;Your Organization Name&lt;/RegisteredOrganization&gt;</p>
<p>            &lt;RegisteredOwner&gt;Your Registered Owner&lt;/RegisteredOwner&gt;</p>
<p>            &lt;CopyProfile&gt;true&lt;/CopyProfile&gt;</p>
<p>            &lt;/component&gt;</p>
<p>            &lt;/settings&gt;</p>
<p>            &lt;cpi:offlineImage cpi:source=&#8221;wim:f:/sources/install.wim#Windows Server 2008 R2 SERVERSTANDARD&#8221; xmlns:cpi=&#8221;urn:schemas-microsoft-com:cpi&#8221; /&gt;</p>
<p>            &lt;/unattend&gt;</p></blockquote>
</li>
<li>At       command prompt, type the following command:<br />
<blockquote><p><strong> C:\windows\system32\sysprep\sysprep.exe  /generalize /unattend:unattend.xml</strong></p></blockquote>
</li>
<li> System Preparation Tool 3.14
<ul>
<li>Choose Enter System OOBE</li>
<li>Check Generalize button</li>
<li>Leave shutdown option as reboot</li>
<li>Click OK</li>
</ul>
</li>
</ul>
<ul>
<li>Release the IP and turn VM into a template in Virtual Center
</li>
</ul>
</li>
<p>I hope this guide we wrote helps someone out there and saves you time. If you have any suggestions or questions, please leave a comment. I can take screenshots of any parts above you are confused on. I am also interested in knowing about more performance related customizations you guys might use we can add to your template so if you have any, please let me know. <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </ol>
<p><a href="http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/">How to Build a VMware vSphere VM Template for Windows Server 2008 R2</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/' rel='bookmark' title='Permanent Link: What&#8217;s new and actually useful in Server 2008 R2?'>What&#8217;s new and actually useful in Server 2008 R2?</a></li>
<li><a href='http://www.jasonsamuel.com/2009/11/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='Permanent Link: VMware vSphere PowerCLI scripts to make your ESX Admin life easier'>VMware vSphere PowerCLI scripts to make your ESX Admin life easier</a></li>
<li><a href='http://www.jasonsamuel.com/2010/03/11/how-to-solve-the-vmware-pci-to-pci-bridge-detected-install-loop/' rel='bookmark' title='Permanent Link: How to solve the VMware &#8220;PCI to PCI bridge detected&#8221; install loop'>How to solve the VMware &#8220;PCI to PCI bridge detected&#8221; install loop</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/05/07/how-to-build-a-vmware-vsphere-vm-template-for-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Double checking your system after recovering from a corrupted OS</title>
		<link>http://www.jasonsamuel.com/2010/04/09/double-checking-your-system-after-recovering-from-a-corrupted-os/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=double-checking-your-system-after-recovering-from-a-corrupted-os</link>
		<comments>http://www.jasonsamuel.com/2010/04/09/double-checking-your-system-after-recovering-from-a-corrupted-os/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 21:36:52 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Windows Server 2000]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[repair corrupt OS]]></category>
		<category><![CDATA[sfc check]]></category>
		<category><![CDATA[windows server]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=374</guid>
		<description><![CDATA[Disasters happen and with a bit of skill and some luck, you might be able to get back into your operating system.  But you might notice a bunch of things out of place or missing if you had to do a Windows repair or use the Recovery Console to set things back to factory settings. [...]<p><a href="http://www.jasonsamuel.com/2010/04/09/double-checking-your-system-after-recovering-from-a-corrupted-os/">Double checking your system after recovering from a corrupted OS</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Disasters happen and with a bit of skill and some luck, you might be able to get back into your operating system.  But you might notice a bunch of things out of place or missing if you had to do a Windows repair or use the Recovery Console to set things back to factory settings.</p>
<p>One of the tools I like to use is System File Checker (sfc.exe) which compares your file system against the original install disk and replaces missing or corrupt system files as needed.  Just go to a command prompt and type:</p>
<blockquote><p><strong>sfc /scannow</strong></p></blockquote>
<p>and Windows File Protection will begin scanning all your protected system files immediately.  If you get a prompt asking you to insert a disk, just cancel out and edit your registry key here:</p>
<blockquote><p><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup</strong></p></blockquote>
<p>and verify SourcePath is set to your CD-ROM drive with your install CD in it.  You&#8217;ll have to reboot to make sure the changes take effect.  Also you might want to verify:</p>
<blockquote><p><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ServicePackSourcePath</strong></p></blockquote>
<p>is set to C:\WINDOWS\ServicePackFiles just so your service packs you have installed after installing the original OS are taken into account and not overwritten by older versions.</p>
<p><a href="http://www.jasonsamuel.com/2010/04/09/double-checking-your-system-after-recovering-from-a-corrupted-os/">Double checking your system after recovering from a corrupted OS</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/04/09/double-checking-your-system-after-recovering-from-a-corrupted-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A quick way to troubleshoot SSL chain issues using OpenSSL</title>
		<link>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl</link>
		<comments>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 17:07:48 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[ssl certificates]]></category>
		<category><![CDATA[ssl chain]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=340</guid>
		<description><![CDATA[You can use OpenSSL and run this command: openssl.exe s_client -connect www.mysite.com:443 which will use a generic SSL/TLS client to connect to your site and give you a ton of diagnostic info.  You can see your entire SSL cert chain, the SSL handshake, SSL session info, etc.  Here&#8217;s a full list of switches you can [...]<p><a href="http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/">A quick way to troubleshoot SSL chain issues using OpenSSL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>You can use OpenSSL and run this command:</p>
<blockquote><p>openssl.exe s_client -connect www.mysite.com:443</p></blockquote>
<p>which will use a generic SSL/TLS client to connect to your site and give you a ton of diagnostic info.  You can see your entire SSL cert chain, the SSL handshake, SSL session info, etc.  Here&#8217;s a full list of switches you can use with it:  <a href="http://www.openssl.org/docs/apps/s_client.html">http://www.openssl.org/docs/apps/s_client.html</a></p>
<p>And here&#8217;s a great online tool to graphically verify your SSL chain is intact:  <a href="http://www.sslshopper.com/ssl-checker.html">http://www.sslshopper.com/ssl-checker.html</a></p>
<p><a href="http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/">A quick way to troubleshoot SSL chain issues using OpenSSL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='Permanent Link: SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/01/14/a-quick-way-to-troubleshoot-ssl-chain-issues-using-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a custom event log under Event Viewer to log server events</title>
		<link>http://www.jasonsamuel.com/2010/01/08/creating-a-custom-event-log-under-event-viewer-to-log-server-events/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=creating-a-custom-event-log-under-event-viewer-to-log-server-events</link>
		<comments>http://www.jasonsamuel.com/2010/01/08/creating-a-custom-event-log-under-event-viewer-to-log-server-events/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 17:41:43 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[event log]]></category>
		<category><![CDATA[event viewer]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=321</guid>
		<description><![CDATA[By default, most applications write events to the Application Event Log.  This is a great central place to write logs to but sometimes you might have a requirement to log informational events from an application and you don&#8217;t want it filling up your Application Event Log because of the sheer number of informational events you [...]<p><a href="http://www.jasonsamuel.com/2010/01/08/creating-a-custom-event-log-under-event-viewer-to-log-server-events/">Creating a custom event log under Event Viewer to log server events</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/' rel='bookmark' title='Permanent Link: Troubleshooting .NET 2.0 and WMI perfmon counters'>Troubleshooting .NET 2.0 and WMI perfmon counters</a></li>
<li><a href='http://www.jasonsamuel.com/2009/08/11/changing-the-host-header-for-an-already-existing-sharepoint-site-application/' rel='bookmark' title='Permanent Link: Changing the host header for an already existing Sharepoint site/application'>Changing the host header for an already existing Sharepoint site/application</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>By default, most applications write events to the Application Event Log.  This is a great central place to write logs to but sometimes you might have a requirement to log informational events from an application and you don&#8217;t want it filling up your Application Event Log because of the sheer number of informational events you might get a short period of time.  The solution is to create a custom event log for your application to hold these events.  You can then set max log size, overwrite rules, filters, etc. on this event log while your Application Event Log remains clean and intact.</p>
<p>The first step is to create the new log.  You have to do this in the registry.  Open up regedit and navigate to:</p>
<blockquote><p><strong>HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog</strong></p></blockquote>
<p>Right click on the Eventlog key and click New &gt; Key</p>
<p>Name this new key the same name you want your new event log to be named.  By default it will create the new .evt file here:</p>
<blockquote><p><strong>C:\WINDOWS\System32\Config\New Key #1.evt</strong></p></blockquote>
<p>You can always rename it by editing the string value data in the registry if you like.</p>
<p>Now you need to add Sources to your new event log.  Right click in the right window pane under your new key and add a new Multi-String value called &#8220;Sources&#8221; and add the name of each of your applications on each line.  It should look something like this:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/11.gif"><img class="alignnone size-medium wp-image-325" title="1" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/11-300x66.gif" alt="" width="300" height="66" /></a></p>
<p>Now you need to move the association of your application from the Application event log to your new Custom log.  Just expand the &#8220;Application&#8221; key located at:</p>
<blockquote><p><strong>HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application</strong></p></blockquote>
<p>and copy whatever key you see in there for your app under your new Custom log:</p>
<blockquote><p><strong>HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\CustomLog</strong></p></blockquote>
<p>There&#8217;s no copy/paste command so you can recreate the key if it&#8217;s small or you can export/import if it&#8217;s something complicated and you are afraid of mistyping something.  MAKE SURE to delete it from Application after you add it to the Custom log or it will not write events to your new log since Windows thinks its still associated with the Application log.  If it is a custom source, you need to create a DWORD value under this key with the value of 1:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2010/01/21.gif"><img class="alignnone size-medium wp-image-326" title="2" src="http://www.jasonsamuel.com/wp-content/uploads/2010/01/21-300x53.gif" alt="" width="300" height="53" /></a></p>
<p>You will also notice my custom app in this example is a .NET 2.0 appliaction so I want .NET to write the events to the log.  I have to create a string value called EventMessageFile and give it the path to the .NET 2.0 event log message dll:</p>
<blockquote><p><strong>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\EventLogMessages.dll</strong></p></blockquote>
<p>Now you should reboot your server.  When it&#8217;s back up, check and see if your new event log appears under Event Viewer.  If your application is not writing events to your new log, test it manually by opening a command prompt and going to:</p>
<blockquote><p><strong>C:\WINDOWS\system32</strong></p></blockquote>
<p>and typing:</p>
<blockquote><p><strong>eventcreate /l CustomLog /t Information /so Application1 /id 1 /d &#8220;Test message&#8221;</strong></p></blockquote>
<p>You should get a message saying it was successfully written or you should get an error message with details on why it was not written.  If you followed the steps in this blog post, it should write the event just fine.</p>
<p><a href="http://www.jasonsamuel.com/2010/01/08/creating-a-custom-event-log-under-event-viewer-to-log-server-events/">Creating a custom event log under Event Viewer to log server events</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/' rel='bookmark' title='Permanent Link: Troubleshooting .NET 2.0 and WMI perfmon counters'>Troubleshooting .NET 2.0 and WMI perfmon counters</a></li>
<li><a href='http://www.jasonsamuel.com/2009/08/11/changing-the-host-header-for-an-already-existing-sharepoint-site-application/' rel='bookmark' title='Permanent Link: Changing the host header for an already existing Sharepoint site/application'>Changing the host header for an already existing Sharepoint site/application</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2010/01/08/creating-a-custom-event-log-under-event-viewer-to-log-server-events/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to clear a hung profile in Urchin 6</title>
		<link>http://www.jasonsamuel.com/2009/12/01/how-to-clear-a-hung-profile-in-urchin-6/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-clear-a-hung-profile-in-urchin-6</link>
		<comments>http://www.jasonsamuel.com/2009/12/01/how-to-clear-a-hung-profile-in-urchin-6/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:03:14 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Urchin 6]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=280</guid>
		<description><![CDATA[If you&#8217;ve ever used Urchin 6 for web analytics (Google&#8217;s pay for version of Google Analytics aimed at enterprises), you have probably seen profiles stuck in a &#8220;Running&#8221; state.  If you hit Run Now, you get this error message: 12008 &#8211; Action: Failed to cancel urchin process. If you try to reschedule the profile, you [...]<p><a href="http://www.jasonsamuel.com/2009/12/01/how-to-clear-a-hung-profile-in-urchin-6/">How to clear a hung profile in Urchin 6</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever used <a href="http://www.google.com/urchin/" target="_blank">Urchin 6</a> for web analytics (Google&#8217;s pay for version of Google Analytics aimed at enterprises), you have probably seen profiles stuck in a &#8220;Running&#8221; state.  If you hit Run Now, you get this error message:</p>
<blockquote><p>12008 &#8211; Action: Failed to cancel urchin process.</p></blockquote>
<p>If you try to reschedule the profile, you get this error message:</p>
<blockquote><p>12007 &#8211; Action: Failed to add profile to the scheduler queue. The profile is already in the queue.</p></blockquote>
<p>This happens because Urchin&#8217;s scheduler is very sensitive to server reboots.  If you have jobs scheduled to run at night and let&#8217;s say you push patches to the server and reboot in the middle of the night, it can cause this error to appear on some of your profiles.  You get these errors because the log processing engine and scheduler never received the proper exit signals which means there will be database entries in the MySQL database that will be in an inconsistent state.  When the server boots back up, the log processing engine cannot pick back up where it stopped and the web GUI will show the profile is &#8220;Running&#8221; even though it is not.</p>
<p>The quick solution for this is to navigate to your Urchin bin folder via command prompt.  Here is an example path:</p>
<p>C:\Program Files\Urchin6\bin</p>
<p>then type:</p>
<blockquote><p>urchinctl stop</p></blockquote>
<p>which will stop all Urchin processes.  Then open up MySQL Command Line Client and type:</p>
<blockquote><p>use urchin;<br />
delete from uprofiles_queue;</p></blockquote>
<p><img class="alignnone size-full wp-image-287" title="urchin6_mysql" src="http://www.jasonsamuel.com/wp-content/uploads/2009/12/urchin6_mysql.gif" alt="urchin6_mysql" width="666" height="329" /></p>
<p>This switches the database to the urchin database and deletes all running profiles.  Now if you go to to the web GUI under Profile Task Scheduler, you will see everything looks normal.  Now trying running the job again and it should work.  You should get a message saying:</p>
<blockquote><p>12009 &#8211; Action: Profile has been queued to run. Please check the Profile Task History screen for status and runtime output.</p></blockquote>
<p>Now don&#8217;t forget to restart your Master and Slave scheduler services or the job will remain in a queued state until they are back up:</p>
<blockquote><p>urchinctl start</p></blockquote>
<p>Now verify the job is actually running properly by clicking the green &#8220;Running&#8221; link for the job and you should see it processing the logs.</p>
<p><a href="http://www.jasonsamuel.com/2009/12/01/how-to-clear-a-hung-profile-in-urchin-6/">How to clear a hung profile in Urchin 6</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2009/12/01/how-to-clear-a-hung-profile-in-urchin-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new and actually useful in Server 2008 R2?</title>
		<link>http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=whats-new-and-actually-useful-in-server-2008-r2</link>
		<comments>http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 22:29:23 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ADAC]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=231</guid>
		<description><![CDATA[I was lucky enough to attend the Microsoft New Efficiency event for Windows Server 2008 R2 on Monday.  It was a limited capacity technical briefing aimed at IT Professionals.  They also had an Exchange 2010 and Windows 7 track at the same time but I chose to attend the Server 2008 R2 track.  It was [...]<p><a href="http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/">What&#8217;s new and actually useful in Server 2008 R2?</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-268" title="newefficiency" src="http://www.jasonsamuel.com/wp-content/uploads/2009/11/newefficiency.gif" alt="newefficiency" width="600" height="46" /></p>
<p>I was lucky enough to attend the Microsoft New Efficiency event for Windows Server 2008 R2 on Monday.  It was a limited capacity technical briefing aimed at IT Professionals.  They also had an Exchange 2010 and Windows 7 track at the same time but I chose to attend the Server 2008 R2 track.  It was divided into 4 sections and was hosted by Kevin Saye (<a href="mailto:kevin.saye@microsoft.com">kevin.saye@microsoft.com</a>) who is the Pre-sales technical support specialist for Windows Server in this region.  I&#8217;ve heard him speak at events before but never had a chance to actually do a QA session with him till now.</p>
<p>So, on to the new stuff in Server 2008 R2 that I found interesting!  This is not a comprehensive list by an means, just the stuff I thought was very useful.  I&#8217;ll go over each in detail in the coming days and how it will fit into your enterprise environment.</p>
<p>-Active Directory Administrative Center (ADAC)<br />
-Managed Service accounts<br />
-Active Directory Recycle Bin<br />
-Graphical PowerShell<br />
-Turning off CPU cores to conserve power<br />
-Group policy can now execute Powershell scritpts<br />
-Group policy granularity through item level targeting<br />
-FCI to classify data and take actions on it<br />
-.NET now runs on Server Core installs<br />
-Remote Desktop Services now has multi-monitor support (up to 8 monitors), bi-directional audio (useful for VOIP), and enhanced multimedia support using your local graphics card instead of &#8220;screen painting&#8221; as it was before.<br />
-DirectAccess with Windows 7 and Server 2008 R2 &#8211; Extends the network to include remote users instead of just a remote user dialing in via VPN.  Uses the Teredo protocol.  Was able to access the Microsoft intranet site (<a href="http://msw/">http://msw</a>) without ever having to dial in and from behind a corporate firewall.  It uses IPsec and it only works with Windows 7 machines which are on the domain. <br />
-Branch Cache &#8211; Caches only the requested data unlike DFS.  Means a lot less space is required unlike DFS which is an exact duplicate.</p>
<p><strong>THE FUTURE<br />
</strong>Kevin says expect to see more componentization in MS products.  Expect to moved vhds around on servers like OS, Apps, &amp; Data vhds interchangeably on your VMs.</p>
<p><a href="http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/">What&#8217;s new and actually useful in Server 2008 R2?</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting .NET 2.0 and WMI perfmon counters</title>
		<link>http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=troubleshooting-net-2-0-and-wmi-perfmon-counters</link>
		<comments>http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 20:42:27 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[.NET 2.0]]></category>
		<category><![CDATA[.NET 3.5]]></category>
		<category><![CDATA[perfmon]]></category>
		<category><![CDATA[wbemtest]]></category>
		<category><![CDATA[wmi]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=169</guid>
		<description><![CDATA[.NET 2.0 counters won&#8217;t show up in perfmon by default when using the /wmi switch.  They will show up in you just use regular perfmon but if you are trying to monitor .NET 2.0 counters via WMI, you are stuck.  Microsoft is aware of this and released 951683 to fix this issue.  You can request [...]<p><a href="http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/">Troubleshooting .NET 2.0 and WMI perfmon counters</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>



More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>.NET 2.0 counters won&#8217;t show up in perfmon by default when using the /wmi switch.  They will show up in you just use regular perfmon but if you are trying to monitor .NET 2.0 counters via WMI, you are stuck.  Microsoft is aware of this and released 951683 to fix this issue.  You can request the hotfix from CSS here:</p>
<p><a href="http://support.microsoft.com/kb/951683">http://support.microsoft.com/kb/951683</a></p>
<p>This hotfix is included with .NET 3.5 SP1 onward so if you have it installed, you shouldn&#8217;t experience this issue.  After installing the hotfix (does not require a reboot), just restart the WMI service and run this from command line:</p>
<blockquote><p>winmgmt /resyncperf</p></blockquote>
<p>which will resync counters with WMI.  Then open perfmon using &#8220;perfmon /wmi&#8221;  and you will see the missing counters. </p>
<p>You can also use the wbemtest.exe utility to test and troubleshoot WMI related issues.  Just run this from command line:</p>
<blockquote><p>wbemtest.exe</p></blockquote>
<p>Click the Connect button and change the very first field to &#8220;root\cimv2&#8243;.  Then press Connect and then click Enum Classes on the next window.  Leave the superclass blank but change it to Recursive and press OK.  It will query every WMI class on the server and you can click on them to get further details.  This should help you tremendously if you write your own WQL queries! <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/">Troubleshooting .NET 2.0 and WMI perfmon counters</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>


<p>More of my posts you might like:<ol><li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='Permanent Link: How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2009/08/07/troubleshooting-net-2-0-and-wmi-perfmon-counters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install and configure SNMP via command line on your servers</title>
		<link>http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-install-and-configure-snmp-via-command-line-on-your-servers</link>
		<comments>http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 22:06:28 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=15</guid>
		<description><![CDATA[You can install pretty much any windows component locally or remotely on a server.  Here is an example of installing SNMP using an answer file via command line locally on a server: sysocmgr /i:%windir%\inf\sysoc.inf /u:&#8221;\\server\share\snmp.txt&#8221; /q This will install SNMP quietly using the answer file I give it which is located on a file share.  [...]<p><a href="http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/">How to install and configure SNMP via command line on your servers</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
]]></description>
			<content:encoded><![CDATA[<p>You can install pretty much any windows component locally or remotely on a server.  Here is an example of installing SNMP using an answer file via command line locally on a server:</p>
<p>sysocmgr /i:%windir%\inf\sysoc.inf /u:&#8221;<a href="file://server/share/snmp.txt">\\server\share\snmp.txt</a>&#8221; /q</p>
<p>This will install SNMP quietly using the answer file I give it which is located on a file share.  Here are the contents of the answer file:</p>
<p>[NetOptionalComponents]<br />
SNMP = 1</p>
<p>[SNMP]</p>
<p>Send_Authentication = Yes<br />
Accept_CommunityName = mine_ro:Read_Only<br />
Any_Host = No<br />
Limit_Host = xxx.xxx.xxx.xxx</p>
<p>This will automatically configure a new read only community you specify and add a single host that is allowed to connect (you can add more IPs but adding a comma after each one).  The only dilemma is that during the install, it needs to get at the i386 directory and by default in the registry, it is pointed to “D:/i386” more than likely since that is typically the CD-ROM drive you installed the OS from.  We just need to run a quick registry update to two keys that point it to the C: drive before running the line above and it should work with no issue.  This can be done in bulk on servers too using whatever remote management tool you prefer:</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\Sourcepath</p>
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \CurrentVersion\Setup\Sourcepath</p>
<p>Keep in mind sysocmgr.exe has been replaced in Server 2008 by ocsetup.exe.  You can read up on command line switches for it here:</p>
<p><a href="http://technet.microsoft.com/en-us/magazine/dd673656.aspx">http://technet.microsoft.com/en-us/magazine/dd673656.aspx</a><br />
<a href="http://technet.microsoft.com/en-us/library/cc766272(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc766272(WS.10).aspx</a></p>
<p><a href="http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/">How to install and configure SNMP via command line on your servers</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: www.jasonsamuel.com @ 2010-07-31 20:01:06 -->