Acer E5-573 WIFI Connectivity Lost wmic path Win32_PnPEntity where "name='Qualcomm Atheros QCA9377 W

Dannydo
Dannydo Member Posts: 2 New User
edited August 10 in Aspire Laptops

Occasionally, after signing in to my laptop I find that my WIFI is disconnected. I've haven't actioned any of the advice offered on the forum about re-installing the driver or making other software upgrades. Instead, I invoke the following .bat file script from a desktop shortcut, which restores the connectivity in about 10 seconds. The kludge, while less than ideal, at least saves wasting the aeons needed to perform a reboot, which of course in my case would also work. Perhaps, the script might prove helpful to other members.

Rem Script to reenable the wireless device card (NIC), which has taken to going intermittently AWOL!
Rem Shortcut has been created on desktop, but needs to run as administrator to successfully work.

wmic path Win32_PnPEntity where "name='Qualcomm Atheros QCA9377 Wireless Network Adapter'" call disable
wmic path Win32_PnPEntity where "name='Qualcomm Atheros QCA9377 Wireless Network Adapter'" call enable

Rem pause

Answers

  • billsey
    billsey ACE Posts: 33,937 Trailblazer

    You can just disable then enable in Device Manager or in the properties for the adapter, no need for a reboot.

    Click on "Like" if you find my answer useful or click on "Yes" if it answers your question.
  • Dannydo
    Dannydo Member Posts: 2 New User

    Thank you, billsey. Good to know that you also found the same sequence of steps that I use in the script I created to restore WIFI connectivity.

    I also use the following .bat file script and desktop short-cut to reenable the card-reader on my E5-573 laptop, which occasionally goes AWOL!

    Rem Script to renable the USB Card Reader
    Rem Shortcut has been created on desktop, but needs to run as administrator to successfully work.

    wmic path Win32_PnPEntity where "name='Realtek USB 2.0 Card Reader'" call disable

    pause

    wmic path Win32_PnPEntity where "name='Realtek USB 2.0 Card Reader'" call enable