On Oct 26, 6:22 pm, "Brendan Grant" <gra....RemoveThis@dahat.com> wrote:
> I've got a both a Windows 2003 SBS and Standard Edition boxes and want to
> determine (programmatically or via a script) if WebDav is enabled...
> ordinarily I could just check the iis_webdav registry key, however it is
> always zero unless I explicitly install WebDav through the Windows Component
> Wizard... a step that is unnecessary as it is already installed and can be
> enabled or disabled through the IIS MMC and the Web Service Extensions
> section or via the iisext.vbs script.
>
> Any suggestions as to how I might determine if WebDav is enabled, even if it
> wasn't explicitly installed through the explicit process?
Correct -- when you check the checkbox in Windows Component Wizard for
WebDav, all it does is enable WebDav in the Web Service Extensions
section (the registry key value is done by the Component Wizard).
Thus, checking WebDav enablement status in Web Services Extensions
section is a reasonable verification if you just want to know the
server is configured to allow WebDav.
If you want to verify that WebDav is actually *working*, you may want
to do something else, like sending a WebDAV verb and verifying its
response.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//