Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: KB2289925

↑ Back to the top

Article Info
Article ID : 2289925
Revision : 1
Created on : 7/21/2010
Published on : 7/21/2010
Exists online : False
Views : 144