Results 1 to 6 of 6

Thread: VSSWriter issue of listing

  1. #1
    Join Date
    Oct 2008

    question VSSWriter issue of listing

    Hi ,
    I am writing sample vss writer for my backup application.
    I am facing a problem , that my Sample writer is not listed when i give call to vssadmin list writers.

    Can anybody help me how to register customized vss writer.
    I am using Intialize method of VSSWriter class and subscribe method to do it.

    Any help will be appriciable.

  2. #2
    Join Date
    Sep 2005

  3. #3
    Join Date
    Oct 2008

    Re: VSSWriter issue of listing

    Hi Unidentified,

    Thanks for reply ... but those links are not giving me any clue.
    For more understanding , i m psoting my sample code

    hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);

    hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED);

    hr = CoInitializeSecurity(


    hr = CVssWriter::Initialize(TestWriterId,

    Can you give me any hint on this

    Suggetions are welcome


  4. #4
    Join Date
    Dec 2007

    Re: VSSWriter issue of listing

    Registry Backup and Restore Operations Under VSS
    The Windows Registry Service supports a VSS writer, called the registry writer, which allows requesters to back up a system registry using data stored on a shadow copied volume. However, non-VSS Win32 APIs are required to restore a registry.

    The registry writer performs in-place backups and restores of the registry. In addition, the registry writer reports only system hives; it does not report user hives.

    Windows Server 2003 and Windows XP: The registry writer uses an intermediate repository file (also known as a spit file) to store registry data. In addition, the registry writer reports system hives and user hives.
    The writer ID for the registry writer is AFBAB4A2-367D-4D15-A586-71DBB18F8485.

    Registry Backup Using VSS
    The registry writer will export and save active registry files in the locations defined by the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\hivelist.

    The names of the values under this registry entry identify the registry hive to be saved, and the value's data provides the file containing the file (the hive file). The hive files are specified with the following format: \Device\HarddiskVolumeX\path\filename.

    For example, under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\hivelist, you might see \REGISTRY\MACHINE\SOFTWARE = \Device\HarddiskVolume1\Windows\System32\config\SOFTWARE.

    The registry writer ensures that hive files are saved to disk prior to its shadow copy.

    When backing up the registry hives, a requester would replace \Device\HarddiskVolumeX with the device object string of the volume's shadow copy.

    Note You can convert the \Device\HarddiskVolumeX path to an equivalent Win32 path by using the QueryDosDevice function. For more information, see Obtaining a File Name From a File Handle or Displaying Volume Path Names.

    For more follow this link:

  5. #5
    Join Date
    Oct 2008

    Re: VSSWriter issue of listing

    Hi ,

    I was on leave. Unfortunatly none of the reply are helpful for me.
    Please can anybody help me in this problem of VSS Writer.

  6. #6
    Join Date
    Dec 2008

    Re: VSSWriter issue of listing

    Are you referring the KB article which discuss com errors seen via event
    viewer? i suppose you have to reboot everyday to ensure backups don't fail. There has to be another way of forcing these writers to reset without having to restart the server surely or at least be a fix?


Similar Threads

  1. How to listing forum in DMOZ
    By Cheapstake in forum Technology & Internet
    Replies: 7
    Last Post: 15-07-2011, 12:03 AM
  2. Replies: 4
    Last Post: 15-04-2011, 11:48 AM
  3. Listing of tables with schema
    By Norse in forum Software Development
    Replies: 2
    Last Post: 12-02-2010, 10:58 PM
  4. Directory listing of a website
    By Gunner 1 in forum Software Development
    Replies: 5
    Last Post: 29-01-2010, 02:01 PM
  5. Dynamically listing comboBox
    By MAGALY in forum Software Development
    Replies: 3
    Last Post: 25-11-2009, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts