How to turn on logging for the VDS in Windows Server 2003 and in Windows Server 2008 and 2008 R2

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry


The Virtual Disk service (VDS) in Microsoft Windows Server is a set of APIs that provides a single interface to manage disks. The VDS provides an end-to-end solution to manage storage hardware and disks and to create volumes on the disks.

More Information

To help you troubleshoot any problems with the VDS, turn on logging. To turn on logging, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\vds subkey.
  3. Right-click the vds subkey, point to New, and then click Key.
  4. Name the new key DebugLog.
  5. Right-click the new DebugLog key, point to New, and then click DWORD Value.
  6. Name the new value Level.
  7. Double-click the new Level value, type 1F in the Value data text box, and then click OK.
  8. Quit Registry Editor.
  9. Click Start, point to Administrative Tools, and then click
  10. Stop and then restart the VDS.

    The $VDS$.log file is created in the %Systemroot%\System32 folder.


For additional information about the VDS, visit the following Microsoft Web site: