nic power management changes after a reboot
Hi, 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. Any ideas? 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 ''wscript.echo LEN(objitem.PNPDeviceID) ''wscript.echo LEN(objItem2.InstanceName) 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" objitem2.Put_() 'wscript.echo 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" objitem3.Put_() END IF END IF Next end if end if Next end if Next Next 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 objDeviceWakeOnMagicPacketOnly.Put_() 'wscript.echo "Enabled Magic Packet Only on " & objAdapter.Name Next Next Next Any ideas?
July 15th, 2010 2:14pm

Hi, Have you tried reset BIOS? Does this issue occur to other PCs except for Dell? If only Dell PC is involved, it is recommended to contact Dell and ask if they have an updated BIOS. Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 1:47pm

It happens with the defaults right out of the box and with the latest BIOS and with all of the wake on lan settings checked. Unfortunately for testing, we are an all Dell shop so we don't have anything to compare it to. But I can duplicate it on multiple Dell models.
July 19th, 2010 1:59pm

D'oh. No reason I can't test this on my personal laptop. I have a two year old Gateway tablet, also running Windows 7 Enterprise with intel nics. I get the same thing on the gateway as well. So Intel nics on Dell and Gateway combined with Windows 7 are the problem. The nics don't have this problem on computers still running XP or Vista. Guess we stick with XP at work until support ends in 4 years. :)
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 2:13pm

Hi, What is the exact model of your network card? I suggest installing the latest driver from Intel offical website instead of the OEM's website. Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
July 22nd, 2010 6:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics