SetDpmServer failed with errorcode

I needed to add a new server for protection to DPM. I went to install the agent on the server and it failed. I then went and attached the agent and then went to do a manual install of the agent on the server itself. When I got to the point of running SetDpmServer I got an error. This is the error I got:

“C:\Program Files\Microsoft Data Protection Manager\DPM\bin>SetDpmServer.exe -dpm
ServerName DPM.DOMAIN.com
Configuring dpm server settings and firewall settings for dpm server =[DPM.DOMAIN.com]
Configuring dpm server settings and firewall settings for dpm server =[DPM.DOMAIN.com]
SetDpmServer failed with errorcode =0×80004005, error says: Unspecified error
To further troubleshoot failures with SetDpmServer, go to  http://go.microsoft.c
om/fwlink/?LinkId=169142″

This error is not very helpful. This is what I did to fix it.

From an elevated command prompt stop the Windows firewall service by running:

  • Net stop mpssvc

go ahead and run again

  • SetDpmServer.exe -dpmServerName DPM.DOMAIN.com

start the Windows firewall again by running

  • Net start mpssvc

You should be able to go back to the DPM admin console and see that your protected servers agent is “OK” now. This should work on DPM 07,10, and 2012.

Exchange Server Deployment Assistant

Here is another great tool from Microsoft. This is the Exchange Server Deployment Assistant. It is for Exchange 2010 deployments. It can assist you in creating a step by step plan for your Exchange deployment. It can help with On-premise, Cloud, or Exchange Hybrid deployments. This tool will also help you with upgrade scenarios.

Basically the tool will ask you a series of questions about your environment and how you want to setup Exchange. It will then populate a checklist that you can follow for your deployment. You can click through the checklist in the browser, download it or print it.

Here is a link to the tool:

http://technet.microsoft.com/en-gb/exdeploy2010/default.aspx#Index

System Center Universe 2012

System Center Universe 2012 is a one-day globally available technical event which will focus on the System Center 2012 products and new capabilities resulting from these releases. The conference begins at 8:00 am CST on Thursday, January 19th, 2012.

Jason Buffington will be presenting about Data Protection Manager 2012. Here is a link to the full agenda:

http://www.systemcenteruniverse.com/Agenda

Many System Center User Groups will have remote viewings of the sessions. You can find out if your local SCUG is participating at this link:

http://www.systemcenteruniverse.com/UserGroupViewings

How to install Active Directory Rights Management Services

One of the best features of Active Directory in Windows server 2008 is a security tool called Active Directory Rights Management Services (AD RMS). AD RMS allows organizations to secure content such as word documents, excel spread sheets, email’s and even can be integrated in SharePoint. A user would need to be authenticated before they could access the data from any of those content sources. I know this topic has been covered before but I wanted to post the steps from my deployment of AD RMS.

A Windows Server 2008 domain is required before you begin.

On the server you will deploy AD RMS on:

  • Open Server manager
  • Expand Roles
  • Right click and select Add New Roles
  • Click Next
  • Select AD Rights management Services and click next

clip_image001

The following roles will need to be added as well.

  • Click Add Required Role Services.

clip_image002

  • Click Next

You can explore more about AD RMS on the next window by clicking any of the links. When done click next.

clip_image003

Read the rest of this entry »

Backing up System State of Windows 7 with DPM

Yes the title of this post is misleading. That was intentional. I have seen many fellow IT Pros in the community asking if backing up system state of Windows clients is possible with DPM 2010. Well it is not and it will not be possible with DPM 2012 either. DPM was designed to protect client data but not the machine entirely. DPM does a great job of protecting client data but there is a real need in some environments to protect client PC’s as a whole.

There is not an officially supported solution for this but there is a work around to protect the entire client.

For XP clients you could backup system state of your XP machines to a network share or folder and then have DPM pick it up from there.

Windows Vista/7 does not have a system state backup option. That was replaced with “Complete PC Back up”. Complete PC Back up in Windows Vista/7 is an image of the computer so it achieves a similar goal to system state. You can schedule to run the Complete PC Back up out to a folder or network share and then let DPM pick it up from there.

Again this is not ideal but it is a good alternative when you need complete protection of your client.

Here is the process to set this up on Windows 7.

  • Go to Start>>>Control Panel>>>Backup and Restore

Note that Windows backup has not been setup yet.

  • Click on Set up backup.

clip_image001

The Windows Backup wizard will start. This can take a while to open so be patient here.

clip_image002

Read the rest of this entry »

Publish a users Desktop as a RemoteAPP on RD Web Access

Have you ever needed to give a user access to their desktop on a Remote Desktop Services Server?  In my situation I had a user that was accessing an application via Remote Desktop Web Services. This user would also use Excel and pull reports from the applications database. These Excel reports would save locally on the server not the end users desktop.

