tisdag 21 oktober 2014

Problems with system state backup - DPM

I ran into a common issue regarding DPM and System State backup today at the office.

When running a system state backup the following event is recorded.

DPM cannot create a backup because Windows Server Backup (WSB) on the protected computer encountered an error (WSB Event ID: 517, WSB Error Code: 0x8078001D). (ID 30229 Details: Internal error code: 0x809909FB)
And it's a common error and the reason this occurs is because there is a illegal character, or a reference to a local disk that no longer is present, for a service in the registry.

There are multiple ways to check the imagepath. One is to use the msinfo32 tool, do a regquery or  use powershell.

Since I'm starting to learn powershell I opted for it. Powershell has the nifty feature of having drives and besides regular drives there are a few other. To see the available drives just issue the command Get-PSDrive. 

So I ended up with a command that looked like this.
get-childitem -Recurse -path HKLM:\system\CurrentControlSet\Services | Get-ItemProperty | Where-Object {$_.imagepath} |Select-Object -ExpandProperty imagepath | out-file C:\temp\registry.txt

That made it easy to check if it was a service with a faulty image path that caused this problem.

And in my case it was a HP SUM Service that was the cause of the problem.

/Joseph


 

Inga kommentarer:

Skicka en kommentar