Internal WIFI deployment to domain

I'm looking for a way to deploy our internal wifi to all computers without having to touch them.

What are my options?

I've exported a profile to xml using netsh wlan commands, but I can't seem to figure out the vbs to roll it out.

Any suggestions appreciated....
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig BeckCommented:
You really need to use certificates and NPS for secure wifi on a domain if you want to automate the configuration.  This is a great guide to implementing PEAP for Wireless...

Group Policy is your friend if you have a domain and you're using RADIUS (this is the way to go).

Here's a quick guide for Windows XP/Vista/7/2003/2008...

The only issue with this is that you can't deploy wireless settings if you're using pre-shared keys.  For that you need to script it, as you've already attempted.
The following thread may help you:

In case the link breaks, the VBS script is:

'Declare Variables
Dim FSO, Newfolder, WshShell
'Configure Variables
Set FSO = CreateObject("Scripting.FileSystemObject")
Set WshShell = WScript.CreateObject("WScript.Shell")

Public Function Main()
'Create folder if required
If Not FSO.FolderExists("C:\Windows\Temp\WifiConfig") Then
 NewFolder = FSO.CreateFolder("C:\Windows\Temp\WifiConfig\")
 'Wscript.Echo "Creating folder"
End If
'Copy files localy
If FSO.FolderExists ("C:\Windows\Temp\WifiConfig") Then
 'Wscript.Echo "Copy file Config.xml"
 FSO.CopyFile ".\Config.xml","C:\Windows\Temp\WifiConfig\"
 'Wscript.Echo "Copy file Configure.cmd"
 FSO.CopyFile ".\Configure.cmd","C:\Windows\TEMP\WifiConfig\"
End If
'execute program
'Wscript.Echo "Executing Configure.cmd"
WshShell.Run "C:\Windows\Temp\WifiConfig\Configure.cmd"
End Function
Public Function CleanUp()
'Start cleaning up
'delete xml file cause psw is plain tekst
If FSO.FileExists ("C:\Windows\TEMP\WifiConfig\Config.xml") Then
 'Wait a second or two
 Wscript.Sleep 2000
 'Wscript.Echo "Deleting config file"
End If
If FSO.FileExists ("C:\Windows\TEMP\Wificonfig\Configure.cmd") Then
 'Wait a second or two
 Wscript.Sleep 2000
 'Wscript.Echo "Deleting Configure file"
End If
If FSO.FolderExists ("C:\Windows\Temp\WifiConfig") Then
End If
End Function
This is my configure.cmd file:

netsh wlan add profile filename="C:\Windows\Temp\WifiConfig\Config.xml" interface="Wireless Network Connection" user=All
netsh wlan connect name=home123

However, what the previous poster suggested, setting up a RADIUS server and WLAN authentication is way better and simpler on the end user.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MetaltreeAuthor Commented:
I ended up going with something similar to what convergint suggested
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Wireless Networking

From novice to tech pro — start learning today.