Microsoft Knowledge Base Email Alertz

The systemstatebackup subcommand fails when an invalid ImagePath property is specified for services in Windows Server 2008

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 2289925 - Last Review: July 21, 2010 - Revision: 1.0

The systemstatebackup subcommand fails when an invalid ImagePath property is specified for services in Windows Server 2008

SYMPTOMS

On a Windows Server 2008-based computer, you try to run a systemstatebackup subcommand on the Windows Server Backup feature. However, you experience the following symptoms:

  • Some Windows services are not backed up.
  • Random files from the source folder are not backed up. 
Additionally, if you try to run a systemstaterestore subcommand from a full backup of all critical volumes, the restore operation fails.

CAUSE

This issue occurs when you specify an ImagePath property that contains a forward slash (/) character in the file path. The systemstatebackup and systemstaterestore subcommands use the System Writer to list files for backup and for restore. However, System Writer does not recognize a service when the ImagePath property contains a forward slash. Therefore, System Writer skips the service and then randomly skips other files.

RESOLUTION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might
occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection,
back up the registry before you modify it. Then, you can restore the registry if a problem occurs.

To resolve this issue, replace the forward slash character in the ImagePath property with the backslash character (\). You can determine which services use the forward slash character for the ImagePath property by running the following query at a command prompt:

reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services /s /v ImagePath > regkeys.txt
You can then edit each registry entry that contains the forward slash and replace it with a backslash. 

Note This does not include any switches or parameters that are used by the service. Do not replace these instances of the forward slash character.

MORE INFORMATION

When you run a systemstatebackup or systemstaterestore subcommand, the Volume Shadow Copy Service (VSS) uses the System Writer to automatically select files for backup and for restore. Files that are not listed during this operation will not be targeted for backup or for restore. On a Windows Server 2008-based computer, system state files are selected dynamically. Therefore, system state files differ from environment to environment.

Note Even though System Writer does not recognize a service when the ImagePath property contains a forward slash character (/) in the file path, the service does work correctly on the system.

APPLIES TO
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
Keywords: 
KB2289925
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate