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

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 :wink:

Attached Image for the setting.

Thank you for your timeā€¦

Venu

Iā€™m not sure where that setting is stored - if itā€™s in the registry or elsewhere. You also donā€™t indicate what versions of Windows youā€™re dealing with, which makes a difference, since newer versions come with a much larger set of PowerShell commands to work with.

Hello,

Its 2k8 r2 and 2k12.

Iā€™ve tried the get-netadapter and get-netadapteradvancedproperty and other get-NetAdapter* commands. But was not sure where to find it,

How ever the same would be shown if i use ā€˜netsh lan show profilesā€™ but donā€™t have the option to edit it that way.

However, iā€™ve figured that the Wired AutoConfig service ā€˜dot3svcā€™ is responsible for this authentication and iā€™ve stopped it and disabled it as these settings are not managed by the GPO.

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

off topic: your book on ā€œpowershell: In depthā€ is just amazing. Thanks for your efforts in putting it together.

Thank you.
Regards,
Venu