' Modify Home Networking Firewall Logging Settings
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & _
"\root\microsoft\homenet")
Set colItems = objWMIService.ExecQuery _
("Select * from HNet_FirewallLoggingSettings")
For Each objItem in colItems
objItem.LogDroppedPackets = False
objItem.Put_
Next