<?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>geekmungus</title>
	<atom:link href="http://www.geekmungus.co.uk/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.geekmungus.co.uk</link>
	<description>The Ramblings of a Computer Geek</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:44:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Match VMWare LUN ID to EMC SAN LUN ID</title>
		<link>http://www.geekmungus.co.uk/?p=327</link>
		<comments>http://www.geekmungus.co.uk/?p=327#comments</comments>
		<pubDate>Tue, 31 Aug 2010 12:42:04 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=327</guid>
		<description><![CDATA[This is the procedure to match a (VMWare Datastore and) VMWare LUN ID to the underlying storage ID on an EMC SAN. (The procedure would work for another type
of SAN as long as you can get the UUID off the SAN for each LUN.
With help from
#  KB Article: 1005587
# Updated: Aug 14, 2009
# Products:
VMware [...]]]></description>
			<content:encoded><![CDATA[<p>This is the procedure to match a (VMWare Datastore and) VMWare LUN ID to the underlying storage ID on an EMC SAN. (The procedure would work for another type</p>
<p>of SAN as long as you can get the UUID off the SAN for each LUN.</p>
<p>With help from<br />
#  KB Article: 1005587<br />
# Updated: Aug 14, 2009<br />
# Products:<br />
VMware ESX<br />
# Product Versions:<br />
VMware ESX 2.5.x<br />
VMware ESX 3.0.x<br />
VMware ESX 3.5.x<br />
VMware ESX 4.0.x</p>
<p>1. Running this command from an ESX 3.5 host gives a list of all the UUIDs of each of the LUNS as they are presented to the ESX host.</p>
<p>vmware-vim-cmd hostsvc/summary/scsilun &gt; iscsiluns.txt<br />
Copy the text file to your machine.</p>
<p>2. Now take the UUID from a LUN on the SAN in this example taking LUNs 29 and 37.</p>
<p>To find the LUN from Navisphere, drill down into your raid groups and look for a LUN, right click and select &#8220;Properties&#8221; on the general tab you should see</p>
<p>the unique ID: 60:06 etc. this is the UUID.</p>
<p>600601606DE02100584A57537670DE11 &#8211; LUN 29<br />
600601606de02100986b2f4b3a7adf11 &#8211; LUN 37</p>
<p>vmhba0:0:0    disk   Dell       VIRTUAL DISK       0200000000600508e000000000a8d8ba4420388505 564952545541   vmhba0<br />
vmhba1:1:0    disk   DGC        RAID 5             0200000000600601606de021009c6f675d0a04de11 524149442035   vmhba1<br />
vmhba1:0:1    disk   DGC        RAID 5             0200010000600601606de02100dc40c2cd0a04de11 524149442035   vmhba1<br />
vmhba1:0:2    disk   DGC        RAID 5             0200020000600601606de0210066ad4ac9c604de11 524149442035   vmhba1<br />
vmhba1:0:3    disk   DGC        RAID 5             0200030000600601606de021003a6875470d04de11 524149442035   vmhba1<br />
vmhba1:0:4    disk   DGC        RAID 5             0200040000600601606de0210034291a0cd404de11 524149442035   vmhba1<br />
vmhba1:0:5    disk   DGC        RAID 5             0200050000600601606de021000caa8c2cd404de11 524149442035   vmhba1<br />
vmhba1:0:6    disk   DGC        RAID 5             0200060000600601606de02100f41d1958d404de11 524149442035   vmhba1<br />
vmhba1:0:7    disk   DGC        RAID 5             0200070000600601606de021006450da80d404de11 524149442035   vmhba1<br />
vmhba1:0:8    disk   DGC        RAID 5             0200080000600601606de02100988c6d87d404de11 524149442035   vmhba1<br />
vmhba1:0:9    disk   DGC        RAID 5             0200090000600601606de021007c61aa00d404de11 524149442035   vmhba1<br />
vmhba1:0:10   disk   DGC        RAID 5             02000a0000600601606de02100bc30ce18d404de11524149442035   vmhba1<br />
vmhba1:0:11   disk   DGC        RAID 5             02000b0000600601606de021000ce5e434d404de11524149442035   vmhba1<br />
vmhba1:0:12   disk   DGC        RAID 5             02000c0000600601606de02100f8805e3dd404de11524149442035   vmhba1<br />
vmhba1:0:13   disk   DGC        RAID 5             02000d0000600601606de02100d4cc9f4cd404de11524149442035   vmhba1<br />
vmhba1:0:14   disk   DGC        RAID 5             02000e0000600601606de02100664f9664d404de11524149442035   vmhba1<br />
vmhba1:0:15   disk   DGC        RAID 5             02000f0000600601606de02100eabb686fd404de11524149442035   vmhba1<br />
vmhba1:0:16   disk   DGC        RAID 5             0200100000600601606de0210062b1f876d404de11524149442035   vmhba1<br />
vmhba1:0:17   disk   DGC        RAID 5             0200110000600601606de02100927c1f91d404de11524149442035   vmhba1<br />
vmhba1:0:18   disk   DGC        RAID 5             0200120000600601606de02100162a22be370ede11524149442035   vmhba1<br />
vmhba1:0:19   disk   DGC        RAID 5             0200130000600601606de02100cc0931b0370ede11524149442035   vmhba1<br />
vmhba1:0:20   disk   DGC        RAID 5             0200140000600601606de0210034e7037bdb13de11524149442035   vmhba1<br />
vmhba1:0:21   disk   DGC        RAID 5             0200150000600601606de021008e3e9b5fdb13de11524149442035   vmhba1<br />
vmhba1:0:22   disk   DGC        RAID 5             0200160000600601606de0210062e6178adb13de11524149442035   vmhba1<br />
vmhba1:0:23   disk   DGC        RAID 5             0200170000600601606de021009a8764707b44de11524149442035   vmhba1<br />
vmhba1:0:24   disk   DGC        RAID 5             0200180000600601606de021000adceb7e7b44de11524149442035   vmhba1<br />
vmhba1:0:25   disk   DGC        RAID 5             0200190000600601606de02100e04d319c6d61de11524149442035   vmhba1<br />
vmhba1:0:26   disk   DGC        RAID 5             02001a0000600601606de02100cadbae397670de11524149442035   vmhba1<br />
vmhba1:0:27   disk   DGC        RAID 5             02001b0000600601606de02100584a57537670de11524149442035   vmhba1 &#8211; LUN 29<br />
vmhba1:0:28   disk   DGC        RAID 5             02001c0000600601606de021008aa643704c7bde11524149442035   vmhba1<br />
vmhba1:0:29   disk   DGC        RAID 5             02001d0000600601606de02100f2f4f4674c7bde11524149442035   vmhba1<br />
vmhba1:0:30   disk   DGC        RAID 5             02001e0000600601606de021002086b6b47ea8de11524149442035   vmhba1<br />
vmhba1:0:31   disk   DGC        RAID 5             02001f0000600601606de0210060beb13b9addde11524149442035   vmhba1<br />
vmhba1:0:32   disk   DGC        RAID 5             0200200000600601606de021006445e37ba7ddde11524149442035   vmhba1<br />
vmhba1:0:33   disk   DGC        RAID 5             0200210000600601606de0210060b2646eacddde11524149442035   vmhba1<br />
vmhba1:0:34   disk   DGC        RAID 5             0200220000600601606de021005405b1a931eede11524149442035   vmhba1 &#8211; LUN 36<br />
vmhba1:0:35   disk   DGC        RAID 5             0200230000600601606de02100986b2f4b3a7adf11524149442035   vmhba1 &#8211; LUN 37<br />
vmhba1:0:36   disk   DGC        RAID 10            0200240000600601606de021008e6c3164f5b1df11524149442031   vmhba1<br />
vmhba1:0:37   disk   DGC        RAID 10            0200250000600601606de02100e28ef880f5b1df11524149442031   vmhba1<br />
vmhba1:0:38   disk   DGC        RAID 5             0200260000600601606de021005aec3ec3f6b1df11524149442035   vmhba1<br />
vmhba1:0:39   disk   DGC        RAID 5             0200270000600601606de0210052791990f7b1df11524149442035   vmhba1<br />
vmhba1:0:40   disk   DGC        RAID 5             0200280000600601606de0210098b24703fab1df11524149442035   vmhba1<br />
vmhba1:0:41   disk   DGC        RAID 5             0200290000600601606de021009a753b9c9db2df11524149442035   vmhba1<br />
vmhba1:0:42   disk   DGC        RAID 5             02002a0000600601606de021009b753b9c9db2df11524149442035   vmhba1<br />
vmhba2:0:43   disk   DGC        RAID 5             02002b0000600601606de02100566157059eb2df11524149442035   vmhba1<br />
vmhba1:0:44   disk   DGC        RAID 5             02002c0000600601606de02100049c1c7f9eb2df11524149442035   vmhba1<br />
vmhba1:0:45   disk   DGC        RAID 5             02002d0000600601606de02100059c1c7f9eb2df11524149442035   vmhba1<br />
vmhba1:0:46   disk   DGC        RAID 10            02002e0000600601606de021000ea0339ff5b1df11524149442031   vmhba1<br />
vmhba1:0:47   disk   DGC        RAID 5             02002f0000600601606de02100069c1c7f9eb2df11524149442035   vmhba1</p>
<p>Search for the UUID from the strings in the iscsiluns.txt, you should only find this appearing once for each Vmhba, if you have multiple paths you may see</p>
<p>the same UUID more than once.</p>
<p>Now from this we can see that VMWare thinks vmhba1:0:27 (i.e. LUN 27 on the VMWare ESX server) is actually LUN 29 on the EMC SAN.</p>
<p>3. You can right click on a VMWare datastore and select &#8220;Properties&#8221; under the &#8220;Extents&#8221; pane you&#8217;ll see the vmhba1:0:34:xx number this is the LUN(s) that</p>
<p>are used to make this datastore, you can match from the iscsiluns.txt file to get a UUID then look for the UUID on the EMC Lun report.</p>
<p>From Navisphere you can run a report to display all the LUNS so you don&#8217;t have to hunt it down manually. From Navisphere, on the left pane select &#8220;Reporting&#8221;</p>
<p>and then click &#8220;Generate Report&#8221; you can then create a LUN report to get all the UUIDs and their LUN ID listed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=327</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APC UPS Management Card Utility Not Working</title>
		<link>http://www.geekmungus.co.uk/?p=323</link>
		<comments>http://www.geekmungus.co.uk/?p=323#comments</comments>
		<pubDate>Sat, 31 Jul 2010 17:48:43 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[APC UPS]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=323</guid>
		<description><![CDATA[I had the problem that the APC UPS Management Card Utility software used to configure the IP was not working. It detected the unconfigured card okay, and prompted for the settings but never took them. In the end I found a document from APC support that showed a workaround to get it configured. Note: you [...]]]></description>
			<content:encoded><![CDATA[<p>I had the problem that the APC UPS Management Card Utility software used to configure the IP was not working. It detected the unconfigured card okay, and prompted for the settings but never took them. In the end I found a document from APC support that showed a workaround to get it configured. Note: you need to be configuring the device on the same subnet as the computer running the utility. However you can change the IP to whatever you want afterwards.</p>
<p>&lt;!&#8211; 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 	&#8211;&gt;</p>
<p class="western" style="margin-bottom: 0cm;" align="center"><span style="font-size: medium;">How to configure Network Management Card 2 (AP9630)</span></p>
<ol>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Install APC Device IP 	Configuration Wizard</span></p>
</li>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Open APC Device IP 	Configuration Wizard</span></p>
</li>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">When NMC screen pops 	up (as below) then please write down MAC address.</span></p>
</li>
</ol>
<p style="margin-left: 1.27cm; margin-bottom: 0cm;" align="center">
<ol>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Open Command Prompt 	on Server (Start-&gt; Run -&gt; CMD)</span></p>
</li>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Enter the following 	command</span></p>
<ol>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Arp<strong>&lt;space&gt;</strong>–s<strong>&lt;space&gt;</strong>&lt;IP 		Address&gt;<strong>&lt;space&gt;</strong>&lt;MAC Address&gt;</span></p>
</li>
</ol>
</li>
</ol>
<p style="margin-left: 2.54cm; margin-bottom: 0cm;">
<ol>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Type: <strong>ping &lt;IP 	Address&gt; -l 113 </strong>(This is a lower case L)</span></p>
</li>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">If there is a reply, 	in Internet Explorer type: <strong>http://&lt;IP Address&gt;</strong></span></p>
</li>
<li>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Configure Management 	Card as usual.</span></p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=323</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ip helper-address Not working on Cisco 3750 Switch</title>
		<link>http://www.geekmungus.co.uk/?p=319</link>
		<comments>http://www.geekmungus.co.uk/?p=319#comments</comments>
		<pubDate>Thu, 01 Jul 2010 09:43:20 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[ip helper-address]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=319</guid>
		<description><![CDATA[I had a cisco 3750 switch that i wanted to enable some vlans for voice on, but only having one DHCP server on a completely seperate vlan to the voice vlans.
vlan 1 = data (dhcp server on this range)
vlan 266 = voice (phone dhcp clients on this range)
The switch for some reason had aload of [...]]]></description>
			<content:encoded><![CDATA[<p>I had a cisco 3750 switch that i wanted to enable some vlans for voice on, but only having one DHCP server on a completely seperate vlan to the voice vlans.</p>
<p>vlan 1 = data (dhcp server on this range)</p>
<p>vlan 266 = voice (phone dhcp clients on this range)</p>
<p>The switch for some reason had aload of dhcp server config on it before i started the exercise, so i removed the pools and ran the command: no service dhcp</p>
<p>This was the problem, running this command (no service dhcp) disables dhcp but also disables dhcp relay to, this stops the ip helper-address command from working too.</p>
<p>So even when i put the ip-helper address on the vlan as below it didn&#8217;t relay the dhcp broadcasts from the 266 vlan to the dhcp server on vlan 1.</p>
<p>interface Vlan266<br />
 description *** VOIP-BBlock ***<br />
 ip address 172.29.66.1 255.255.255.0<br />
 ip helper-address 172.19.5.131</p>
<p>Where 172.19.5.131 is the DHCP server address.</p>
<p><a title="Cisco Information Link" href="http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.2_25_seb/configuration/guide/swdhcp82.html#wp1122942" target="_blank">Cisco Information Link</a></p>
<p>So to fix it, i ran the command: service dhcp</p>
<p>(making sure any dhcp pool configuration has been removed, and this fixed the problem)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=319</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Documents freezing on load in Microsoft Word 2003</title>
		<link>http://www.geekmungus.co.uk/?p=316</link>
		<comments>http://www.geekmungus.co.uk/?p=316#comments</comments>
		<pubDate>Wed, 21 Apr 2010 18:22:16 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[Microsoft Word 2003]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=316</guid>
		<description><![CDATA[Here was a weird one, Word 2003 froze on startup, opening the document in word 2007 was the key to it, in the bottom left, it flashed up trying to connect to \\servername\folder\test.dot. Hmm in our case the servername was the name of a server that had been decommissioned! WOrd 2007 allows you to hit [...]]]></description>
			<content:encoded><![CDATA[<p>Here was a weird one, Word 2003 froze on startup, opening the document in word 2007 was the key to it, in the bottom left, it flashed up trying to connect to \\servername\folder\test.dot. Hmm in our case the servername was the name of a server that had been decommissioned! WOrd 2007 allows you to hit ESC to abort this. Word 2003 just freezes up.</p>
<p>The resolution is to stip this out of the file, either by using WOrd 2007 or by using the link belows solutions:</p>
<p>http://support.microsoft.com/default.aspx?scid=kb;EN-US;830561</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=316</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft DPM 2007 (ID 998 Details: An existing connection was forcibly closed by the remote host (0&#215;80072746))</title>
		<link>http://www.geekmungus.co.uk/?p=314</link>
		<comments>http://www.geekmungus.co.uk/?p=314#comments</comments>
		<pubDate>Wed, 21 Apr 2010 18:18:06 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[DPM]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=314</guid>
		<description><![CDATA[The operation failed because of a protection agent failure. (ID 998 Details:
An existing connection was forcibly closed by the remote host (0&#215;80072746))
Had this problem occouring when trying backup to tape.
The majority of the tape backup jobs worked fine, then on two of the disks on two of the servers it kept failing
interestingly failing at about [...]]]></description>
			<content:encoded><![CDATA[<p>The operation failed because of a protection agent failure. (ID 998 Details:<br />
An existing connection was forcibly closed by the remote host (0&#215;80072746))</p>
<p>Had this problem occouring when trying backup to tape.</p>
<p>The majority of the tape backup jobs worked fine, then on two of the disks on two of the servers it kept failing<br />
interestingly failing at about the same place. In our case at 3.5GB on one disk and 700MB on the other.</p>
<p>After getting Dell to replace the TL2000, upgraded firmware for the library and the drive, used the latest drivers from DEll and<br />
from IBM as its a IBM rebranded library and drive still the same problem.</p>
<p>Patched up all the hotfixes i could find at the time, SP1 of DPM 2007 too. Still no joy.</p>
<p>This doesn&#8217;t make sense as the backup is from the DPM replica to tape, it is NOT connecting to the original host.</p>
<p>I was with our Anti-virus guy (Kaspersky) and was discussing the problem, although i&#8217;d given him the list of the DPM volume<br />
mount points used to exclude from the scan the AV software still scanned the replica and volume shadow copies on the DPM server.</p>
<p>I retried the failed job and waiting, about 5 seconds before the tape job failed the AV detected 3 virsues on the disk and tried<br />
to delete them, as its in a volume mount point, it couldn&#8217;t and therefore blocked access, 10 seconds later the tape backup job reported failed.</p>
<p>So that was it the AV was causing the problem. Removed the AV software (to test) and reran the job went through no problems.</p>
<p>Now we have working backups the challenge is to get them to work with the AV installed (Kaspersky in our case)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=314</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DPM 2007 &#8211; Volume Missing</title>
		<link>http://www.geekmungus.co.uk/?p=311</link>
		<comments>http://www.geekmungus.co.uk/?p=311#comments</comments>
		<pubDate>Sat, 27 Feb 2010 18:18:31 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[DPM 2007]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=311</guid>
		<description><![CDATA[After a power cut, (before the UPS was installed!), on booting back up the DPM 2007 server, the server showed loads of replica disks saying &#8220;Volume Missing&#8221;, before i crying, it tried the following to get DPM to pick them back up and it appeared to work ok:
Run the command below to enable auto-detect of [...]]]></description>
			<content:encoded><![CDATA[<p>After a power cut, (before the UPS was installed!), on booting back up the DPM 2007 server, the server showed loads of replica disks saying &#8220;Volume Missing&#8221;, before i crying, it tried the following to get DPM to pick them back up and it appeared to work ok:</p>
<p>Run the command below to enable auto-detect of new volumes.</p>
<p>Mountvol /e</p>
<p>Rescan for disks in the COmputer Management Disk Management.</p>
<p>Then in DPM 2007 Console<br />
DPM 2007 -&gt; Management -&gt; Disks -&gt; Select DIsk 1<br />
Click Rescan and wait.</p>
<p>Repeat for all the disks you have.</p>
<p>Then go back to the &#8220;monitoring&#8221; tab. And select alerts you should see all this missing disk alerts disappear. Once gone mop up any other warnings and run some synchs on the disks that were missing just to be sure. But that should resolve the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=311</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSUS &#8211; Computers reporting and then disappearing</title>
		<link>http://www.geekmungus.co.uk/?p=305</link>
		<comments>http://www.geekmungus.co.uk/?p=305#comments</comments>
		<pubDate>Tue, 09 Feb 2010 18:20:35 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=305</guid>
		<description><![CDATA[Reset WSUS ClientBeen working on WSUS and have setup a WSUS server. However started to get a problem whereby the computers were appearing on WSUS and reporting their status then disappearing. I noticed that they were disappearing and being replaced by another computer.
It turns out that when a machine is ghosted and then sysprep&#8217;ed it [...]]]></description>
			<content:encoded><![CDATA[<p>Reset WSUS ClientBeen working on WSUS and have setup a WSUS server. However started to get a problem whereby the computers were appearing on WSUS and reporting their status then disappearing. I noticed that they were disappearing and being replaced by another computer.</p>
<p>It turns out that when a machine is ghosted and then sysprep&#8217;ed it doesnt reset the WSUS id, which is a unique ID that WSUS uses to track the computer. So i&#8217;ve been able to come up with a script that can be run manually or via a script (GPO) on startup to reset this ID and make it talk properly to WSUS. Note this also sorted problems with Virtual Machines that have been cloned too.</p>
<p>Set oShell = CreateObject(&#8221;WScript.Shell&#8221;)</p>
<p>sRegKey = &#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate&#8221;<br />
pRegKey = &#8220;HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections&#8221;</p>
<p>&#8216; suppress error in case values does not exist<br />
On Error Resume Next</p>
<p>&#8216; check for marker<br />
sIDDeleted = oShell.RegRead( sRegKey &amp; &#8220;\IDDeleted&#8221;)</p>
<p>&#8216; to be sure values is only deleted once, test on marker<br />
If sIDDeleted &lt;&gt; &#8220;yes&#8221; Then</p>
<p>&#8216; delete any WinHttpSettings registry entry (interferes with WSUS)<br />
oshell.RegDelete pRegKey &amp; &#8220;\WinHttpSettings&#8221;</p>
<p>&#8216; delete values<br />
oShell.RegDelete sRegKey &amp; &#8220;\AccountDomainSid&#8221;<br />
oShell.RegDelete sRegKey &amp; &#8220;\PingID&#8221;<br />
oShell.RegDelete sRegKey &amp; &#8220;\SusClientId&#8221;</p>
<p>&#8216; Stop and start the Automatic updates service<br />
oShell.Run &#8220;%SystemRoot%\system32\net.exe stop wuauserv&#8221;, 0, True<br />
oShell.Run &#8220;%SystemRoot%\system32\net.exe start wuauserv&#8221;, 0, True</p>
<p>&#8216; Run wuauclt.exe with resetauthorization<br />
sCmd = &#8220;%SystemRoot%\system32\wuauclt.exe /resetauthorization /detectnow&#8221;<br />
oShell.Run sCmd, 0, True</p>
<p>&#8216; create marker<br />
oShell.RegWrite sRegKey &amp; &#8220;\IDDeleted&#8221;, &#8220;yes&#8221;</p>
<p>End If</p>
<p>Note: this should be copied and saved as a .vbs file. I&#8217;ve also attached it as a file to this post, needs to be renamed though!</p>
<p><a href="http://www.geekmungus.co.uk/wp-content/uploads/2010/02/Reset-WSUS-Client.txt">Reset WSUS Client</a> Script</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=305</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Jumbo Frames on Hardware ISCSI HBA vmhba</title>
		<link>http://www.geekmungus.co.uk/?p=302</link>
		<comments>http://www.geekmungus.co.uk/?p=302#comments</comments>
		<pubDate>Sat, 30 Jan 2010 16:04:12 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[jumbo frames]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=302</guid>
		<description><![CDATA[If you need to use jumbo frames on your ISCSI you need to run this command from the command line of the ESX host:
esxcfg-hwiscsi -j enable &#60;vmhbaX&#62;
e.g.
esxcfg-hwiscsi -j enable vmhba1
You&#8217;ll need to reboot to let the changes take effect. To verify run:
esxcfg-hwiscsi -l – lists the current settings.
Useful link: http://www.vi-tips.com/2009/04/configuration-of-iscsi-in-vmware-vi3.html
]]></description>
			<content:encoded><![CDATA[<p>If you need to use jumbo frames on your ISCSI you need to run this command from the command line of the ESX host:</p>
<p>esxcfg-hwiscsi -j enable &lt;vmhbaX&gt;</p>
<p>e.g.</p>
<p>esxcfg-hwiscsi -j enable vmhba1</p>
<p>You&#8217;ll need to reboot to let the changes take effect. To verify run:<br />
esxcfg-hwiscsi -l – lists the current settings.</p>
<p>Useful link: <a title="http://www.vi-tips.com/2009/04/configuration-of-iscsi-in-vmware-vi3.html" href="http://www.vi-tips.com/2009/04/configuration-of-iscsi-in-vmware-vi3.html" target="_blank">http://www.vi-tips.com/2009/04/configuration-of-iscsi-in-vmware-vi3.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=302</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finding email addresses on an object in Active Directory</title>
		<link>http://www.geekmungus.co.uk/?p=299</link>
		<comments>http://www.geekmungus.co.uk/?p=299#comments</comments>
		<pubDate>Mon, 24 Aug 2009 14:49:36 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=299</guid>
		<description><![CDATA[http://www.msexchange.org/articles/Finding-Duplicate-SMTP-Addresses.html
Shows how to find an email address within the Exchange infrastructure.
]]></description>
			<content:encoded><![CDATA[<p>http://www.msexchange.org/articles/Finding-Duplicate-SMTP-Addresses.html</p>
<p>Shows how to find an email address within the Exchange infrastructure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=299</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating a DHCP server from one server to another</title>
		<link>http://www.geekmungus.co.uk/?p=297</link>
		<comments>http://www.geekmungus.co.uk/?p=297#comments</comments>
		<pubDate>Wed, 29 Jul 2009 14:33:38 +0000</pubDate>
		<dc:creator>geekmungus</dc:creator>
				<category><![CDATA[Geek Tips]]></category>
		<category><![CDATA[dhcp]]></category>

		<guid isPermaLink="false">http://www.geekmungus.co.uk/?p=297</guid>
		<description><![CDATA[Heres a neat trick, seems to work ok. Remember however, when you export it switches off the old dhcp server. So be quick!
http://support.microsoft.com/kb/325473/
]]></description>
			<content:encoded><![CDATA[<p>Heres a neat trick, seems to work ok. Remember however, when you export it switches off the old dhcp server. So be quick!</p>
<p><a href="http://support.microsoft.com/kb/325473/" target="_blank">http://support.microsoft.com/kb/325473/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekmungus.co.uk/?feed=rss2&amp;p=297</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
