nan Posted December 10, 2007 Share Posted December 10, 2007 As the first step in scripting our 802.1x config we want to make sure that the windows wireless zero configuration service is started. I copied the start services script from this site and added it as an include: ; Script Start - Add your code below here #include-once "ServiceControl.au3" Global $sComputerName="my_laptop_name" Global $sServiceName="WZCSVC" Func _StartService($sComputerName, $sServiceName) EndFunc Run("cmd.exe") WinWaitActive("C:\WINDOWS\system32\cmd.exe") Send("services.msc") Send("{ENTER}") When I run this it does not start the service (it opens the window so I can check it though). Any advice on where I am going wrong or on scripting 802.1x authentication confs? Thanks, Nan Link to comment Share on other sites More sharing options...
redfive19 Posted December 10, 2007 Share Posted December 10, 2007 If the service is just not started, then something like this would work #include <process.au3> _RunDOS('net start "Wireless Zero Configuration"') However if it is disabled, then you'll need to enable it first via the 'sc' command #include <process.au3> _RunDOS('sc config "Wireless Zero Configuration" start= auto') _RunDOS('net start "Wireless Zero Configuration"') Link to comment Share on other sites More sharing options...
nan Posted December 11, 2007 Author Share Posted December 11, 2007 thanks-that did the trick Link to comment Share on other sites More sharing options...
nan Posted December 17, 2007 Author Share Posted December 17, 2007 Ok, now I can start the windows wireless zero conf service and I can get our 3rd party 802.1x supplicant configured properly and everything is good, except if the wireless card had it's own drivers in use instead of letting windows control the wireless. If windows is controlling wireless then everything is fine. If the card's drivers are in use the windows wireless zero conf service starts and the card's drivers still are in control, so the 802.1x process fails. Any ideas on how to get the windows drivers in control? Thanks, Nancy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now