disable wireless connection when connected to a wired connection

Regarding our laptops, I am looking for a registry entry to do the following;
In the network card device driver
Deselect “Allow the computer to turn off this device to save power”

I am also looking for a registry entry to disable the wireless connection when a wired connection is present and connected.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Esteban BlancoPresidentCommented:
This one is for the first one:

This one is for the second one:
1¿    navigate  to the path blow with registry editor.


2¿    Under this patch you can see a few keys which named like “0000¿0001…..”, and there is a string value called “DriverDesc” under each key. You can search the key one by one with this string value to determine which key is belong to your physical NIC

3¿    Navigate to  physical NIC’s key, check the “PnPCapabilities” value which type is  DWORD(32-bit). If not exist ,you can change the static of the NIC’s power Management in UI, then the key will created automatically.

4¿    Set the value to “18”  and close the registry editor , disable and  enable the NIC to make the setting  effect .

5¿    check the “Allow the computer to turn off this device to save power” static of NIC power setting , it should unchecked.
The detection logic is looking for a registry entry called "LOM" in the "HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\" subkeys.  If it's found it checks the value.

0 means the network card will connect regardless

1 means the network card will not connect if a LAN cable is detected

NULL means the detection logic will skip

The repair logic will repeat the detection and change the value if it's anything other than 1.  If the value is NULL (blank/non existant) it will skip the repair, and not even attempt to repair.

Once the change occurs the workstation more than likely will need to be rebooted for the settings to take affect.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.