GPO, not script 'how to':
Creating Wireless GPO Setting
Not exactly what you asked, hopefully some help :-)
Bit of an odd one this.
Is there such a beast as a script that can automatically join a laptop to a wireless network (with wpa2+passkeys) to save me having to do it on all 300 odd of our laptops?
Alternatively, if your machines aren't joined to your AD, the Wireless Setup Wizard thing is genius with a USB disk. I even wrote some AutoIT to prompt for the disk, find it on insertion, and click through the confirmations during our deployment process.
Edit: in fact, in exchange for a Southampton postcard, I'll send you the source.
Thanks for the swift replies everyone.
dwhyte85: I have tried your answer as this seems the most simple to do and its just as i'd hoped to find such a setup. However the problem i have come up against is that it doesnt give you wpa2 options nor does it allow you to input the passkey. Have i missed something? or is this by design?
powdarrmonkey: I would use this but this is for after i have iamged them during which it autojoins to the domain to save time. Thanks though.
keithu: Can this be done after the imaging?
Thanks again guys
Until our school gets a managed wireless solution, I've been using 'WZC Auto Provision' from Aruba Networks. It works really well and supports everything from WEP to WPA2.
Code:WifiCfg_XP.exe -add /SSID:EduGeek /Authentication:Open /Encryption:WEP /NetworkKey:12345678901234567890123456 /KeyIndex:1 /KeyProvidedAutomatically:FALSECode:WifiCfg_XP.exe -add /SSID:EduGeek /Authentication:WPA /Encryption:TKIP /KeyProvidedAutomatically:TRUE /IEEE8021xEnabled:TRUE /EAPType:PEAP /InnerAuthentication:MSCHAPv2 /EnableFastReconnect:TRUE
here, although I'm not sure if it's the last freeware version.
Last edited by Arthur; 10th May 2009 at 12:07 AM.
Thanks thats just what i wanted Arthur and it works perfectly, thanks ever so much, and thank you all for answering my question so quickly!
However, if you use the wificfg utility in conjunction with local group policy (using the machine logon script to run the util), the laptops now pre-auth with the wireless!
Might not help, but see if the attached version works (in a limited test). That is the current Dec 2008 version, that I modified so it would work when there's a space character in the key. It's also a good idea to put quotes around the command line option like this: "/NetworkKey:Top Secret"Do you happen to know how to add a ssid when the network key has a - sign in it
[If it does work now, please let me/us know]
I have got the autoit script working that sets the wifi settings.
I have put it in as a startup script using a gpo, is there anyway either using the gpo itself or by amending the script so that it only runs once then doesnt run again after the settings have been applied?
TheScarfedOne (16th July 2009)
Hey People i dont know how to or where to apply this code please can i have some information of where i need to add this code. i know am i bit stupid but please can some on help me!!
There are currently 2 users browsing this thread. (1 members and 1 guests)