#120995 - 2004-06-10 09:23 AM
activate 802.1x through kixscript
|
Blom
Fresh Scripter
Registered: 2004-06-10
Posts: 5
|
Hi is anyone able to help out on a question regarding activation of the 802.1x through kixscripts? its a registry setting that needs to be changed. more specifically this key
Code:
HKLM\SOFTWARE\Microsoft\EAPOL\Parameters\Interfaces\{C35D2C93-FEY2-4EB3-A8AD-5C82C5B47077}\1:
03 00 00 00 00 00 00 00 00 00 00 40 0D 00 00 00 20 00 00 00 11 22 33 11 22 33
11 22 33 11 22 33 11 22 33 11 22 33 11
22 33 11 22 33 11 22 33 11 22 33 11 22
0D 00 00 00 28 00 00 00 00 00 00 00 28
00 00 00 05 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
if I change the number 40 to be C0 then its activated, changing it back to 40 reverts it. The biggest problem right now is to get through this interface number {C35D2C93-FEB2-4EB2-A8AC-5C82C5B47066} since its a sid its random, and how to locate random numbers? any help is much appreciated.
Regards from
Blom
|
|
Top
|
|
|
|
#120998 - 2004-06-11 09:33 AM
Re: activate 802.1x through kixscript
|
Blom
Fresh Scripter
Registered: 2004-06-10
Posts: 5
|
Thanks for the replies, but would it be possible for you to outline or specify exactly what your suggestion is taking care of? Thanks Blom
|
|
Top
|
|
|
|
#120999 - 2004-06-11 09:37 AM
Re: activate 802.1x through kixscript
|
Blom
Fresh Scripter
Registered: 2004-06-10
Posts: 5
|
CitrixMan
Yes there is more than one key listed, if, and when you have more than one NIC in your pc.
|
|
Top
|
|
|
|
#121000 - 2004-06-11 03:36 PM
Re: activate 802.1x through kixscript
|
Raceeend
Starting to like KiXtart
Registered: 2002-05-09
Posts: 129
Loc: The Netherlands
|
If you what to enable 802.1x for authentication purposes (authentication tab with NIC properties) you could also enable the "Wireless Configuration" service. This is what the service is called like on w2k don't know about xp. And yes this is also for non wireless nic's.
But then again i don't know if that's what you want.
_________________________
regards,
Martijn
|
|
Top
|
|
|
|
#121003 - 2006-01-27 11:06 PM
Re: activate 802.1x through kixscript
|
schieb
Lurker
Registered: 2006-01-27
Posts: 1
|
I know this post is dead, but I came across it in a search. Here's what I came up with. This is based off a script from: http://perfectisolation.org/smf/index.php/topic,13.msg38.html
Function EAPOL($Parameter) ; $Parameter = 0 = Uncheck 802.1x for all interfaces ; $Parameter = 1 = Check 802.1x for all interfaces $EAPOLKEY = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EAPOL\Parameters\Interfaces" If $Parameter = 0 $HexParam = "0500000000000000000000400d0000002000000011223311223311223311223311223311223311223311223311223311223311220d000000280000000000000028000000050000000000000000000000000000000000000000000000000000000000000000000000" EndIf If $Parameter = 1 $HexParam = "0500000000000000000000C00d0000002000000011223311223311223311223311223311223311223311223311223311223311220d000000280000000000000028000000050000000000000000000000000000000000000000000000000000000000000000000000" EndIf $Index = 0 :DNSLOOP $Adapter = EnumKey($EAPOLKEY,$Index) If @ERROR = 0 $Write = WriteValue($EAPOLKEY + "\" + $Adapter,"1",$HexParam,"REG_BINARY") $Index = $Index + 1 Goto DNSLOOP EndIf EndFunction
Break On EAPOL(0)
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 1172 anonymous users online.
|
|
|