<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Looking for help with a script to disable/enable certain USB device.</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=906657e8-cdb6-419e-9316-a3072c76c853" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=906657e8-cdb6-419e-9316-a3072c76c853</link>
<description>DisplayFusion RSS: Looking for help with a script to disable/enable certain USB device.</description>
<lastBuildDate>Sat, 16 May 2026 22:40:19 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=906657e8-cdb6-419e-9316-a3072c76c853</generator>
<item>
<title>RE: Looking for help with a script to disable/enable certain USB device.</title>
<link>https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#5</link>
<pubDate>Mon, 22 Dec 2014 21:43:47 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey Krupa,
On the machine in question where you want to toggle your wifi, can you copy and paste this command into a CMD window and then select the output and paste it here?  It will contain the dev ID for the device you wish to toggle with DF.
devcon find @PCI** | find /i "BRAND-OF-WIFI"
Wher...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey Krupa,<br/>
<br/>
On the machine in question where you want to toggle your wifi, can you copy and paste this command into a CMD window and then select the output and paste it here?  It will contain the dev ID for the device you wish to toggle with DF.<br/>
<br/>
devcon find @PCI** | find /i "BRAND-OF-WIFI"<br/>
<br/>
Where "BRAND-OF-WIFI" is the brand of your adapter in question (still surrounded by double-quotes.  If your wifi adapter is not internal but USB, instead, past this command and return the results:<br/>
<br/>
devcon find @USB** | find /i "BRAND-OF-WIFI"<br/>
<br/>
Once you know what the identifier is, it should be pretty easy and I'll post the script specific to you here and then publish a generic version with instructions on how the DF users' can retrieve and fill in the ID into the function.<br/>
<br/>
Thanks.<br/>
<br/>
Collin
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Looking for help with a script to disable/enable certain USB device.</title>
<link>https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#4</link>
<pubDate>Mon, 22 Dec 2014 16:17:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[I use the following to do exactly that (outside of DF) in a batch script which enables "external" NICs and disables "Internal" NICs.
I'll play with this though my method you will have to do a one-time do into devmgr.msc open the device details to get that device's ID.
As an example (I'm stubbor...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I use the following to do exactly that (outside of DF) in a batch script which enables "external" NICs and disables "Internal" NICs.<br/>
<br/>
I'll play with this though my method you will have to do a one-time do into devmgr.msc open the device details to get that device's ID.<br/>
<br/>
As an example (I'm stubborn and still use a pretty old Nvidia machine that has 2 gigabit NICs.....to disable the "internal" I do this:<br/>
<br/>
devcon disable @PCI**2411E6FE^&2^&90*<br/>
<br/>
and then to enable the "external" I then do this:<br/>
<br/>
devcon enable @PCI**2411E6FE^&2^&88*<br/>
<br/>
and devcon is a built-in non-3rd-party command on all newer OS' so I think Keith will like that...... <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" /><br/>
<br/>
Since I'm really bored and sick right now and coding helps me relax, let me work on this for you.  Heck, I might as well start re-coding everything to DF now that is supports C#, lol.  Whoever thought that idea up, friggin kudos to you it just moved your product forward <span style="text-decoration:underline;">light years!</span>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Looking for help with a script to disable/enable certain USB device.</title>
<link>https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#3</link>
<pubDate>Sat, 20 Dec 2014 15:53:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[OK that sounds great! Thanks a lot! Let me know when you are free! You guys are the best!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
OK that sounds great! Thanks a lot! Let me know when you are free! You guys are the best!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Looking for help with a script to disable/enable certain USB device.</title>
<link>https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#2</link>
<pubDate>Tue, 09 Dec 2014 15:26:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Looks like we might be able to do this with a combination of a DisplayFusion scripted function to send a command using this app: http://www.nirsoft.net/utils/device_manager_view.html and then switching profiles. When I've got some time, I'll test it out and whip up a script for you
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Looks like we might be able to do this with a combination of a DisplayFusion scripted function to send a command using this app: <a href="http://www.nirsoft.net/utils/device_manager_view.html" target="_blank" rel="nofollow"><b>http://www.nirsoft.net/utils/device_manager_view.html</b></a> and then switching profiles. When I've got some time, I'll test it out and whip up a script for you <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" /><br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Looking for help with a script to disable/enable certain USB device.</title>
<link>https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853</link>
<pubDate>Fri, 05 Dec 2014 23:50:39 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/looking-for-help-with-a-script-to-disableenable-certain-usb-device/?ID=906657e8-cdb6-419e-9316-a3072c76c853</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi guys! I bought displayfusion and I am currently using it with two monitor profiles and love it! I have two computer monitors set up for computing, and the third monitor is a TV in another room. I have a wireless keyboard to control the computer from the TV. It's great because using the officia...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi guys! I bought displayfusion and I am currently using it with two monitor profiles and love it! I have two computer monitors set up for computing, and the third monitor is a TV in another room. I have a wireless keyboard to control the computer from the TV. It's great because using the official Microsoft xbox 360 wireless controller receiver for windows, I can enjoy my PC games with the cinematic experience of my surround sound system.<br/>
<br/>
I have monitor profiles set up to Ctrl+Alt+1 and Ctrl+Alt+2. The first profile disables the third monitor (external TV) and the second one enables the external TV and makes it the main monitor and the living room sound system the main playback device for when we want to use Windows to play games on the TV. Basically, I press Ctrl+Alt+2, sync the controllers with the xbox 360 wireless receiver for windows, and I'm good to go! <br/>
<br/>
The problem arises when we want to play the actual xbox 360. When the computer is on, we can't sync the controllers to our actual Xbox 360 again because they auto join the computer's wireless receiver. This is why I want a script to disable the wireless controller receiver (USB device) whenever I switch the monitor profile 1 (press Ctrl+alt+1) and reenable the USB device whenever I switch to monitor profile 2 (press Ctrl+alt+2). However, I don't know the first thing about scripting. Could someone help me make this script to perfect my setup?? If you need the maps of my USB ports, just let me know, but I prefer to disable the device directly rather than disable the specific USB port it sits in because the wireless keyboard is connected to the same USB port.<br/>
<br/>
Thank you so much in advance!
</div>
]]></content:encoded>
</item>
</channel>
</rss>