also look at this thread
script for joining wireless networks
Am at the conference was previously on my phone.
\\server\NETLOGON\WifiCfg_XP.exe -add /SSID:school /Authentication:WPA /Encryption:AES /NetworkKey:1234567890 /KeyIndex:1
cant seem to get to the help on 7 at the moment will repost when I do
Much thanks will look into in the morning dont really fancy adding wpa keys to 1000 laptops
Why do you not just add it in via group policy.
You can't add WPA keys aspart of a GPO
@Chilbs dont mean to sound daft, i have it downloaded but does seem to be working ? Windows 7 32-bit
PeterG (3rd June 2011)
Hi Arthur, thnaks for that will try just testing another method using netsh again but have exported the profile differently will post updates here.
SUCCESS ! I have done it with the built in netsh command however i exported the key in plain text, here is the command to export:
and to import using mdt:netsh wlan export profile name="MyProfileName" folder=c:\Temp interface="Wireless Network Connection" key=clear
Thanks for all your helpnetsh wlan add profile filename = "PATH TO XML" user=all
SYNACK (5th June 2011)
What we did was use the XP Wireless Network Wizard (yes it works on 7), create the settings; create a msi package to dump it at the root of C: and then run the setupsnk as part of our laptop build. You could autoit the OK to add wireless network - but I quite like seeing the prompt to know the build has completed ok
EDIT: See my blog for the scripts used to autorun at first boot after build. Applies to SCCM, but will equally work under MDT
Last edited by TheScarfedOne; 3rd June 2011 at 02:25 PM. Reason: Typing on the train back from #egconf11 and failed with bumps!
There are currently 1 users browsing this thread. (0 members and 1 guests)