<?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>Everyday Nerd &#187; DPM</title>
	<atom:link href="http://everydaynerd.com/category/microsoft/software-microsoft/dpm/feed" rel="self" type="application/rss+xml" />
	<link>http://everydaynerd.com</link>
	<description>Just your everyday nerd</description>
	<lastBuildDate>Mon, 21 Nov 2011 17:55:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
  <link>http://everydaynerd.com</link>
  <url>http://everydaynerd.com/apple-touch-icon.png</url>
  <title>Everyday Nerd</title>
</image>
		<item>
		<title>Error Opening DPM 2007 MMC</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc#comments</comments>
		<pubDate>Tue, 24 Mar 2009 19:40:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2009/03/24/error-opening-dpm-2007-mmc</guid>
		<description><![CDATA[Today did not go exactly the way I wanted it to go.  I had great plans to actually get a lot done.  DPM decided that my plans for a productive day were stupid, and threw this crap at me: MMC &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/general/dpm-2007-sp1-virtual-labs-from-microsoft' rel='bookmark' title='DPM 2007 SP1 Virtual Labs from Microsoft'>DPM 2007 SP1 Virtual Labs from Microsoft</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Today did not go exactly the way I wanted it to go.  I had great plans to actually get a lot done.  DPM decided that my plans for a productive day were stupid, and threw this crap at me:</p>
<p><em><img title="image" border="0" alt="image" src="http://lh6.ggpht.com/_MPh69jWf-_I/Sck3KWdfxmI/AAAAAAAAHp4/wm1WxOM-WGA/image%5B29%5D.png?imgmax=800" width="604" height="123" /></em></p>
<blockquote><p><em>MMC cannot open the file E:\Program Files\Microsoft DPM\DPM\bin\Microsoft System Center Data Protection Manager 2007.msc. </em></p>
<p><em>This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient access rights to the file.</em></p>
</blockquote>
<p>Grrrrrrrr…  What a pain.  I first thought that the .msc file was corrupt, so I copied the same from another DPM server, but to no avail.  I found some tips on the internet that led to registering a .dll file, but that didn’t work (regsvr32 msxml3.dll).</p>
<p>I figured something was wrong with DPM, so as much as I didn’t want to, I uninstalled DPM, reinstalled it, restored the DPM database (you are backing up your DPM database right?!??!) but was STILL getting the same stupid error!</p>
<p>So, workaround time.  I opened mmc (Start, run, MMC, enter), went to file, add/remove snap-in, and added Microsoft System Center Data Protection Manager 2007.</p>
<p><img title="image" border="0" alt="image" src="http://lh4.ggpht.com/_MPh69jWf-_I/Sck3Kzzv6pI/AAAAAAAAHp8/UjXl5XLS3_0/image%5B30%5D.png?imgmax=800" width="257" height="215" /> </p>
</p>
<p><img title="image" border="0" alt="image" src="http://lh6.ggpht.com/_MPh69jWf-_I/Sck3LuweCsI/AAAAAAAAHqA/C6TyJZSPspU/image%5B31%5D.png?imgmax=800" width="454" height="394" /></p>
<p>This <strong>did</strong> work, but was really buggy.  The MMC kept crashing, and also wouldn’t let me get rid of the right folder view – ugly, but will do in a pinch…</p>
<p>Well, I finally got digging some more, and found that in my %appdata% directory, there lives an MMC folder </p>
<blockquote><p>C:\Documents and Settings\\Application Data\Microsoft\MMC<img title="image" border="0" alt="image" src="http://lh5.ggpht.com/_MPh69jWf-_I/Sck3Me-m3QI/AAAAAAAAHqE/1lLj2bArrSs/image%5B33%5D.png?imgmax=800" width="454" height="197" /></p>
</blockquote>
<p>Delete the <em>Microsoft System Center Data Protection Manager 2007</em> file, and then launch DPM.  It will launch without any problems.  Man, I just wasted about 7 hours on this stupid thing!!!  Hope this can help someone!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/general/dpm-2007-sp1-virtual-labs-from-microsoft' rel='bookmark' title='DPM 2007 SP1 Virtual Labs from Microsoft'>DPM 2007 SP1 Virtual Labs from Microsoft</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Grow DPM Protection Groups by Percentage Thresholds</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds#comments</comments>
		<pubDate>Tue, 20 Jan 2009 19:04:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2009/01/20/auto-grow-dpm-protection-groups-by-percentage-thresholds</guid>
		<description><![CDATA[Managing many DPM servers can turn into quite a time consuming activity, especially when it comes to allocating more disk space to Data Sources.  The Ctrl-P DPM blog has a real simple auto-grow script on their site, but I personally &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection' rel='bookmark' title='Script to remove all datasources in Inactive Protection'>Script to remove all datasources in Inactive Protection</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Managing many DPM servers can turn into quite a time consuming activity, especially when it comes to allocating more disk space to Data Sources.  The Ctrl-P DPM blog has a real simple auto-grow script on their site, but I personally have had issues with it, as have many others on the Net.  It is also rather lacking in “bells and whistles” but for an everyday DPM admin, it sure would make life easier.  In my quest for ways to make my job easier, I found this absolutely AWESOME script that Owen Clashing <a href="http://oclashing.spaces.live.com/blog/cns!41A7CD6191124074!258.entry">wrote on his blog</a>.</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, 'Courier New', courier, monospace;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#008000;">#This DPM powershell script helps automate the growing of replica and shadow copy volumes which need to be grown.</span><span style="color:#0000ff;">param</span>([string] $DPMServerName, [string] $Mode, [int] $ReplicaThreshold, [int] $ReplicaGrowBy, [int] $RecoveryPointThreshold, [int] $RecoveryPointGrowBy) 

<span style="color:#008000;">###### Define variables for default values</span>$DefaultDPMServerName         = $env:COMPUTERNAME  <span style="color:#008000;"># Assumes that the current computer is the DPM server</span>$DefaultMode                 = <span style="color:#006080;">"A"</span>$DefaultReplicaThreshold     = 90$DefaultReplicaGrowBy         = 5$DefaultShadowCopyThreshold = 90$DefaultShadowCopyGrowBy     = 5<span style="color:#008000;">######</span>

<span style="color:#0000ff;">function</span> Usage(){    write-host    write-host <span style="color:#006080;">"Usage::"</span>    write-host <span style="color:#006080;">"AutoGrowByPercentWithDefaults.ps1"</span>    write-host <span style="color:#006080;">"AutoGrowByPercentWithDefaults.ps1 -DPMServerName [DPMServername] -Mode [A|C]"</span>    write-host    write-host <span style="color:#006080;">"Run 'AutoGrowByPercentWithDefaults.ps1 -detailed' for detailed help"</span>    write-host    write-host}

<span style="color:#0000ff;">if</span>((<span style="color:#006080;">"-?"</span>,<span style="color:#006080;">"-help"</span>) -contains $args[0]){    Usage    exit 0}

<span style="color:#0000ff;">if</span>((<span style="color:#006080;">"-detailed"</span>) -contains $args[0]){    write-host    write-host <span style="color:#006080;">"Detailed Help :  Use this script to automatically grow the replica and recovery point volume sizes"</span>    write-host <span style="color:#006080;">"Parameters:"</span>    write-host <span style="color:#006080;">"-DPMServerName [DPMServername] :: The name of the DPM server that is being targetted"</span>    write-host <span style="color:#006080;">"-Mode [A|C] :: A - Audit only (make no disk allocation changes); C - Change disk allocations"</span>    write-host <span style="color:#006080;">"-ReplicaThreshold [Replica Threshold %] :: Percentage usage above which disk space allocation for the replica volume will be triggered"</span>    write-host <span style="color:#006080;">"-ReplicaGrowBy [Replica Grow By %] :: Percentage by which to grow the replica volume"</span>    write-host <span style="color:#006080;">"-RecoveryPointThreshold [Recovery Point Threshold %] :: Percentage usage above which disk space allocation for the recovery point volume will be triggered"</span>    write-host <span style="color:#006080;">"-RecoveryPointGrowBy [Recovery Point Grow By %] :: Percentage by which to grow the recovery point volume"</span>    write-host <span style="color:#006080;">"Current default values:"</span>    write-host <span style="color:#006080;">"-DPMServerName $DefaultDPMServerName"</span>    write-host <span style="color:#006080;">"-Mode $DefaultMode"</span>    write-host <span style="color:#006080;">"-ReplicaThreshold $DefaultReplicaThreshold"</span>    write-host <span style="color:#006080;">"-ReplicaGrowBy $DefaultReplicaGrowBy"</span>    write-host <span style="color:#006080;">"-RecoveryPointThreshold $DefaultShadowCopyThreshold"</span>    write-host <span style="color:#006080;">"-RecoveryPointGrowBy $DefaultShadowCopyGrowBy"</span>    write-host     exit 0}

<span style="color:#0000ff;">if</span>(!$DPMServerName){    $DPMServerName = $DefaultDPMServerName}

<span style="color:#0000ff;">if</span>(!$Mode){    $Mode = $DefaultMode}<span style="color:#0000ff;">else</span>{    <span style="color:#0000ff;">if</span> (($Mode <span style="color:#cc6633;">-ne</span> <span style="color:#006080;">"A"</span>) -or ($Mode <span style="color:#cc6633;">-ne</span> <span style="color:#006080;">"C"</span>))    {        Usage        exit 0    }}

<span style="color:#0000ff;">if</span>(!$ReplicaThreshold){    $ReplicaThreshold = $DefaultReplicaThreshold}

<span style="color:#0000ff;">if</span>(!$ReplicaGrowBy){    $ReplicaGrowBy = $DefaultReplicaGrowBy}

<span style="color:#008000;"># Note the inconsistency in the naming - Object model name Shadow Copy, GUI name Recovery Point</span><span style="color:#008000;"># We use the GUI names in naming the parameters to keep it familiar for the casual user.</span><span style="color:#0000ff;">if</span>(!$RecoveryPointThreshold){    $ShadowCopyThreshold = $DefaultShadowCopyThreshold}<span style="color:#0000ff;">else</span>{    $ShadowCopyThreshold = $RecoveryPointThreshold}

<span style="color:#0000ff;">if</span>(!$RecoveryPointGrowBy){    $ShadowCopyGrowBy = $DefaultShadowCopyGrowBy}<span style="color:#0000ff;">else</span>{    $ShadowCopyThreshold = $RecoveryPointGrowBy}

<span style="color:#0000ff;">switch</span> ($Mode){    <span style="color:#006080;">"A"</span>     {        $ChangeHighlightColor = <span style="color:#006080;">"Green"</span>        write-host <span style="color:#006080;">"In audit mode - No changes will be made to the disk allocations"</span> -foregroundcolor $ChangeHighlightColor    }    <span style="color:#006080;">"C"</span>     {        $ChangeHighlightColor = <span style="color:#006080;">"Red"</span>        write-host <span style="color:#006080;">"In change mode - Changes will be made to the disk allocations"</span> -foregroundcolor $ChangeHighlightColor    }}

$dpmserver = Connect-DPMServer $DPMServerName

<span style="color:#0000ff;">if</span>(!$dpmserver){    write-error <span style="color:#006080;">"Unable to connect to $dpmservername"</span>    exit 1}

$PGList = @(Get-ProtectionGroup $DPMServerName)

<span style="color:#0000ff;">foreach</span>($PG <span style="color:#0000ff;">in</span> $PGList){     <span style="color:#008000;"># Use a modifiable protection group only if we are in change mode</span>    <span style="color:#008000;"># A non-modifiable protection group object is significantly faster</span>    <span style="color:#0000ff;">if</span> ($Mode <span style="color:#cc6633;">-eq</span> <span style="color:#006080;">"C"</span>)    {        $MPG = Get-ModifiableProtectionGroup $PG    }    <span style="color:#0000ff;">else</span>    {<br
 />        $MPG = $PG    }

    $dslist=@(get-datasource $MPG)    <span style="color:#0000ff;">foreach</span> ($ds <span style="color:#0000ff;">in</span> $dslist)    {        $ReplicaUsedPercent = ($ds.ReplicaUsedSpace/$ds.ReplicaSize)        $ShadowCopyUsedPercent = ($ds.ShadowCopyUsedSpace/$ds.ShadowCopyAreaSize)        <span style="color:#006080;">"------------------------------------------------------------------------"</span>        <span style="color:#008000;">#"Protection Group: $PG.Name"</span>        <span style="color:#006080;">"$ds"</span>

        <span style="color:#008000;"># $ds.ReplicaSize = -1 when there is no replica component to the backup</span>        <span style="color:#008000;"># Only process if there is replica disk space allocated</span>        <span style="color:#0000ff;">if</span> ($ds.ReplicaSize <span style="color:#cc6633;">-ne</span> -1)        {            <span style="color:#006080;">"Replica Used %                 : {0:P2}"</span> -f $ReplicaUsedPercent

            <span style="color:#0000ff;">if</span>($ReplicaUsedPercent <span style="color:#cc6633;">-gt</span> $ReplicaThreshold/100)            {                $ReplicaGrowByActual = ($ReplicaGrowBy/100)*$ds.ReplicaSize                $NewReplicaSize = $ds.ReplicaSize + $ReplicaGrowByActual                <span style="color:#006080;">"Replica Grow %                 : {0:P2}"</span> -f $($ReplicaGrowBy/100)                write-host $(<span style="color:#006080;">"Replica Grow Actual (GB)       : {0:N2}"</span> -f $($ReplicaGrowByActual/1GB)) -foregroundcolor $ChangeHighlightColor                <span style="color:#006080;">"Replica New Total (GB)         : {0:N2}"</span> -f $($NewReplicaSize/1GB)

                <span style="color:#0000ff;">if</span> ($Mode <span style="color:#cc6633;">-eq</span> <span style="color:#006080;">"C"</span>)                {                    Set-DatasourceDiskAllocation -Manual -Datasource $ds -ProtectionGroup $MPG -ReplicaArea $NewReplicaSize                }            }            <span style="color:#0000ff;">else</span>            {                <span style="color:#006080;">"Replica Grow %                 : 0.00 %"</span>                <span style="color:#006080;">"Replica Grow Actual (GB)       : 0.00"</span>                <span style="color:#006080;">"Replica New Total (GB)         : {0:N2}"</span> -f $(($ds.ReplicaSize)/1GB)            }        }        <span style="color:#0000ff;">else</span>        {            <span style="color:#006080;">"No disk space allocated for replica"</span>        }

        <span style="color:#008000;"># $ds.ShadowCopyAreaSize = -1 when there is no shadow copy component to the backup</span>        <span style="color:#008000;"># Only process if there is shadow copy disk space allocated</span>        <span style="color:#0000ff;">if</span> ($ds.ShadowCopyAreaSize <span style="color:#cc6633;">-ne</span> -1)        {            <span style="color:#006080;">"Recovery Point Used %          : {0:P2}"</span> -f $ShadowCopyUsedPercent

            <span style="color:#0000ff;">if</span>($ShadowCopyUsedPercent <span style="color:#cc6633;">-gt</span> $ShadowCopyThreshold/100)            {                $ShadowCopyGrowByActual = ($ShadowCopyGrowBy/100)*$ds.ShadowCopyAreaSize                $NewShadowCopySize = $ds.ShadowCopyAreaSize + $ShadowCopyGrowByActual                <span style="color:#006080;">"Recovery Point Grow %          : {0:P2}"</span> -f $($ShadowCopyGrowBy/100)                write-host $(<span style="color:#006080;">"Recovery Point Grow Actual (GB): {0:N2}"</span> -f $($ShadowCopyGrowByActual/1GB)) -foregroundcolor $ChangeHighlightColor                <span style="color:#006080;">"Recovery Point New Total (GB)  : {0:N2}"</span> -f $($NewShadowCopySize/1GB)

                <span style="color:#0000ff;">if</span> ($Mode <span style="color:#cc6633;">-eq</span> <span style="color:#006080;">"C"</span>)                {                    Set-DatasourceDiskAllocation -Manual -Datasource $ds -ProtectionGroup $MPG -ShadowCopyArea $NewShadowCopySize                }            }            <span style="color:#0000ff;">else</span>            {                <span style="color:#006080;">"Recovery Point Grow %          : 0.00 %"</span>                <span style="color:#006080;">"Recovery Point Grow Actual (GB): 0.00"</span>                <span style="color:#006080;">"Recovery Point New Total (GB)  : {0:N2}"</span> -f $($ds.ShadowCopyAreaSize/1GB)            }        }        <span style="color:#0000ff;">else</span>        {            <span style="color:#006080;">"No disk space allocated for recovery point"</span>        }    }

     <span style="color:#008000;"># Update the protection group if we are in change mode</span>    <span style="color:#0000ff;">if</span> ($Mode <span style="color:#cc6633;">-eq</span> <span style="color:#006080;">"C"</span>)    {        Set-ProtectionGroup $MPG    }}

Disconnect-DPMServer $DPMServerName

<span style="color:#006080;">"------------------------------------------------------------------------"</span></pre>
<p></div>
<p>I LOVE the –MODE switch, allowing me to run the script, and see the results, without actually changing any disk allocations.  I’ve added this script to the DPM servers that I manage, and have the task scheduler run it twice a day.  No more failed jobs due to lack of disk space!  Yeah!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection' rel='bookmark' title='Script to remove all datasources in Inactive Protection'>Script to remove all datasources in Inactive Protection</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script – Create Recovery Points</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points#comments</comments>
		<pubDate>Fri, 16 Jan 2009 19:04:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2009/01/16/script-%e2%80%93-create-recovery-points</guid>
		<description><![CDATA[In the environment that I work, DPM protects the Exchange 2007 servers.  I have only one Exchange server in each protection group.  Each Exchange server has between 10-20 Storage Groups (or Data Sources).  If I want to initiate a backup &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds' rel='bookmark' title='Auto Grow DPM Protection Groups by Percentage Thresholds'>Auto Grow DPM Protection Groups by Percentage Thresholds</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection' rel='bookmark' title='Script to remove all datasources in Inactive Protection'>Script to remove all datasources in Inactive Protection</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/powershell-script-display-exchange-2007-queue-by-site' rel='bookmark' title='Powershell Script: Display Exchange 2007 Queue by Site'>Powershell Script: Display Exchange 2007 Queue by Site</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In the environment that I work, DPM protects the Exchange 2007 servers.  I have only one Exchange server in each protection group.  Each Exchange server has between 10-20 Storage Groups (or Data Sources).  If I want to initiate a backup on the entire server, it is a pain to select each storage group, click Create Recovery Point, and select either Full or Incremental, then click Close.  </p>
<p>The script below does all that for me.  It connects to the DPM server, lists the Protection Groups, asks if you want to run an Express Full, or Incremental backup, then initiates the jobs for each Data Source in the Protection Group (each Storage Group on the Exchange Server).</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.77%;font-family:consolas, 'Courier New', courier, monospace;height:199px;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, 'Courier New', courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#008000;"># DPM 2007 Powershell Script</span><span style="color:#008000;"># Script to initiate a Recovery Point for each Data Source in a Protection Group</span><span style="color:#008000;"># Initial Script from Technet, but Modified to give more choices</span><span style="color:#008000;"># Edited by Dan Burgess</span><span style="color:#008000;"># nerd@EverydayNerd.com</span>

<span style="color:#0000ff;">param</span>([string] $dpmname, [string] $pgname, [string] $backupoption) <span style="color:#008000;"># Clear the screen</span>cls<span style="color:#008000;">#Get name of Localhost</span>$CompStat = Get-WmiObject win32_computersystem$Localhst = $CompStat.Name

<span style="color:#008000;"># Notify that connected to Localhost</span>write-host <span style="color:#006080;">""</span>write-host <span style="color:#006080;">"Script: Create-RecoveryPoint"</span> -foregroundcolor Blue -backgroundcolor whitewrite-host <span style="color:#006080;">""</span>write-host <span style="color:#006080;">""</span>Write-host <span style="color:#006080;">"Connected to Localhost: $Localhst"</span> -foregroundcolor Blue -backgroundcolor whitewrite-host <span style="color:#006080;">""</span>write-host <span style="color:#006080;">""</span>

<span style="color:#008000;"># Set DPM Servername</span>$dpmname = read-host <span style="color:#006080;">"DPM Server Name (Enter for $Localhst):"</span>    <span style="color:#0000ff;">if</span> ($dpmname <span style="color:#cc6633;">-eq</span> <span style="color:#006080;">""</span>)     {   $dpmname = $Localhst   write-host <span style="color:#006080;">"Using Localhost $dpmname "</span> -foregroundcolor green   write-host <span style="color:#006080;">""</span>   write-host <span style="color:#006080;">""</span>  }

<span style="color:#008000;"># List Protection Groups on DPM server</span>$pglist = get-protectiongroup -DPMServerName $dpmnamewrite-host <span style="color:#006080;">"Protection Groups on $dpmname :"</span> -foregroundcolor greenwrite-output $pglistwrite-host <span style="color:#006080;">""</span>write-host <span style="color:#006080;">""</span>

<span style="color:#008000;">#Enter name of Protection Group you wish to create Recovery Point</span>$pgname =  read-host <span style="color:#006080;">"Enter Protection Group Name:"</span>write-host <span style="color:#006080;">""</span>write-host <span style="color:#006080;">""</span>

<span style="color:#008000;">#List choices for JobChoice1 Variable</span>write-host <span style="color:#006080;">"1: Express Full"</span>write-host <span style="color:#006080;">"2: Incremental"</span>write-host <span style="color:#006080;">""</span>

$JobChoice1 = read-host <span style="color:#006080;">"Enter Backup type - 1 or 2 [Default is 1: Express Full]:"</span>

<span style="color:#0000ff;">switch</span> ($JobChoice1)   {    1 { $backupoption = <span style="color:#006080;">'ExpressFull'</span> }    2 { $backupoption = <span style="color:#006080;">'Incremental'</span> }<span style="color:#0000ff;">default</span> { $backupoption = <span style="color:#006080;">'ExpressFull'</span> }        }write-host <span style="color:#006080;">""</span>Write-host <span style="color:#006080;">"You selected $backupoption"</span> -foregroundcolor Blue -backgroundcolor whitewrite-host <span style="color:#006080;">""</span>

<span style="color:#0000ff;">trap</span>{<span style="color:#006080;">"Error in execution... $_"</span>;<span style="color:#0000ff;">break</span>}

    <span style="color:#0000ff;">if</span>($clipg <span style="color:#cc6633;">-eq</span> $abc)    {        write-host <span style="color:#006080;">""</span>        Throw <span style="color:#006080;">"No ProtectionGroup found"</span>        write-host <span style="color:#006080;">""</span>    }    <span style="color:#0000ff;">else</span>    {    write-host <span style="color:#006080;">""</span>    write-host <span style="color:#006080;">"Getting DataSource from Protection Group $pgname..."</span> -foregroundcolor green    write-host <span style="color:#006080;">""</span>

<span style="color:#008000;"># Create variable of each Datasource from Protection Group </span>    $backupds = @(Get-Datasource $clipg)

<span style="color:#008000;"># Run the Job for each DataSource in Protection Group      </span>    <span style="color:#0000ff;">foreach</span> ($ds <span style="color:#0000ff;">in</span> $backupds)    {          write-host <span style="color:#006080;">""</span>        write-host <span style="color:#006080;">"Creating Recovery point for $ds..."</span> -foregroundcolor Blue -backgroundcolor white               write-host <span style="color:#006080;">""</span>

    $job = New-RecoveryPoint -Datasource $ds -Disk -BackupType $backupoption        $jobtype = $job.jobtype        Write-host <span style="color:#006080;">"$jobtype Job has been triggerred..."</span> -foregroundcolor green    }    }}</pre>
<p></div>
<p>I’ve been playing around with this script for a while, and there is more that I want to do to it, but I figured I’d share it, and hope it helps someone out.  I’d love some input on how to make the script better!</p>
<p>One thing I’d really like to do, but have not been able to figure it out yet, is have a status update at the end, updating every 10 seconds showing the Server name, PGname, Status, and HasCompleted – until True.  Just a thought… would save me from having to RDP into all the DPM servers…</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds' rel='bookmark' title='Auto Grow DPM Protection Groups by Percentage Thresholds'>Auto Grow DPM Protection Groups by Percentage Thresholds</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection' rel='bookmark' title='Script to remove all datasources in Inactive Protection'>Script to remove all datasources in Inactive Protection</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/powershell-script-display-exchange-2007-queue-by-site' rel='bookmark' title='Powershell Script: Display Exchange 2007 Queue by Site'>Powershell Script: Display Exchange 2007 Queue by Site</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL 2005 Install Fails Immediately</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately#comments</comments>
		<pubDate>Wed, 22 Oct 2008 19:42:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/10/22/sql-2005-install-fails-immediately</guid>
		<description><![CDATA[I&#8217;ve had my problems with installing DPM before, but this was a new one!  DPM setup started ok, but as soon as it got to the SQL install portion, the installer failed, with this error message: Microsoft SQL Server 2005 &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008' rel='bookmark' title='Free e-Book: Introducing SQL Server 2008'>Free e-Book: Introducing SQL Server 2008</a></li>
<li><a href='http://everydaynerd.com/software/install-freeware-from-command-line' rel='bookmark' title='Install Freeware from Command line'>Install Freeware from Command line</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had my problems with <a target="_blank" href="http://dpmstyle.everydaynerd.com/2008/09/dpm-install-issue-error-3023-when.html">installing DPM before</a>, but this was a new one!  DPM setup started ok, but as <strong>soon</strong> as it got to the SQL install portion, the installer failed, with this error message:</p>
<blockquote><p>Microsoft SQL Server 2005 Setup     <br />SQL Server Setup unexpectedly failed. For more information, review the Setup summary log file in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Summary.txt. </p>
</blockquote>
<p>The setup log wasn&#8217;t much help either:</p>
<blockquote><p><font color="#800000">Microsoft SQL Server 2005 9.00.1399.06        <br />==============================         <br />OS Version      : Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 2 (Build 3790)         <br />Time            : Wed Oct 22 15:29:15 2008</font> </p>
</blockquote>
<p>Yeah, lots of help there&#8230; thanks&#8230;</p>
<p>Well, there is a folder ( %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files ) that had a couple of log files too, and it led me towards actual errors:</p>
<blockquote><p><font color="#800000">Microsoft SQL Server 2005 Setup beginning at Mon Oct 20 17:07:59 2008       <br />Process ID      : 3364        <br />D:\Sources\DPM2007\64bit\DPM2007_64bit\SQLSVR2005\Servers\setup.exe Version: 2005.90.1399.0        <br />Running: LoadResourcesAction at: 2008/9/20 17:7:59        <br />Complete: LoadResourcesAction at: 2008/9/20 17:7:59, returned true        <br />Running: ParseBootstrapOptionsAction at: 2008/9/20 17:7:59        <br />Loaded DLL:D:\Sources\DPM2007\64bit\DPM2007_64bit\SQLSVR2005\Servers\xmlrw.dll Version:2.0.3604.0        <br />Complete: ParseBootstrapOptionsAction at: 2008/9/20 17:7:59, returned false        <br />Error: Action &#8220;ParseBootstrapOptionsAction&#8221; failed during execution.  Error information reported during run:        <br />Could not parse command line due to datastore exception.        <br />  Source File Name: utillib\persisthelpers.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:55 2005        <br />     Function Name: writeEncryptedString        <br />Source Line Number: 124        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />writeEncryptedString() failed        <br />      Source File Name: utillib\persisthelpers.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:55 2005        <br />         Function Name: writeEncryptedString        <br />    Source Line Number: 123        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />            Error Code: 0&#215;80070002 (2)        <br />Windows Error Text: The system cannot find the file specified. </font></p>
<p><font color="#800000">  Source File Name: cryptohelper\cryptsameusersamemachine.cpp       <br />Compiler Timestamp: Mon Jun 13 14:30:00 2005        <br />     Function Name: sqls::CryptSameUserSameMachine::ProtectData        <br />Source Line Number: 50 </font></p>
<p><font color="#800000">2       <br />Could not skip Component update due to datastore exception.        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;InstallMediaPath&#8221; {&#8220;SetupBootstrapOptionsScope&#8221;, &#8220;&#8221;, &#8220;3364&#8243;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupBootstrapOptionsScope.InstallMediaPath        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupBootstrapOptionsScope&#8221;        <br />Running: ValidateWinNTAction at: 2008/9/20 17:7:59        <br />Complete: ValidateWinNTAction at: 2008/9/20 17:7:59, returned true        <br />Running: ValidateMinOSAction at: 2008/9/20 17:7:59        <br />Complete: ValidateMinOSAction at: 2008/9/20 17:7:59, returned true        <br />Running: PerformSCCAction at: 2008/9/20 17:7:59        <br />Complete: PerformSCCAction at: 2008/9/20 17:7:59, returned true        <br />Running: ActivateLoggingAction at: 2008/9/20 17:7:59        <br />Error: Action &#8220;ActivateLoggingAction&#8221; threw an exception during execution.  Error information reported during run:        <br />Datastore exception while trying to write logging properties.        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;primaryLogFiles&#8221; {&#8220;SetupStateScope&#8221;, &#8220;&#8221;, &#8220;&#8221;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupStateScope.primaryLogFiles        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupStateScope&#8221;        <br />0000000000F4AF90Unable to proceed with setup, there was a command line parsing error. : 2        <br />        Error Code: 0&#215;80070002 (2)        <br />Windows Error Text: The system cannot find the file specified. </font></p>
<p><font color="#800000">  Source File Name: datastore\propertycollection.cpp       <br />Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />     Function Name: SetupBootstrapOptionsScope.InstallMediaPath        <br />Source Line Number: 44 </font></p>
<p><font color="#800000">Class not registered.       <br />Failed to create CAB file due to datastore exception        <br />  Source File Name: datastore\cachedpropertycollection.cpp        <br />Compiler Timestamp: Fri Jul 29 01:13:49 2005        <br />     Function Name: CachedPropertyCollection::findProperty        <br />Source Line Number: 130        <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />Failed to find property &#8220;HostSetup&#8221; {&#8220;SetupBootstrapOptionsScope&#8221;, &#8220;&#8221;, &#8220;3364&#8243;} in cache        <br />      Source File Name: datastore\propertycollection.cpp        <br />    Compiler Timestamp: Fri Jul 29 01:13:50 2005        <br />         Function Name: SetupBootstrapOptionsScope.HostSetup        <br />    Source Line Number: 44        <br />    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-        <br />    No collector registered for scope: &#8220;SetupBootstrapOptionsScope&#8221;        <br />Message pump returning: 2</font></p>
</blockquote>
<p>Looked like a dump to me.  Well, long story short, and a couple of days of frustration, I found out that the OS was a custom install by the server team, and it was a custom install.  Needless to say, I was just missing one registry key.</p>
<blockquote><p><strong><font color="#800000">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User          <br />Shell Folders\AppData</font></strong></p>
</blockquote>
<p>It seems the key had been messed up in the build of the OS. The key should be a REG_EXPAND_SZ and set to:</p>
<blockquote><p><font color="#800000"><strong>%USERPROFILE%\Application Data</strong></font></p>
</blockquote>
<p>Hope this helps somebody!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/free-e-book-introducing-sql-server-2008' rel='bookmark' title='Free e-Book: Introducing SQL Server 2008'>Free e-Book: Introducing SQL Server 2008</a></li>
<li><a href='http://everydaynerd.com/software/install-freeware-from-command-line' rel='bookmark' title='Install Freeware from Command line'>Install Freeware from Command line</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/sql/sql-2005-install-fails-immediately/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3#comments</comments>
		<pubDate>Thu, 02 Oct 2008 14:15:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/10/02/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3</guid>
		<description><![CDATA[This is a nasty error, and an even nastier &#8220;fix&#8221;.  I had this error on one of my DPM servers, and no matter what I tried to do on the DPM side, it kept coming back with this error.  I &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc' rel='bookmark' title='Error Opening DPM 2007 MMC'>Error Opening DPM 2007 MMC</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is a nasty error, and an even nastier &#8220;fix&#8221;.  I had this error on one of my DPM servers, and no matter what I tried to do on the DPM side, it kept coming back with this error.  I tried Consistency checks, Full Backups, Incremental, and none of them worked.  I did go as far as stopping protection for the Storage Group that was failing, recreated the replica, and that seemed to work, but after it happened several times, this is not something I wanted to do regularly.  </p>
<p>Apparently, this is a known issue with <a target="_blank" href="http://exchangestyle.everydaynerd.com">Exchange 2007</a>, and there is little that can be done until a patch is released for this problem (not fixed as of Exchange 2007, SP1, Update Rollup 3).</p>
<p><a target="_blank" href="http://technet.microsoft.com/en-us/library/bb217320.aspx">KB217320</a> describes the issue, and offers this &#8220;resolution&#8221;</p>
<blockquote><li>Run VSS backup again on the storage group on which backup was stopped. If the successive VSS backups fail with a backup-in-progress error, stop and restart the following services from the <strong>Services</strong> snap-in. This will clear the backup-in-progress state for the storage groups that are affected by this failure:
<ul>
<li>Microsoft® Exchange Information Store service.</li>
<li>Microsoft Exchange Replication Service.</li>
</ul>
</li>
<li><strong>If you are using cluster continuous replication (CCR), stop the backup process that is running, restart the passive node of the cluster, and then try the backup again.</strong></li>
</blockquote>
<p>In my case, I am protecting a CCR cluster, which, according to Microsoft, requires me to restart the node that I am protecting every time I get this VSS error!  I did let the error go once, just to see if it would fix itself, and after 3 days, it did.  **NOTE:  I had PLENTY of space on the Exchange server for Logs, or I would not have attempted this.**</p>
<p>So, happy restarting&#8230; until MS can give us a patch!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc' rel='bookmark' title='Error Opening DPM 2007 MMC'>Error Opening DPM 2007 MMC</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Script to remove all datasources in Inactive Protection</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection#comments</comments>
		<pubDate>Thu, 25 Sep 2008 14:28:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/09/25/script-to-remove-all-datasources-in-inactive-protection</guid>
		<description><![CDATA[After I moved several protected servers from one DPM server to another, I had a LOT of exchange storage groups left in the Inactive Protection that I wanted to get rid of.  Doing this  manually was very time consuming, and &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds' rel='bookmark' title='Auto Grow DPM Protection Groups by Percentage Thresholds'>Auto Grow DPM Protection Groups by Percentage Thresholds</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-find-whitespace-on-all-exchange-2007-servers' rel='bookmark' title='Script to Find Whitespace on all Exchange 2007 Servers'>Script to Find Whitespace on all Exchange 2007 Servers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After I <a target="_blank" href="http://dpmstyle.everydaynerd.com/2008/09/move-protected-server-agent-to-another.html">moved several protected servers from one DPM server to another</a>, I had a LOT of exchange storage groups left in the Inactive Protection that I wanted to get rid of.  Doing this  manually was very time consuming, and lots of clicks.  So, after a quick search, I found a script on the <a target="_blank" href="http://blogs.technet.com/dpm/archive/tags/DPM+2007/default.aspx">Ctrl P blog</a> that does exactly what I needed to do!</p>
<p>Usage:</p>
<p>Remove-InactiveDatasource.ps1 -DPMServerName [DPMServername] -RemoveOption [Remove Options]</p>
<p>Run &#8216;Remove-InactiveDatasource.ps1 -detailed&#8217; for detailed help</p>
<p><strong>Attachment:</strong> <a target="_blank" href="http://everydaynerd.com/files/Remove-InactiveDatasource.ps1">Remove-InactiveDatasource.ps1</a></p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/auto-grow-dpm-protection-groups-by-percentage-thresholds' rel='bookmark' title='Auto Grow DPM Protection Groups by Percentage Thresholds'>Auto Grow DPM Protection Groups by Percentage Thresholds</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-find-whitespace-on-all-exchange-2007-servers' rel='bookmark' title='Script to Find Whitespace on all Exchange 2007 Servers'>Script to Find Whitespace on all Exchange 2007 Servers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/powershell/script-to-remove-all-datasources-in-inactive-protection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DPM Install Issue: Error 3023 when installing</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing#comments</comments>
		<pubDate>Thu, 25 Sep 2008 04:03:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/09/25/dpm-install-issue-error-3023-when-installing</guid>
		<description><![CDATA[Error ID 3023: DPM is unable to configure the Windows account because the password you entered does not meet the Group Policy requirements. (ID: 3023) I received this message right after selecting the DPM installer to install SQL, on the &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc' rel='bookmark' title='Error Opening DPM 2007 MMC'>Error Opening DPM 2007 MMC</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Error ID 3023:</p>
<blockquote><p><font color="#000080" size="2">DPM is unable to configure the Windows account because the password        <br />you entered does not meet the Group Policy requirements. (ID: 3023)</font></p>
</blockquote>
<p>I received this message right after selecting the DPM installer to install SQL, on the next screen, it asks for a password for the service account to use.  Note, that this creates a two local accounts, using the password provided in the installer.  Time after time, I kept getting this error ID 3023.  Strange thing, I was able to go to computer management, add a local account, using the exact same name and password that the DPM installer was trying to do, and it would work!?!?  But when the installer did it, it would fail. </p>
<p>This error was a HUGE problem, and caused me a great deal of stress, so, I wanted to pass on the solution, so nobody else needs to have this heartache!  </p>
<p>My first troubleshooting steps were to block all group policy to the OU the computer account was in, perform a <em>gpupdate /force</em> and restart the server.  This didn&#8217;t work.  Same error message.</p>
<p>Next, I created a local admin account, logged in with it, and tried to install DPM with it &#8211; no go, as the installer needs to communicate with Active Directory.</p>
<p>Then, I tried installing <a href="http://technet.microsoft.com/en-us/library/bb808868.aspx" target="_blank">SQL 2005</a>, and <a href="http://technet.microsoft.com/en-us/library/bb808890.aspx" target="_blank">SQL 2005 SP2</a> manually.  The install when OK, albeit, the SQL install took an unusually long time to install.  I remembered something from a long time ago, that I was installing SQL, and it would hang for hours during the install, while setting permissions, and the trick was to unplug (or disable) the NIC during the install, and it goes right through without issues!  I did this, and the SQL install went through nice and quick! </p>
<p>So, Now I had SQL installed, back to the DPM installer.  So I choose the option for an existing SQL instance, and don&#8217;t you know, that only works if the SQL is NOT on the same box as you are installing DPM?  ARGH!!!</p>
<p>Uninstalled SQL&#8230;.</p>
<p> Well, I had an idea &#8211; I had to disable the NIC for the SQL trick, maybe I can do this with DPM?  So, I disable the NIC, and start the installer.  Failed the pre-requisite check, saying it couldn&#8217;t communicate with Active Directory.  So, enabled the NIC, started the installer, got past the pre-requisite check, then disabled the NIC, selected for DPM to install SQL, clicked next, said a little prayer, and entered the password&#8230;. clicked next&#8230;.. AND IT WORKED!  I was couldn&#8217;t believe it worked!  So, I enabled the NIC again, and let the installer go to work.</p>
<p>All was good, until the installer was done installing SQL, and SQL SP2, it started the DPM portion of the install, and it failed, with this error:</p>
<blockquote><p><font color="#000080" size="2">*** Error : Report configuration failed. </font></p>
<p><font color="#000080" size="2">Verify that SQL Server Reporting Services is installed properly and that it is running. </font></p>
<p><font color="#000080" size="2">ID: 812</font></p>
</blockquote>
<p>Now oddly enough, this error references that SharePoint Services is installed on the same machine, and there are certain steps in order to make SQL for DPM and SharePoint Services to work correctly together.  Well, that&#8217;s great, except for the fact that I DIDN&#8217;T have SPS installed on the box!</p>
<p>Well, I ran through the installer again, disabling the NIC before the password, entered the password, enabled the NIC, and got to the DPM install portion again, and watched it fail on the section of setting security.   BINGO!  that&#8217;s the same place that SQL was messing up before!  So, start over, Disable the NIC for the password, enable it again, wait for the installer to get to setting security during the DPM install portion, and disabled it again&#8230;. </p>
<p>Survey says!?  Success!!!!  After the security, the installer finished in a few minutes, and I enabled after the install was complete.  I enabled the NIC, restarted the box, and I was finally in business!</p>
<p>I hope this helps somebody else out there, I know it was a bear for me!  If you have any questions, please comment, and I&#8217;ll be glad to answer them if I can!  Good luck!</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/error-opening-dpm-2007-mmc' rel='bookmark' title='Error Opening DPM 2007 MMC'>Error Opening DPM 2007 MMC</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216' rel='bookmark' title='Fix Error 3114 &amp; Error 30216'>Fix Error 3114 &amp; Error 30216</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fix Error 3114 &amp; Error 30216</title>
		<link>http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216</link>
		<comments>http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216#comments</comments>
		<pubDate>Mon, 15 Sep 2008 19:33:00 +0000</pubDate>
		<dc:creator>Nerd</dc:creator>
				<category><![CDATA[DPM]]></category>

		<guid isPermaLink="false">http://nerd45.wordpress.com/2008/09/15/fix-error-3114-error-30216</guid>
		<description><![CDATA[Errors: Recovery point creation jobs for Storage group Storage_Group_04 on Server1 have been failing. The number of failed recovery point creation jobs = 1. (ID 3114) DPM has detected a discontinuity in the log chain for Storage group Storage_Group_04 on &#8230; <a class="more-link" href="http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Errors:</p>
<p>Recovery point creation jobs for Storage group Storage_Group_04 on Server1 have been failing. The number of failed recovery point creation jobs = 1. (ID 3114)</p>
<p>DPM has detected a discontinuity in the log chain for Storage group Storage_Group_04 on Server1 since the last synchronization. (ID 30216 Details: Unspecified error (0&#215;80004005))</p>
<p>Fix:</p>
<p>Although DPM prompts you to <em>Create a recovery point&#8230;</em> it will not perform a Full Backup as needed to recover from this error.  Click the Protection tab, navigate to the Storage Group you are protecting, right click, and choose create recovery point.  Then choose to create an express full backup.  You can now inactivate this alert, as the Full backup will resolve the issue.</p>
<p>Related posts:<ol>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-encountered-a-retryable-vss-error-id-30112-details-unknown-error-0x800423f3-0x800423f3' rel='bookmark' title='DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))'>DPM encountered a retryable VSS error. (ID 30112 Details: Unknown error (0x800423f3) (0x800423F3))</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/powershell/script-%e2%80%93-create-recovery-points' rel='bookmark' title='Script – Create Recovery Points'>Script – Create Recovery Points</a></li>
<li><a href='http://everydaynerd.com/microsoft/software-microsoft/dpm/dpm-install-issue-error-3023-when-installing' rel='bookmark' title='DPM Install Issue: Error 3023 when installing'>DPM Install Issue: Error 3023 when installing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://everydaynerd.com/microsoft/software-microsoft/dpm/fix-error-3114-error-30216/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

