Announcement

Collapse
No announcement yet.

Windows connect to wifi and Ethernet automatically

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows connect to wifi and Ethernet automatically

    Anyone found a way to automatically connect to the mevo when booting up Windows. I have Ethernet hard wired and connect to mevo+ via WiFi. Every time I boot the PC, I need to manually connect to Mevo+. Would be nice to boot it up and be ready to go.

  • #2
    Found a way with PowerShell script in the startup folder. If anyone else is interested, I can do a write up.

    Comment


    • #3
      Yes, please do the write up. Thanks

      Comment


      • #4
        * STANDARD DISCLMAIER: Not responsible for breaking your system. No warranties implied or otherwise.

        Assuming windows 10+ and you have already made a connection to mevo+ previously.

        You need:
        1. Install tools to make the connection
        2. A script to make the connection
        3. A way to call that script on each boot.
        • Tools to make the connection
        Open powershell prompt: (ctrl + ESC then powershell -> ENTER)
        Code:
        Install-Module -Name wifiprofilemanagement
        Type "Y" at prompt to install wifi tools. twice.
        • Script to Connect:
        Copy and paste the following text into powershell. make sure to change the USERNAME to your login name and change XXXXXX to correspond to your WIFI from mevo+.
        Code:
        echo 'Connect-WiFiProfile -ProfileName "FS M2-XXXXXX"' > "C:\Users\USERNAME\Documents\wifi_connect.ps1"
        ​​
        • Way to call that script on each boot: using the same powershell prompt, copy and paste the following text: (make sure to change the USERNAME to your login name)
        Code:
        echo "C:\Users\USERNAME\AppData\Local\Microsoft\Windows Apps\pwsh.exe -executionpolicy remotesigned -File c:\Users\USERNAME\Documents\wifi_connect.ps1" > "C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\startup.bat"

        Note: There might be a way to run the ps1 script directly from the startup folder, but I did not have good luck in doing so.

        Comment

        Working...
        X