Change Wireless Password


gammonGo

Well-known member
Member
Local time
8:34 PM
Posts
30
OS
Win 11
Hi folks. How do I change my wireless password for a specific wireless network? Easily!

Every semester I have to change my password. Every semester I have trouble reconnecting to the wireless network and the tech support here sends me through a long path that changes every semester and, in any event, that I can't remember. I just want an easy way to change the password for the wireless network. But Win11 doesn't seem to have a way to do that. Do you?

Thanks.
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo 20UCS0A200
    CPU
    Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz, 22
    Motherboard
    I dunno.
    Memory
    16GB
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek High Definition Audio(SST)
    Monitor(s) Displays
    I dunno. It's built in.
    Screen Resolution
    1920 x 1080 x 60 hertz
    Hard Drives
    WDC PC SN730 SDBQNTY-256G-1001
    PSU
    I dunno
    Browser
    Chrome, usually
    Antivirus
    MalwareBytes
    Other Info
    It's really a hybrid laptop/tablet
For the record, I've found this pageScreenshot 2024-09-04 140012.png

Screenshot 2024-09-04 140028.png

And when I click try to edit the "Advanced Wi-Fi network properties", I get this
1725473060042.png
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo 20UCS0A200
    CPU
    Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz, 22
    Motherboard
    I dunno.
    Memory
    16GB
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek High Definition Audio(SST)
    Monitor(s) Displays
    I dunno. It's built in.
    Screen Resolution
    1920 x 1080 x 60 hertz
    Hard Drives
    WDC PC SN730 SDBQNTY-256G-1001
    PSU
    I dunno
    Browser
    Chrome, usually
    Antivirus
    MalwareBytes
    Other Info
    It's really a hybrid laptop/tablet
Here is an idea: Perhaps you could record the steps into a macro file on Windows and then play it when you need to change your Windows client Wi-Fi password. Here are the steps to change the client wi-fi password-->
then perhaps one can record each of the process steps into a macro file for later use--> How to Automate Tasks in Windows 11 Using Macros

Hope this helps.
 

My Computer

System One

  • OS
    Windows 11 Pro 26100.3624
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Ryzen 5 5600G
    Motherboard
    ASUS X470 Prime Pro
    Memory
    32GB
    Monitor(s) Displays
    Alienware 2518HF
    Screen Resolution
    1920 x 1080
    Hard Drives
    Boot: NVME WDC WDS500G; ASUS M.2 Riser card with 3 additional NVME drives
    Various Internal SDD (Samsung and WDC) and HDD drives mostly Western Digital
    PSU
    Seasonic Focus Gold 650W
    Case
    Corsair 200R
    Cooling
    Noctua PWM fans x 3
    Keyboard
    Corsair K60 SE Pro
    Mouse
    Corsair Dark Core RGB Pro SE
    Internet Speed
    500/500
    Browser
    MS Edge
    Antivirus
    Malwarebytes Premium
Here is an idea: Perhaps you could record the steps into a macro file on Windows and then play it when you need to change your Windows client Wi-Fi password. Here are the steps to change the client wi-fi password-->
then perhaps one can record each of the process steps into a macro file for later use--> How to Automate Tasks in Windows 11 Using Macros

Hope this helps.
I'll have to look into that automated idea. First I have tons of other questions about Win11. But I think the problem in this case is the error I receive when I try to edit the Advanced Wifi Properties. Should I maybe start a different thread about that?
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo 20UCS0A200
    CPU
    Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz, 22
    Motherboard
    I dunno.
    Memory
    16GB
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek High Definition Audio(SST)
    Monitor(s) Displays
    I dunno. It's built in.
    Screen Resolution
    1920 x 1080 x 60 hertz
    Hard Drives
    WDC PC SN730 SDBQNTY-256G-1001
    PSU
    I dunno
    Browser
    Chrome, usually
    Antivirus
    MalwareBytes
    Other Info
    It's really a hybrid laptop/tablet

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
When I try step 5, click on Edit next to "Advanced Wi-Fi Properties" I get the following error. Maybe that's because of the unusual setup they have here. How do I fix that?
Screenshot 2024-09-04 143704.png
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo 20UCS0A200
    CPU
    Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz, 22
    Motherboard
    I dunno.
    Memory
    16GB
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek High Definition Audio(SST)
    Monitor(s) Displays
    I dunno. It's built in.
    Screen Resolution
    1920 x 1080 x 60 hertz
    Hard Drives
    WDC PC SN730 SDBQNTY-256G-1001
    PSU
    I dunno
    Browser
    Chrome, usually
    Antivirus
    MalwareBytes
    Other Info
    It's really a hybrid laptop/tablet
When I try step 5, click on Edit next to "Advanced Wi-Fi Properties" I get the following error. Maybe that's because of the unusual setup they have here. How do I fix that?
View attachment 107318
That usually means you'll need to delete (forget) the profile, and create a new profile by connecting to the Wi-Fi network again with the new password.


 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
That usually means you'll need to delete (forget) the profile, and create a new profile by connecting to the Wi-Fi network again with the new password.


Yeah, that's usually the problem with this institution. They have their own app which configures the connection, but never works consistently and rarely works right. Thanks.
 

My Computer

System One

  • OS
    Win 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo 20UCS0A200
    CPU
    Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz, 22
    Motherboard
    I dunno.
    Memory
    16GB
    Graphics Card(s)
    Intel(R) UHD Graphics
    Sound Card
    Realtek High Definition Audio(SST)
    Monitor(s) Displays
    I dunno. It's built in.
    Screen Resolution
    1920 x 1080 x 60 hertz
    Hard Drives
    WDC PC SN730 SDBQNTY-256G-1001
    PSU
    I dunno
    Browser
    Chrome, usually
    Antivirus
    MalwareBytes
    Other Info
    It's really a hybrid laptop/tablet
That stinks.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
You need a short PowerShell or batch script to:
1. Export the current Wi-Fi profile, and replace the current encrypted string with a new plaintext password.
2. Replace the existing profile using the temp file.
3. Delete the files, since the plaintext password is a security risk and it's no longer needed.

This script presumes you have an existing Wi-Fi profile you want the password changed on.

Change_WiFi_Password.ps1
Code:
$Profile = "GARLIN 5G"
$NewPassword = "password1234"

# Character substitution for special chars
$key = $NewPassword -replace """", "&quot;" -replace "&", "&amp;" -replace "'", "&pos;" -replace "<", "&lt;" -replace ">", "&gt;"

Set-Location $PSScriptRoot
netsh wlan export profile $Profile key=clear folder=.
(Get-Content "Wireless Network Connection-${Profile}.xml") -replace '<protected>(.*)</protected>','<protected>false</protected>' -replace '<keyMaterial>(.*)</keyMaterial>',"<keyMaterial>$key</keyMaterial>" | Set-Content "${Profile}.xml" -Encoding Ascii -Force

netsh wlan add profile filename=`""${Profile}.xml"`" user=all

Remove-Item -Force "Wireless Network Connection-${Profile}.xml", "${Profile}.xml"

PS. If your school has some weird provisioning setup, this might not work...
 

My Computer

System One

  • OS
    Windows 7
Back
Top Bottom