Prevent Windows 10 laptop from disconnecting from Wi-Fi when OS is locked or lid is closed

What steps need to be taken to prevent a Windows 10 laptop from disconnecting from the Wi-Fi when the OS is locked or the lid is closed while the laptop is plugged in with a power adapter?
IT GuyNetwork EngineerAsked:
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.

JohnBusiness Consultant (Owner)Commented:
Do not let it suspend.   Better, start it in a dock (say) with the lid close and Wireless works. We do this all the time and no issue.

If you close and suspend, wireless will disconnect and reconnect automatically.
IT GuyNetwork EngineerAuthor Commented:
I need to make sure this doesn't happen on the two laptops that I use the most often, Lenovo T450 and Lenovo T440.

The problem is that I take these laptops with me to customer sites where I don't have docks available.

All Lenovo and Windows updates are installed on these Lenovos.

Are there any special settings or configurations to make sure this doesn't happen on Lenovo laptops running Windows 10?
JohnBusiness Consultant (Owner)Commented:
As you describe, you cannot. Won't work. No dock, and suspend will temporarily disconnect the wireless and reconnect on resume. I do this daily and have done for years.

There is no issue disconnecting while suspended.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

joinaunionCommented:
Did you try unchecking  Allow the wireless LAN radio to be turned off when inactive. In device settings?
Also uncheck allow windows to mange power to this device.

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
JohnBusiness Consultant (Owner)Commented:
It will still suspend transmission with the lid closed and machine suspended.
Andrew LeniartIT Consultant & Freelance JournalistCommented:
Hi IT Guy,

Look for the setting in your Laptop (not in windows - but in the laptop settings) that determines what should happen when the lid is closed.

There should be an option that says "Do Nothing" or similar. Select that.

Now also check your Windows settings to make sure there isn't a similar setting there.

I can close my Laptop lids while they're plugged into power and nothing happens at all. The only problem is that the setting sticks whether your laptop is plugged into power or not, so you need to remember to reverse it when taking the laptop on the road or it will run out of battery power pretty quickly, given that everything stays on while the lid is closed.

I hope that's helpful.

Regards, Andrew
IT GuyNetwork EngineerAuthor Commented:
Andrew,

Yes, the setting you have described is already enabled.

Furthermore, the laptop is set to never hibernate, go into standby or shut down while plugged in after any amount of time.

Also, the Wi-Fi power management setting found in computer management is also set so that Windows is never allowed to shut off the device to save power.

Also, all BIOS, firmware, and Windows 10 updates are installed.

What else can be done to fix this issue?
Andrew LeniartIT Consultant & Freelance JournalistCommented:
IT Guy, based on the information you just gave, nothing else can be done. What model laptop do you have anyway? Those steps work on my Acer Windows 10 laptop?!
joinaunionCommented:
You checked in battery settings also correct?
If I remember correctly it will.be in power settings. Check your power plan settings for what happens when battery gets low. I think it will say sleep or turn off. Maybe power button option.
JohnBusiness Consultant (Owner)Commented:
I take these laptops with me to customer sites

That means you either suspended the laptop (or less likely turned it off).  

When you close the lid and suspend without a dock, wireless quits as well. That is the way it works. And then wireless comes back on as soon as you open the lid and start to work.

All covered in the first answer here.
BillDLCommented:
IT Guy

As others have suggested, configuring the system to "Do Nothing" when the lid is closed should do precisely what it says, i.e. Nothing.  This works for Andrew Leniart's laptops and mine.

After you close the lid and open it again, do you have to physically touch/push the wi-fi sensor/button on the laptop to re-enable wi-fi?
If so, then I wonder if closing the lid is physically switching the wi-fi "button" off.  I'm not sure whether the wi-fi on/off "button" on your laptops are optical, heat inductive, pressure-sensitive, or some other technology.  Perhaps other experts who are intimitely familiar with this aspect could suggest whether my hunch is feasible.
JohnBusiness Consultant (Owner)Commented:
We have seen some issues with the computer getting to warm if the lid is closed with the computer running full tilt. So I always prefer to suspend.

IT Guy - you close the lid on a laptop and pack it in your bag to go the next place (so you said earlier). Why does Wi-Fi need to be connected as it will change anyway at the next place?
BillDLCommented:
Thank you IT Guy
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 10

From novice to tech pro — start learning today.