Win10 switches disabled devices back on


  1. Posts : 7
    Windows 10 Professional 64 bit
       #1

    Win10 switches disabled devices back on


    I want to keep NVIDIA High Definition Audio disabled as it causes my games to hang after a while of playing.
    So, I've disabled it in the devices manager and never install any drivers for it.
    Every now and then Windows puts it back on though which is really annoying
    Is there any way to force Win10 to keep its dirty hands off my device manager settings?
    Drivers auto update is already disabled.
      My Computer


  2. Posts : 5,452
    Windows 11 Home
       #2

    Install a wrong driver for it (uncheck Show only compatible driver) and then disable it.
      My Computer


  3. Posts : 268
    Windows 10 Pro x64 v22H2
       #3

    We can schedule a task that disables the audio device on each startup. That task will use a tool we can get from the Windows Driver Toolkit.

    Right click the audio device you want to disable, select Properties then the Details tab. Use the pull down menu to select Hardware Ids. Copy/paste the result to your next post.
      My Computer


  4. Posts : 7
    Windows 10 Professional 64 bit
    Thread Starter
       #4

    computergeek said:
    we can schedule a task that disables the audio device on each startup. That task will use a tool we can get from the windows driver toolkit.

    Right click the audio device you want to disable, select properties then the details tab. Use the pull down menu to select hardware ids. Copy/paste the result to your next post.
    hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81&rev_1001
    hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81
      My Computer


  5. Posts : 268
    Windows 10 Pro x64 v22H2
       #5

    The tool is called devcon. Rather then downloading the entire Windows driver kit (many gigabytes) to get it here's instructions to get a legit copy from Microsoft compatible with Win 10 x64 Anniversary Update (original full post found HERE.)
    • Click to download 787bee96dbd26371076b37b13c405890.cab from Microsoft
    • Extract to a folder
    • Find file filbad6e2cce5ebc45a401e19c613d0a28f (copy/paste the filename into File Explorer search box - see snapshot below)
    • Copy the file to your Desktop. Rename it devcon.exe
    • Move it to C:\Windows\System32

    Go to an elevated command prompt . Type devcon /?
    If it's installed correctly, you'll see the help message.

    Now you can easily enable/disable the device. In admin command prompt you can type these commands to enable or disable the device
    Code:
    devcon disable "hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81"

    Code:
    devcon enable  "hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81"


    Now go to Windows task scheduler. Add a task that runs a script on each startup where the command is devcon and arguments are as follows.
    If you need help creating the task, let me know
    Code:
    disable "hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81"
    Attached Thumbnails Attached Thumbnails Win10 switches disabled devices back on-2017-02-17_133522.jpg  
      My Computer


  6. Posts : 7
    Windows 10 Professional 64 bit
    Thread Starter
       #6

    Thanks for your help, ComputerGeek.
    I don't know how to create a task, I had a look at the task scheduler and got really confused... lol
    I've gotten as far as saving defcon.exe in system32.
    Further help with creating the task would be greatly appreciated.
      My Computer


  7. Posts : 268
    Windows 10 Pro x64 v22H2
       #7

    Hey, no problem. Run Task Scheduler.
    1. In the right pane, click Create Task (not "Create Basic Task")
    2. General tab
      • Name: type whatever you want to name the task, such as Disable Audio
      • Click the radio button Run whether user is logged on or not
      • At bottom of windows see Configure for: pulldown menu. Select Windows 10

    3. ​Triggers tab
      • Click New
      • New Triggers box appears. On Begin the task: use the pull down to select At startup
      • Click OK

    4. Actions tab
      • Click New
      • New Actions box appears. For Action: we use the default already set to Start a program
      • Program/Script: type
        Code:
        devcon
      • Add arguments: type
        Code:
        disable "hdaudio\func_01&ven_10de&dev_0083&subsys_10de1b81"
      • Click OK


    Now click OK to complete the task. You'll be prompted for a userid/password. This should be a userid with admin rights. It will be used to run the task at startup

    Finally, we can now test it. In the left pane, under Task Scheduler Library you should find the task you created. Enable the audio in device manager. Right click the task and select Run. Does the audio device change to disabled?
      My Computer


  8. Posts : 7
    Windows 10 Professional 64 bit
    Thread Starter
       #8

    Thanks very much. Yes, it disables the nvidia crap, I've just checked.
    I really appreciate your help.
      My Computer


  9. Posts : 268
    Windows 10 Pro x64 v22H2
       #9

    I should add... running this task at start-up won't necessarily prevent Windows from still re-enabling the device (depends on what's triggering the re-enable and when it occurs). Though, it's a light weight task, so you might also choose to run the task more frequent should you want to try

    Hope it helps keep the problem at bay
      My Computer


  10. Posts : 268
    Windows 10 Pro x64 v22H2
       #10

    @andyKCIUK

    Footnote: In worst case, you can also put the devcon disable command in a batch file on your Desktop. Then it's a simple double click to manually disable the device again if needed.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:45.
Find Us




Windows 10 Forums