中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 13:29
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS批处理 & 脚本技术(批处理室) » [win2k] How to use scripts (preferably VBS or WMI) to implement 802.1x client settings
Printable Version  2,932 / 8
Floor1 bapala Posted 2006-10-21 12:08
初级用户 Posts 11 Credits 28
Recently our company is doing 802.1x authentication and wants to use a script to implement client settings. But after using the script to start the service: Wireless Configuration and change the startup type, it cannot proceed to the next step: Open the properties dialog of the local connection, change the authentication from smart card to PEAP as shown in Attachment 1: Then click properties, as shown in Attachment 2, cancel the selection in front of the verify server certificate, then select to enable fast connection.

Please experts give advice, thank you

Attachments
net_auth001.JPG (26.4 KiB)
net_auth002.JPG (34.9 KiB)
Floor2 electronixtar Posted 2006-10-21 21:41
铂金会员 Posts 2,672 Credits 7,493
Not done. Maybe in the registry. Or a configuration file. Try netsh
Floor3 bapala Posted 2006-10-21 23:24
初级用户 Posts 11 Credits 28
netsh ras is not working. I checked on technet and found that the netsh wlan configuration command is only available in Vista. There is no such command in XP & 2003, and 2K doesn't even mention it. Oh, what should I do?
Originally posted by electronixtar at 2006-10-21 21:41:
Haven't done it. Maybe in the registry. Or a configuration file. Try netsh


[ Last edited by bapala on 2006-10-21 at 23:49 ]
Floor4 electronixtar Posted 2006-10-22 04:06
铂金会员 Posts 2,672 Credits 7,493
Then it's in the registry. Analyze carefully with RegMon/RegSnap.
Floor5 bapala Posted 2006-10-23 02:56
初级用户 Posts 11 Credits 28
I've tried it long ago. Write a key-value, network, but on technet it says can't be edited manually. Oh, probably each computer is different.
Originally posted by electronixtar at 2006-10-22 04:06:
Then it's in the registry. Use RegMon/RegSnap to analyze carefully.
Floor6 3742668 Posted 2006-10-23 04:59
荣誉版主 Posts 718 Credits 2,013
Originally posted by bapala at 2006-10-23 03:08:
I've already tried it. I wrote a key value, network, but on technet it says that manual editing is not possible. Oh, maybe each computer is different.

You can observe the pattern of changes in registry values before and after modification to write a script, which should theoretically work.
If the working environment of the script is relatively good, you can try using vbs's sendkeys:
Floor7 lxmxn Posted 2006-10-23 05:34
版主 Posts 4,938 Credits 11,386

  Collected, learning...
Floor8 alashan Posted 2006-10-24 23:18
新手上路 Posts 4 Credits 9
It's really good, but it seems that the changes in the registry aren't particularly significant
Floor9 kaidi Posted 2007-01-27 11:07
新手上路 Posts 8 Credits 16
Thanks
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023