Solved

keep NIC on after shutdown / disable power management

Posted on 2010-08-24
17
6,030 Views
Last Modified: 2013-11-09
I'm trying to keep my NIC on after the computer is shut down to allow for Wake On Lan.  I have confirmed that Wake On Lan works if I put the computer into Sleep mode.  I have WOL enabled in the BIOS.  I have WOL set to "Magic Packet" in Device Manager --> Network Adapter.  What is not working whatsoever is disabling the Power Management for the adapter.  No matter how many times I uncheck "Allow the computer to turn off this device to save power", once I shut down the computer the NIC is offline.  When I boot back up again that box is checked.  The other two boxes in Power Management remain checked and greyed out after I uncheck that one ("Allow this device to wake the computer" and "Only allow management stations to wake this computer").  (Also, setting "Shut Down Wake-On-LAN to 'disabled" appears to grey out "allow this device to wake the computer").

I have searched and MS only references this problem twice in their KBs:  once regarding USB device (KB930312) and disable power management for network adapters in XP (KB837058).  I have tried the latter option, editing the registry value for PnPCapabilities to be 38.  This had no affect on my adapter and it remained off when I shut down my computer.  Wake On LAN  does not work after shutdown, and there are no lights on the NIC when shut down.  

My ultimate goal here is to be able to turn my computer on remotely when it is shut down.  Any free method (does not have to be magic packet) would work.  I'm aware LogMeIn Pro can do this but I was looking for something free.  Why does Vista not honor my settings and keep turning my network adapter off?

Vista x64 SP2
NIC: Realtek PCIe GBE Family Controller w/latest drivers
Dell Studio 540
0
Comment
Question by:wirbicki2
  • 6
  • 5
  • 5
  • +1
17 Comments
 
LVL 4

Expert Comment

by:DarrylHadfield
ID: 33518217
Pardon my ignorance, but how would you know that your NIC is without power entirely, unless you're using a WOL-enabled initiator to send the magic packet to it?

To the best of my knowledge, WOL is established within the BIOS of a motherboard, regardless of whether or not your NIC is on-board or whether it's an add-on card.

Disabling WOL within the OS will only take effect if it's in sleep mode.  What you're doing doesn't really seem to make sense to me - I think perhaps I'm misunderstanding.

