DPM 2010 Client re-sync

Had some problems with disks on DPM server and had to remove and add disks.
I have a 20+ clients on a Protection groups; After changes disk, the clients show Volume missing;
I stop protection the clients, then re-added them.  - Now I can't get the clients to sync with server ?
How can I get my existing clients re-sync?

Hi guys,
I wanted to know if this issue has been solved, because I have a similar issue and I can't figure it out.
Time ago I had a disk in the storage pool which went bad and I had to replace it. After the replacement I reallocated the replicas and synced all the protection groups but the protection groups for clients start having problems.
The problem is that most of my clients don't trigger the synchronization (setup every hour) and then when the recovery point occurs I get the following error:
"The job completed successfully with the following warning:
No recovery point was created, either because synchronization has not occurred since the last recovery point was created, or because no changes were found during synchronization. (ID 208)"
I tried almost everything: removing the client from the PG either retaining the data or not, removing the agent and reconfiguring it on a new PG, running the DpmSync -Sync every time I add a client (or more). I going crazy! There is no
logical explanation why it's not working, some of them just work (3 on 15). The first clients I add to the new PG work, once I keep adding clients they never sync... I can manually run consistency checks, recovery points... but the automatic sync
doesn't occur! I tried to move one client to one group to another and it's now magically syncing... but others that used to work, now don't...
I installed the March 2011 hotfix where it's supposed to solve this issue and others like consistency checks ran on the PG do not trigger the actual consistency check on the single clients, which
it seemed to be solved once I installed the hotfix, but the problem came back the next day.
I'm stuck, I need to find a solution otherwise I will need to switch to a different backup system solution. I need some help please.
Thank you so much for your time
Angelo 