I needed a quick and easy way for the user to access these reports in the event he needed to pull them back up. I also needed a way to accomplish this without confusing the user about being on his local desktop or the servers desktop. One of the requirements was also that the user was not allowed to log onto the server directly so having him access the desktop that way was not possible.

What I did was created a simple batch file that puts the user right into his desktop and then I published this batch file to the user via the RD Web Access interface. The end result is that he would get a Windows Explore window with all of his Excel files listed when he clicked on the app.

Here are the steps I took to set this up:

I created a batch file called USERNAMEDESKTOP.bat The file contained this syntax:

explorer.exe C:\Users\USERNAME\Desktop

I placed this in a central location in this case I created a folder called: example C:\RemoteAPP Scripts. I made this folder in case we need to create more scripts like this in the future.

I then went into RemoteAPP Manager and published the app to the user.

clip_image002

I then went into the properties of this app and changed the icon from the standard command prompt icon to the desktop icon.

Here is the path to the Windows icons: C:\Windows\system32\imageres.dll

clip_image003

Read the rest of this entry »

How to manually remove AD RMS

There may be a time when an AD RMS install goes bad or you have to remove it for whatever reason. In my case this was deployed by someone else and it needed to be removed because it was not deployed correctly. RMS was not working properly to the point where you could not get into the console.

Because it was not working I could not use the traditional way to de-commission it. I had to force a removal of RMS which should always be a last resort. Here are the steps to do this:

Go and download the AD RMS toolkit from here:

http://www.microsoft.com/download/en/confirmation.aspx?id=1479

Install the AD RMS toolkit

  • Open an elevated command prompt
  • CD out to %systemdrive%:\Program Files (x86)\RMS SP2 Administration Toolkit\ADScpRegister\
  • ADScpRegister.exe unregisterscp https://rms.domain.com

image

Read the rest of this entry »

Push out contacts to Lync 2010 clients

In OCS 2007 there was a tool you could use to automatically push out contacts to your OCS users. This was helpful so the end user would not have to go enter everyone they wanted to their contacts  manually in the Communicator client.

This tool was called  LCSAddContacts and it was a script you ran on the server. Well in Lync 2010 Microsoft did not add this ability into Lync 2010 and the LCSAddContacts no longer exists. Fortunately MVP Jeff Guillet has created a tool called LyncAddContacts that can do this for Lync 2010. Here is the link to that tool:

http://www.expta.com/2011/01/introducing-lyncaddcontacts.html

DPM 2012 Book Feedback

Hello DPM Community,

This is Steve here. I recently published a book on DPM 2010. I have been fortunate to team up with Microsoft DPM MVP’s Robert Hedblom and Islam Gomaa to write a DPM 2012 book. We are in the planning stages for this book. We would like to know from the community what specific topics would you like to see covered in this book? Post your responses here in the comments.

Thank You for your feedback.

Better Reporting in DPM through Prism

Reporting for DPM has been a problem for many DPM administrators. You need better reporting on scheduled backup jobs, success/failures of backup jobs, details on tape jobs, SLA reports, and more. Your only other option was to create custom reports in DPM using the SQL views that come with DPM. I posted on how to do this a while back here:
http://www.buchatech.com/2011/01/building-custom-reports-in-dpm/.

Working with SQL views is not the easiest way to get custom reports if you are new to or not savvy with SQL Reporting services. Well the alternative to this is Prism.

A company named Bocada has developed a product called Prism that helps you get better reporting out of your backup solutions. They have a flavor for DPM. The nice folks at Bocada gave me a demo of this product live in action. Thanks Ralph!

I am going to give you some more details about Prism for DPM in this post.

There are many pros to Prism and only a couple of cons. One of the cons is that you still cannot bring the custom reports into the DPM console. They are however web based and easy enough to access. 
There still is a slight learning curve to learn how to customize reports.

Prism is a stand alone product that is deployed on a server and accessed via a web browser. It runs on top of IIS and accesses the DPM data directly through the DPM SQL database. Once Prism has collected information about DPM it is able to present the information as reports.

Prism can be setup to gather information from multiple DPM servers for reporting therefore it can be used in enterprises with many DPM servers.

Brocada  teamed up with Microsoft to create two default DPM specific reports in conjunction with reporting DPM related data in Prism. These reports are:

  • Recovery Point Summary
    Recovery Point Summary provides a summary of the number of Non-expired recovery points, Date of the last non-expired recovery point and the average recovery point in Range for all the clients being protected. 

image

  • Recovery Point Status
    Recovery Point Status lets you see the various success or failures of your daily recovery points. 

image

Read the rest of this entry »

Buchatech.com RSS Feed
Favorite Forums
  • myITforums
  • SCDPM Online
  • Tech Exams
  • TechNet DPM Forums