Determine if WebDav is enabled.
am 27.10.2007 03:22:27 von Brendan Grant
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?
Re: Determine if WebDav is enabled.
am 28.10.2007 05:29:21 von David Wang
On Oct 26, 6:22 pm, "Brendan Grant" 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
//
Re: Determine if WebDav is enabled.
am 30.10.2007 05:36:13 von Brendan Grant
Thanks for confirmation David, for sanity sake I decided to make sure that
key is enabled (just in case) and where it's not rather than focing the user
to go through the install process, just kick it off my self (with their
permission of course) with sysocmgr.exe with an answer file that specifies
iis_webdav = on.
Brendan
"David Wang" wrote in message
news:1193545761.063016.95730@q5g2000prf.googlegroups.com...
> On Oct 26, 6:22 pm, "Brendan Grant" 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
> //
>