Disable wireless ad hoc network connection

An ad hoc wireless network generally refers to a connection established directly between two computers, without communicating through a wireless access point. These networks can be used, for example, to transfer files between two laptops.

Although this type of network may sometimes be useful, it involves some risks. For example, if users forget to disable the ad hoc connection after using it, hackers could use it to access the contents of users' computers. Since this functionality is rarely needed, it is recommended to completely disable it.


Windows XP (SP3)

  1. Click the Start menu
  2. Click Control Panel
  3. Click Network and Internet Connections
  4. Click Network Connections
  5. Select Wireless Network Connection
  6. Click Change settings of this connection
  7. Click the Wireless Networks tab
  8. Click the Advanced button
  9. Select Access point (infrastructure) networks only
  10. Click the Close button
  11. Click the OK button

Windows Vista

  1. Click Start
  2. Click All programs
  3. Click Accessories
  4. Click Command prompt
  5. Type netsh wlan add filter permission=denyall networktype=adhoc at the command prompt and press Enter

Haut de page