18 replies
Forget the Registry. Here is a simple solution.
You could get a piece of plastic the size of a PCMCIA card and use epoxy to glue the plastic into the PCMCIA slot. Simple. Permanent. Unambiguous.
You can also do the same thing with desktop computers with the USB slots. Using a USB connector that is not connected to a wire would stop people from plugging USB devices into computers in work. You'd have to use PS/2 style keyboard and mouse of course.
by carlitosway
by lcomtois
by mtrox
To disable, right click on My Computer> Properties> Hardware tab> Device Manager, then click the plus sign by Network Cards, then right click on the wireless card, then click on disable.
Plus, many modern laptops have a switch somewhere that turns off the wireless. Not sure what you?re trying to accomplish but it?s also not hard to take the wireless card out, even if it?s built in.
by lcomtois
What I am looking fore is a way to disable any wireless network cards while connected to the corporate Network. I need a command a script or best of all a GPO.
Removing the card or manually disabling the card is not an option, I need to be able to do it remotely.
by mtrox
Sorry lcomtois, thought that question was a little basic for this board. I was so happy I knew the answer to something I just jumped in.
'fraid I can't help you with that one. I'm just happy when I just get one of my little logon scripts to work.
by cp7212
I'm not quite sure of your architecture, but do you currently use a WEP or WPA key? It wouldn't be hard to change it if someone got a hold of it. It's not uncommon to use "cycling" WEPs, where they are changed every sixty days.
You could email the WEP to your users that need it or if you really wanted to do it securely, have them bring you the laptops and do it yourself. Inform them that this is the only way they will be able to access the network wirelessly.
The ones that you don't want on your network, don't install the WEP or WPA. Changing the WEP would only take a couple of minutes per laptop.
by imamember
What about using the MAC filtering capabilities of the wireless access point(s)? It could be a lot of work because you'd have to gather each users MAC address (from their wireless NIC) and then input it to the router, as a device to block. It may be less work to input only MAC addresses you want to allow ... depends on # of users and other security configuration issues.
I'm sure there are other ways to tackle this problem but I think using the MACs may be agood approach because it saves you having to worry about whether the cards are present or not.
by jmgarvin
by niksutcliffe
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.
by blackg
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).
Thanks
by lcomtois
This is exactly what we are looking for:
A way to disable wireless network card while connected to the physical company network.
by cmaclean
I get to
HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Enum\PCI\***** but after the hardware I don't see anymore options
by lcomtois
If you look in the registry under :
KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}
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
Next
*****************End of Script ***************
Note: for this script to work you need devcon.exe in one of you system folder (like c:\windows\system32)
by kawarimi
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 :
http://www.netline.co.il/Netline/
by cbaser
by isax242
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending