How to Disable Ad Hoc Wireless Connections on Vista

by Mitch Tulloch [Published on 28 Oct. 2008 / Last Updated on 28 Oct. 2008]

Windows Vista won’t automatically create ad hoc wireless connections with other computers, but for greater security you may want to disable ad-hoc wireless connections entirely. Here’s how to do this.

Windows Vista won’t automatically create ad hoc wireless connections with other computers, but for greater security you may want to disable ad-hoc wireless connections entirely. You can do this by running the following Netsh command at an elevated command prompt:

netsh wlan add filter permission=denyall networktype=adhoc

To re-enable ad hoc wireless connections, run this command:

netsh wlan del filter permission=denyall networktype=adhoc

For more information on networking in Windows Vista and Windows Server 2008, see the Windows Server 2008 Networking and Network Access Protection (NAP) from Microsoft Press.

See Also


The Author — Mitch Tulloch

Mitch Tulloch is a well-known expert on Windows Server administration and cloud computing technologies. He has published over a thousand articles on information technology topics and has written, contributed to or been series editor for over 50 books.

Featured Links