📎 AI Summary:
The thread asks whether a desktop shortcut can simplify reconnecting an elderly user to care-home Wi-Fi; replies say Windows can save the network credentials, and a simple batch file using netsh can enable the adapter and reconnect, optionally opening a browser. A power-saving setting was also suggested as a possible cause, but the issue remains unconfirmed: the shortcut was tested while Wi-Fi was already working, and the resident shuts down the laptop between uses; the tone is helpful and appreciative.

giomach

Member
Member details
Joined
Sep 3, 2026
Messages
2
Thread Author #1
Is it possible to make a Windows app which will enable wifi network connection simply by clicking a desktop icon? This would assist an elderly user whose wifi connection is frequently disconnected*, and who finds manual reconnection difficult. The app would silently enable wifi, connect to the network (the network name and password would be stored by the app), and possibly open a browser (filename stored). I gather that Powershell may be the way to do this, but I have no experience with it. Perhaps such an app already exists?

*We have tried to identify the cause of the disconnection without success. We always manually connect with "automatic reconnection when in range" but when the user returns to use the computer again, it does not automatically reconnect. Manual reconnection works, however, and this is what we would like to simplify. The wifi network is in a care home, and it may be that their server is causing this behaviour. The care home management are uncooperative.
 

Mike

Windows Forum Admin
Staff member
Premium Supporter
Member details
Joined
Jul 22, 2005
Messages
9,269
Yes, it could likely be done in Windows PowerShell for simplicity's sake, alternatively in C++ or Rust.
 

datawizard0103

Excellent Member
Member details
Joined
Feb 14, 2024
Messages
251
Is it possible to make a Windows app which will enable wifi network connection simply by clicking a desktop icon? This would assist an elderly user whose wifi connection is frequently disconnected*, and who finds manual reconnection difficult. The app would silently enable wifi, connect to the network (the network name and password would be stored by the app), and possibly open a browser (filename stored). I gather that Powershell may be the way to do this, but I have no experience with it. Perhaps such an app already exists?

*We have tried to identify the cause of the disconnection without success. We always manually connect with "automatic reconnection when in range" but when the user returns to use the computer again, it does not automatically reconnect. Manual reconnection works, however, and this is what we would like to simplify. The wifi network is in a care home, and it may be that their server is causing this behaviour. The care home management are uncooperative.
Yes. The simplest solution is actually to avoid storing the Wi-Fi password in a custom app at all. Windows can already save the care home network as a Wi-Fi profile, and a desktop shortcut can run a tiny command that tells Windows to turn the Wi-Fi adapter on and reconnect to that saved network. A batch file such as netsh interface set interface name="Wi-Fi" admin=enabled followed by netsh wlan connect name="CareHomeWiFi" can do this, and a third line can launch the required browser or webpage. If the adapter is already enabled, the first command is harmless. I would also check whether the care home's network uses a sign-in page, because Windows may successfully reconnect to Wi-Fi but still require that page before internet access works.
 

datawizard0103

Excellent Member
Member details
Joined
Feb 14, 2024
Messages
251
Is it possible to make a Windows app which will enable wifi network connection simply by clicking a desktop icon? This would assist an elderly user whose wifi connection is frequently disconnected*, and who finds manual reconnection difficult. The app would silently enable wifi, connect to the network (the network name and password would be stored by the app), and possibly open a browser (filename stored). I gather that Powershell may be the way to do this, but I have no experience with it. Perhaps such an app already exists?

*We have tried to identify the cause of the disconnection without success. We always manually connect with "automatic reconnection when in range" but when the user returns to use the computer again, it does not automatically reconnect. Manual reconnection works, however, and this is what we would like to simplify. The wifi network is in a care home, and it may be that their server is causing this behaviour. The care home management are uncooperative.
Yes. Since Windows already remembers the WiFi password you do not need an app to store it again. A desktop shortcut can run netsh wlan connect name="YourWiFiName" and then launch the browser, which is simpler and safer than building a PowerShell app. One thing I’d check first though is Device Manager > Network adapters > your WiFi adapter > Properties > Power Management and disable “Allow the computer to turn off this device to save power” if that option exists. That setting can cause exactly this kind of failure to reconnect after the PC has been idle or asleep.
 

giomach

Member
Member details
Joined
Sep 3, 2026
Messages
2
Thread Author #5
Many thanks for your reply. As you suggest, I tried a simple batch file containing netsh and it looks OK, but I couldn't be sure, as the care home wifi was actually already working on the day I tried it out. But the resident knows what it do if the problem recurs, and I'm certain to hear if it is not permanently cured. I didn't yet look at the power saving setting you mentioned, but in fact the resident is used to shutting the laptop down between periods of use.
 

WindowsForum AI

AI
Staff member
Robot
Member details
Joined
Mar 14, 2023
Messages
115,810
That makes sense. If the laptop is fully shut down between uses, the Wi‑Fi adapter power-saving setting is less likely to be the cause; it is more relevant after sleep or extended idle periods.
The important point is that the batch file should still be useful even when Wi‑Fi has failed to reconnect after startup:
Code:
netsh wlan connect name="CareHomeWiFi"
start "" "[Example Domain](https://www.example.com)"
Replace CareHomeWiFi with the exact saved Windows Wi‑Fi profile name. Windows keeps the password in its own saved profile, so the batch file does not need to expose it.
To test it properly without waiting for another failure:
  1. Disconnect from the care-home Wi‑Fi manually.
  2. Double-click the desktop shortcut/batch file.
  3. Confirm that Windows reconnects within a few seconds.
  4. Confirm that the browser or webpage opens, if you included that line.
If the care home uses a sign-in/accept-terms page, opening the browser automatically is especially helpful: Wi‑Fi may reconnect successfully but internet access may remain unavailable until that page has been completed.
If it proves unreliable, please post the exact contents of the batch file, with the network name redacted if preferred, and any message it displays.