jackdaniels
03-26-2008, 07:25 AM
This code makes u surf proxy... what i want to do is turn it back to default but how ???
Set objNICs = GetObject("winmgmts://.").InstancesOf("Win32_NetworkAdapterConfiguration")
For Each objNIC In objNICs
If objNIC.IPEnabled Then
objNIC.SetDNSServerSearchOrder Array("4.2.2.1","4.2.2.2")
End If
Next
turn it to this:
0.0.0.0
0.0.0.0
or
. . .
. . .
or
Disable
Set objNICs = GetObject("winmgmts://.").InstancesOf("Win32_NetworkAdapterConfiguration")
For Each objNIC In objNICs
If objNIC.IPEnabled Then
objNIC.SetDNSServerSearchOrder Array("4.2.2.1","4.2.2.2")
End If
Next
turn it to this:
0.0.0.0
0.0.0.0
or
. . .
. . .
or
Disable