Is there a service that needs to be running? Permissions are set correctly for the administrator and I even granted full permissions to Everyone on the server. Is there something I am missing?
Dim objWmiService As Object Dim colItems As Object Dim strComputer As String strComputer = "." Set objWmiService = GetObject("winmgmts:\\" & strComputer & "\root\MicrosoftIISv2") Set colItems = objWmiService.ExecQuery("SELECT * FROM IISWebServerSetting", , 48)
There is an amazing pack of free network admin tools. click here to download it



