Share via


Is there a way to disable IEEE 802.1x authenication using powershell

Question

Thursday, April 16, 2015 8:36 AM

Hello,

We are in the phase of disabling this feature on windows servers and would like to know if there is any way to disable this option from Powershell or netsh. Not looking for GUI options at all ;)

Thank you for your time.....

Venu

All replies (3)

Thursday, April 16, 2015 10:50 AM ✅Answered

It is best to do this in Group Policy.

\(ツ)_/


Friday, April 17, 2015 4:25 AM ✅Answered

Hello All,

Thanks JRV, for pointing to the right direction,

If anyone wants to achieve this,

stop the service and disable it.

this can be done with scripting, hope it helps someone. (just in case if this is not controlled by GPO).

powershell -command "Stop-Service dot3svc"
powershell -command "Set-Service -Name dot3svc -StartupType Disabled"

Regards,

V

Venu


Friday, April 17, 2015 12:08 PM

VGSandz, just remember that disabling that service fully prevents 802.1X from being used on all adapters. The reason why you would want to disable it on a single adapter is to maybe keep it enabled on others (or potentially enable it on others at a later stage), so there is still merit to your question about how to disable it just on a single adapter.