Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Keep Alive Time for All Network AdaptersContent of Modify Keep Alive Time for All Network Adapters.vbsMD5 Hash: A3E30FCB4D0140553BEED35FDD7FA20B |
||
' Description: Configures the keep alive time for all network adapters on a computer to 300,000 milliseconds (5 minutes).
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.SetKeepAliveTime(300000) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |