Software Archive
Read-only legacy content
17061 Discussions

Win32_NetworkAdapter Enable and Disable Methods

j1mmyk
Beginner
735 Views

All,

My organization recently decided that we need to disable all wireless NICs across the boardin order to avoid securityissues.

I've put together a script that finds all wireless connections, and calls on the Win32_NetworkAdapter Enable/Disable methods todisable them.

I've currently got the script working on disabling any wired NIC that I want to target,but not the Wireless. My test system is using an Intel PRO/Wireless 3945 ABG nic in a Dell Precision M90. I have updated to the current driver, 12.0.0.something.

The part that is driving me nuts, is that the Enable() method works great, but the Disable() method is not disabling the NIC. Does the method only work if it's actually connected to a network or something?

Thanks,
Jim

0 Kudos
1 Reply
Quoc-Thai_L_Intel
735 Views
Quoting - j1mmyk

All,

My organization recently decided that we need to disable all wireless NICs across the boardin order to avoid securityissues.

I've put together a script that finds all wireless connections, and calls on the Win32_NetworkAdapter Enable/Disable methods todisable them.

I've currently got the script working on disabling any wired NIC that I want to target,but not the Wireless. My test system is using an Intel PRO/Wireless 3945 ABG nic in a Dell Precision M90. I have updated to the current driver, 12.0.0.something.

The part that is driving me nuts, is that the Enable() method works great, but the Disable() method is not disabling the NIC. Does the method only work if it's actually connected to a network or something?

Thanks,
Jim

Hi Jim,

Just in case that you have not contacted our wireless support team, here are some links to the wireless product page and support contacts for you:
- Intel PRO/Wireless 3945ABG product page: http://www.intel.com/support/wireless/wlan/pro3945abg/index.htm
- Email Support: http://supportmail.intel.com/scripts-emf/welcome.aspx?id=1783,1784,2259
- Phone Support: http://www.intel.com/support/notebook/centrino/sb/CS-009883.htm

-Thai

0 Kudos
Reply