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

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Venugopal Venugopal 1 year, 6 months ago.

  • Author
  • #24318
    Profile photo of Venugopal


    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 😉

    Attached Image for the setting.

    Thank you for your time.....


  • #24332
    Profile photo of Don Jones
    Don Jones

    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.

  • #24377
    Profile photo of Venugopal


    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 [b]Wired AutoConfig[/b] 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"

    [b]off topic[/b]: your book on "powershell: In depth" is just amazing. Thanks for your efforts in putting it together.

    Thank you.

You must be logged in to reply to this topic.