What is your desired end result?  Just to power on your machine, when you're out of town or across the city or something?  To be honest, I'd question the value of even shutting down the machine at all..  set the video to go dark, set the HDD to spin down after a period of inactivity, but let the machine stay awake - you can hit the system remotely without having to boot it up.  Teamviewer is one way to access the system remotely (although it won't power up your machine).

I don't know if the Studio 540 supports it, but you could check the BIOS to see if it supports other methods of remote power-up.
0
 
LVL 41

Expert Comment

by:Jackie Man
ID: 33520103
According to the advice of  bhiga, the information below may be useful for you.

"I had this problem when I had Symantec Endpoint Protection's firewall installed and it took me a long time to figure it out.

If you have a third-party firewall software installed, try uninstalling it. Disabling the firewall was not enough for me. It had to be uninstalled.

I believe this is because SEP installs an additional network driver (Teefer2 miniport) that intercepted the WoL packets and did not allow them through to the OS. I'm not sure if this is how other firewall software works, but it might be the case.

After uninstalling the firewall component and using the default Windows Firewall, WoL works perfectly for me. "

Source: http://forum.wegotserved.com/index.php/topic/10640-wake-on-lan/
0
 

Author Comment

by:wirbicki2
ID: 33520651
@DarrylHadfield:

"Pardon my ignorance, but how would you know that your NIC is without  power entirely, unless you're using a WOL-enabled initiator to send the  magic packet to it?"

The lights on the NIC are off  completely, and WOL does not work when it's shut down.  It DOES work when the computer is asleep.

"To the best of my knowledge, WOL is established within the BIOS of a  motherboard, regardless of whether or not your NIC is on-board or  whether it's an add-on card."

Yes I have it enabled in the BIOS, and also confirmed the settings on the adapter properties in device manager.  WOL works, as I said, but only when the computer is in sleep mode, not shut down.

"What is your desired end result?  Just to power on your machine, when you're out of town or across the city or something? "

The desired end result is to be able to power my machine back on (even if completely shut down) if I am away from it.  I was out of town recently and I guess there was a power surge here.  My APC UPS gracefully shut down my computer when the UPS had 5 minutes of battery left.  I want to be able to power my machine back on from a remote location if that happens.  I also have "resume from AC interrupt" also enabled in the BIOS, but I don't believe the scenario described above would qualify as AC interrupt, since the machine gets shut down.

0
 

Author Comment

by:wirbicki2
ID: 33520684
@jackieman:

I only have the Vista firewall enabled.  Nothing else.  There is no other adapter listed in Control Panel --> Network Connections.  If I do ipconfig /all from a command prompt, I see my Realtek controller, and "Teredo Tunneling Pseudo-Interface", but I believe the latter is part of Vista.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 33524827
You do realize that when your computer is shutdown, Windows is not running don't you? No settings within Windows can affect the behavior of your computer when it's shuttdown. It works while in sleep mode, because memory has not been cleared at that point so technically Windows is still loaded. When shutdown, there is nothing in system memory.

Your only options are going to be settings in BIOS. Wake on LAN is only for waking from sleep. The only option would be under Power Management for remote power on, which I'm not sure if your BIOS supports. You could check with Dell for an updated BIOS.
0
 
LVL 4

Expert Comment

by:DarrylHadfield
ID: 33524926
Honestly, I'd just take off the UPS management - not the UPS itself, just the management.. so that when power dies, the UPS continues to power the system, and when the UPS finally runs out of battery power (if it does) then the system will hard 'off' - and when the power comes back, it'll resume.

Other options are going to be pricey.
0
 

Author Comment

by:wirbicki2
ID: 33524978
@Kenneniah:

"You do realize that when your computer is shutdown, Windows is not running don't you?"

Wow.  How incredibly condescending and snarky.  

"No settings within Windows can affect the behavior of your computer when it's shuttdown."

That is why I came here.  I enabled the only setting in BIOS that applied and it didn't work.  I wasn't sure if there was anything else I could try.  I will see if there is updated BIOS.  From what I'm reading you also must have the card configured correctly, which is NOT just in the BIOS.
0
 

Author Comment

by:wirbicki2
ID: 33524997
@DarrylHadfield:

I will consider that.  I enabled UPS shutdown to prevent corrupt/dirty file system if not properly shut down.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 24

Accepted Solution

by:
Kenneniah earned 250 total points
ID: 33525109
It wasn't meant to be condescending and snarky, but I do see why it would come across that way therefore I apologise for the wording.

Bottom line however is that no setting in Windows affects anything during the power off state after a shutdown. You do have the system BIOS, but there is also a BIOS in the network card. With Intel, while booting up look for the Intel Boot Agent message to show up shortly after turning on your computer. Try CTRL-S to access it's BIOS settings at that time.
0
 
LVL 4

Assisted Solution

by:DarrylHadfield
DarrylHadfield earned 250 total points
ID: 33525115
Agreed...  certainly a good idea, and the whole point of the UPS management software to begin with.

That said, there are also ways to mitigate that - not the least of which is an external USB drive that would likely be much more resilient regarding loss of power.

The question then begs to be asked.. Does your UPS mgmt software allow for power-up when power resumes?  I know some (Cybertron is one I looked at a few months ago) allow for an additional device that jacks into a serial port, which in turn lets the UPS toggle the system to power back on, after it's been gracefully shut down..
0
 

Author Comment

by:wirbicki2
ID: 33525191
@Kenneniah:  Thanks I will take a look at that.  I think I did see the Intel Boot Agent as one of the options in the BIOS startup list but it was disabled.  I'll enable it and see what settings there are within the card's BIOS.

@DarrylHadfield:  It doesn't look like the APC PowerChute has any options for power-up, but I'll browse their forums.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 33525239
Oops, it's a Realtek not Intel. Not sure if it has configurable settings or not.

For example though, on our Optiplexes the needed setting is in system BIOS under Remote Wakeup. If your BIOS doesn't have something along those lines it just might not be supported on that motherboard. In that case Darryl's advice might be the only option.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 33525818
I need to pay more attention :P  I focused on the "Allow the computer to turn off....." setting. The other settings such as "Shut Down Wake-On-Lan" since they are driver based, not Windows and can modify the BIOS of the NIC most likely do affect power off situations.
Today has not been my day for reading comprehension, speaking well etc. Anyone have a method for starting the day over?
0
 
LVL 4

Expert Comment

by:DarrylHadfield
ID: 33525867
A sharp rap to the base of the skull will knock you out quite nicely, and when you wake up, you can start over.

Course, you're gonna need a heck of a Tylenol as a part of THAT process! ;)
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 33525927
It might work :)  Maybe a better choice would be to actually get some sleep tonight and hope my brain works better tomorrow. For now, I'm just telling people to ignore anything I said or did today.
0
 

Author Comment

by:wirbicki2
ID: 33527434
@Kenneniah::

OK so I got into the NIC BIOS; no options there really just various PXE boot options.  In the motherboard BIOS, I did double-check and I have "Remote Wake Up" enabled...

But It doesn't specifically say "Wake up from S5" (shut down) as described in this Intel article:

http://www.intel.com/support/network/sb/cs-008459.htm

So I guess if the Remote Wake Up enabled in my BIOS doesn't do it then I'm screwed and buying a new NIC wouldn't help right?
0
 
LVL 4

Expert Comment

by:DarrylHadfield
ID: 33528332
Correct.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

If you’re like me and you like peace and quiet, saving money, and pretty lights, then this article is for you. For financial reasons, I buy all the Cisco equipment for my home lab second-hand. The first thing to wear out is usually one of the coo…
So who is this article for? If you are like most of the computer users out there, you probably only realize the meaning of 'System maintenance' after something goes wrong. This article is for you if you care about keeping your system working opti…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now