General discussion


Disable Wireless Card Installation

By kittypshah ·
Does anybody know how I can stop a user installing a wireless card in his/her laptop either by registry hack or group policy settings. I also need to disable existing cards that are installed.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

Disabling Wireless card in Registry

by NikSutcliffe In reply to Disable Wireless Card Ins ...

You need to go to this registry key

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\PCI\*****\0000\CSConfigFlags

The ***** refers to your Wireless cards Hardware ID, if you don't know this then look in device manager and then under the cards details tab,the dword value is 0 for disabled and 1 is for enabled. You need to reboot the machine for the changes to take effect.

Collapse -

Disabling Wireless card in registry

by blackg In reply to Disabling Wireless card i ...

Anyone know of a way to disable the wirelss NIC if the wired NIC is active via a policy? we currently have a group policy that disables the XP firewall when you are on the domain and enables it as soon as you pull out the network cable. Our security people are concerned about rogue/spoofing of a wireless AP that connects tot he wireless NIC while the wired NIC is on the network. (At this time we do not have wireless access at the office).


Collapse -

by lcomtois In reply to Disabling Wireless card i ...

This is exactly what we are looking for:
A way to disable wireless network card while connected to the physical company network.

Collapse -

Don't see the options

by cmaclean In reply to Disabling Wireless card i ...

I get to
HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\PCI\***** but after the hardware I don't see anymore options

Collapse -

I have a solution !

by lcomtois In reply to Disable Wireless Card Ins ...

If you look in the registry under :

You get all your network connections. Now under each one you have ?connection? and under that you have 2 key you need ?MediaSubType? and ?PnpInstanceID?.
IF MediaSubType is 2 then this is a wireless network card.

Now that we can find the wireless card we need a way to disable them. Microsoft has a nice application called DEVCON that is used to manage devices from the command prompt. To disable a card you just do this:
Devcon disable ?@PnpInstanceID?

Here is a little vbscript I wrote to disable the wireless cards:
**************** VB script *******************
Const HKEY_LOCAL_MACHINE = &H80000002

Public WShell

strComputer = "."

Set WShell = Wscript.CreateObject("Wscript.Shell")
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")

strKeyPath = "SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}"
oReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys

For Each subkey In arrSubKeys
If subkey <> "Descriptions" Then
Wscript.Echo strKeyPath & "\" & subkey & "\" & "Connection"
strValueName = "MediaSubType"
oReg.GetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath & "\" & subkey & "\" & "Connection" ,strValueName,dwvalue

strValueName = "Name"
oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath & "\" & subkey & "\" & "Connection" ,strValueName,strValue
Wscript.Echo "Card: " & strValue

If dwvalue = 2 Then
strValueName = "Name"
oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath & "\" & subkey & "\" & "Connection" ,strValueName,strValue
Wscript.Echo "This is a wireless card will be disabled: " & strValue

strValueName = "PnpInstanceID"
oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath & "\" & subkey & "\" & "Connection" ,strValueName,strValue
wShell.Run "devcon disable ""@" & strValue & """" ,2,true
End If
End If
*****************End of Script ***************
Note: for this script to work you need devcon.exe in one of you system folder (like c:\windows\system32)

Collapse -

Or try a signal jammer?

by kawarimi In reply to I have a solution !

I did visited some college and University that have signal jammer in classroom and auditorium, it starts to jam the signal when there is an exam in progress to prevent students cheating via mobil phones and prevent interrupt on the presentation, It could jam 802.1x device signal as well.
Since I don't know the exact model they use but here is some reference link u might to have a look :

Collapse -

Only when wired is active?

by cbaser In reply to I have a solution !

Does this solution work only when a wired connection is active? I want the wireless adapters disabled only when a wired connection is detected. AirDefense Personal does this (plus many other things) but is cost prohibitive on thousands of clients. Thanks!

Collapse -

Any luck?

by isax242 In reply to Only when wired is active ...

This is exactly what we need to do. I know it's an old topic, but did you find a solution?

Related Discussions

Related Forums