Deployment Solution

 View Only
  • 1.  Script to disable all kinds of Wireless NICs

    Posted Jul 02, 2009 03:44 AM

    Hey guys,

    Does anyone know of a easy script I can run on our 300+ computers that will *DISABLE* the wireless NIC on it?

    We have a few different models of laptops so I would need something flat...

    What I don't want though, is an uninstalled driver...

    Any help would be great

    Cheers



  • 2.  RE: Script to disable all kinds of Wireless NICs

    Posted Jul 02, 2009 11:26 AM
    You may want to try using the  Dell or HP Client Manager to do this for you. You can create a BIOS profile that has the wireless NIC disabled and push it out to the machines in your environment. 

    I guess it all depends on if you want the NIC disabled in Windows or in the BIOS.


  • 3.  RE: Script to disable all kinds of Wireless NICs

    Posted Jul 14, 2009 05:09 AM

    This script should disable all enabled wireless network adapters on Vista. It will not work on XP.
    If you have XP you could perhaps use vbs to enumerate wireless network adapters and disable them using DevCon.

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\wmi")
    Set colItems = objWMIService.ExecQuery("Select * From MSNdis_80211_Configuration")
    For Each objItem in colItems
    strName = objItem.InstanceName
    Set objWMIService2 = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
    Set colAdapters = objWMIService2.ExecQuery _
    ("Select * from Win32_NetworkAdapter Where NetEnabled='True' And Name = '" & strName & "'")
    For Each objAdapter in colAdapters
    objAdapter.Disable
    Next
    Next