<?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>SinkingDucks</title>
	<atom:link href="http://sinkingducks.com/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://sinkingducks.com/wordpress</link>
	<description>Tales from a happy lucky duck!</description>
	<lastBuildDate>Tue, 02 Aug 2011 12:25:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to get rid of an EISA partition</title>
		<link>http://sinkingducks.com/wordpress/?p=145</link>
		<comments>http://sinkingducks.com/wordpress/?p=145#comments</comments>
		<pubDate>Tue, 02 Aug 2011 12:25:11 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=145</guid>
		<description><![CDATA[If you ever need to remove the EISA partition that gets created by things like Dell and HP server installation CDs, this is how.  This is useful if you&#8217;ve carried out a physical to virtual conversion of a machine with &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=145">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>If you ever need to remove the EISA partition that gets created by things like Dell and HP server installation CDs, this is how.  This is useful if you&#8217;ve carried out a physical to virtual conversion of a machine with an EISA partition on it and the EISA has been virtualised too, or if you want to set up a software RAID 1 mirror and want to keep things simple in your boot.ini file&#8230;</p>
<p>This is what the EISA partition looks like in Disk Management:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.png"><img class="aligncenter size-full wp-image-146" title="eisa1" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.png" alt="" width="973" height="631" /></a></p>
<p>First thing to do is to set the c:\boot.ini file to <em>not</em> be read only.  Right-click on it, select properties and untick Read-only:</p>
<p><img class="aligncenter" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.11.png" alt="" width="364" height="498" /></p>
<p>Then edit the c:\boot.ini file in notepad and change the two number 2s to number 1s as shown.  This is because when you have deleted the EISA partition you will have changed the Windows partition from partition 2 to partition 1.  Save the file after making the changes.</p>
<p>Before:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.2.png"><img class="aligncenter size-full wp-image-151" title="eisa1.2" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.2.png" alt="" width="972" height="169" /></a></p>
<p>After:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.3.png"><img class="aligncenter size-full wp-image-152" title="eisa1.3" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa1.3.png" alt="" width="970" height="155" /></a></p>
<p>Reboot the machine and boot off of the Windows CD.  Press R to boot into the Recovery Console:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa2.png"><img class="aligncenter size-full wp-image-153" title="eisa2" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa2.png" alt="" width="642" height="397" /></a></p>
<p>Once in the Recovery Console, type in diskpart and hit return:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa3.png"><img class="aligncenter size-full wp-image-154" title="eisa3" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa3.png" alt="" width="641" height="397" /></a></p>
<p>In diskpart, highlight the 39MB Partition1 and press D to Delete Partition:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa4.png"><img class="aligncenter size-full wp-image-155" title="eisa4" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa4.png" alt="" width="626" height="376" /></a></p>
<p>Press L to Delete:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa5.png"><img class="aligncenter size-full wp-image-156" title="eisa5" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa5.png" alt="" width="641" height="396" /></a></p>
<p>The partition will now show as unpartitioned space:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa6.png"><img class="aligncenter size-full wp-image-157" title="eisa6" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa6.png" alt="" width="637" height="396" /></a></p>
<p>Quit out of diskpart and reboot the machine and hopefully you&#8217;ll see this:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa7.png"><img class="aligncenter size-full wp-image-158" title="eisa7" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa7.png" alt="" width="635" height="475" /></a></p>
<p>Back in Disk Management the partition should now look like this:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa8.png"><img class="aligncenter size-full wp-image-159" title="eisa8" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa8.png" alt="" width="939" height="494" /></a></p>
<p>Last thing to do is to set the c:\boot.ini file to be read only again.  Right-click on it, select properties and tick Read-only:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa9.png"><img class="aligncenter size-full wp-image-160" title="eisa9" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/08/eisa9.png" alt="" width="366" height="501" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=145</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secret Preferences Menu in Retrospect!</title>
		<link>http://sinkingducks.com/wordpress/?p=138</link>
		<comments>http://sinkingducks.com/wordpress/?p=138#comments</comments>
		<pubDate>Wed, 23 Feb 2011 09:24:27 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Retrospect]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=138</guid>
		<description><![CDATA[Dantz / EMC Retrospect has a secret preferences menu to allow you to do things like ramp up the diagnostics logging for debugging problems and other interesting stuff. To access it just hold down CTRL-ALT and press P twice. It &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=138">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Dantz / EMC Retrospect has a secret preferences menu to allow you to do things like ramp up the diagnostics logging for debugging problems and other interesting stuff.  To access it just hold down CTRL-ALT and press P twice.</p>
<p>It looks like this:</p>
<p><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/02/retrospect-secret-menu.png"><img class="aligncenter size-full wp-image-139" title="Retrospect's secret preferences menu" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/02/retrospect-secret-menu.png" alt="Retrospect's secret preferences menu" width="548" height="512" /></a></p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=138</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V backups fail in Backup Exec because of clashing disk IDs</title>
		<link>http://sinkingducks.com/wordpress/?p=93</link>
		<comments>http://sinkingducks.com/wordpress/?p=93#comments</comments>
		<pubDate>Tue, 01 Feb 2011 19:16:36 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=93</guid>
		<description><![CDATA[Backup Exec Hyper-V agent backups seem to be a bit of a black art. I&#8217;ve had several occurrences of this particular issue. The backups fail every time with the following error: Job ended: 21 September 2010 at 12:05:17 Completed status: &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=93">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Backup Exec Hyper-V agent backups seem to be a bit of a black art.  I&#8217;ve had several occurrences of this particular issue.  The backups fail every time with the following error:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">

Job ended: 21 September 2010 at 12:05:17
Completed status: Failed
Final error: 0xe000fed1 - A failure occurred querying the Writer status.
Final error category: Resource Errors

For additional information regarding this error refer to link <a href="http://eventlookup.veritas.com/eventlookup/EventLookup.jhtml?EvtID=V-79-57344-65233" target="_blank">V-79-57344-65233</a>

Click an error below to locate it in the job log

Backup- SERVERNAME.domain.com
V-79-57344-65233 - AOFO: Initialization failure on: "VRTSRV::\\SERVERNA
ME.domain.com\Hyper-V?Virtual?Machine\VirtualServerName". Advanced Open
File Option used: Microsoft Volume Shadow Copy Service (VSS).

Snapshot provider error (0xE000FED1): A failure occurred querying the
Writer status.

Check the Windows Event Viewer for details.

Writer Name: Microsoft Hyper-V, Writer ID: {66841CD4-6DED-4F4B-8F17-
FD23F8DDC3DE}, Last error: The VSS Writer failed, but the operation can
be retried (0x800423f3), State: Waiting for backup complete notification
(5).
</pre>
</div>
<p></p>
<p>In the Windows system event log the following is logged:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">

Log Name:      System
Source:        partmgr
Date:          21/09/2010 12:11:38
Event ID:      58
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      SERVERNAME.domain.com
Description:
The disk signature of disk 10 is equal to the disk signature of disk 0.
</pre>
</div>
<p></p>
<p>I carried out the following to investigate this disk signature error:</p>
<p>On the virtual guest machine open a command prompt and run:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">

diskpart
list disk
select disk 0
detail disk
</pre>
</div>
<p></p>
<p style="text-align: left;">Which will look like this (click to enlarge):</p>
<p style="text-align: center;"><a href="http://sinkingducks.com/wordpress/wp-content/uploads/2011/02/diskpart1.jpg" target="_blank"><img class="aligncenter size-full wp-image-96" title="diskpart output" src="http://sinkingducks.com/wordpress/wp-content/uploads/2011/02/diskpart1.jpg" alt="diskpart output" width="420" height="350" /></a></p>
<p></p>
<p style="text-align: left;">Note down the value of Disk ID circled in red in the above picture.  It will probably be 00000080 as in the example.</p>
<p style="text-align: left;">Now repeat this process on the Hyper-V host server.  You&#8217;ll find that disk 0 on the Hyper-V host server also has a Disk ID of 00000080.</p>
<p style="text-align: left;">The reason this is a problem is that when Backup Exec tries to back up the virtual server using the Hyper-V agent it mounts the virtual hard drive on the host server.  You then have two disks mounted on one server with the same Disk ID which causes the backup to fail.</p>
<p style="text-align: left;">
<div>To fix, do this:</div>
<p>Obtain a small utility called dumpcfg.exe.  It’s supposed to be part of the Windows 2000 res kit but after some googling I managed to download it.  Let me know if you can&#8217;t find it!</p>
<p>On the virtual guest machine, use dumpcfg to change the Disk ID with the following command:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">

dumpcfg.exe –S00000081 0

(the '0' at the end of the command is
 the disk number from diskpart above)>

</pre>
</div>
<p></p>
<p>Re run the backup and it should now work&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=93</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2003 Server virtual machine in Hyper-V blue screens after installing the Integration Services.</title>
		<link>http://sinkingducks.com/wordpress/?p=72</link>
		<comments>http://sinkingducks.com/wordpress/?p=72#comments</comments>
		<pubDate>Fri, 02 Jul 2010 07:53:02 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=72</guid>
		<description><![CDATA[I carried out a physical-to-virtual (p2v) conversion of a Windows 2003 Server SP1 to a Hyper-V virtual machine using the Sysinternals Disk2VHD tool (download from http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx), installed the Integration Services pack, rebooted and got a blue screen of death.  Rebooted &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=72">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I carried out a physical-to-virtual (p2v) conversion of a Windows 2003 Server SP1 to a Hyper-V virtual machine using the Sysinternals Disk2VHD tool (download from <a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx</a>), installed the Integration Services pack, rebooted and got a blue screen of death.  Rebooted again, BSOD again, with an error code of:</p>
<p><strong>0x0000007B INACCESSIBLE_BOOT_DEVICE</strong></p>
<p>Here&#8217;s how to fix:</p>
<ol>
<li><strong>Reboot the virtual machine and press F8 to get into the recovery options and choose &#8216;Last known good&#8217;.  This is one of the rare times that this option does any good!</strong></li>
<li><strong>The server should boot into Windows but without the Integration Services pack working.</strong></li>
<li><strong> Go into Add / Remove Programs and uninstall Integration Services. Reboot.  It should reboot without crashing now.</strong></li>
<li><strong>Back in Windows, run regedit, and find the following registry key: </strong><strong><em>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wdf01000</em></strong></li>
<li><strong></strong><strong>The value of this will probably be set to base&#8230;  Change it to WdfLoadGroup</strong></li>
<li><strong></strong><strong>Reboot.  Reinstall Integration Services.  Reboot.  Should all be working.</strong></li>
</ol>
<p>Thanks to Robert Vierthaler for finding this here:</p>
<p><a href="http://blogs.msdn.com/b/robertvi/archive/2009/10/07/after-installing-hyper-v-integration-services-on-the-next-reboot-the-vm-displays-bsod-0x0000007b.aspx" target="_blank">http://blogs.msdn.com/b/robertvi/archive/2009/10/07/after-installing-hyper-v-integration-services-on-the-next-reboot-the-vm-displays-bsod-0x0000007b.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=72</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Active Directory home directory drive mapping missing.</title>
		<link>http://sinkingducks.com/wordpress/?p=69</link>
		<comments>http://sinkingducks.com/wordpress/?p=69#comments</comments>
		<pubDate>Tue, 13 Apr 2010 10:10:22 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=69</guid>
		<description><![CDATA[I had a problem on a site where the users weren&#8217;t always picking up their home directory drive mappings from Active Directory, usually when connecting to terminal servers or virtual workstations. This isn&#8217;t a fix for that issue but it &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=69">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>I had a problem on a site where the users weren&#8217;t always picking up their home directory drive mappings from Active Directory, usually when connecting to terminal servers or virtual workstations.</p>
<p>This isn&#8217;t a fix for that issue but it is a workaround that may prove useful elsewhere. This vbscript will detect the missing drive mapping (I&#8217;ve used H:) and map it using the home directory path set for the user in Active Directory.</p>
<p>Copy it into notepad, save it as a .vbs file, add it as a logon script. Job done. </p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">
'This script will manually add a users home drive mapping as H: if it isn't mapped by active directory at login.
'Save it as something.vbs and add it to your logon scripts.
'It also writes a logfile out to c:\script_log.txt with the results.
'Shared on www.sinkingducks.com.

Option Explicit
On error resume next

'Declarations
	'oz = objects
	'sz = strings
	'az = arrays
	'iz = integers
	'bz = Booleans
	'rs = Recordsets
	'fz = Functions
Dim ozNetwork, ozUser, ozFileSysObj
Dim ozCurrentUser
Dim szUserName, szComputerName, szHomeDirectory 

'Create objects
Set ozNetwork = CreateObject("WScript.Network")
Set ozUser = CreateObject("ADSystemInfo")
Set ozFileSysObj = CreateObject("Scripting.FileSystemObject")

'Get user name
szUserName = uCase(ozNetwork.UserName)

'Get home directory path
Set ozCurrentUser = GetObject("LDAP://" &#038; ozUser.UserName)
szHomeDirectory = ozCurrentUser.Get("homeDirectory")

'Map H: if it doesn't exist
If not ozFileSysObj.FolderExists("H:\") then MapNetworkDrive "H:", szHomeDirectory, "", ""

'---------------------------------------------------------------------------------------------
'Functions

Function MapNetworkDrive(szDriveLetter,szNetworkPath, szNewUser, szPassword)
'Map network drive
On Error Resume Next
	Dim bzUpdateProfile

	bzUpdateProfile = "False"

	WriteLog "Mapping drive " &#038; szDriveLetter

	If szNewUser = "" or szPassword = "" Then
		ozNetwork.MapNetworkDrive szDriveLetter, szNetworkPath, bzUpdateProfile
	Else
		ozNetwork.MapNetworkDrive szDriveLetter, szNetworkPath, bzUpdateProfile, szNewUser, szPassword
	End If
	If Err.Number <> 0 then
		WriteLog Err.Description
	Else
		WriteLog "Drive " &#038; szDriveLetter &#038; " was mapped"
	End If
End Function

Function WriteLog(szMessage)
'Write messages out to log file
On Error Resume Next
	Dim szNow, szTempFolder,szFilename
	Dim ozHistory

	szNow = CStr(Now)
	szTempFolder=mid(ozShell.ExpandEnvironmentStrings("%temp%"),3)
	szFilename = "c:" &#038; szTempFolder &#038; "\script_log.txt"

	ozBrowser.document.all.szlog.Value = szMessage  &#038;  vbCrLf  &#038;  ozBrowser.document.all.szlog.Value 

	Set ozHistory = ozFileSysObj.OpenTextFile(szFileName, 8, True)

	ozHistory.WriteLine(szNow  &#038;  ":"  &#038;  szComputerName  &#038;  ":"  &#038;  szUserName  &#038;  ":"  &#038;  szMessage)
	ozHistory.Close
	err.description = ""
	err.Number = 0
End Function
'---------------------------------------------------------------------------------------------
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=69</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Event ID 15006 MSExchangeTransport: Exchange 2007 is low on disk space!</title>
		<link>http://sinkingducks.com/wordpress/?p=54</link>
		<comments>http://sinkingducks.com/wordpress/?p=54#comments</comments>
		<pubDate>Tue, 06 Apr 2010 14:24:51 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=54</guid>
		<description><![CDATA[Here&#8217;s a quick fix for a particular issue I have encountered a few times with Microsoft Exchange 2007.  I&#8217;m mainly posting this so I don&#8217;t forget it myself! The problem is as follows&#8230; Exchange 2007 stops receiving email and the &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=54">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick fix for a particular issue I have encountered a few times with Microsoft Exchange 2007.  I&#8217;m mainly posting this so I don&#8217;t forget it myself!</p>
<p>The problem is as follows&#8230;</p>
<p>Exchange 2007 stops receiving email and the following event is logged in the Application event log:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">Log Name:	Application
Source:		MSExchangeTransport
Date:		4/6/2010 9:37:30 AM
Event ID:	15006
Task Category:	ResourceManager
Level:		Error
Keywords:	Classic
User:		N/A
Computer:	computername.domain.com
Description:
The Microsoft Exchange Transport service is rejecting message submissions because the available disk space has dropped below the configured threshold.
Resource utilization of the following resources exceed the normal level:
Queue database logging disk space ("C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\") = 97% [Medium] [Normal=95% Medium=97% High=99%]
Back pressure caused the following components to be disabled:
Inbound mail submission from the Internet
Mail submission from the Pickup directory
Mail submission from the Replay directory</pre>
</div>
<p>This error indicates that the drive that the Exchange 2007 message queue is installed on is running low on space, although because the thresholds are calculated as percentages the available space may not appear to be that low!</p>
<p>There are two possible fixes:</p>
<ol>
<li>Delete some stuff to free up space.</li>
<li>Move the queue to an alternative location.  To do this, edit the EdgeTransport.exe.CONFIG file, which can be found in the Exchange Bin folder. If your Exchange is installed with all the default options this will probably be in C:\Program Files\Microsoft\Exchange Server\Bin. Find and change the following lines:</li>
</ol>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">&lt;add key="QueueDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue" /&gt;
&lt;add key="QueueDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue" /&gt;</pre>
</div>
<p>Amend the paths in these two lines to the desired new location on another drive with more free space, so you may end up with something like:</p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC;">&lt;add key="QueueDatabasePath" value="D:\ExchangeQueue" /&gt;
&lt;add key="QueueDatabaseLoggingPath" value="D:\ExchangeQueue" /&gt;</pre>
</div>
<p>Create the folder that you are redirecting the queue to, restart the Microsoft Exchange Transport service, job done!</p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Email alerts from failed Windows scheduled tasks.</title>
		<link>http://sinkingducks.com/wordpress/?p=41</link>
		<comments>http://sinkingducks.com/wordpress/?p=41#comments</comments>
		<pubDate>Tue, 16 Mar 2010 13:46:25 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=41</guid>
		<description><![CDATA[So I&#8217;ve just been asked to find a way to monitor Windows Scheduled Tasks and send alert emails if are failing. I found most of the solution in this forum post: http://forums.techarena.in/server-scripting/972774.htm and set about making it work with Blat, &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=41">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve just been asked to find a way to monitor Windows Scheduled Tasks and send alert emails if are failing.  I found most of the solution in this forum post:  <a href="http://forums.techarena.in/server-scripting/972774.htm" target="_blank">http://forums.techarena.in/server-scripting/972774.htm</a> and set about making it work with <a href="http://www.blat.net" target="_blank">Blat</a>, the Win32 command line email utility, as suggested in the post. </p>
<p>To use, download and install Blat on the PC or server to be monitored. Copy / paste the code below into notepad and save it as a .bat or .cmd somewhere sensible. Amend the variables as instructed in the code. Schedule the script to run after all the other scheduled tasks should have finished. Job done! </p>
<div id="ScriptCode">
<pre style="font-size: 10.0pt; font-family: Courier New; margin-left: 0in; margin-right: 0.5in; margin-top: 0in; margin-bottom: 0pt; background: #BBFFCC">
@echo off
REM This script checks the Last Result code of every Scheduled Task on Windows XP or 2003 Server.
REM If the code isn't 0x0 it emails a warning using Blat from http://www.blat.net.
REM The script has been adapted from a post I found on Techarena here: http://forums.techarena.in/server-scripting/972774.htm
REM Install Blat from the above website onto the PC or server to be monitored.
REM Save this script on the machine in c:\scripts as a .bat or .cmd file.
REM Amend YourEmailAddress@Domain.com, smtp.domain.com, c:\pathtoscript and @domain.com to suit your situation.
REM Schedule the script to run after all the other Scheduled Tasks have finished.

REM Change the values after the equals sign (=) below to you email address, SMTP server and the path to the script.

set YourEmailAddress=YourEmailAddress@Domain.com
set SMTPServer=smtp.domain.com
set PathToScript=c:\pathtoscript

REM Change the value of @domain.com below to be your email domain.
set FromAddress=%computername%@domain.com

REM Stop making changes now!

for /F "delims=" %%a in ('schtasks /query /v /fo:list ^| findstr /i "Taskname Result"') do call :Sub %%a
goto :eof

:Sub
set Line=%*
set BOL=%Line:~0,4%
set MOL=%Line:~38%
if /i %BOL%==Task (
set name=%MOL%
goto :eof
)
set result=%MOL%
echo Task Name=%name%, Task Result=%result%
if not %result%==0 (
echo Task %name% failed with result %result% >c:\scripts\taskcheckerlog.txt
blat %PathToScript%\taskcheckerlog.txt -to %YourEmailAddress% -subject "Warning! Failed Scheduled Task on %computername%" -serverSMTP %SMTPServer% -f %FromAddress%
)
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=41</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>.NET 3.5 SP1&#8230; You try installing it!</title>
		<link>http://sinkingducks.com/wordpress/?p=37</link>
		<comments>http://sinkingducks.com/wordpress/?p=37#comments</comments>
		<pubDate>Wed, 24 Feb 2010 14:36:08 +0000</pubDate>
		<dc:creator>Sinking</dc:creator>
				<category><![CDATA[Microsoft Hell]]></category>

		<guid isPermaLink="false">http://sinkingducks.com/wordpress/?p=37</guid>
		<description><![CDATA[So I wasted a good couple hours of my life today trying to get .NET 3.5 SP1 installed on a Windows 2003 Server. It failed at every attempt, whether from a download or from windowsupdate. In the end, the fix &#8230;<p class="read-more"><a href="http://sinkingducks.com/wordpress/?p=37">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>So I wasted a good couple hours of my life today trying to get .NET 3.5 SP1 installed on a Windows 2003 Server. It failed at every attempt, whether from a download or from windowsupdate. In the end, the fix was fairly simple (in a rip-it-all-out-and-start-over kinda way!)</p>
<ol>
<li>Download the .NET Framework cleanup tool from Aaron Stebner&#8217;s blog: <a title="Aaron Stebner's WebLog" href="http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx" target="_blank">http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx</a></li>
<li>Uninstall all existing versions of .NET Framework.</li>
<li>Run Aaron Stebner&#8217;s .NET Framework cleanup tool and reboot.</li>
<li>Install .NET Framework Version 1.1.</li>
<li> Install .NET Framework Version 2.0.</li>
<li>Reboot.</li>
<li>Install .NET Framework 3.5 Service Pack 1.</li>
</ol>
<p>This clearly has scope to break many other things.  And that clearly won&#8217;t be my fault!</p>
]]></content:encoded>
			<wfw:commentRss>http://sinkingducks.com/wordpress/?feed=rss2&#038;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

