Re-establishing WLAN-connection after wakeup from standby takes much too long

This question originated from within this thread: (title: "HELP! Microsoft Virtual Wifi Miniport Adapter driver problem (Error code 31)")


Basically, the solution presented there works for me too. However, the command "netsh wlan set hostednetwork mode=disallow" does not get persisted, so setting

"netsh wlan stop hostednetwork" gets persisted, however,

"netsh wlan set hostednetwork mode=disallow" does not get persisted...

In other words, running this in an Admin-Command-Prompt helps exactly ONE time - as soon as I wake up my machine from sleeping after running this, the WLAN connection gets re-established quickly (less than 5 seconds); but when I check the status with "netsh wlan show hostednetwork" then, the result is that the mode is set to "Allowed" again - and that means, the next time I wakeup the machine, it again takes ages (~30 - 50 seconds) before the WLAN-connections gets established...

Does anybody know how I can get the mode=disallow to be persisted?

Another interesting fact I found before I ran over the solution using those NETSH commands:

If I change the power saving option "Password protection on wakeup" from "Require a password on (recommended)" to "Don't require a password", everything is fine concerning the time period it takes to establish the WLAN connection after wakeup (that means, even without the NETSH commands as described in this thread).

So, from my point of view, it seems to be something related to security (probably in conjunction with this hosted network stuff).

The problem: Disabling "Password protection on wakeup" is not a solution at all for me personally, as I'm on the road with my notebook quite often, and I want to be sure that the data on my notebook isn't accessible without unlocking the screen, in case the device would get stolen or I would loose it somehow... to protect any customer data and other sensitive data on it...

Any professional input from somebody at Microsoft to finally get a solution for this would be greatly appreciated.

My hardware: Sony VAIO VPCSB3X9E/B






Question Info

Last updated March 13, 2018 Views 6,522 Applies to:


Your Windows 7 question is more complex than what is typically answered in the Microsoft Answers forums. It is better suited for the TechNet Forums. Please post your question in the TechNet forum.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.