<?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>Charles Gardner's Effective IT Blog</title>
	<atom:link href="http://www.serverguys.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.serverguys.com/blog</link>
	<description>Bringing the best of networking and security to your business</description>
	<lastBuildDate>Tue, 20 Apr 2010 10:17:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OldCmp Is Your Friend</title>
		<link>http://www.serverguys.com/blog/?p=135</link>
		<comments>http://www.serverguys.com/blog/?p=135#comments</comments>
		<pubDate>Tue, 20 Apr 2010 09:47:49 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Is Your Friend]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=135</guid>
		<description><![CDATA[I recently found a little gem that needs listing in the Is Your Friend series.  I really appreciate single discrete tools that do a job and do it well.  OldCmp from joeware.net is a great example.  OldCmp is a command line tool to cleanup old accounts from Active Directory.  Within that function the tool has [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-137" title="Is Your Friend" src="http://www.serverguys.com/blog/wp-content/uploads/2010/04/icon_tools.png" alt="" width="150" height="150" />I recently found a little gem that needs listing in the Is Your Friend series.  I really appreciate single discrete tools that do a job and do it well.  <a title="OldCmp" href="http://www.joeware.net/freetools/tools/oldcmp/index.htm" target="_blank">OldCmp</a> from joeware.net is a great example.  OldCmp is a command line tool to cleanup old accounts from Active Directory.  Within that function the tool has quite a strong set of features to slice and dice through the discovery and disposal of old accounts.</p>
<p>Here is a basic run of the tool to find and list computer accounts that haven&#8217;t been accessed in a year:</p>
<blockquote><p>oldcmp.exe -report -age 365 -llts -sh</p></blockquote>
<p>When working with a client I am very cautious to delete, so I would disable those accounts and move them to an Archive OU in AD:</p>
<blockquote><p>oldcmp.exe -disable -age 365 -llts -newparent &#8220;ou=Archive,dc=xxxxxxxx,dc=local&#8221; -excldn &#8220;Archive&#8221; -safety 10</p></blockquote>
<p>If everything looks OK with that, add the -forreal flag to actually do the work and adjust the -safety flag to a reasonable value:</p>
<blockquote><p>oldcmp.exe -disable -age 365 -llts -newparent &#8220;OU=Archive,DC=xxxxxxxx,DC=local&#8221;  -excldn &#8220;Archive&#8221; -safety 20 -forreal</p></blockquote>
<p>If after a couple months no one has squawked about problems, it is probably safe to delete those accounts.</p>
<p>Once the initial disable and move to Archive is done, you can run this to find accounts that may need attention:</p>
<blockquote><p>oldcmp.exe -report -age 180 -llts -excldn &#8220;Archive&#8221;</p></blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow: hidden;">
<table id="MAINTABLE" border="0" cellspacing="1" cellpadding="3" bgcolor="silver">
<tbody>
<tr class="header">
<td><strong>DN</strong></td>
<td><strong>cn</strong></td>
<td><strong>sAMAccountName</strong></td>
<td><strong>dNSHostName</strong></td>
<td><strong>pwdLastSet</strong></td>
<td><strong>pwage</strong></td>
<td><strong>whenCreated</strong></td>
<td><strong>accountExpires</strong></td>
<td><strong>operatingSystem</strong></td>
<td><strong>operatingSystemServicePack</strong></td>
<td><strong>operatingSystemVersion</strong></td>
<td><strong>userAccountControl</strong></td>
</tr>
<tr class="row">
<td><span>cn=nick,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>nick</span></td>
<td><span>nick$</span></td>
<td><span>nick.americanacquisition.com</span></td>
<td><span>2003/06/30-14:31:51</span></td>
<td><span>2485</span></td>
<td><span>20030630183151.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=pam,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>pam</span></td>
<td><span>pam$</span></td>
<td><span>pam.americanacquisition.com</span></td>
<td><span>2003/08/13-17:19:10</span></td>
<td><span>2441</span></td>
<td><span>20030514220336.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=ray,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>ray</span></td>
<td><span>ray$</span></td>
<td><span>ray.americanacquisition.com</span></td>
<td><span>2003/09/08-22:00:12</span></td>
<td><span>2415</span></td>
<td><span>20030507222643.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=robin,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>robin</span></td>
<td><span>robin$</span></td>
<td><span>robin.americanacquisition.com</span></td>
<td><span>2004/01/16-07:53:21</span></td>
<td><span>2286</span></td>
<td><span>20030530194013.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=vic,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>vic</span></td>
<td><span>vic$</span></td>
<td><span>vic.americanacquisition.com</span></td>
<td><span>2004/01/28-10:06:01</span></td>
<td><span>2274</span></td>
<td><span>20030515201341.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=mitch,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>mitch</span></td>
<td><span>mitch$</span></td>
<td><span>mitch.americanacquisition.com</span></td>
<td><span>2004/03/28-12:40:27</span></td>
<td><span>2213</span></td>
<td><span>20030514211536.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l295p-02,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l295p-02</span></td>
<td><span>p3-l295p-02$</span></td>
<td><span>p3-l295p-02.americanacquisition.com</span></td>
<td><span>2004/05/17-07:38:39</span></td>
<td><span>2164</span></td>
<td><span>20031229192353.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=barbara,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>barbara</span></td>
<td><span>barbara$</span></td>
<td><span>barbara.americanacquisition.com</span></td>
<td><span>2004/06/17-07:31:12</span></td>
<td><span>2133</span></td>
<td><span>20030512143032.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=arlena,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>arlena</span></td>
<td><span>arlena$</span></td>
<td><span>arlena.americanacquisition.com</span></td>
<td><span>2004/08/17-13:30:04</span></td>
<td><span>2071</span></td>
<td><span>20030514201433.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=paul2,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>paul2</span></td>
<td><span>paul2$</span></td>
<td><span>paul2.americanacquisition.com</span></td>
<td><span>2004/09/01-21:38:45</span></td>
<td><span>2056</span></td>
<td><span>20040218152927.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l295p-04,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l295p-04</span></td>
<td><span>p3-l295p-04$</span></td>
<td><span>p3-l295p-04.americanacquisition.com</span></td>
<td><span>2004/09/08-15:17:57</span></td>
<td><span>2049</span></td>
<td><span>20031229204602.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=cynthia,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>cynthia</span></td>
<td><span>cynthia$</span></td>
<td><span>cynthia.americanacquisition.com</span></td>
<td><span>2004/11/12-08:54:52</span></td>
<td><span>1985</span></td>
<td><span>20040908162639.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span style="color: red;">cn=p3-l295p-03,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span style="color: red;">p3-l295p-03</span></td>
<td><span style="color: red;">p3-l295p-03$</span></td>
<td><span style="color: red;">p3-l295p-03.americanacquisition.com</span></td>
<td><span style="color: red;">2004/11/18-15:14:28</span></td>
<td><span style="color: red;">1978</span></td>
<td><span style="color: red;">20031229200132.0Z</span></td>
<td><span style="color: red;">0000/00/00-00:00:00</span></td>
<td><span style="color: red;">Windows 2000 Professional</span></td>
<td><span style="color: red;">Service Pack 4</span></td>
<td><span style="color: red;">5.0 (2195)</span></td>
<td><span style="color: red;">(4098) MBR DISABLED </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l295p-01,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l295p-01</span></td>
<td><span>p3-l295p-01$</span></td>
<td><span>p3-l295p-01.americanacquisition.com</span></td>
<td><span>2005/01/03-07:53:19</span></td>
<td><span>1933</span></td>
<td><span>20031229183520.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span style="color: red;">cn=p3-l285s-10,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span style="color: red;">p3-l285s-10</span></td>
<td><span style="color: red;">p3-l285s-10$</span></td>
<td><span style="color: red;">p3-l285s-10.americanacquisition.com</span></td>
<td><span style="color: red;">2004/12/13-18:14:47</span></td>
<td><span style="color: red;">1953</span></td>
<td><span style="color: red;">20041213221447.0Z</span></td>
<td><span style="color: red;">0000/00/00-00:00:00</span></td>
<td><span style="color: red;">Windows 2000 Professional</span></td>
<td><span style="color: red;">Service Pack 2</span></td>
<td><span style="color: red;">5.0 (2195)</span></td>
<td><span style="color: red;">(4098) MBR DISABLED </span></td>
</tr>
<tr class="row">
<td><span>cn=matt,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>matt</span></td>
<td><span>matt$</span></td>
<td><span>matt.americanacquisition.com</span></td>
<td><span>2005/02/07-11:02:28</span></td>
<td><span>1897</span></td>
<td><span>20030513153031.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=chris,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>chris</span></td>
<td><span>chris$</span></td>
<td><span>chris.americanacquisition.com</span></td>
<td><span>2005/02/11-02:47:43</span></td>
<td><span>1894</span></td>
<td><span>20030512150221.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=joe,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>joe</span></td>
<td><span>joe$</span></td>
<td><span>joe.americanacquisition.com</span></td>
<td><span>2005/03/28-09:19:00</span></td>
<td><span>1849</span></td>
<td><span>20030507213319.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span style="color: red;">cn=wade2,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span style="color: red;">wade2</span></td>
<td><span style="color: red;">wade2$</span></td>
<td><span style="color: red;">wade2.americanacquisition.com</span></td>
<td><span style="color: red;">2005/03/30-18:38:42</span></td>
<td><span style="color: red;">1846</span></td>
<td><span style="color: red;">20030630194946.0Z</span></td>
<td><span style="color: red;">0000/00/00-00:00:00</span></td>
<td><span style="color: red;">Windows 2000 Professional</span></td>
<td><span style="color: red;">Service Pack 4</span></td>
<td><span style="color: red;">5.0 (2195)</span></td>
<td><span style="color: red;">(4098) MBR DISABLED </span></td>
</tr>
<tr class="row">
<td><span style="color: red;">cn=wade-laptop,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span style="color: red;">wade-laptop</span></td>
<td><span style="color: red;">wade-laptop$</span></td>
<td><span style="color: red;">wade-laptop.americanacquisition.com</span></td>
<td><span style="color: red;">2005/01/03-10:33:13</span></td>
<td><span style="color: red;">1932</span></td>
<td><span style="color: red;">20031027210134.0Z</span></td>
<td><span style="color: red;">0000/00/00-00:00:00</span></td>
<td><span style="color: red;">Windows 2000 Professional</span></td>
<td><span style="color: red;">Service Pack 4</span></td>
<td><span style="color: red;">5.0 (2195)</span></td>
<td><span style="color: red;">(4098) MBR DISABLED </span></td>
</tr>
<tr class="row">
<td><span>cn=pamela,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>pamela</span></td>
<td><span>pamela$</span></td>
<td><span>pamela.americanacquisition.com</span></td>
<td><span>2005/04/21-11:04:01</span></td>
<td><span>1824</span></td>
<td><span>20030513181210.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l285s-01,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l285s-01</span></td>
<td><span>p3-l285s-01$</span></td>
<td><span>p3-l285s-01.americanacquisition.com</span></td>
<td><span>2006/01/11-07:12:09</span></td>
<td><span>1560</span></td>
<td><span>20050601021813.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=katherine,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>katherine</span></td>
<td><span>katherine$</span></td>
<td><span>katherine.americanacquisition.com</span></td>
<td><span>2005/06/20-09:53:38</span></td>
<td><span>1765</span></td>
<td><span>20040606184650.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4128) MBR PWD_NOT_REQD </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l285s-11,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l285s-11</span></td>
<td><span>p3-l285s-11$</span></td>
<td><span>p3-l285s-11.americanacquisition.com</span></td>
<td><span>2006/01/13-13:17:33</span></td>
<td><span>1557</span></td>
<td><span>20050303214518.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=gateway450sx4,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>gateway450sx4</span></td>
<td><span>gateway450sx4$</span></td>
<td><span>gateway450sx4.americanacquisition.com</span></td>
<td><span>2005/08/26-08:53:12</span></td>
<td><span>1698</span></td>
<td><span>20050222201037.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=delld800-05,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>delld800-05</span></td>
<td><span>delld800-05$</span></td>
<td><span>delld800-05.americanacquisition.com</span></td>
<td><span>2007/02/01-18:40:27</span></td>
<td><span>1173</span></td>
<td><span>20050706210107.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows XP Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.1 (2600)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span style="color: red;">cn=p3-lp2600e-01,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span style="color: red;">p3-lp2600e-01</span></td>
<td><span style="color: red;">p3-lp2600e-01$</span></td>
<td><span style="color: red;">p3-lp2600e-01.americanacquisition.com</span></td>
<td><span style="color: red;">2007/12/17-09:06:40</span></td>
<td><span style="color: red;">0855</span></td>
<td><span style="color: red;">20050510165057.0Z</span></td>
<td><span style="color: red;">0000/00/00-00:00:00</span></td>
<td><span style="color: red;">Windows 2000 Professional</span></td>
<td><span style="color: red;">Service Pack 4</span></td>
<td><span style="color: red;">5.0 (2195)</span></td>
<td><span style="color: red;">(4098) MBR DISABLED </span></td>
</tr>
<tr class="row">
<td><span>cn=don,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>don</span></td>
<td><span>don$</span></td>
<td><span>don.americanacquisition.com</span></td>
<td><span>2007/05/03-21:25:06</span></td>
<td><span>1082</span></td>
<td><span>20030513135530.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=thur2,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>thur2</span></td>
<td><span>thur2$</span></td>
<td><span>thur2.americanacquisition.com</span></td>
<td><span>2007/11/06-10:41:08</span></td>
<td><span>0895</span></td>
<td><span>20040715181300.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=wade,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>wade</span></td>
<td><span>wade$</span></td>
<td><span>wade.americanacquisition.com</span></td>
<td><span>2006/01/13-12:44:05</span></td>
<td><span>1557</span></td>
<td><span>20040614232314.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=steve,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>steve</span></td>
<td><span>steve$</span></td>
<td><span>steve.americanacquisition.com</span></td>
<td><span>2005/12/07-12:58:05</span></td>
<td><span>1594</span></td>
<td><span>20030513184927.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=delld800-03,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>delld800-03</span></td>
<td><span>delld800-03$</span></td>
<td><span>delld800-03.americanacquisition.com</span></td>
<td><span>2007/01/14-19:54:38</span></td>
<td><span>1191</span></td>
<td><span>20050425194011.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows XP Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.1 (2600)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=delld800-01,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>delld800-01</span></td>
<td><span>delld800-01$</span></td>
<td><span>delld800-01.americanacquisition.com</span></td>
<td><span>2005/11/03-05:30:45</span></td>
<td><span>1629</span></td>
<td><span>20030527161644.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows XP Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.1 (2600)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l285s-06,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l285s-06</span></td>
<td><span>p3-l285s-06$</span></td>
<td><span>p3-l285s-06.americanacquisition.com</span></td>
<td><span>2007/05/03-12:40:27</span></td>
<td><span>1082</span></td>
<td><span>20041028211101.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows 2000 Professional</span></td>
<td><span>Service Pack 4</span></td>
<td><span>5.0 (2195)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=p3-l285s-xp,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>p3-l285s-xp</span></td>
<td><span>p3-l285s-xp$</span></td>
<td><span>p3-l285s-xp.americanacquisition.com</span></td>
<td><span>2007/05/17-19:06:03</span></td>
<td><span>1068</span></td>
<td><span>20070517230603.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Windows XP Professional</span></td>
<td><span>Service Pack 2</span></td>
<td><span>5.1 (2600)</span></td>
<td><span>(4096) MBR </span></td>
</tr>
<tr class="row">
<td><span>cn=mail,cn=computers,dc=americanacquisition,dc=com</span></td>
<td><span>mail</span></td>
<td><span>mail$</span></td>
<td><span>mail.americanacquisition.com</span></td>
<td><span>2007/12/30-00:12:13</span></td>
<td><span>0842</span></td>
<td><span>20071230041213.0Z</span></td>
<td><span>0000/00/00-00:00:00</span></td>
<td><span>Samba</span></td>
<td><span> .</span></td>
<td><span>3.0.9-2.5-SUSE</span></td>
<td><span>(69632) MBR NO_PWD_EXPIRE </span></td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=135</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V Server and a UPS</title>
		<link>http://www.serverguys.com/blog/?p=130</link>
		<comments>http://www.serverguys.com/blog/?p=130#comments</comments>
		<pubDate>Wed, 17 Feb 2010 18:35:53 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=130</guid>
		<description><![CDATA[Microsoft&#8217;s Hyper-V Server 2008 R2 can be a great hypervisor choice for a small business with just one or two servers.  In this environment though the common power protection scheme is going to be a single, direct-connected UPS with a USB signaling cable.  In this scenario we need to be able to safely shutdown the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-126" title="Hyper-V Server 2008 R2" src="http://www.serverguys.com/blog/wp-content/uploads/2010/02/logo-hyperv-server08-R2.png" alt="" width="242" height="38" />Microsoft&#8217;s Hyper-V Server 2008 R2 can be a great hypervisor choice for a small business with just one or two servers.  In this environment though the common power protection scheme is going to be a single, direct-connected UPS with a USB signaling cable.  In this scenario we need to be able to safely shutdown the hypervisor and guests before power gives out.</p>
<p>I claim no original thoughts here, but I did want to preserve a link to a good answer I found and have implemented.  The original thread is <a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/5cea0070-55f0-4f0e-b727-222203bf0463" target="_blank">here on the Technet Forums</a>.</p>
<p>First create ups-shutdown.vbs and load it with:</p>
<blockquote><p>set wmi = GetObject(&#8220;winmgmts:{impersonationLevel=impersonate,(Shutdown)}!\\.\root\cimv2&#8243;)<br />
set batteryColl = wmi.ExecQuery(&#8220;select * from Win32_Battery&#8221;)<br />
set osColl = wmi.ExecQuery(&#8220;select * from Win32_OperatingSystem&#8221;)</p>
<p>while true<br />
for each battery in batteryColl<br />
battery.Refresh_<br />
if battery.batteryStatus = 1 and battery.EstimatedChargeRemaining &lt;= 40 then<br />
for each os in osColl<br />
os.Win32Shutdown 1<br />
next<br />
end if<br />
next<br />
wscript.Sleep 15000<br />
wend</p></blockquote>
<p>Schedule this to run at startup using the Task Scheduler.  (Connect from another machine and set this up.)</p>
<p>Next create ups-monitor.ps1 and insert:</p>
<blockquote><p># Initialize Variables<br />
# Shutdown threshold at 50% of remaining UPS capacity<br />
$threshhold = 40<br />
$interval = 60<br />
$OnBattery = 0<br />
$Event = 0</p>
<p>$hostname = hostname</p>
<p># Create SMTP client<br />
$Server = &#8220;mail.xxxxxxxxxxxx.com&#8221;<br />
$Port = 25<br />
$Client = New-Object System.Net.Mail.SmtpClient $Server, $Port</p>
<p>$Client.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials</p>
<p>$To      = &#8220;admin@xxxxxxxxxxxx.com&#8221;<br />
$From    = &#8220;hyperv@yyyyyyyyyyyy.com&#8221;</p>
<p># Loop on Battery Query<br />
while (1)<br />
{<br />
$bat = get-wmiobject -class CIM_Battery -namespace &#8220;root\CIMV2&#8243;<br />
$batstatus = $bat.batterystatus<br />
$batcapacity = $bat.estimatedchargeremaining<br />
$timetoshutdown = $bat.estimatedruntime/2</p>
<p>if ($batstatus -eq 1)<br />
{<br />
$Event = 1<br />
$OnBattery = 1<br />
# &#8220;On Battery&#8221;</p>
<p>$Subject = &#8220;Utility Power Failure: {0} is running On UPS Battery&#8221; -f $hostname<br />
$Body   = &#8220;UPS at {0} % remaining capacity, approximately {1} minutes before {2} shutdown.&#8221; -f $batcapacity, $timetoshutdown, $hostname</p>
<p>if ($batcapacity -lt ($threshhold +5) )<br />
{<br />
$Body = &#8220;Shutdown imminent at {0} %, with &#8221; -f $threshhold + $Body<br />
}</p>
<p>}</p>
<p>elseif (($batstatus -eq 2) -and ($OnBattery -eq 1))<br />
{<br />
$Event = 1<br />
$OnBattery = 0<br />
# &#8220;Power Restored&#8221;</p>
<p>$Subject = &#8220;Utility Power Restored to {0}.&#8221; -f $hostname<br />
$Body   = &#8220;Battery at {0} % capacity. UPS charging&#8230; &#8221; -f $batcapacity<br />
}</p>
<p>if ($Event -eq 1) # Create mail message<br />
{<br />
$Event = 0<br />
$Message = New-Object System.Net.Mail.MailMessage $From, $To, $Subject, $Body<br />
$Message.Priority = [System.Net.Mail.MailPriority]::High<br />
try {<br />
$Client.Send($Message)<br />
# &#8220;Message sent successfully&#8221;<br />
}<br />
catch {<br />
&#8220;Exception caught in UPS_Monitor.ps1&#8243;<br />
}<br />
}</p>
<p>sleep $interval<br />
}</p></blockquote>
<p>Change the mail server, to and from address, and you&#8217;re in business.</p>
<p>Create ups-monitor.cmd with the following:</p>
<blockquote><p>powershell -command c:\path\to\your\script\ups-monitor.ps1</p></blockquote>
<p>Again using Task Scheduler, schedule ups-monitor.cmd to run at startup, and you&#8217;re set.</p>
<p>Make sure you have your VMs set to save at shutdown and autostart, and then go pull the plug on that UPS just to make sure things work to your liking.</p>
<p>Also from the above referenced thread, you can check the battery condition using powershell with this:</p>
<blockquote><p>PS$ get-wmiobject -class CIM_Battery -namespace &#8220;root\CIMV2&#8243;</p></blockquote>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=130</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Server Backup WBAdmin</title>
		<link>http://www.serverguys.com/blog/?p=123</link>
		<comments>http://www.serverguys.com/blog/?p=123#comments</comments>
		<pubDate>Mon, 15 Feb 2010 02:15:55 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=123</guid>
		<description><![CDATA[I was just setting up a Hyper-V Server 2008 R2 box and wanted to get backup running to an external drive.  I installed the Windows Server Backup role via the Core Configurator tool, but then the backups need to be configured and run via the wbadmin command line tool.
This command line reference for wbadmin was [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-126" title="Hyper-V Server 2008 R2" src="http://www.serverguys.com/blog/wp-content/uploads/2010/02/logo-hyperv-server08-R2.png" alt="" width="226" height="35" />I was just setting up a Hyper-V Server 2008 R2 box and wanted to get backup running to an external drive.  I installed the Windows Server Backup role via the Core Configurator tool, but then the backups need to be configured and run via the wbadmin command line tool.</p>
<p>This <a title="WBAdmin reference" href="http://technet.microsoft.com/en-us/library/cc754015%28WS.10%29.aspx" target="_blank">command line reference for wbadmin</a> was helpful so I wanted to mark it in case I need it again in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=123</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links of Interest</title>
		<link>http://www.serverguys.com/blog/?p=119</link>
		<comments>http://www.serverguys.com/blog/?p=119#comments</comments>
		<pubDate>Wed, 03 Feb 2010 22:15:47 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=119</guid>
		<description><![CDATA[Virtualization Benefits for Small Business
Coalescing a few links I&#8217;ve been keeping up with for further reading:

Planning for a VMWare vSphere 4 Deployment
Virtualization Benefits for Small Business
Vimsh &#8211; /usr/bin/vmware-vimsh
Drobo Performance Testing
A Virtual Door Opens for SMBs


A Virtual Door Opens for SMBsA Virtual Door Opens for SMBs

]]></description>
			<content:encoded><![CDATA[<p>Virtualization Benefits for Small Business</p>
<p>Coalescing a few links I&#8217;ve been keeping up with for further reading:</p>
<ul>
<li><a href="http://www.petri.co.il/planning-for-vsphere.htm">Planning for a VMWare vSphere 4 Deployment</a></li>
<li><a href="http://www.unitrends.com/weblog/index.php/2010/01/17/backup-vmware-and-dell-a-debate-concerning-virtualization-benefits-for-small-business/">Virtualization Benefits for Small Business</a></li>
<li><a href="http://www.vi-toolkit.com/wiki/index.php/Category:Vimsh">Vimsh</a> &#8211; /usr/bin/vmware-vimsh</li>
<li><a href="http://binaryspiral.com/2010/01/26/drobo-performance-testing/">Drobo Performance Testing</a></li>
<li><a href="http://rcpmag.com/articles/2010/02/01/a-virtual-door-opens.aspx">A Virtual Door Opens for SMBs</a></li>
</ul>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 10px; width: 1px; height: 1px;">
<h3 id="ctl00_ContentPlaceHolder_ctl03_MainHeading" class="title">A Virtual Door Opens for SMBsA Virtual Door Opens for SMBs</h3>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=119</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Interesting Videos &#8211; Defcon Peek and TEDx MidAtlantic</title>
		<link>http://www.serverguys.com/blog/?p=111</link>
		<comments>http://www.serverguys.com/blog/?p=111#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:17:42 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=111</guid>
		<description><![CDATA[I&#8217;m bookmarking a couple more videos to watch.
First, Defcon released their teaser set of videos from this year&#8217;s con, including Adam Savage&#8217;s &#8220;Failure&#8221;.
https://www.defcon.org/

Second, I saw a link to Marcus Ranum talking at TEDx MidAtlantic.
http://tedxmidatlantic.com/live/#MarcusRanum
 






]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 202px"><a href="http://www.flickr.com/photos/pedrosimoes7/169789089/"><img class="   " style="border: 0pt none;" title="Photo credit pedrosimoes7" src="http://farm1.static.flickr.com/65/169789089_398ac1c3ea_m.jpg" alt="Projector" width="192" height="186" /></a><p class="wp-caption-text">Photo credit pedrosimoes7</p></div>
<p>I&#8217;m bookmarking a couple more videos to watch.</p>
<p>First, Defcon released their teaser set of videos from this year&#8217;s con, including Adam Savage&#8217;s &#8220;Failure&#8221;.</p>
<p style="padding-left: 30px;"><a href="https://www.defcon.org/#earlyVids" target="_blank">https://www.defcon.org/</a></p>
<p style="padding-left: 30px;">
<p>Second, I saw a link to Marcus Ranum talking at TEDx MidAtlantic.</p>
<p style="padding-left: 30px;"><a title="TEDx MA" href="http://tedxmidatlantic.com/live/#MarcusRanum" target="_blank">http://tedxmidatlantic.com/live/#MarcusRanum</a></p>
<address> </address>
<address>
</address>
<address>
</address>
<address><em><br />
</em></address>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DojoCon 2009 Videos Posted</title>
		<link>http://www.serverguys.com/blog/?p=108</link>
		<comments>http://www.serverguys.com/blog/?p=108#comments</comments>
		<pubDate>Tue, 10 Nov 2009 23:50:02 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=108</guid>
		<description><![CDATA[
I had the opportunity to watch the first few minutes of the stream of Marcus Ranum&#8217;s talk at DojoCon 2009 but then had to go to a client site.  I was happy to see they posted the videos to UStream so I can go back and watch the rest.
Among those who spoke:

Richard Bejtlich
Marcus Ranum
Chris Hoff
&#8230;and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dojocon.org/"><img class="alignright" title="DojoCon 2009" src="http://www.dojocon.org/images/dojocon_logo.png" alt="" width="400" height="55" /></a></p>
<p>I had the opportunity to watch the first few minutes of the stream of Marcus Ranum&#8217;s talk at DojoCon 2009 but then had to go to a client site.  I was happy to see they posted the videos to UStream so I can go back and watch the rest.</p>
<p>Among those who spoke:</p>
<ul>
<li>Richard Bejtlich</li>
<li>Marcus Ranum</li>
<li>Chris Hoff</li>
<li>&#8230;and a whole lot more</li>
</ul>
<p>In case you want to catch up too:</p>
<p><a title="DojoCon 2009" href="http://www.ustream.tv/channel/dojocon-2009" target="_blank">http://www.ustream.tv/channel/dojocon-2009</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=108</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disk2vhd P2V Tool for Microsoft Virtualization</title>
		<link>http://www.serverguys.com/blog/?p=105</link>
		<comments>http://www.serverguys.com/blog/?p=105#comments</comments>
		<pubDate>Tue, 10 Nov 2009 23:37:44 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=105</guid>
		<description><![CDATA[This post is mostly a note to myself.  I haven&#8217;t tried this yet, but the Disk2vhd tool from Sysinternals is for P2V for Microsoft virtualization such as Hyper-V.
When I get to try this out, I&#8217;ll post some notes about using it and how it stacks up against something like VMWare Converter.
]]></description>
			<content:encoded><![CDATA[<p>This post is mostly a note to myself.  I haven&#8217;t tried this yet, but the <a title="Disk2vhd" href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">Disk2vhd tool from Sysinternals</a> is for P2V for Microsoft virtualization such as Hyper-V.</p>
<p>When I get to try this out, I&#8217;ll post some notes about using it and how it stacks up against something like VMWare Converter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=105</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving!</title>
		<link>http://www.serverguys.com/blog/?p=103</link>
		<comments>http://www.serverguys.com/blog/?p=103#comments</comments>
		<pubDate>Fri, 12 Jun 2009 20:40:25 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=103</guid>
		<description><![CDATA[Just a quick note.  I will be moving my focus to putting posts up on my company web site at www.sterlingideas.com.  Any really technical items will still end up here, but I am going to make a new effort to post regular content over on the company site, particularly items of interest to my clients.
Be [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note.  I will be moving my focus to putting posts up on my company web site at <a href="http://www.sterlingideas.com/">www.sterlingideas.com</a>.  Any really technical items will still end up here, but I am going to make a new effort to post regular content over on the company site, particularly items of interest to my clients.</p>
<p>Be sure to add <a href="http://www.sterlingideas.com/feed/rss/">http://www.sterlingideas.com/feed/rss/</a> to your feed reader.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=103</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Not To Expose Root in Sendmail</title>
		<link>http://www.serverguys.com/blog/?p=100</link>
		<comments>http://www.serverguys.com/blog/?p=100#comments</comments>
		<pubDate>Sat, 23 May 2009 12:29:44 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[Applications]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=100</guid>
		<description><![CDATA[Quick note:
When you do domain masquerading with sendmail, root is exempted from that by default.  No big deal unless the host name of your system is not actually registered in DNS.  I have a couple VMs that don&#8217;t need outside access or DNS registrations, but I&#8217;d like to receive their cron output cleanly.
This is a [...]]]></description>
			<content:encoded><![CDATA[<p>Quick note:</p>
<p>When you do domain masquerading with sendmail, root is exempted from that by default.  No big deal unless the host name of your system is not actually registered in DNS.  I have a couple VMs that don&#8217;t need outside access or DNS registrations, but I&#8217;d like to receive their cron output cleanly.</p>
<p>This is a rather easy fix.  In most sendmail .mc files you will find the DOMAIN(generic) statement.  This refers to loading the generic.m4 file which includes a default statement to expose root without masquerading &#8212; EXPOSED_USER(`root&#8217;).  Copy the generic.m4 to mycustom.m4 and remove the EXPOSED_USER line.  Go to your .mc file and change the DOMAIN(generic) to DOMAIN(mycustom) and rebuild your sendmail.cf file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=100</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy Virtual Machines on VMWare Server 2</title>
		<link>http://www.serverguys.com/blog/?p=98</link>
		<comments>http://www.serverguys.com/blog/?p=98#comments</comments>
		<pubDate>Tue, 12 May 2009 12:51:58 +0000</pubDate>
		<dc:creator>Charles Gardner</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.serverguys.com/blog/?p=98</guid>
		<description><![CDATA[This is a simple note to capture process.

On the VMWare server, copy the guest&#8217;s directory to a new name.

cp -ax /vm/srv1 /vm/srv2


Rename the vmdk disk image

cd /vm/srv2
vmware-vdiskmanager -n srv1.vmdk srv2.vmdk


Rename the other files

mv srv1.* srv2.*


Open the VM configuration and change the names there

vi srv2.vmx
:%s/srv1/srv2/


In the VMWare host&#8217;s web console, use the Add Virtual Machine to [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple note to capture process.</p>
<ul>
<li>On the VMWare server, copy the guest&#8217;s directory to a new name.
<ul>
<li>cp -ax /vm/srv1 /vm/srv2</li>
</ul>
</li>
<li>Rename the vmdk disk image
<ul>
<li>cd /vm/srv2</li>
<li>vmware-vdiskmanager <span class="re5">-n</span> srv1.vmdk srv2.vmdk</li>
</ul>
</li>
<li>Rename the other files
<ul>
<li>mv srv1.* srv2.*</li>
</ul>
</li>
<li>Open the VM configuration and change the names there
<ul>
<li>vi srv2.vmx</li>
<li>:%s/srv1/srv2/</li>
</ul>
</li>
<li>In the VMWare host&#8217;s web console, use the <em>Add Virtual Machine to Inventory</em> to add the new VM.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.serverguys.com/blog/?feed=rss2&amp;p=98</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
