Home > other >  Script set 802.1 X authentication
Script set 802.1 X authentication

Time:10-31

The Internet need to set up 802.1 x authentication, hope to be able to use Windows own command to complete the following steps is to set up
Ethernet properties in the authentication of "network authentication methods" - & gt; Microsoft: the protected EAP (PEAP)

Microsoft: the protected EAP (PEAP) to the right Settings check box in the "verified certificates to verify the identity of the server" points out

The following "choose the authentication method" select safe password (EAP - MSCHAP v2) configuration check box in the "automatic using the Windows login name and password" points out

After the completion of the back to Ethernet attributes into other Settings

"Specifying authentication mode" option to the user authentication

Replace the credential input user name and password
Now temporarily completed the final two choice user authentication and enter the user name and password
In front of several temporarily no clue
The following is the script
@ echo off
Netsh LAN set profileparameter authMode=useronly
Echo Dim WshShell & gt; "D: \ c. bs"
Echo the Set WshShell=WScript. CreateObject (" WScript. Shell ") & gt;> "D: \ c. bs"
Echo WScript. Sleep 200 & gt;> "D: \ c. bs"
Echo WshShell. SendKeys "user {TAB} password ~" & gt;> "D: \ c. bs"
Cscript "D: \ c. bs"
Del "D: \ c. bs"

Those operations about canceling certificate authentication, I hope you can provide some clues

CodePudding user response:

The original poster of the VBS script and not

CodePudding user response:

Fix the front behind so suddenly
  • Related