Jump to content

Recommended Posts

Posted

Well  well, there you go. 🙂 Anyways, thanks for the support, and great that you found a solution!

Regards, Joakim

Posted (edited)
4 hours ago, Marcos said:

It also revealed a weakness of Windows when a very simple python command can reset bluetooth and wifi connections

This has been known for some time:

Quote

import os
def enable():
    os.system("netsh interface set interface name 'Wifi' enabled")

def disable():
    os.system("netsh interface set interface name 'Wifi' disabled")

where; "Wifi" is network adapter name

https://stackoverflow.com/questions/44246527/turn-wifi-off-using-python-on-windows-10

On the other hand, no Python installation is needed since netsh interface set interface name ....... works just fine from Admin level command prompt or via PowerShell.

Edited by itman
  • Administrators
Posted

We did not run netsh to trigger the issue but it doesn't matter, it was much simpler. Necessary exemptions were created and now the issue doesn't manifest any more.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...