<?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; Server 2008</title>
	<atom:link href="http://www.jasonsamuel.com/tag/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>Wed, 25 Jan 2012 21:05:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<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&#038;utm_medium=rss&#038;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/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='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/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/' rel='bookmark' title='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/2010/03/11/how-to-solve-the-vmware-pci-to-pci-bridge-detected-install-loop/' rel='bookmark' title='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 **Not best practice to disable, but my environment requires it</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 customizations 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 “<code>c:\windows\system32\sysprep</code>” 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 />
<pre><code>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; 
&lt;unattend xmlns=&quot;urn:schemas-microsoft-com:unattend&quot;&gt; 
&lt;settings pass=&quot;specialize&quot;&gt; 
&lt;component name=&quot;Microsoft-Windows-Shell-Setup&quot; processorArchitecture=&quot;amd64&quot; publicKeyToken=&quot;31bf3856ad364e35&quot; language=&quot;neutral&quot; versionScope=&quot;nonSxS&quot; xmlns:wcm=&quot;http://schemas.microsoft.com/WMIConfig/2002/State&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt; 
&lt;RegisteredOrganization&gt;Your Organization Name&lt;/RegisteredOrganization&gt; 
&lt;RegisteredOwner&gt;Your Registered Owner&lt;/RegisteredOwner&gt; 
&lt;CopyProfile&gt;true&lt;/CopyProfile&gt; 
&lt;/component&gt; 
&lt;/settings&gt; 
&lt;cpi:offlineImage cpi:source=&quot;wim:f:/sources/install.wim#Windows Server 2008 R2 SERVERSTANDARD&quot; xmlns:cpi=&quot;urn:schemas-microsoft-com:cpi&quot; /&gt; 
&lt;/unattend&gt;
</code></pre>
      </li>
<li>At       command prompt, type the following command:<br />
          <code>C:\windows\system32\sysprep\sysprep.exe&nbsp;&nbsp;/generalize /unattend:unattend.xml</code>
      </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/06/vmware-vsphere-powercli-scripts-to-make-your-esx-admin-life-easier/' rel='bookmark' title='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/2009/11/13/whats-new-and-actually-useful-in-server-2008-r2/' rel='bookmark' title='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/2010/03/11/how-to-solve-the-vmware-pci-to-pci-bridge-detected-install-loop/' rel='bookmark' title='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>87</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&#038;utm_medium=rss&#038;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>
]]></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>
]]></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>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&#038;utm_medium=rss&#038;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>1</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 @ 2012-02-06 17:53:02 -->
