• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5081
  • Last Modified:

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?
0
Andyman430
Asked:
Andyman430
  • 3
  • 2
1 Solution
 
Rich LeclairCommented:
Please check out this script on Microsoft's TechNet site.

https://gallery.technet.microsoft.com/scriptcenter/Disable-turn-off-this-f74e9e4a
0
 
Andyman430Author Commented:
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.
0
 
Andyman430Author Commented:
I did try the powershell script from the TechNet article and it didn't turn off EEE
0
 
Rich LeclairCommented:
Looks like you might be able to change this via a registry setting. unfortunately I am running windows 8.1 right now ( 8.1 has powershell commands that would do this for you  ). A windows 7 PC I have here has the registry key located at:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0007

Property named "EEELinkAdvertisement" when I shut the option off it goes from 1 to 0. you could possibly write a script to change that property on all PC's (the guid above might be unique to my adapter although 2 of my machines had the same location but they are the same type of hardware)
0
 
Andyman430Author Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now