We help IT Professionals succeed at work.

Cannot backup system state on Windows 2003 Server DC

Windows Server 2003 32bit SP 2
MS SQL Server 2000 is installed but the services are not running, it has been decommissioned for the most part. I know that there are articles out there for the win2k3 64bit and MS SQL 2000 combintation causing issues with ntbackups and the vss writer. I am about to make some changes to AD including deleting a failed DC from the forest. I really need to backup active directory on this DC before making any more changes. Any help is appreciated.

The error is as follows:

Backup Status
Operation: Backup
Active backup destination: File
Media name: "Backup.bkf created 3/11/2012 at 11:17 AM"

Volume shadow copy creation: Attempt 1.
Timeout before function completed

Error returned while creating the volume shadow copy:0xffffffff.

Error returned while creating the volume shadow copy:ffffffff
Aborting Backup.

----------------------

The operation did not successfully complete.

----------------------
Comment
Watch Question

Run the vssadmin tool in a command line, and verify that the vss writers for AD are populated.  You may also need to set the required vss space on a disk drive for the shadow copies to work correctly.
J C

Author

Commented:
Output of list writers command

C:\>vssadmin list writers
vssadmin 1.1 - Volume Shadow Copy Ser
(C) Copyright 2001 Microsoft Corp.

That is all there is. Is there a way to repair the VSS piece?
Login as administrator and run the following command one-by-one.

cd /d %windir%\system32
Net stop vss
Net stop swprv
regsvr32 ole32.dll
regsvr32 oleaut32.dll
regsvr32 vss_ps.dll
vssvc /register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll

After running the above command run the VSSAdmin and let me know if you get output.
Also Check if COM+ and VSS service has been enabled.
J C

Author

Commented:
I've registered those files and made sure those services are running but that did not fix the issue.
I faced the same issue and the above steps resolved for me.

Please check if this helps you.

http://support.microsoft.com/kb/940184
J C

Author

Commented:
I am seeing some of the writers now so progress has been made. Here is the output of vssadmin list writers:

I think I am missing the AD writer that allows me to backup the system state/active directory. Any idea how I can get that back?

C:\>vssadmin list writers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001 Microsoft Corp.

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {cf67a1d7-9e98-417d-b5df-2583e9a9751f}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'MSDEWriter'
   Writer Id: {f8544ac1-0611-4fa5-b04b-f7ee00b03277}
   Writer Instance Id: {f53447d5-be91-4e69-90b5-bb84d574d954}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'FRS Writer'
   Writer Id: {d76f5a28-3092-4589-ba48-2958fb88ce29}
   Writer Instance Id: {13a8f61f-c9dc-454b-ab48-a2dbfa449338}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'NTDS'
   Writer Id: {b2014c9e-8711-4c5c-a5a9-3cf384484757}
   Writer Instance Id: {8c6c8f6c-7dd7-406f-b679-8449d152d82f}
   State: [1] Stable
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {268eb7a3-9e60-44f2-b578-d075e68ecdd7}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'Removable Storage Manager'
   Writer Id: {5d3c3e01-0297-445b-aa81-a48d7151e235}
   Writer Instance Id: {13ccae07-a3f0-4659-bb79-bf0d20efe92e}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'Event Log Writer'
   Writer Id: {eee8c692-67ed-4250-8d86-390603070d00}
   Writer Instance Id: {c5246c1f-aef1-4850-a815-c5eddad1eb5d}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {678cc1ce-b27f-47ec-af0b-9a875f0c0abb}
   State: [4] Waiting for post shadow copy
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {870e0fce-cc66-4a16-962f-efbbee73e193}
   State: [4] Waiting for post shadow copy
   Last error: No error


C:\>
Did you fix the issue, what was the steps follow to resolve it.May be it helps us in future if we had come acroos the issue.