How Do I ... Disable Ad Hoc Wireless Networking in Windows Vista & Windows 7

Contents


Introduction

This document will help you disable Ad Hoc Wireless Networking in Windows Vista and Windows 7 machines.

Procedure

1. Go to Start--> Search "CMD.exe".  When it is found, right click on the icon (see below) and choose the option "Run as administrator. When prompted, click Continue.

run cmd line

2. A command prompt window will open up.

cmd line utility

3. Type in "netsh wlan show filter" and hit enter. This will show current filters set in place

netsh wlan show filter-1

4. Type in "netsh wlan add filter permission=denyall networktype=adhoc" and hit enter.This creates ad-hoc blocking filter.

netsh wlan show filter-2

Note if you see " Error: Function WlanSetFilterList returns 5. the requested operation requires elevation" you will need to run these steps again as the system administrator.

5. To double check if the mail filters worked type "netsh wlan show filter" and hit enter, and you will see your mail filter under the "Block List on the system"

netsh wlan show filter-3


 

Disclaimer: The provided instructions are for information purposes only. Neither The University of Western Ontario nor the Division of Information Technology Services assume any responsibility for loss of use or damage to a computer system (including any data or software contained within the computer system) which is the result (directly or indirectly) of the application of these instructions. Any problems, questions or concerns not addressed by these instructions should be directed to the vendor and/or the manufacturer and not to The University of Western Ontario or any of its employees or incumbents.

©2010, The University of Western Ontario. Permission is granted to copy in whole or in part provided that due credit is given to the authors, Information Technology Services, and The University of Western Ontario.

Western provides the best student experience among Canada's leading research-intensive universities.