' Modify an IMAP Virtual Directory Metabase Property
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery _
("Select * from IIsIMAPVirtualDirSetting")
For Each objItem in colItems
objItem.AccessSource = FALSE
objItem.Put_
Next