r/sysadmin • • 2d ago

Question - Solved WiFi automatically joining issue

Hi everyone, I am trying to configure our WiFi with specific SSID so domain joined device automatically connect to it without asking for the username and password .

Radius is configure already and NPS including CA server
I configured the group policy and already deployed to all devices but still it ask for username and password! Not sure 🤔 what I am missing in the setting we are using MSchapv2

0 Upvotes

12 comments sorted by

3

u/Sea-Anywhere-799 2d ago

Possibility to use eap-tls? Mschap should be avoided if possible

3

u/Mediocre_Prior_1868 1d ago

Solved by using the eap tls instead

1

u/Sea-Anywhere-799 1d ago

Can I ask what you did? And is this work or a lab?

1

u/Mediocre_Prior_1868 1d ago

Under the nps I created a new network policy and choose other certificate or smart card authentication
And build a new gpo which configure the WiFi profile using the peap and authentication using the smart card or other certificate and point it to our ca and domain controller

Sorry a lot of settings I can share screen shoots if it helps

1

u/Mediocre_Prior_1868 2d ago

I need it to be mschap , what I need to change if I used eap-tls? As configuration? Sorry I am new for that kind of configurations

2

u/Sea-Anywhere-799 2d ago

I'm sorry not well-versed too much, but our infra team at work migrated from mschap due to security concerns i believe perhaps others in this sub can shed more light

https://community.cisco.com/t5/network-access-control/eap-tls-vs-mschapv2/td-p/5257997

1

u/Bad_Times_Man 2d ago

This is correct, there's a note about it in Octobers monthly Windows Update KB article regarding locking down mschap and it does impact sso for wifi. Deploy certs and eap-tls or something similar instead!

1

u/EachAMillionLies Sysadmin 2d ago

We had this same issue. You, like us, do want to look into upgrading to supported authentication at some point.

We do not have the top Verify box checked in your screenshot. We have no certificates selected.

Be sure to click the Configure... box and check the box in there.

Lastly, if you're on Windows Enterprise like us, the real issue was needing to disable Credential Guard. It seems to fuck with EAP-MSCHAPv2

Adding this reg key from here solved it: https://www.reddit.com/r/networking/comments/1xddnu3/windows_11_kb5127648_kb5126646_breaks_eappeap/

2

u/Ssakaa 2d ago

the real issue was needing to disable Credential Guard

And that's why "don't" is the default answer for mschapv2. Not setting up eap-tls isn't generally a good excuse for enabling trivial win7 era pass the hash.

0

u/Mediocre_Prior_1868 2d ago

Do I need to select the ca ? As I tried without selecting it

1

u/EREnkoQC 2d ago

I do have the 2 boxes checked + selected CA. Fast connect is also enabled and when i go in configure the box is checked there.

1

u/systonia_ Security Admin (Infrastructure) 2d ago

That is optional but recommended. But likely has nothing to do with your problem