daniel_allsaints Posted November 10, 2009 Posted November 10, 2009 hello everyone,I have created a windows 7 unattended and all is working well, this website has been a great help in doing so. I have hit a snag though in trying to automatically setup the wireless settings in windows 7. I have looked and just can’t seem to find any information to automate it.What I want is a script similar to what zwlancfg( http://www.engl.co.uk/products/zwlancfg/index.html ) does, which I used in XP, but they have since removed this from freeware.Or is it possible to do it in the unattend.xml?Any help would be greatly appreciated
maxXPsoft Posted November 10, 2009 Posted November 10, 2009 (edited) If the version you have still works then you can probably run it in a runsynchronous cmd during oobeSystem or in setupcomplete.cmd. Don't see too many settings for that in xml but I haven't ever set one up eitherEDIT: Most those settings are placed in the registry so export a file and import it be best shot and easy, Grab the Installwatchpro here and track the changes made and export the reg. Edited November 10, 2009 by maxXPsoft
daniel_allsaints Posted November 11, 2009 Author Posted November 11, 2009 I have discovered a solution and figured I may as well post it for others.I had a friend email me a newer version of the freeware zwlancfg, version 2.1It works in windows 7, but you need to use the import and export profile feature if you want the wireless profile to have auto conenction working. I also had to run the exe in compatability mode for vista, but it still seems to work fine.Attached the programzwlancfg.zip
Daedlus Posted November 29, 2009 Posted November 29, 2009 This worked for me.http://www.msfn.org/board/unattended-wirel...pid-895875.html
Darr247 Posted April 28, 2012 Posted April 28, 2012 So, how do we convert the old links likehttp://www.msfn.org/board/unattended-wireless-network-connection-t88734-pid-895875.htmlto the format the board uses now?
dencorso Posted April 29, 2012 Posted April 29, 2012 Try:http://www.msfn.org/board/index.php?act=findpost&pid=895875to the post itself or:http://www.msfn.org/board/index.php?showtopic=88734to the whole thread.They just work.
MAVERICKS CHOICE Posted April 29, 2012 Posted April 29, 2012 Sourced from elsewhere though works well in W7 x86 & 64 bit.1. Get a computer that has the wireless lan configurations2. run this command (may need to be admin): netsh wlan export profile folder="PATH_TO_FOLDER" name=PROFILENAME 3. That created an XML file4. Create a batch file5. type this into the batch file: netsh wlan add profile filename="\XMLFILE.XML" user=all6. Edit the XML file: Where it says <protected> </protected> change it to say <protected>false</protected> and put the key between the <keyMaterial>ENTER YOUR KEY HERE</keyMaterial>7. Make sure you put into the post installation command to run the batch file that you created (i.e. c:\wirelesslan\RUNME.BAT)Hope this helps?
The Glimmerman Posted May 1, 2012 Posted May 1, 2012 Some additionsGet your wifi and IP Settings.** Not needed when using DHCP **Use netsh wlan show profilesto show all profilesIf you want to see the details of your profiles, use this command:netsh wlan show allexport profilenetsh wlan export profile folder="PATH_TO_FOLDER" name=PROFILENAMEImport profilenetsh wlan add profile filename="PATH_AND_FILENAME.xml" Interface="Wireless Network Connection"export all profilesnetsh wlan export profile folder="%USERPROFILE%\Desktop" key=clearThe key=clear is to get a readable WiFi passwordUse netsh -c interface dump > c:\ip-settings.txtto save your ip settings. IP gateway DNS etc etcThen in a script@ECHO OFFnetsh wlan add profile filename="WiFi-ABC.xml" Interface="Wireless Network Connection"netsh wlan add profile filename="WiFi-XYZ.xml" Interface="Wireless Network Connection"netsh wlan add profile filename="WiFi-SOMEONE.xml" Interface="Wireless Network Connection"netsh wlan add profile filename="WiFi-ERROR-404.xml" Interface="Wireless Network Connection"netsh exec "ip-settings.txt"netsh IP Settings 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now