JSI Tip 8116. How do I turn on logging to troubleshoot the Windows Server 2003 VDS (Virtual Disk Service)?

The VDS service in Windows Server 2003 is used by developers to provide an end-to-end solution to manage storage hardware and disks, and to create volumes on the disks.

For additional information about VDS, see Virtual Disk Service Technical Reference.

To troubleshoot problems with VDS, you can turn on logging, to create a %Systemroot%\System32\$VDS$.log file.

To turn on logging, run the following VDSLog.bat file, which contains:

@echo off
setlocal
(
 @echo REGEDIT4
 @echo @echo \[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vds\DebugLog\]
 @echo "Level"=dword:0000001f
 @echo @echo) >"%TEMP%\DebugLogLevel.reg"
net stop VDS
regedit /s "%TEMP%\DebugLogLevel.reg"
net start VDS
del /q "%TEMP%\DebugLogLevel.reg"
endlocal



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish