Help with writing code for wireless configuration
Hi,
Im looking to write a program/script so when we recieve a new laptop i can just run the program/script and hey presto a new wireless profile is created with all the settings and password in place.
It needs the following settings;
"Access point" & "Automatically connect to non-preferred networks" is NOT checked.
Disable broadcasting for each of your "Preferred networks".
UNCHECK the "Connect even if this network is not broadcasting".
In the “(Wireless Profile) properties” window, under “Association” tab select WPA2 for “Authentication EAP(PEAP)” and AES for “Data encryption”.
In the “(Wireless Profile) properties” window, click on “Authentication” tab and select “EAP type” to be “Protected EAP(PEAP)”. Confirm “Enable IEEE 802.1x authentication for this network” is ticked.
In the “(Wireless Profile) properties” window, click on “Properties” button and ensure “Validate server certificate” and “Enable Fast Reconnect” are not selected. Confirm “Authentication Method” selected is “Secured password (EAP-MSCHAPv2)”.
In the “Protected EAP Properties” window, click on the “Configure” button. Ensure the box for automatically using the Windows logon name is not ticked.
So if anyone can point me in the right direction. Each of the Above settings are required for every laptop that comes in and they need to be exact every time. Im trying to go through all the MSDN library but with no sucess, i'm just looking for an working code/script that creates a profile or even places these settings into the wireless configuration.
I will be happy if someone can help.
regards Danny