Similar Messages

  • DPM 2010 - Getting errors when viewing reports

    Microsoft DPM Forum,
    I am getting the following error when attempting to view reports in DPM 2010:
    An error occurred during client rendering.
    An error has occurred during report processing. (rsProcessingAborted)
    Cannot create a connection to data source 'DLS'. (rsErrorOpeningConnection)
    Cannot open database "DPMDB" requested by the login. The login failed. Login failed for user 'servername\DPMR$servername'.
    This is occurring after I rebuilt the OS on the DPM server to resolve a "tape system disconnect" issue that plagued us since November of 2013.
    Any idea how to resolve this?
    Thanks in advance,
    Joe

    Mike,
    Thank you for that post.  Yes, I saw that while I was researching a possible solution to the problem.  No dice.  However, I reached out to Prosenjit Kanjilal of the Microsoft DPM Support Team (as he was emailing me on our re-occurring issue
    of Event ID: 15 errors - see other thread).  He had me do the following:
    Open SQL Studio and connect to the instance
    Go to Security->Logins
    Now Add 'servername\DPMR$servername' if it is not already added
    I also had to add the
    dbowner role to the DPMDB database under 'user mapping' for this specific user to actually resolve the issue.  The user wasn't listed in the Logins in SQL Studio.
    Thanks again!
    Joe

  • DPM 2010 installation failure (SQL-server Reporting Services Problem)

    Hi everyone,
    The last 2 days I have been trying to get DPM 2010 installed on a DC. I know this is not recommended, but for our company with the current setup it's the only way to do it.
    I have been reading some Microsoft articles (http://technet.microsoft.com/en-us/library/ff399416.aspx) about doing this but I fail to do so.
    I have made all of the right service accounts (I guess) and am doing everything in the guide but still get the same error message over and over again:
    Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to DPM2010 of SQL Server
    I just can't get my head around it. This is the error message when I try to install DPM 2010 using an existing SQL-database which I have configured in the SQL 2008-server sp1 installation.
    I have enclosed some screenshots so you could maybe check some things that are not correct? Hopefully we can get this issue resolved, because it's driving me crazy to be honest!
    Physical server which is ADC and where I need to install SQL-server and DPM: VMBACKUP
    The service account for DPM is: DPMSQLSvcsAcct
    Also have another service account: DPMR$VMBACKUP
    I have also enclosed the error log located in C:\DPMLogs\

    This is the DOM error log:
    MSI (s) (D0:4C) [14:59:59:626]: Windows Installer reconfigured the product. Product Name: Microsoft Application Error Reporting. Product Version: 12.0.6015.5000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
    MSI (s) (D0:4C) [14:59:59:627]: Deferring clean up of packages/files, if any exist
    MSI (s) (D0:4C) [14:59:59:628]: MainEngineThread is returning 0
    MSI (s) (D0:D8) [14:59:59:631]: RESTART MANAGER: Session closed.
    MSI (s) (D0:D8) [14:59:59:631]: No System Restore sequence number for this installation.
    === Logging stopped: 27/03/2012 14:59:59 ===
    MSI (s) (D0:D8) [14:59:59:632]: User policy value 'DisableRollback' is 0
    MSI (s) (D0:D8) [14:59:59:632]: Machine policy value 'DisableRollback' is 0
    MSI (s) (D0:D8) [14:59:59:632]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (D0:D8) [14:59:59:632]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (D0:D8) [14:59:59:633]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (D0:D8) [14:59:59:633]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (s) (D0:D8) [14:59:59:634]: Restoring environment variables
    MSI (s) (D0:D8) [14:59:59:634]: Destroying RemoteAPI object.
    MSI (s) (D0:90) [14:59:59:635]: Custom Action Manager thread ending.
    MSI (c) (9C:04) [14:59:59:636]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (c) (9C:04) [14:59:59:637]: MainEngineThread is returning 0
    === Verbose logging stopped: 27/03/2012 14:59:59 ===
    [27/03/2012 14:59:59] Information : MsiInstallProduct returned 0.
    [27/03/2012 14:59:59] Information : End install.
    [27/03/2012 14:59:59] Information : **************************************************************************************
    [27/03/2012 14:59:59] Information : **************************************************************************************
    [27/03/2012 14:59:59] Information : Start Inspect.
    [27/03/2012 14:59:59] Information : Check processor configuration.
    [27/03/2012 14:59:59] Information : Query WMI provider for configuration of processor. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 14:59:59] Information : Query for WMI class. (Query : SELECT * FROM Win32_Processor).
    [27/03/2012 15:00:00] Data : Clock speed of processor = 2500
    [27/03/2012 15:00:00] Data : Manufacturer of processor = GenuineIntel
    [27/03/2012 15:00:00] Information : Check the amount of RAM.
    [27/03/2012 15:00:00] Information : Query WMI provider for configuration of memory. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_OperatingSystem).
    [27/03/2012 15:00:00] Data : Found memory = 14677964
    [27/03/2012 15:00:00] Data : Total amount of memory = 14677964
    [27/03/2012 15:00:00] Information : Check the version of Microsoft Management Console on the machine.
    [27/03/2012 15:00:00] Data : Version of Microsoft Management Console on the machine = 6.1.7600.16385
    [27/03/2012 15:00:00] Data : Required version of Microsoft Management Console = 5.2.3790.2560
    [27/03/2012 15:00:00] Information : MMC correct version is detected.
    [27/03/2012 15:00:00] Information : Check if this machine is part of active directory.
    [27/03/2012 15:00:00] Data : Looking for Active Directory node = LDAP://RootDSE
    [27/03/2012 15:00:00] Information : Active Directory is detected on this machine.
    [27/03/2012 15:00:00] Information : Check if the machine role is Domain Controller.
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_ComputerSystem).
    [27/03/2012 15:00:00] Data : Localhost in Computer role = 4
    [27/03/2012 15:00:00] * Warning : DPM Setup has detected that this computer is a domain controller.Make sure that you have followed the steps given in the link below before proceeding with the DPM Setup.
    [27/03/2012 15:00:00] Information : The machine role is a Domain Controller.
    [27/03/2012 15:00:00] Information : Check if Volsnap QFE is applied.
    [27/03/2012 15:00:00] Information : Volsnap QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if Logical Disk Manager (LDM) QFE is applied.
    [27/03/2012 15:00:00] Information : LDM QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB962975 QFE is applied.
    [27/03/2012 15:00:00] Information : KB962975 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB975759 QFE is applied.
    [27/03/2012 15:00:00] Information : KB975759 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB955543 QFE is applied.
    [27/03/2012 15:00:00] Information : KB955543 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Detect if Powershell is installed.
    [27/03/2012 15:00:00] Data : Installed Version of Windows Powershell. = 6.1.7600.16385
    [27/03/2012 15:00:00] Data : Minimum Required version of Windows Powershell. = 6.0.6002.18111
    [27/03/2012 15:00:00] Information : Required version of Powershell software is installed on this system.
    [27/03/2012 15:00:00] Information : Check if reboot is required because of Dot Net installation.
    [27/03/2012 15:00:00] Information : Reading the registry key Software\Microsoft\Microsoft Data Protection Manager\Setup\DotNetRequiredReboot.
    [27/03/2012 15:00:00] Information : Registry Key Software\Microsoft\Microsoft Data Protection Manager\Setup\DotNetRequiredReboot is absent.
    [27/03/2012 15:00:00] Information : Reboot is not required.
    [27/03/2012 15:00:00] Information : Detect if SIS Service is running.
    [27/03/2012 15:00:00] Information : Detect if SIS Filter service SIS is running.
    [27/03/2012 15:00:00] Information : SIS Service SIS is running on this system.
    [27/03/2012 15:00:00] Information : Check the version of Windows Installer on the machine.
    [27/03/2012 15:00:00] Data : Version of Windows Installer on the machine = 5.0.7601.17514
    [27/03/2012 15:00:00] Data : Required version of Windows Installer = 4.5.6001.18000
    [27/03/2012 15:00:00] Information : Windows Installer correct version is detected.
    [27/03/2012 15:00:00] Information : Check if Removable Storage Service (Rsm) is disabled or not.
    [27/03/2012 15:00:00] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='NtmsSvc').
    [27/03/2012 15:00:01] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: NtmsSvc : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckRsmServiceConfig(InspectContext context)
    [27/03/2012 15:00:01] Information : Check if reboot is required.
    [27/03/2012 15:00:01] Information : Reading the registry key Software\Microsoft\Microsoft Data Protection Manager\Setup\RebootRequired.
    [27/03/2012 15:00:01] Information : Registry Key Software\Microsoft\Microsoft Data Protection Manager\Setup\RebootRequired is absent.
    [27/03/2012 15:00:01] Information : Reboot is not required.
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 is installed.
    [27/03/2012 15:00:01] Information : Query WMI provider for SQL Server 2008. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:01] Information : Query for WMI class. (Query : Select * from SqlServiceAdvancedProperty where ServiceName='{0}' and PropertyName='Version').
    [27/03/2012 15:00:01] Information : SQL Server 2008 MSDPM2010 instance is not present on this system.
    [27/03/2012 15:00:01] *** Error : Setup has detected that the instance provided is not a SQL Server 2008 instance. Please provide a SQL Server 2008 instance having Service Pack 1 installed.
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 Tools is installed.
    [27/03/2012 15:00:01] Information : SQL Server 2008 Tools is installed
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 SP1 is applied.
    [27/03/2012 15:00:01] Information : Query WMI provider for SQL Server 2008 SP1. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:01] Information : Query for WMI class. (Query : Select * From SqlServiceAdvancedProperty Where ServiceName='MSSQL$MSDPM2010' AND PropertyName = 'SPLEVEL').
    [27/03/2012 15:00:02] Information : Sql Server 2008 Service Pack Level is 0
    [27/03/2012 15:00:02] Information : SQL Server 2008 SP1 is not present on MSDPM2010 instance of this system.
    [27/03/2012 15:00:02] *** Error : Setup has detected that SQL Server 2008 Service Pack 1 has not been installed on the VMBACKUP\MSDPM2010 instance.Install SQL Server 2008 Service Pack 1 or higher and try again.
    [27/03/2012 15:00:02] Information : Check SQL Server Agent service configuration.
    [27/03/2012 15:00:02] Data : SQL Server instance name = MSDPM2010
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='SQLAgent$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: SQLAgent$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckSqlAgentServiceConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service SQLAgent$MSDPM2010 is not installed. The SQL Server 2008 installation is not valid.Uninstall SQL Server 2008 and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : SQL Server Agent service configuration is not correct.
    [27/03/2012 15:00:02] Information : Check SQL Server service configuration.
    [27/03/2012 15:00:02] Data : SQL Server instance name = MSDPM2010
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: MSSQL$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckSqlServerServiceConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service MSSQL$MSDPM2010 is not installed. The SQL Server 2008 installation is not valid.Uninstall SQL Server 2008 and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : SQL Server service configuration is not correct.
    [27/03/2012 15:00:02] Information : Detect if SQL Server is evaluation edition
    [27/03/2012 15:00:02] Information : Check for existing database.
    [27/03/2012 15:00:02] Information : Starting service
    [27/03/2012 15:00:02] Data : Service name = MSSQL$MSDPM2010
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: MSSQL$MSDPM2010 ---> System.InvalidOperationException: Service MSSQL$MSDPM2010 was not found on computer 'VMBACKUP'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
    --- End of inner exception stack trace ---
    at System.ServiceProcess.ServiceController.GenerateNames()
    at System.ServiceProcess.ServiceController.get_ServiceName()
    at System.ServiceProcess.ServiceController.GenerateStatus()
    at System.ServiceProcess.ServiceController.get_Status()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartService(String serviceName, String machineName, Boolean restart)
    --- End of inner exception stack trace ---
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.CheckServiceStartError(String serviceName, InvalidOperationException invalidOperationException)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartService(String serviceName, String machineName, Boolean restart)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartSqlService(String instanceName, String sqlServerMachineName)
    [27/03/2012 15:00:02] Information : Dpmdb does not exist on this system.
    [27/03/2012 15:00:02] Information : Check if SQL Server 2008 Reporting Services is installed.
    [27/03/2012 15:00:02] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ReportServer\RS_MSDPM2010\v10\admin).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='MSDPM2010').
    [27/03/2012 15:00:02] * Exception : => System.Management.ManagementException: Invalid namespace
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementScope.InitializeGuts(Object o)
    at System.Management.ManagementScope.Initialize()
    at System.Management.ManagementObjectSearcher.Initialize()
    at System.Management.ManagementObjectSearcher.Get()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ReportServerNotInstalledException: Report server is not installed ---> System.Management.ManagementException: Invalid namespace
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementScope.InitializeGuts(Object o)
    at System.Management.ManagementScope.Initialize()
    at System.Management.ManagementObjectSearcher.Initialize()
    at System.Management.ManagementObjectSearcher.Get()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    --- End of inner exception stack trace ---
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectReportingPrerequisites.CheckSqlServerReportingServices(InspectContext context)
    [27/03/2012 15:00:02] Information : SQL Server 2008 Reporting Services MSDPM2010 instance is not installed.
    [27/03/2012 15:00:02] *** Error : Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to MSDPM2010 of SQL Server.1)To use the local dedicated MSDPM2010 instance with DPM, uninstall SQL Server and run setup again.
    2)To use the option of installing DPM with an existing instance of SQL Server, make sure that the Reporting Services instance is also installed and linked correctly. For details, refer to DPM Setup Help.
    [27/03/2012 15:00:02] Information : Check SQL Server 2008 Reporting Services report server service configuration.
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='ReportServer$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: ReportServer$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectReportingPrerequisites.CheckRosettaServicesConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service ReportServer$MSDPM2010 is not installed. The SQL Server 2008 Reporting Services installation is not valid.Uninstall SQL Server 2008 Reporting Services and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : Report Server service configuration is not correct.
    [27/03/2012 15:00:02] Information : End Inspect.
    [27/03/2012 15:00:02] Information : **************************************************************************************
    [27/03/2012 15:00:02] Information : Instantiating inspect component.
    [27/03/2012 15:00:02] Data : Path of output xml = \PostInstallInspect.xml
    [27/03/2012 15:00:03] Information : <<< Dialog >>> Inspect Page : Leaving
    [27/03/2012 15:00:03] Information : <<< Dialog >>> User Information Page : Entering
    [27/03/2012 15:00:03] Data : Purchased Client Agent Licenses = 0
    [27/03/2012 15:00:03] Data : Purchased Standard Agent Licenses = 0
    [27/03/2012 15:00:03] Data : Purchased Enterprise Agent Licenses = 0
    [27/03/2012 15:00:09] Information : <<< Dialog >>> User Information Page : Leaving
    [27/03/2012 15:00:09] Data : Purchased Client Agent Licenses = 0
    [27/03/2012 15:00:09] Data : Purchased Standard Agent Licenses = 0
    [27/03/2012 15:00:09] Data : Purchased Enterprise Agent Licenses = 0
    [27/03/2012 15:00:09] Information : <<< Dialog >>> Install location Page : Entered
    [27/03/2012 15:00:09] Information : Check if the media is removable
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] Data : Drive Name = C:\
    [27/03/2012 15:00:09] Data : Drive Type = 3
    [27/03/2012 15:00:09] Information : Check attributes of the directory
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] * Exception : Ignoring the following exception intentionally => System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft DPM'.
    File name: 'C:\Program Files\Microsoft DPM'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:09] Information : Check if the media is removable
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] Data : Drive Name = C:\
    [27/03/2012 15:00:09] Data : Drive Type = 3
    [27/03/2012 15:00:09] Information : Check attributes of the directory
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft DPM\DPM\DPMDB'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:11] Information : Check if the media is removable
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] Data : Drive Name = C:\
    [27/03/2012 15:00:11] Data : Drive Type = 3
    [27/03/2012 15:00:11] Information : Check attributes of the directory
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] * Exception : Ignoring the following exception intentionally => System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft DPM'.
    File name: 'C:\Program Files\Microsoft DPM'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:11] Information : Query free disk space
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] Data : Free Space = 2373
    [27/03/2012 15:00:11] Information : Query free disk space
    [27/03/2012 15:00:11] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:11] Data : Free Space = 2373
    [27/03/2012 15:00:17] Information : Check if the media is removable
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : Drive Name = D:\
    [27/03/2012 15:00:17] Data : Drive Type = 3
    [27/03/2012 15:00:17] Information : Check attributes of the directory
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : File Attributes = Directory
    [27/03/2012 15:00:17] Information : Query free disk space
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : Free Space = 786513
    [27/03/2012 15:00:17] Information : Query free disk space
    [27/03/2012 15:00:17] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:17] Data : Free Space = 2373
    [27/03/2012 15:00:18] Information : Check if the media is removable
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Drive Name = D:\
    [27/03/2012 15:00:18] Data : Drive Type = 3
    [27/03/2012 15:00:18] Information : Check attributes of the directory
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : File Attributes = Directory
    [27/03/2012 15:00:18] Information : Check if the media is removable
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Data : Drive Name = C:\
    [27/03/2012 15:00:18] Data : Drive Type = 3
    [27/03/2012 15:00:18] Information : Check attributes of the directory
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft DPM\DPM\DPMDB'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:18] Information : Check the filesystem on which DPM and prerequisites are installed
    [27/03/2012 15:00:18] Information : D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Information : C:\Windows\system32
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Free Space = 786513
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Data : Free Space = 2373
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:18] Data : Free Space = 2373
    [27/03/2012 15:00:18] Data : Location of program files = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Location of database files = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Information : <<< Dialog >>> Install location Page : Leaving
    [27/03/2012 15:00:27] Data : Path of inspection output xml = C:\\DPMLogs\RemoteDbInspectReport.xml
    [27/03/2012 15:00:27] Information : Instantiating inspect component.
    [27/03/2012 15:00:27] Data : Path of output xml = C:\\DPMLogs\RemoteDbInspectReport.xml
    [27/03/2012 15:00:27] Information : **************************************************************************************
    [27/03/2012 15:00:27] Information : Start Inspect.
    [27/03/2012 15:00:27] Information : Check if SQL Server 2008 is installed.
    [27/03/2012 15:00:27] Information : Query WMI provider for SQL Server 2008. (Namespace : \\localhost\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:27] Information : Query for WMI class. (Query : Select * from SqlServiceAdvancedProperty where ServiceName='{0}' and PropertyName='Version').
    [27/03/2012 15:00:28] Information : SQL Server 2008 DPM2010 instance is present on this system.
    [27/03/2012 15:00:28] Information : Check if SQL Server 2008 SP1 is applied.
    [27/03/2012 15:00:28] Information : Query WMI provider for SQL Server 2008 SP1. (Namespace : \\localhost\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:28] Information : Query for WMI class. (Query : Select * From SqlServiceAdvancedProperty Where ServiceName='MSSQL$DPM2010' AND PropertyName = 'SPLEVEL').
    [27/03/2012 15:00:28] Information : Sql Server 2008 Service Pack Level is 3
    [27/03/2012 15:00:28] Information : SQL Server 2008 SP1 is present on DPM2010 instance of this system.
    [27/03/2012 15:00:28] Information : Check SQL Server Agent service configuration.
    [27/03/2012 15:00:28] Data : SQL Server instance name = DPM2010
    [27/03/2012 15:00:28] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:28] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='SQLAgent$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : SQL Server Agent service configuration is correct.
    [27/03/2012 15:00:29] Information : Check SQL Server service configuration.
    [27/03/2012 15:00:29] Data : SQL Server instance name = DPM2010
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : SQL Server service configuration is correct.
    [27/03/2012 15:00:29] Information : Detect if SQL Server is evaluation edition
    [27/03/2012 15:00:29] Information : Check the disk space for remote database.
    [27/03/2012 15:00:29] Information : Remote Db disk space required : 900 MB disk space available = 786513 MB
    [27/03/2012 15:00:29] Information : Check the Named Pipes protocol for remote database.
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$DPM2010').
    [27/03/2012 15:00:29] Information : Check for existing database.
    [27/03/2012 15:00:29] Information : Starting service
    [27/03/2012 15:00:29] Data : Service name = MSSQL$DPM2010
    [27/03/2012 15:00:29] Data : Current status of service = Running
    [27/03/2012 15:00:29] Information : Service is already running
    [27/03/2012 15:00:29] Data : Database connection string = Pooling = false;Integrated Security=SSPI;database=master;server=np:localhost\DPM2010
    [27/03/2012 15:00:29] Information : Dpmdb does not exist on this system.
    [27/03/2012 15:00:29] Information : DPM database DPMDB is missing or corrupt.If you are performing a clean installation of DPM, you must delete the DPM database before you run Setup. If you are upgrading or repairing an existing installation of DPM, you must restore a valid DPM database, and then proceed with Setup.
    [27/03/2012 15:00:29] Information : Check whether the remote db msi has been installed.
    [27/03/2012 15:00:29] Information : Check DPM Database Version.
    [27/03/2012 15:00:29] Data : Database connection string = Pooling = false;Integrated Security=SSPI;database=DPMDB;server=localhost\DPM2010
    [27/03/2012 15:00:29] * Exception : Expecting the following exception. Ignoring intentionally. => System.Data.SqlClient.SqlException: Cannot open database "DPMDB" requested by the login. The login failed.
    Login failed for user 'MANAGEMENT\DPMSQLSvcsAcct'.
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Microsoft.Internal.EnterpriseStorage.Dls.DB.SqlContext.Open()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectDls.CheckDBVersion(InspectContext context)
    [27/03/2012 15:00:29] Information : detectResult = DPMDBAbsent
    [27/03/2012 15:00:29] *** Error : DPM Setup has detected that the DPM database files are missing from the selected instance of SQL Server 2008.Make sure that the correct database files are attached to the selected instance of SQL Server and then install DPM 2010 again.
    [27/03/2012 15:00:29] Information : Checking if DPM db backup is needed.
    [27/03/2012 15:00:29] Information : This is not upgrade path, so no DB Backup needed
    [27/03/2012 15:00:29] Information : DPM DB Backup is not needed.
    [27/03/2012 15:00:29] Information : Check if SQL Server 2008 Reporting Services is installed.
    [27/03/2012 15:00:29] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services. (Namespace : \\localhost\root\Microsoft\SqlServer\ReportServer\RS_DPM2010\v10\admin).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='DPM2010').
    [27/03/2012 15:00:29] Data : Path of configuration file for SQL Server 2008 Reporting Services = D:\Program Files\Microsoft SQL Server\MSRS10.MSRS10\Reporting Services\ReportServer\RSReportServer.config
    [27/03/2012 15:00:29] Information : Query WMI provider for instance linked to SQL Server 2008 Reporting Services. (Namespace : \\localhost\root\Microsoft\SqlServer\ReportServer\RS_DPM2010\v10\admin).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='DPM2010').
    [27/03/2012 15:00:29] Data : Database server for SQL Server 2008 Reporting Services = VMBACKUP\DPM2010
    [27/03/2012 15:00:29] Information : SQL Server 2008 Reporting Services DPM2010 instance is installed and linked to SQL Server VMBACKUP\DPM2010.
    [27/03/2012 15:00:29] *** Error : Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to DPM2010 of SQL Server.1)To use the local dedicated DPM2010 instance with DPM, uninstall SQL Server and run setup again.
    2)To use the option of installing DPM with an existing instance of SQL Server, make sure that the Reporting Services instance is also installed and linked correctly. For details, refer to DPM Setup Help.
    [27/03/2012 15:00:29] Information : Check SQL Server 2008 Reporting Services report server service configuration.
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='ReportServer$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : Report Server service configuration is correct.
    [27/03/2012 15:00:29] Information : Check Reporting SecureConnectionLevel.
    [27/03/2012 15:00:29] Information : Getting the reporting secure connection level for localhost/DPM2010
    [27/03/2012 15:00:29] Information : Setup detected that the Reporting SecureConnectionLevel is 0.
    [27/03/2012 15:00:29] Information : End Inspect.
    [27/03/2012 15:00:29] Information : **************************************************************************************

  • Dpm 2010 exchange 2010 backups are failing

    Hi, I'm getting an error which does not seem to match in the DPM 2010 ID codes. Randomly, I have backups of an exchange 2010 DAG that are failing. The backup will run for a short time (5mints..up to 10minuts) and then will fail with the following error:
    Type: Recovery point
    Status: Failed
    Description: Backup failed as another copy of 'user' database is currently being backed up. (ID 32628 Details: Internal error code: 0x80990D51)
     More information
    End time: 4/25/2011 10:37:27 PM
    Start time: 4/25/2011 10:26:55 PM
    Time elapsed: 00:10:31
    Data transferred: 0 MB
    Cluster node -
    Recovery Point Type Incremental Sync
    Source details: 06001
    Protection group: EXCH2010 - 06001
    I've tried restarting the DPM server to troubleshoot. I say this happens randomly because I've had some backups successfully complete against the same exchange server. The only other item that seems odd is when creating protection groups against the DAG,
    the intial lookup seems to take forever. Not sure what to try next. 

    Hello,
    As DPM relies on the exchange writer to take the snapshot for the backup, if the backupinprogress flag is set to true and it does not seem get out of this state even when there is no actual backup in place, then at this point DPM is the victim.
    As far as I am aware the only way is to clear that flag is to:
    a.) Reboot the exchange server
    or
    b.) Restart the information store
    In some cases even:
    1.) Either Activate all other databases on another Node except for the Problem Database, and Dismount the Problem database temporarily
    Or:
    1.)Dismount all Databases on this Node including the problem database
    2.)Restart the Exchange Information Store Service.
    3.)Mount any dismounted databases
    You may want to redirect this question below to the exchange 2010 forum of:
    "if the backupinprogress is set to true when it should be set to false as there really is no backup being taken, then how can I reset it without having to perform:
    a.) reboot of exchange
    b.) restart of the information store"
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/threads
    Regards, Shane. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. This posting
    is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010 Short and Long Term goals

    My question is related to size restrictions.
    Our existing DPM 2010 is setup with two protections groups, System State, and a Default (file) protection group. Both are set up the same. A co worker recently had to re-create a protection group due to his negligence and deleted it without looking at how
    it was setup in the first place, since then I've been having errors in backing up to tape:
    Synchronization frequency is set to just before recovery point
    Short term goals are:
    Recovery points are at 8:00 AM, 12:00PM, 6:00PM Everyday, Express Full is 8:00PM Everyday
    Long term goals are:
    Retention range 2 weeks, Frequency Weekly (1 recovery point every 1 week for the last 2 weeks)
    Full backups are set to Saturday at 11:00 PM
    Here's the thing, we have 3x3TB external drives that, historically have been swapped out weekly (Monday mornings, using Firestreamer for tape emulation). Since the co-worker broke, and re-created the protection groups, when we view DPM Console on Monday
    morning, we see that the backup jobs are failing, the 3TB drive is full. 
    Could this 3TB drive be full due to this weekly swapping out when it is set to a retention range of 2 weeks? Obviously, it could be because the protection group actually contains that much data, but I'm trying to wrap my head around sync frequency, recovery
    points and how that works into recovery goals. 
    Any help is appreciated.

    Hi,
    Right. After the registry key is added, all new recovery points written to tape will show they expire at midnight (12:00am) on they day they expire so any tape jobs that run later that day will be able to use that tape after the expiry
    date.
    To prevent tape jobs from failing because there are no tapes available, you can also add this registry value.
    During a new tape backup or if a tape becomes full and there are no other tapes marked free, Free (contains data) or expired in the library, DPM will raise an alert to prompt for another free tape to continue backup.  The same is true during a
    restore, if the needed tape is not in the library an alert will be raised.  By Default, DPM It will wait for
    1 hour before failing the job.
    This prompting timeout can be configured by the registry entry “PromptingTimeOut” under “HKLM\Software\Microsoft\Microsoft Data Protection Manager\1.0\Prompting”
    PromptingTimeOut:REG_Dword:43200000  (dec) = 12hrs
    The Formula is   (#hrs * 1000 * 60 * 60)
    1HR =  1*1000*60*60 =  3600000  decimal
    So for each hour to wait, multiply by 3600000.
    8hrs = 28800000  decimal
    Restart the DPMRA service.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2010 to DPM 2012R2 configuration transfer failure

    Hello,
    I’m doing a side by side upgrade from DPM 2010 to DPM 2012R2 and I’m trying to transfer my configuration with
    Ruud Baar's PS scripts DPMsaveConfig and DPMcreateConfig.
    On the new DPM 2012R2 box, when I run DPMcreateConfig it fails. 
    Here is the end of the log:
    “[14:07:30]      Allocating 
    DPM -Calculate = True for [C:\]...
    [14:07:42] Committing protectiongroup [Client Group 1]
    [14:07:54] Processing group [Client Group 1] finished
    [14:07:55] TRAP: DPMcreateConfig
    Exception calling "GetProtectionGroups" with "0" argument(s): "Object
    reference not set to an instance of an object."
    At C:\DPMcreateConfig.ps1:147 char:2
    +     $pg = $srv.GetProtectionGroups() | ?{$_.FriendlyName -eq $xgrp.GroupName}
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo         
    : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : NullReferenceException
    Set-protectiongroup : Connection to the DPM service has been lost. (ID: 917)
    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$MSSQLSERVER2
    MSSQL$MSSQLSERVER2
    Virtual Disk Service
    Volume Shadow Copy
    At C:\DPMcreateConfig.ps1:358 char:2
    +     Set-protectiongroup $2ndmpg
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo         
    : NotSpecified: (:) [Set-DPMProtectionGroup], DlsE
       xception
        + FullyQualifiedErrorId : UICantConnectToEngine,Microsoft.Internal.Enterpr
       iseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.CommitProtectionGroup “
    Any help would be appreciated.
    Thanks,
    Ivan
    Ivan

    Hi Buchatech,
    Nope, I haven't tried the updated script.  I completed the migration manually 9 months ago.
    Thanks, 
    Ivan
    Ivan
    Ok. I knew this was an old thread. I thought I would respond anyway to make sure you figured it out. I do know that the updated script does not error out on SCDPM 2012 R2. 
    My Blog | www.buchatech.com | www.systemcenterportal.com
    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion
    in a test environment before implementing!

  • For Your Consideration: Ultimate Lync 2010 client install with SCCM 2007

    While the subject of my post may be very presumptuous, I submit the following for your consideration to answer the often-asked question about how to deploy Lync 2010 client with SCCM.
    Background:
    I cannot understand why Microsoft made the Lync install so darned confusing, complex, and convoluted.
    After our Lync 2010 FE server was up and running and all users migrated off our OCS server to the Lync environment, I spent about a month and a half trying to figure out how to:
    1.  Uninstall the OCS 2007 R2 client
    2.  Install all prerequisites for the Lync client
    3.  Install Lync on all user workstations silently.
    While researching this, the simple answer I kept seeing given to this question was, "just use the .exe with the right switches according to the TechNet article here: http://technet.microsoft.com/en-us/library/gg425733.aspx".  Well, my response is, I
    tried that and while the program installed itself correctly pushed through SCCM, because I was doing it using an administrative account (i.e. the SYSTEM account) due to our users not having admin rights, when the install was done, Lync would automatically
    start up, but in the SYSTEM context so that the user couldn't see it was running, they go to run it and it won't run for them.  I was unable to find any switch or option to prevent the automatic launch.  I suppose the simple solution to that would
    be to have the user reboot, but that's unnecessarily disruptive and was contrary to the desire to make this a silent install.
    The next simplest answer I saw was, "extract the MSI and use that with the right switches".  Problem with that is that the MSI by itself doesn't remove the OCS client or install the prerequisites, and also either requires a registry change to even allow
    the MSI to be used or a hacked MSI that bypasses the registry key check.  I tried to put a package together to uninstall OCS, install the prereqs, and use a hacked MSI, but I never could get the MSI hacked properly.  The other problem I ran into
    was detecting if the OCS client was running in a predictable way so I could terminate it, properly uninstall it, and then do the rest of the installations.  It was this problem that ultimately led me to the solution that I'm about to detail and that has
    worked marvellously for us.
    Solution:
    As I said before, when I first looked at this problem, I started by building a typical software deployment package (Computer Management -> Software Distribution -> Packages) and then created the programs to do the install.  My first attempt was
    just with the .exe file provided as-is by Microsoft using the switches they document in the link above for IT-Managed Installation of Lync, and...well, the end result wasn't quite as desirable as hoped.  So, my next attempt was to extract all the prerequisite
    files and the Lync install MSI (both for x86 and x64), attempt to hack it to get around the "UseMSIForLyncInstallation" registry key, and make the command-lines to terminate OCS and uninstall it.
    In the past when I had an install to do with SCCM that also required uninstalling an older version of a given application, I typically used the program-chaining technique.  That's where you have, for example, 3 or more programs that run in a package
    in a sequence and you have Program 3 be set to run after Program 2 does and then set Program 2 to run after Program 1 so you get the desired sequence of Programs 1-2-3 running in that order.  So, I created programs to 1) kill Communicator.exe 2) uninstall
    Communicator 2007 R2 by doing an "msiexec /uninstall {GUID}" 3) install Silverlight 4) install Visual C++ x86 5) optionally install Visual C++ x64, and then 6) install the Lync x86 or x64 client.  That final step was always the point of failure because
    I couldn't get the hacked MSI for the Lync Client install to work.  I also realized that if Communicator wasn't running when the deployment started, that step would fail and cause the whole process to bail out with an error.  That's one of the downsides
    of program-chaining, if one step fails, SCCM completely bails on the deployment.  This is what also led me to the key to my solution:  TASK SEQUENCES.
    I'm not sure how many people out there look in the "Operating System Deployment" area of SCCM 2007 where Task Sequences normally live, but I also wonder how many people realize that Task Sequences can be used for more than just Operating System deployments. 
    One of the biggest advantages of a task sequence is you can set a step to ignore an error condition, such as if you try to terminate a process that isn't running.  Another advantage is that task sequences have some very good built-in conditionals that
    you can apply to steps, for example, having the sequence skip a step if a certain application (or specific version of an application) is not installed on the machine.  Both of those advantages factor highly into my solution.
    OK, for those who already think this is "TL;DR", here's the step-by-step of how to do this:
    First, you need to extract all the files from the LyncSetup.exe for your needed architectures.  We have a mix of Windows XP and Windows 7 64-bit, so my solution here will take both possibilities into account.  To extract the files, just start up
    the .exe like you're going to install it, but then when the first dialog comes up, navigate to "%programfiles%\OCSetup" and copy everything there to a new location.  The main files you need are: Silverlight.exe, vcredist.exe (the x64 LyncSetup.exe includes
    both x86 and x64 Visual C++ runtimes, you need them both, just rename them to differentiate), and Lync.msi (this also comes in an x86 and x64 flavor, so if you have a mix of architectures in your environment, get both and either put them into their own directories
    or rename them to reflect the architecture).
    For my setup, I extracted the files for the x86 and x64 clients and just dumped them each into directories named after the architectures.
    Next, move these files into a directory to your SCCM file server, whatever it might be that you deploy from, in our case, it was just another volume on our central site server.  Go to the SCCM console into Computer Management -> Software Distribution
    -> Packages and then create a new package, call it something meaningful, and then point to the directory on your SCCM file server for the source files.
    Now you need to create 3 to 5 programs inside the package:
    1.  Name: Silverlight
       Command Line: x86\Silverlight.exe /q     (remember, inside my main Lync install folder on my distribution point, I have an x86 directory for the files from the x86 installer and an x64 folder for the files from the x64 installer. 
    The fact is the Silverlight installer is the same in both, so you only need one of them.)
       On the Environment tab:  Program can run whether or not a user is logged in, runs with administrative rights, Runs with UNC name
       On the Advanced tab:  Suppress program notifications
       All other options leave default.
    2.  Name:  Visual C++ x86
        Command Line:  x86\vcredist_x86.exe /q
       On the Requirements tab: Click the radio button next to "This program can run only on specified client platforms:" and then check off the desired x86 clients.
       Environment and Advanced tabs:  same as Silverlight
       (If you have only x64 clients in your environment, change all x86 references to x64.  If you have a mixed environment, create another program identical to this one, replacing references to x86 with x64.)
    3.  Name:  Lync x86
        Command Line:  msiexec /qn /i x86\Lync.msi OCSETUPDIR="C:\Program Files\Microsoft Lync"  (The OCSETUPDIR fixes the issue with the Lync client wanting to "reinstall" itself every time it starts up)
        Requirements, Environment, and Advanced tabs:  Same as with Visual C++ and Silverlight
        (Same deal as above if you have all x64 clients or a mix, either change this program to reflect or make a second program if necessary)
    Now you need to make the Task Sequence.  Go to Computer Management -> Operating System Deployment -> Task Sequences.  Under the Actions pane, click New -> Task Sequence.  In the Create a New Task Sequence dialog, choose "create a
    new custom task sequence", Next, enter a meaningful name for the task sequence like "Install Microsoft Lync", Next, Next, Close.
    The task sequence will have up to 12 steps in it.  I'll break the steps down into 3 phases, the prereqs phase, uninstall OCS phase, and then Lync install phase.
    Prereqs Phase:
    These are the easiest of the steps to do.  Highlight the task sequence and then in the Actions pane, click Edit.
    1.  Click Add -> General -> Install Software.  Name: "Install Microsoft Silverlight".  Select "Install a single application", browse to the Lync package created earlier and then select the Silverlight program.
    2.  Add -> General -> Install Software.  Name: "Install Microsoft Visual C++ 2008 x86".  Install Single Application, browse to the Lync package, select the Visual C++ x86 package.
    As before, if you're an all-x64 environment, replace the x86 references with x64.  If you have a mixed environment, repeat step 2, replacing x86 with x64.
    3.  Add -> General -> Run Command Line.  Name: "Enable Lync Installation".  This step gets around the UseMSIForLyncInstallation registry requirement.  The Lync client MSI simply looks for the presence of this key when it runs, so
    we'll inject it into the registry now and it doesn't require a reboot or anything.  It just has to be there before the client MSI starts.
    Command Line: reg add "hklm\Software\Policies\Microsoft\Communicator" /v UseMSIForLyncInstallation /t REG_DWORD /d 1 /f
    Uninstall OCS Phase:
    This part consists of up to 6 Run Command Line steps.  (Add -> General -> Run Command Line)
    4.  Name: "Terminate Communicator".  Command Line: "taskkill /f /im communicator.exe".  On the Options page, check the box next to "Continue on error".  This will terminate the Communicator process if it's running, and if it's not, it'll
    ignore the error.
    5.  Name: "Terminate Outlook".  Command Line: "taskkill /f /im OUTLOOK.exe".  Check the "Continue on error" on the Options page here too.  Communicator 2007 hooks into Outlook, so if you don't kill Outlook, it might prompt for a reboot
    because components are in use.
    (NOTE:  If necessary, you could also add another step that terminates Internet Explorer because Communicator does hook into IE and without killing IE, it might require a restart after uninstalling Communicator in the next steps.  I didn't run into
    this in my environment, though.  Just repeat step 5, but replace OUTLOOK.EXE with IEXPLORE.EXE)
    6.  Name: "Uninstall Microsoft Office Communicator 2007".  Command Line: "msiexec.exe /qn /uninstall {E5BA0430-919F-46DD-B656-0796F8A5ADFF} /norestart" On the Options page:  Add Condition ->  Installed Software -> Browse to the
    Office Communicator 2007 non-R2 MSI -> select "Match this specific product (Product Code and Upgrade Code)".
    7.  Name:  "Uninstall Microsoft Office Communicator 2007 R2".  Command Line:  "msiexec.exe /qn /uninstall {0D1CBBB9-F4A8-45B6-95E7-202BA61D7AF4} /norestart".  On the Options page:  Add Condition -> Installed Software ->
    Browse to the Office Communicator 2007 R2 MSI -> select "Match any version of this product (Upgrade Code Only)".
    SIDEBAR
    OK, I need to stop here and explain steps 6 and 7 in more detail because it was a gotcha that bit me after I'd already started deploying Lync with this task sequence.  I found out after I'd been deploying for a while that a tech in one of our remote
    offices was reinstalling machines and putting the Communicator 2007 non-R2 client on instead of the R2 client, and my task sequence was expecting R2, mostly because I thought we didn't have any non-R2 clients out there.  So, at first I just had our Help
    Desk people do those installs manually, but later on decided to add support for this possibility into my task sequence.  Now, when you normally uninstall something with msiexec, you would use the Product Code GUID in the command, as you see in steps 6
    and 7.  All applications have a Product Code that's unique to a specific version of an application, but applications also have an Upgrade Code GUID that is unique for an application but common across versions.  This is part of how Windows knows that
    Application X version 1.2 is an upgrade to Application X version 1.1, i.e. Application X would have a common Upgrade Code, but the Product Code would differ between versions 1.1 and 1.2.
    The complication comes in that Communicator 2007 and Communicator 2007 R2 have a common Upgrade Code, but different Product Codes and the "MSIEXEC /uninstall" command uses the Product Code, not the Upgrade Code.  This means that if I didn't have step
    6 to catch the non-R2 clients, step 7 would be fine for the R2 clients, but fail on non-R2 clients because the Product Code in the MSIEXEC command would be wrong.  Luckily, we only had one version of the non-R2 client to deal with versus 4 or 5 versions
    of the R2 client.  So, I put the command to remove Communicator 2007 non-R2 first and checked for that specific product and version on the machine.  If it was present, it uninstalled it and then skipped over the R2 step.  If non-R2 was not present,
    it skipped that step and instead uninstalled any version of the R2 client.  It's important that steps 6 and 7 are in the order they are because if you swap them, then you'd have the same outcome as if step 6 wasn't there.  What if neither is on the
    machine?  Well the collection this was targeted to included only machines with any version of Communicator 2007 installed, so this was not a problem.  It was assumed that the machines had some version of Communicator on them.
    8.  Name:  "Uninstall Conferencing Add-In for Outlook".  Command Line:  "msiexec.exe /qn /uninstall {730000A1-6206-4597-966F-953827FC40F7} /norestart".  Check the "Continue on error" on the Options Page and then Add Condition ->
    Installed Software -> Browse to the MSI for this optional component and set it to match any version of the product.  If you don't use this in your environment, you can omit this step.
    9.  Name:  "Uninstall Live Meeting 2007".  Command Line:  "msiexec.exe /qn /uninstall {69CEBEF8-52AA-4436-A3C9-684AF57B0307} /norestart".  Check the "Continue on error" on the Options Page and then Add Condition -> Installed Software
    -> Browse to the MSI for this optional component and set it to match any version of the product.  If you don't use this in your environment, you can omit this step.
    Install Lync phase:
    Now, finally the main event, and it's pretty simple:
    10.  Click Add -> General -> Install Software.  Name: "Install Microsoft Lync 2010 x86".  Select "Install a single application", browse to the Lync package created earlier and then select the "Lync x86" program.  As before, if you
    only have x64 in your environment, replace the x86 with x64, or if you have a mixed environment, copy this step, replacing x86 references with x64.
    And the task sequence is done!  The final thing you need to do now is highlight the task, click Advertise in the Actions pane, and deploy it to a collection like you would with any other software distribution advertisement.  Go get a beer!
    Some final notes to keep in mind:
    1.  You can't make a task sequence totally silent...easily.  Users will get balloon notifications that an application is available to install.  The notifications cannot be suppressed through the GUI.  I've found scripts that supposedly
    hack the advertisement to make it be silent, but neither of them worked for me.  It was OK, though because in the end we wanted users, especially laptop users, to be able to pick a convenient time to do the upgrade.  The task sequence will appear
    in the "Add/Remove Programs" or "Programs and Features" Control Panel.  You can still do mandatory assignments to force the install to happen, you just can't make it totally silent.  On the plus side, the user shouldn't have to reboot at any point
    during or after the install!
    2.  In the advertisement setup, you can optionally show the task sequence progress.  I've configured the individual installs in this process to be silent, however, I did show the user the task sequence progress.  This means instead of seeing
    5 or 6 Installer windows pop up and go away, the user will have a single progress bar with the name of the step that is executing.
    3.  One step that I didn't consider when I actually did this was starting the Lync client as the user when the install was complete.  The user either had to start the client manually or just let it start on its own at the next logon.  However,
    while I was writing this, I realized that I could possibly start the client after installing by making another Program in the Lync Package with a command line that was along the lines of "%programfiles%\Microsoft Lync\communicator.exe" and then in the Environment
    tab, set it to "Run with user's rights" "only when a user is logged on".
    4.  My first revision of this task sequence has the Prereqs phase happening after the OCS uninstall phase, but I kept running into problems where the Silverlight installer would throw some bizarre error that it couldn't open a window or something wacky
    and it would fail.  Problem was, I couldn't re-run the task sequence because now it would fail because OCS had been uninstalled, so that's why the Prereqs happen first.  It ran much more reliably this way.
    5.  For some reason that baffles me, when I'd check the logs on the Site Server to monitor the deployment, I'd frequently see situations where the task sequence would start on a given machine, complete successfully, almost immediately start again, and
    then fail.  I'm not sure what is causing that, but I suspect either users are going to Add/Remove Programs and double-clicking the Add button to start the install instead of just single-clicking it, or the notification that they have software to install
    doesn't go away immediately or Lync doesn't start up right after the install, so they think the first time it didn't take and try it a second time.
    I hope this helps some of you SCCM and Lync admins out there!

    On Step 8 I found multiple product codes for the Conferencing Add-In for Outlook.  Here's a list of the ones I found in the machines on my network:
    {987CAEDE-EB67-4D5A-B0C0-AE0640A17B5F}
    {2BB9B2F5-79E7-4220-B903-22E849100547}
    {13BEAC7C-69C1-4A9E-89A3-D5F311DE2B69}
    {C5586971-E3A9-432A-93B7-D1D0EF076764}
    I'm sure there's others one, just be mindful that this add-in will have numerous product codes.

  • Create a defaut view for the MS Project Server 2010 client

    Dear Forum,
    how can I create a defaut view for the MS Project Server 2010 client?
    I saved a template and set a default view under File -> Options ->Project View. I also did the same in the checked-out enterprise global. If I then close the client and re-open it my default view changes back again to the previous one (not the view
    I set as a default view).
    What explains this behaviour and what can I do? Any hints?
    Thank you very much for your help!

    Scheduler007 --
    The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template.  This is a global option, so setting it from the checked out Enterprise Global file serves no purpose. 
    When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects.  If you create enterprise templates for
    people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template.  In addition, if you apply a view to an open
    project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
    Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization.  This is an option each PM must set.  Hope this helps.
    Dale A. Howard [MVP]

  • Photo Uploaded in AD but not showing/visible in Lync 2010 client

    Photo Uploaded in AD but not showing/visible in Lync 2010 client
    bala

    Hi,
    Please also double check the size of the photograph in AD, make sure the size not overtake 48 pixels by 48 pixels, as it has a serious limitation on the size and resolution of the photos: the thumbnailPhoto attribute can only hold a photograph with
    a maximum size of 48 pixels by 48 pixels.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • No Free/Busy Information for Exchange 2010 users in Outlook 2010 client, 2010 OWA shows this information fine

    I have looked for hours and hours on Google and this web site for this type of issue and nothing seems to help.
    Problem:
    On my new Windows 2008 R2 /Exchange 2010 server with IIS7 installed, I can use Outlook 2010 client to login and send and receive e-mail but when I try to busy search internal Exchange users I get no information (cross-hatch), but the sender of the Meeting Request
    can see their own free/busy information fine.  And OWA users can see free/busy information fine, as can Outlook 2003 client users against this Exchange 2010 server when logged in.
    I don't know if I have a certificate problem with regard to IIS7 or Exchange 2010, I did not create my own certificate , it is just what was installed by default when I installed and configured Win2K8 server, IIS7 and Exchange.
    On the Windows 7 workstations with Outlook 2010 client, I am not logging into the Exchange 2010 server DNS domain, if that makes any difference.  On these workstations I can ping "autodiscover.my.exchange.server.com" and my.exchange.server.com
    with no problem.  I even used this Microsoft KB to install a new _autodiscover dns entry, but it did not help :
    When I turn on logging on my Outlook 2010 client, I see this in my C:\Users\Administrator\AppData\Local\Temp\1\outlook logging\20131208-135658864-fb.log :
    2013/12/08 13:56:58.864: Getting ASURL
    2013/12/08 13:56:58.864: URL returned from cached autodiscover: blah blah 
    2013/12/08 13:56:58.864: Request to URL: 
    2013/12/08 13:56:58.864: Request action: 
    2013/12/08 13:56:58.864: Request XML: <?xml version="1.0"?>
    2013/12/08 13:56:59.051: Request sent
    2013/12/08 13:56:59.051: Response error code: 00000000
    2013/12/08 13:56:59.051: HTTP status code: 0
    2013/12/08 13:56:59.051: -------------------------------
    2013/12/08 13:56:59.051: There is an error in request/response.
    2013/12/08 13:56:59.051: XML response:
    2013/12/08 13:56:59.051: -------------------------------
    2013/12/08 13:56:59.051: Getting ASURL
    2013/12/08 13:56:59.644: Failed to get ASURL. Error 8004010F
    At an Exchange shell console I enter this command and get these results :
    Exchnage Management Shell :
    VERBOSE: Connecting to BPExchange2010.my.exchange.server.com
    VERBOSE: Connected to BPExchange2010.my.exchange.server.com.
    [PS] C:\Windows\system32>Test-OutlookWebServices -id:[email protected] -TargetAddress:[email protected]
    ll.com
    RunspaceId : c929eacd-d53c-49d7-8532-c4b74e61b8be
    Id         : 1019
    Type       : Information
    Message    : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is 
    Type       : Success
    Message    : [Server] Successfully contacted the UM service at https://bpexchange2010.my.exchange.server.com/ews/exchan
                 ge.asmx. The elapsed time was 234 milliseconds.
    [PS] C:\Windows\system32>
    ** Also frequently when I log into Outlook 2010 client and start to send a meeting request , I get the Security Alert dialog :
    autodiscover.my.exchange.server.com
    Information you exchange with this site cannot be viewed or changed by others.  However, there is a problem with the site's security certificate.
    Green Check Mark :  The security cerficate is from a trusted certifying authority
    Green Check Mark: The security certificate date is valid
    Red X :  The name on the security certificate is invalid or does not match the name of the site.
    Do you want to proceed ?  .  I either import the certificate or click YES, but does not help this issue.
    NOTE: Each user that shows as NO INFORMATION cross-hatch, these users have appointments and have logged into outlook before.
    When I do this autodiscover url from a Windows 7 pc with outlook 2010 I get  :
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
    <Response>
    <Error Time="14:47:01.5656198" Id="401440650">
    <ErrorCode>600</ErrorCode>
    <Message>Invalid Request</Message>
    <DebugData/>
    </Error>
    </Response>
    </Autodiscover>
    Can anyone assist ?  What am I missing ?
    Thank You
    NOTE:  When will this go away.  I had to strip out a lot of helpful information to post this.  "Body text cannot contain images or links until we are able to verify your account."

    Hi,
    How many users encounter this issue, all users with Outlook 2010 or some specific users?
    According to your post, the Error code 600 indicates that your Autodiscover service is working well. as for the certificate mismatch issue, we can also following the KB below to resolve it:
    http://support.microsoft.com/kb/940726/en-us
    The Free/Busy information in Exchange 2010 is using the Availability service to
    retrieve it. Please directly access
    https://mail.mydomain.ae/EWS/Exchange.asmx in IE and see whether a proper XML file is returned.
     Or we can go to
    https://testexchangeconnectivity.com and check MS Exchange Web Services Connectivity Tests.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Connecting a SharePoint 2013 Document Library to Outlook 2010 client

    Good Day,
    Can someone please confirm if you can connect a SharePoint 2013 Document Library to Outlook 2010 client?
    I have seen articles, like the one shown below for Outlook 2013 to SharePoint 2013;
    http://www.sharepointgeoff.com/how-to-connect-a-sharepoint-2013-document-library-to-outlook-2013/
    Please provide a link to documentation to validate what Outlook Office versions will support viewing Document Library from Outlook client from a SharePoint 2013 Document Library.
    Thanks in advance for taking the time to review my request.
    Regards,
    Mark

    Hi Mark,
    Per my understanding, you might want to connect SharePoint 2013 Document Library to Outlook 2010 client application.
    Yes, SharePoint 2013 Document Library can connect to Outlook 2010 client application, the connecting process is similar as what SharePoint 2013 connect to Outlook
    2013 client application does.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • DPM 2010 Shell Cmdlets usage leading to Powershell crash

    Hi all,
    I have 71 DPM 2010 servers located at various places in the world. The most of them have a good and reliable network connection while some of them are connected via Sat-Link. All of my DPM 2010 servers have the same version, and are all running in identical
    W2K8 Servers with Powershell 3 installed on them. I've made a script to inventorize Datasource Replica disk usage/allocation, shadow volume disk usage/allocation and the number of recovery points, their size. The goal of this script is to do the job that DPM
    2010 should normaly do, for instance, deleting recovery points above retention date because it is not always the case... File recovery points number grows to their maximum (64) and for system State (because there is no User recovery on these ressources) their
    number can be above 100 and generally it's about 150...
    The script is running well locally, but if I try yo run a single Get-Datasource from one of my servers targeting another server, sometimes it leads to a simple Powershell crash... I also tried an invoke-command as job it's the same, the job returns nothing
    but it is marked as completed or sometimes as failed. This happens always on some server and on the other only sometimes...
    I really don't understand where is the origin of this problem... As anyone encountered such behaviour ?
    Thanks a lot in advance ;-)

    I did not find a solution to my problem yet, but I solved a part of it...
    The first of all "Powershell crash" was solved by issuing a Disconnect-DPMServer before each Get-DataSource...
    The second problem solved was the fact that the Get-DataSource cmdlet required the parameter <DPMServer> to be fully in Uppercase...
    The last problem remaining is the Invoke-command that continue to fail... Here is my code :
    $DPMServerStatusList = @()
    foreach($DPMServer in $DPMServerList){
    if(Test-Connection -Count 1 -BufferSize 16 -ComputerName $DPMServer){
    $DPMServerStatusList += @{
    Reachable = $True
    Computer = $DPMServer
    }else{
    $DPMServerStatusList += @{
    Reachable = $False
    Computer = $DPMServer
    $i=1
    foreach ($DPMServerState in $DPMServerStatusList){
    Write-Host $i ")" $DPMServerState.Computer " : " -BackgroundColor Blue -ForegroundColor White -NoNewline
    if($DPMServerState.Reachable){
    Write-Host "ONLINE" -BackgroundColor Green
    $Computer = $DPMServerState.Computer
    Invoke-Command -ComputerName $Computer -AsJob -JobName "$Computer" -ScriptBlock {
    param(
    $Computer
    if((Get-PSSnapin -Name "Microsoft.DataProtectionManager.PowerShell" -ErrorAction SilentlyContinue) -eq $null ){
    Add-PSSnapin -Name "Microsoft.DataProtectionManager.PowerShell"
    Disconnect-DPMServer
    $DPMDataSources = Get-Datasource -DPMServerName $Computer
    $DPMTotalConsumedSpace = 0
    $DPMTotalUnshrinkableSpace = 0
    $DPMTotalRealSpaceUsage = 0
    $DPMTotalWastedSpace = 0
    $DPMDataSourceReport = @()
    foreach($DPMDataSource in $DPMDataSources){
    if($DPMDataSource.ReplicaSize -ge 0){
    $DPMTotalConsumedSpace += $DPMDataSource.ReplicaSize
    $DPMTotalConsumedSpace += $DPMDataSource.ShadowCopyAreaSize
    $DPMTotalUnshrinkableSpace += $DPMDataSource.ReplicaSize
    $DPMTotalRealSpaceUsage += $DPMDataSource.ReplicaUsedSpace
    $DPMTotalRealSpaceUsage += $DPMDataSource.ShadowCopyUsedSpace
    $DPMDataSourceName = $DPMDataSource.DatasourceName
    $DPMProtectionGroupName = $DPMDataSource.ProtectionGroupName
    $DPMReplicaSpaceStatus = "" + $(($DPMDataSource.ReplicaSize) / 1GB) + "GB / " + $(($DPMDataSource.ReplicaUsedSpace) / 1GB) + "GB"
    $DPMShadowSpaceStatus = "" + $(($DPMDataSource.ShadowCopyAreaSize) / 1GB) + "GB / " + $(($DPMDataSource.ShadowCopyUsedSpace) / 1GB) + "GB"
    $DPMOldestDate = $DPMDatasource.GetRecoveryPoint()[0].RepresentedPointInTime
    $DPMRecoveryPointNumber = $DPMDatasource.GetRecoveryPoint().Count
    $DPMRecoveryPointNumberToBeCleaned = $($DPMRecoveryPointNumber - 35)
    #Write-Host ""
    #Write-Host " Name : " $DPMDataSourceName
    #Write-Host " ProtectionGroup : " $DPMProtectionGroupName
    #Write-Host " Replica Space Status : " $DPMReplicaSpaceStatus
    #write-Host " Shadow Copy Status : " $DPMShadowSpaceStatus
    #Write-Host " Earliest Date : " $DPMOldestDate
    #Write-Host " RecoveryPointsNumber : " $DPMRecoveryPointNumber
    if($DPMRecoveryPointNumberToBeCleaned -gt 0){
    $DPMDeleteFrom = $DPMDatasource.GetRecoveryPoint()[0].RepresentedPointInTime
    $DPMDeleteTo = $DPMDatasource.GetRecoveryPoint()[$DPMRecoveryPointNumberToBeCleaned].RepresentedPointInTime
    $DPMRestorePointsListToDelete = $(0..$DPMRecoveryPointNumberToBeCleaned) | %{$_}
    #Write-Host " RecoveryPointsToBeCleaned : " $DPMRecoveryPointNumberToBeCleaned -BackgroundColor Red
    #Write-host " Will delete Restore point from : " $DPMDeleteFrom " to " $DPMDeleteTo
    #Write-host " Restore Point ID To delete : " $DPMRestorePointsListToDelete
    $DPMDataSourceReport += @{
    Name = $DPMDataSourceName
    ProtectionGroup = $DPMProtectionGroupName
    ReplicaSpaceStatus = $DPMReplicaSpaceStatus
    ShadowSpaceStatus = $DPMShadowSpaceStatus
    OldestDate = $DPMOldestDate
    RecoveryPointNumber = $DPMRecoveryPointNumber
    RecoveryPointNumberToBeCleaned = $DPMRecoveryPointNumberToBeCleaned
    DeleteFrom = $DPMDeleteFrom
    DeleteTo = $DPMDeleteTo
    RestorePointsListToDelete = $DPMRestorePointsListToDelete
    }else{
    #Write-Host " RecoveryPointsToBeCleaned : None" -BackgroundColor Green
    $DPMDataSourceReport += @{
    Name = $DPMDataSourceName
    ProtectionGroup = $DPMProtectionGroupName
    ReplicaSpaceStatus = $DPMReplicaSpaceStatus
    ShadowSpaceStatus = $DPMShadowSpaceStatus
    OldestDate = $DPMOldestDate
    RecoveryPointNumber = $DPMRecoveryPointNumber
    RecoveryPointNumberToBeCleaned = 0
    DeleteFrom = 0
    DeleteTo = 0
    RestorePointsListToDelete = @()
    #Write-Host " Realocate Data Require : " $DPMDatasource.ReAllocationRequired
    $DPMTotalWastedSpace = $DPMTotalConsumedSpace - $DPMTotalRealSpaceUsage
    #Write-Host "_______________________________________________________"
    #Write-Host "Global Status : "
    #Write-Host " Disk Allocation : " $($DPMTotalConsumedSpace / 1GB) "GB"
    #Write-Host " Disk Usage : " $($DPMTotalRealSpaceUsage / 1GB) "GB"
    #Write-Host " Locked Space : " $($DPMTotalUnshrinkableSpace / 1GB) "GB"
    #Write-Host " Wasted Space : " $($DPMTotalWastedSpace / 1GB) "GB"
    return $DPMFinalReportArray = @{
    ServerName = $Computer
    DiskAllocation = $DPMTotalConsumedSpace
    DiskUsage = $DPMTotalRealSpaceUsage
    LockedSpace = $DPMTotalUnshrinkableSpace
    WastedSpace = $DPMTotalWastedSpace
    DataSources = $DPMDataSourceReport
    } -ArgumentList $Computer
    }else{
    Write-Host ": OFFLINE" -BackgroundColor Red
    $i++
    If it can help... What do am I doing wrong ?

  • Create folder in Document Library using Sharepoint 2010 Client Object Model

    I would like to check for the existence of a folder in s Sharepoint 2010 Document Library and if the folder is not found, create it. (I would then subsequently programmatically upload documents to that folder -- which I have figured out). Can someone
    please help me figure out how to check for the extistence of and then create a folder using the Sharepoint 2010 Client Object Model?

    You can use this:
    public static void CreateFolder_ClientOM(string listName, string folderName)
    ClientContext clientContext = new ClientContext("http://basesmc2008");
    Web web = clientContext.Web;
    List list = clientContext.Web.Lists.GetByTitle(listName);
    clientContext.Load(clientContext.Site);
    string targetFolderUrl = listName + "/" + folderName;
    Folder folder = web.GetFolderByServerRelativeUrl(targetFolderUrl);
    clientContext.Load(folder);
    bool exists = false;
    try
    clientContext.ExecuteQuery();
    exists = true;
    catch (Exception ex)
    if (!exists)
    ContentTypeCollection listContentTypes = list.ContentTypes;
    clientContext.Load(listContentTypes, types => types.Include
    (type => type.Id, type => type.Name,
    type => type.Parent));
    var result = clientContext.LoadQuery(listContentTypes.Where
    (c => c.Name == "Folder"));
    clientContext.ExecuteQuery();
    ContentType folderContentType = result.FirstOrDefault();
    ListItemCreationInformation newItemInfo = new ListItemCreationInformation();
    newItemInfo.UnderlyingObjectType = FileSystemObjectType.Folder;
    newItemInfo.LeafName = folderName;
    ListItem newListItem = list.AddItem(newItemInfo);
    newListItem["ContentTypeId"] = folderContentType.Id.ToString();
    newListItem["Title"] = folderName;
    newListItem.Update();
    clientContext.Load(list);
    clientContext.ExecuteQuery();
    Blog | SharePoint Field Notes Dev Tool |
    ClassMaster

  • Managing "Access Levels" on a domain level from Lync 2010 client

    Hello,
    Our company moved from Office Communicator 2007 R2 clients to Lync 2010 clients.
    Previously in Office Communicator 2007 R2 client, it was possible to set default Access Levels for complete domains (instead of individual users only), using the Access Level Management view.
    In the Lync 2010 this options seems to be missing. The management options per user are still there (by right-clicking a user), but the access to manage it for a domain is no longer visible.
    Is there any way to manage Access Levels for domains, in a similar way we had in Communicator 2007? It appears that Lync 2010 stilluses the Access Levels set previously for domains, but users do no longer have any possibility to make further updates,
    and are stuck (from their perspective at least) with the settings made in 2007 before.
    Thanks.

    Lync 2010 doesn’t have the feature natively.
    With Lync Server 2010, by default, the contacts from federated domains are added as External Contacts.
    Lisa Zheng
    TechNet Community Support

  • Getting the Lync 2010 client to use 2013 Persistent Chat

    We are migrating to Lync 2013 from 2010 and just testing the 2013 environment right now with a few users. Only thing left I need to configure is getting the Lync 2010 client to connect to the 2013 Persistent Chat server. Most of our users are Windows XP
    so they can only use the 2010 client.
    We did not have Group Chat prior to this so Persistent Chat is new to everyone. I created the Persistent Chat Endpoint in Lync 2013 per the article
    http://technet.microsoft.com/en-us/library/jj204901.aspx but now what.
    The article tells you how to create the endpoint but that's it. What else is needed. Does a Lync user in 2013 need to exist that matches the SIP addresses in the command? The icon for Persistent Chat is not showing up in the Lync 2010 client so something
    is missing.

    You still need this endpoint, as long you will Need Lync 2010 Chat clients. Without this endpoint, you will be able to login but could not find any chat rooms.
    For login you use your normal Lync credential. Lync Chat server has not deployed before.
    Have you  test to use the Pchat with this user on a Lync 2013 client?
    Here is a link with additional help
    http://lyncinsider.com/tag/group-chat/
    regards Holger Technical Specialist UC

Maybe you are looking for

  • Apple tv no longer connected to network

    So as of last night I can longer connect my apple tv to the network I have restarted the apple tv, I have restarted my router, I have moved location of my apple tv and still get "Apple TV isn't connect to the network" When I go to the network section

  • Image Size Question

    In Photoshop CS6 two of the options in the 'Image Size' dialog box are 'Bicubic Smoother (best for enlargement) and Bicubic Sharper (best for reduction). I have assumed this referred to a reduction or enlargement in the height and width of the image

  • Trying for wireless network with D-Link modem, but no Internet connection

    I am trying to figure out a way to use my iBook elsewhere in my house, without being physically connected to my modem. I have a SpeedStream 5100 modem, use DSl, and just got a D-Link DI-524 router. My problem is that I cannot access the configuration

  • Cf8 crashing

    we've got a new cf8 server and it is behaving very irratically at the moment. Currently I'm getting:- "Server Error Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request." Any idea whats hap

  • Change GR Slip Output type in mvt 101

    What is the best way to change the output type (WF02) that is link to Mvt 101? http://www.Google-SAP.com