Cannot delete protection group as it is in a incosistent state

Hi Guys,

My DPM server fell over 2 days ago because the NAS wasn't responding timeously. I've fixed the NAS and everything is up and running again, but I have one protection group that when I click Perform consistency check it kills the console and restarts the DPM service and kicks out the following error.

Connection to the DPM service has been lost.

Review the application event log for information about a possible service shutdown. Verify that the following services are not disabled:
            DPM
            DPM Replication Agent
            SQLAgent$MSDPM2012
            MSSQL$MSDPM2012
            Virtual Disk Service
            Volume Shadow Copy

ID: 917

Restarting Administrator Console

(All the services are running)

And

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
   at System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Microsoft.ManagementConsole
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ManagementConsole/3.0.0.0__31bf3856ad364e35/Microsoft.ManagementConsole.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
MMCFxCommon
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/MMCFxCommon/3.0.0.0__31bf3856ad364e35/MMCFxCommon.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ManagedContainer
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ManagedContainer.DLL
----------------------------------------
UICommon
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/UICommon.DLL
----------------------------------------
Utils
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Utils.DLL
----------------------------------------
CommonControls
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/CommonControls.DLL
----------------------------------------
TraceWrapper
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/TraceWrapper.DLL
----------------------------------------
EngineServiceProxyWrapper
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/EngineServiceProxyWrapper.DLL
----------------------------------------
EngineUICommon
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/EngineUICommon.DLL
----------------------------------------
ObjectModel
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ObjectModel.DLL
----------------------------------------
NativeMethods
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/NativeMethods.DLL
----------------------------------------
Events
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Events.DLL
----------------------------------------
NavigationPaneControl
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/NavigationPaneControl.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ServiceProxy
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ServiceProxy.DLL
----------------------------------------
UtilityServiceProxy
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/UtilityServiceProxy.DLL
----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.IdentityModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
WCFDataContracts
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/WCFDataContracts.DLL
----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
    Assembly Version: 4.0.0.0
    Win32 Version: 10.0.30319.1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34009 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Management.Automation
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16394
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management.Automation/v4.0_3.0.0.0__31bf3856ad364e35/System.Management.Automation.dll
----------------------------------------
ObjectModelCmdlet
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ObjectModelCmdlet.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.Exchange
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.Exchange.DLL
----------------------------------------
Microsoft.PowerShell.Security
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.PowerShell.Security/v4.0_3.0.0.0__31bf3856ad364e35/Microsoft.PowerShell.Security.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.DirectoryServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
Microsoft.Management.Infrastructure
    Assembly Version: 1.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Management.Infrastructure/v4.0_1.0.0.0__31bf3856ad364e35/Microsoft.Management.Infrastructure.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
CBEngineServiceProxy
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/CBEngineServiceProxy.DLL
----------------------------------------
FileSystem
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/FileSystem.DLL
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SQL.DLL
----------------------------------------
ACM
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ACM.DLL
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SharePoint
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SharePoint.DLL
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.HyperVDatasource
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.HyperVDatasource.DLL
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.ClientDatasource
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.ClientDatasource.DLL
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SystemProtection
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.SystemProtection.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Interfaces
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Interfaces.DLL
----------------------------------------
Rorn
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Rorn.DLL
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WizardUI
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/WizardUI.DLL
----------------------------------------
DlsUILibrary
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/DlsUILibrary.DLL
----------------------------------------
MmcPageTabControl
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/MmcPageTabControl.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.GenericDatasource
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.GenericDatasource.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
RecoveryPage
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/RecoveryPage.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ProtectionView
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/ProtectionView.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
MonitoringPage
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1338.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/MonitoringPage.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GlobalSettingsDialog
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/GlobalSettingsDialog.DLL
----------------------------------------
Notifications
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/Notifications.DLL
----------------------------------------
adhelper
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/adhelper.DLL
----------------------------------------
interop.activeds
    Assembly Version: 8.5.2.0
    Win32 Version: 8.5.2.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/interop.activeds.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WizardFramework
    Assembly Version: 1.0.523.0
    Win32 Version: 4.2.1205.0
    CodeBase: file:///c:/Program%20Files/Microsoft%20System%20Center%202012/DPM/DPM/bin/WizardFramework.DLL
----------------------------------------
MMCEx
    Assembly Version: 3.0.0.0
    Win32 Version: 6.3.9600.16384
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/MMCEx/3.0.0.0__31bf3856ad364e35/MMCEx.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

If I try delete the Protection Group I get the following error.

Removing B:\ failed:
Error 943: Unable to connect to the DPM database because the database is in an inconsistent state.
Recommended action: Contact an experienced SQL Server administrator whenever this error occurs. In some cases, it may be necessary to restore the DPM database. If the problem persists, contact Microsoft Customer Service and Support.

I have been trying to delete it through powershell, but must be honest, I'm struggling. I don't understand how this is done, could some one guide me through the process of deleting a Protection Group and all it's data in powershell please? This seems to be the only way I will be able to remove the protection group.

DPM Version is 2012 R2 RU6. Currently updating to RU7 to see if it helps.


August 20th, 2015 6:09am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 6:40am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


  • Edited by ShaunCr0101 Thursday, August 20, 2015 10:39 AM
August 20th, 2015 10:38am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


  • Edited by ShaunCr0101 Thursday, August 20, 2015 10:39 AM
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 10:38am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


  • Edited by ShaunCr0101 Thursday, August 20, 2015 10:39 AM
August 20th, 2015 10:38am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


  • Edited by ShaunCr0101 Thursday, August 20, 2015 10:39 AM
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 10:38am

I found the following thread and created the script. I first ran the health check and then the delete, but she didn't work.

Thread:

https://social.technet.microsoft.com/Forums/en-US/f451ee2b-48b6-47d9-990c-350853be6889/cannot-delete-protection-group?forum=dataprotectionmanager

Health check output

### ProtectionGroup Name Aluminium
ProtectionGroup Name  Aluminium
ProtectionGroup FriendlyName  Aluminium
ProtectionGroup ProtectionGroupId  7d111e63-d382-42fe-85ef-4c8d2d1ba591
ProtectionGroup IsPGDisconnected  False
ProtectionGroup PGProtectionType  DiskToDisk
ProtectionGroup ProtectionMethod  Short-term using disk
# DataSource Name B:\
DataSource Protected  True
DataSource State  Invalid

Deletion Script output:

# ProtectionGroup Name Aluminium
Remove data source  B:\
Remove-ChildDataSource : The item B:\ cannot be excluded because it is a data
source. (ID: 31020)
At C:\ps\ps.ps1:15 char:1
+ Remove-ChildDataSource -ProtectionGroup $mpg -ChildDataSource $ds
-keepDiskData
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DPMChildDatasource], D
   lsException
    + FullyQualifiedErrorId : DatasourceCannotBeExcluded,Microsoft.Internal.En
   terpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.RemoveProtectableObject

RU7 has completed installation and still battling :(


  • Edited by ShaunCr0101 Thursday, August 20, 2015 10:39 AM
August 20th, 2015 10:38am

Anyone? :-(
Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 4:38am

Monday morning bump?
August 24th, 2015 2:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics