Assume you install an application service on a Windows Server 2012-based computer. Use DISKSHADOW.exe to list the writers. You may notice the System Writer has two Component sections:
- Component "System Writer:\System Files"
- Component "System Writer:\Win32 Services Files"
The installed application service binaries should be listed under this System Writer component, and because of the flags value of 4 on this component, the binary is optional in the system state backup.
Similarly, install the same application service on a Windows 8-based computer. Dump the System Writer metadata and you may notice there is no Component "System Writer:\Win32 Services Files". The application service binary is listed under the system state component of the System Writer and now is expected to be saved as system state.
As a result, any backup application would fail to handle consistently the same data type depending on Server or Client is installed.
This is by design. Win32 Service Files are not reported by the System Writer as part of the System Component for Windows Server 2012.
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. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To workaround this problem, you must create a registry key. To do this, follow these steps:
Open the Windows Run box using keyboard, press Windows logo key +R
Type regedit in the Run box, and then press ENTER.
Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SystemWriter\ReportWin32ServicesNonSystemState
Note If this registry subkey does not exist, please create it manually.
- To include the Win32 service Files set the value to 0.
- To exclude the Win32 service Files set the value to 1.
- Exit Registry Editor.
- Restart the computer.
- On Windows Server 2012, deleting this registry key is equivalent to setting it to 1 and causes Win32 Service Files to be excluded from System Writer’s system component specifications.
- On Windows 8, deleting this registry key is equivalent to setting it to 0 and causes Win32 Service Files to be included in System Writer’s system component specifications.
Win32 Service Files, a new functionality for reporting system state components has been added to Windows Server Backup in Windows Server 2012. Win32 Services Files enables Windows Server Backup and other 3rd party backup solutions with the option to backup and recover these files as part of a volume backup or system state backup. In Windows 8, Win32 service files are reported by the System Writer as part of the System Component and are included in the system state backup.
For more information on functionality that has been changed or added to Windows Server Backup in Windows Server 2012, click the following web site:
Article ID: 2792088 - Last Review: Dec 7, 2012 - Revision: 1