Disabling Wireless Connection On Startup/Shutdown

One way to disable a wireless card during startup is to combine the command line method described in a previous post with a batch file that is run during bootup/startup.

Disable Wireless Card Using Command Line

How to enable/disable a wireless card using the command line.

After you have the correct commands working with your setup continue to steps below.

Disabling Wireless Connection On Startup

Follow the steps below to disable a wireless card during startup using the startup folder in windows and running a batch file that executes the devcon command line options.

  1. Create a file called disablewireless.bat with a single line that would disable your wireless card like below and save as disablewireless.bat a folder of your choice. Make sure to use the commmand line method that worked based on previous step.
  2. devcon disable *DEV_4319*

  3. Test this file by running it to make sure it disables the wireless card.
  4. Create shortcut in Windows XP startup folder (C:\Documents and Settings\All Users\Start Menu\Programs\Startup) to this batch file. that points to the disablewireless.bat file
  5. Restart machine to test if card was disabled. Enable wireless card before shutdown for test! : )

A good reason to avoid disabling the wireless card during shutdown process is that the batch file/script could get bypassed if the PC is abruptly powered off or if it crashes.

Two other methods that should work too are, Group Policy (gpedit.msc) with startup/shutdown scripts and System Configuration Utility (msconfig) startup. If you have used these other methods let me know with a comment and a link to the web page.

A more elegant method is to use a software utility to enable/disable adapters automatically. Please see information about BridgeChecker below.


BridgeChecker is a windows utility that can automatically disable/enable wireless interfaces. Whenever your computer is connected to an Ethernet port and the link state is good, the utility can automatically turns off the IEEE 802.11 wireless network interface. This conserves IP address allocation, reduces security risks, resolves dual interface routing issues, and prolongs battery life.

BridgeChecker v1.2

BridgeChecker User Guide

BridgeChecker Download