nic power management changes after a reboot
We are running Windows 7 Enterprise, fully patched on Dell Optiplex 745, 755, 760, and 980 computers and I can duplicate this on all of them.
I go into Device Manager -> Network Card -> Power management. Check the boxes that we want. Close Device Manager. Reopen Device Manager to check that the change took. It did. Reboot. All Power Management settings for the nic are now unchecked.
Normally we run a script to do this, but it doesn't matter whether you make the change via script or by hand, the Power Management settings always revert back to all three boxes unchecked after a reboot.
As long as the computer isn't rebooted or shut down, the setting sticks for at least several days, the longest time we've tested.
I found one thread that said this was a known issue, but the link to the answers.microsoft.com page came up 404.
Here's the script, but like I said, it doesn't matter whether by script or by hand.
On Error Resume Next
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
arrComputers = Array(".")
For Each strComputer In arrComputers
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery("SELECT * FROM MSPower_DeviceEnable", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
Set colItems3 = objWMIService.ExecQuery("SELECT * FROM MSPower_DeviceWakeEnable", "WQL", wbemFlagReturnImmediately + wbemFlagForwardOnly)
Set objWMIservice2 = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set Colitems2 = objWMIService2.ExecQuery("Select * From Win32_NetworkAdapter")
For Each objItem in Colitems2
if objitem.adaptertypeID = 0 and objitem.netconnectionid <> "" and (objitem.adaptertypeID = 0 and ( instr(1,objitem.netconnectionid,"wireless",1) = 0)) and objitem.adaptertypeID = 0 and objitem.manufacturer <> "Microsoft" then
For Each objItem2 In colItems
IF LEN(objitem.PNPDeviceID) <= LEN(objItem2.InstanceName) THEN
IF UCASE(objItem.PNPDeviceID) = LEFT(ucase(objItem2.InstanceName),LEN(objitem.PNPDeviceID)) THEN
'wscript.echo "Active: " & objItem2.Active
'wscript.echo "Enable: " & objItem2.Enable
'wscript.echo "InstanceName: " & objItem2.InstanceName
objitem2.enable = "0"
For Each objItem3 In colItems3
IF LEN(objitem.PNPDeviceID) <= LEN(objItem3.InstanceName) THEN
IF UCASE(objItem.PNPDeviceID) = LEFT(UCASE(objItem3.InstanceName),LEN(objitem.PNPDeviceID)) then
'wscript.echo "Active: " & objItem3.Active
'wscript.echo "Enable: " & objItem3.Enable
'wscript.echo "InstanceName: " & objItem3.InstanceName
objitem3.enable = "1"
Set objReg=GetObject("winmgmts:impersonationLevel=impersonate!\\" & strComputer & "\root\default:StdRegProv")
' Connect to Root\Cimv2 and Root\Wmi namespaces
Set objCimv2 = GetObject("winmgmts:root\cimv2")
Set objWmi = GetObject("winmgmts:root\wmi")
' Get all network adapters where IPEnabled is true
Set colAdapterConfigs = objCimv2.ExecQuery ("Select * From Win32_NetworkAdapterconfiguration Where IPEnabled = True")
For Each objAdapterConfig In colAdapterConfigs
Set colAdapters = objAdapterConfig.Associators_(, "Win32_NetworkAdapter")
For Each objAdapter In colAdapters
' Get the matching MSNdis_DeviceWakeOnMagicPacketOnly instance
Set colDeviceWakeOnMagicPacketOnly = objWmi.ExecQuery _
("Select * From MSNdis_DeviceWakeOnMagicPacketOnly " _
& "Where InstanceName Like '" _
& Replace(objAdapter.PNPDeviceId, "\", "\\") & "%'")
' Enable "Only allow management stations to bring the computer out of standby"
For Each objDeviceWakeOnMagicPacketOnly In colDeviceWakeOnMagicPacketOnly
objDeviceWakeOnMagicPacketOnly.EnableWakeOnMagicPacketOnly = False
'wscript.echo "Enabled Magic Packet Only on " & objAdapter.Name
Anwsers to the Problem nic power management changes after a reboot
The issue you posted is related to TechNet and would be better suited in the TechNet community.
Please visit the link below to find a community that will offer the best support.
Azam – Microsoft Support.
Visit ourMicrosoft Answers Feedback Forum and, if you have any feed backs you can post here.
Another Safe way to Repair the problem: nic power management changes after a reboot:Click here to download the registry repair application .
How to Fix nic power management changes after a reboot with SmartPCFixer?
1. You can Download SmartPCFixer here. Install it on your computer. When you open it, it will perform a scan.
2. After the scan is done, you can see the errors and problems which need to be fixed.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in this software. Like dll downloading, junk file cleaning and print spooler error repair.
Related: Computer goes blank when attempting to access a website.,how do i remove fingerprints from my computer screen?,Solution to Error: How to use recovery tools in Windows 7 from the 100mb partition?,References tab APA Citations Margins,How to Fix - Someone please help me. DVD RW drive not showing up! WIN7(STARTER)32 bit?,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22),Missing Microsoft Windows ashoutxt.dll File - How to Fix,How Can I Fix cxcore096.dll Error by Myself,How Can I Fix dsauth.dll Error by Myself,msde.dll Missing,How Can I Fix psizewizres.dll Error by Myself,How to Download ASUS XGI Compatible Super VGA Driver Package Version R1.13.00/Driver Version 220.127.116.110 for Windows XP 32/64 bit(WHQL),Windows Server 2003 32/64 bit(WHQL),Windows Vista 32/64 bit(WHQL),Windows Server 2008 32/64 bit(WHQL),Windows 7 32/64 bit(WHQL),Window,Update NeoMagic® MagicMedia 256AVP Display Adapter Driver,How to Update NVIDIA RIVA TNT2 Model 64,Download Realtek ALC850 AC'97 Driver V18.104.22.16800 WHQL for Windows 2000/XP/2003 & 64bit XP/2003.,How to Update Realtek LAN V6.203.0214.2008
Read More: How Can I Fix - New Contact \/ Group not appearing in task bar?,Troubleshoot:new laptop got blue screen windows 7,Network how do you get windows vista computer to network with windows 7 computer Anwsered,Troubleshooting:No Large Icon choice under Customize Toolbar in IE8.,network service using svchost.exe high cpu (50%) windows 7 sp1 acer 5738,my shortcuts formates change to .lnk how can i fix it?,My telstra turbo next g network cuts in and out continually while I am n the internet and it is quite difficule at times actually getting internet.,My seagate expansion drive cant be ejected,My word program is locked and I cant edit documents!! HELP,Need to reinstall IE 11