Link to home
Start Free TrialLog in
Avatar of Andyman430
Andyman430

asked on

Disable Energy Efficient Ethernet on Windows 7

We are having issues with our Cisco IPT system and the use of Energy Efficient Ethernet on our PC's.

We noticed port flapping and packet loss from PC's connected through our CISCO IPT phone and we opened a TAC case with Cisco. Per Cisco the problem is caused by the Energy Efficient Ethernet on the PC's. To correct the problem we have to turn off  Energy Efficient Ethernet. The directions are log into the system go to the network adapter and turn off Energy Efficient Ethernet. OK the only problem I have around 20,000 Windows 7 devices.

Does anyone know how to disable Energy Efficient Ethernet via a script on windows 7?
Avatar of Rich Leclair
Rich Leclair
Flag of United States of America image

Please check out this script on Microsoft's TechNet site.

https://gallery.technet.microsoft.com/scriptcenter/Disable-turn-off-this-f74e9e4a
Avatar of Andyman430
Andyman430

ASKER

Thank you Rich for the reply
The EEE setting doesn't turn the adapter off it kicks the power setting to  low power setting during low usage periods.
I did try the powershell script from the TechNet article and it didn't turn off EEE
ASKER CERTIFIED SOLUTION
Avatar of Rich Leclair
Rich Leclair
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Rich I'm marking you down as accepted solution and I took your idea and wrote it in a AutoIT script;

$KeyPath = "HKLM\SYSTEM\CurrentControlSet\Control\Class\"
For $i = 1 To 100
    $var = RegEnumKey($KeyPath, $i)
      If @error Then ExitLoop
      For $j = 1 To 100
            $SubVar = RegEnumKey($KeyPath & $var, $j)
            If @error Then ExitLoop
            If RegRead($KeyPath & $var & "\" & $SubVar, "EEELinkAdvertisement") = "1" Then
                  RegWrite($KeyPath & $var & "\" & $SubVar, "EEELinkAdvertisement", "REG_SZ", "0")
                  If @error Then ConsoleWrite("ERROR: " & @error & @CRLF)
            EndIf
      Next
Next