Start Menu> Control Panel> Administrative Tools> Services>
look at the bottom of the list for Wireless Zero Configuration. double click to open
it up click the stop button and set startup type in the menu as disabled.
thats it![]()
:: A "batch file" that stops the wireless zero configuration service.
::
:: Change directory to root.
cd\
:: Turns off excessive display while the batch file runs.
echo off
echo .
echo .
echo .
echo ..
echo ...
echo Stopping Wireless Zero Configuration Service
echo ...
echo ..
echo .
echo .
echo .
net stop WZCSVC
echo .
echo .
echo .
echo ..
echo ...
echo Wireless Zero Configuration Service Stopped
echo ...
echo ..
echo .
echo .
echo .
exit
Option Explicit
Dim objWMIService, objItem, objService
Dim colListOfServices, strComputer, strService, intSleep
strComputer = "."
intSleep = 30000
strService = " 'wzcsvc' "
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery _
("Select * from Win32_Service Where Name ="_
& strService & " ")
For Each objService in colListOfServices
objService.StartService()
WSCript.Sleep intSleep
objService.StopService()
Next
WScript.Quit
I use a VBScript here, it allows it to connect to the network then disable itself.
Code:Option Explicit Dim objWMIService, objItem, objService Dim colListOfServices, strComputer, strService, intSleep strComputer = "." intSleep = 30000 strService = " 'wzcsvc' " Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Set colListOfServices = objWMIService.ExecQuery _ ("Select * from Win32_Service Where Name ="_ & strService & " ") For Each objService in colListOfServices objService.StartService() WSCript.Sleep intSleep objService.StopService() Next WScript.Quit
Make sure the extension is .vbs