Undetectable Humanizer: Lifetime Subscription
Transform AI-Generated Text into Human-Like, High-Ranking Content & Bypass Even the Most Sophisticated AI Detectors
Get 95% Deal

Stop Windows from installing drivers for specific devices

Martin Brinkmann
Jun 3, 2017
Windows
|
24

Windows may install drivers for select devices, say the graphics card, under certain circumstances. This happens by default for instance when the device is setup, but may also happen when Microsoft pushes driver updates through Windows Updates.

We published a tutorial -- How to disable driver updates from Windows Update -- previously that highlights three methods to block Microsoft from installing device drivers through Windows Update.

If you need to reinforce the protection, for instance because a Windows Update reset the settings you configured using the previous guide, then you may find this tutorial particularly useful.

It may also be useful if you don't mind the driver installation for some devices, but need to block it for others. If you use a custom color profile for your video card for instance, you may not want Microsoft driver updates for the video card to erase that each time that happens.

Block driver installations for specific devices

The following method requires access to the Group Policy Editor on Windows. This is reserved to professional versions of Windows. Also, the policy works on all versions of Windows from Windows Vista to Windows 10.

The process will block any driver installation or update for the specified devices, and it has priority over any other setting related to the installation of device drivers on Windows.

Preparation

You need to make sure that the desired driver is installed. If that is the case, great, head over to the second step of the process.

If the Windows driver is installed currently do the following:

  1. Download the device driver that you want to install.
  2. Disconnect the PC from the Internet. You may disconnect the Ethernet cable, disable WiFi, or use a program like Net Disabler or Turn Internet Off.
  3. Open the Windows Device Manager:
    1. Tap on the Windows-key on the keyboard, type devmgmt.msc, and hit the Enter-key.
  4. Locate the device in the device listing, right-click on it, and select properties from the context menu.
  5. Switch to the Drivers tab.
  6. The next step depends on the Windows version. On Windows 7, you'd select uninstall to uninstall the driver. On Windows 10, you can only select "uninstall device" instead.
  7. Install the driver that you want used on the Windows machine after the Windows driver has been removed.

Look up the hardware ID

device hardware id

  1. You need to launch the Device Manager again if it is closed already. Instructions on how to do so are found under 3 above.
  2. Locate the device again, and select Properties from the context menu.
  3. Switch to the details tab afterwards.
  4. Select Hardware IDs from the menu at the top.
  5. Right-click on the ID, and select Copy from the context menu to copy it to the Windows Clipboard.

Block Driver installations on Windows for that particular device

prevent installation device drivers

Here is how you block the installation of drivers for specific devices based on the device's hardware ID:

  1. Tap on the Windows-key, type gpedit.msc, and hit the Enter-key. This opens the Group Policy Editor on Windows.
  2. Go to Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions.
  3. Double-click on "Prevent installation of devices that match any of these device IDs".
  4. Switch the status of the preference to enabled.
  5. Click on the show button afterwards.
  6. Add hardware IDs for the devices that you don't want Windows to update under value (in each row one device). You can add plug and play hardware IDs or compatible IDs. Note that one hardware ID is enough, you don't need to add all that are listed.
  7. Click ok once you are done.

Policy Description:

prevent installation

This policy setting allows you to specify a list of Plug and Play hardware IDs and compatible IDs for devices that Windows is prevented from installing. This policy setting takes precedence over any other policy setting that allows Windows to install a device.

If you enable this policy setting, Windows is prevented from installing a device whose hardware ID or compatible ID appears in the list you create. If you enable this policy setting on a remote desktop server, the policy setting affects redirection of the specified devices from a remote desktop client to the remote desktop server.

If you disable or do not configure this policy setting, devices can be installed and updated as allowed or prevented by other policy settings.

Further information is provided by Microsoft on the company's Technet website.

Closing Words

You can reconnect the device to the Internet at this stage. Windows should from now on ignore the device when it comes to driver updates.

Note that this prevents the installation of driver updates from any source, and that you need to repeat the process above to update drivers.

Resources

Summary
Stop Windows from installing drivers for specific devices
Article Name
Stop Windows from installing drivers for specific devices
Description
Find out how to prevent Windows or users from installing device drivers for selected hardware devices on PCs running Vista or newer versions of Windows.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. RUKY P said on February 4, 2022 at 11:41 pm
    Reply

    thanks a bunch, ive been looking for a way to do this

  2. Jeff Schalles said on September 13, 2021 at 3:54 pm
    Reply

    We have 2 older Epson Claria 6-ink printers that have been working fine for years. Periodically, Microsoft AND Apple push an upgrade in the middle of the night and “helpfully” update the Epson drivers. After that, both printers print washed-out useless prints. I learned a while back to go back to the original install CD and re-install the perfectly good original drivers, but not until I’ve wasted expensive paper and ink, because I keep forgetting that it’s not the printer causing the problem.

    The fact that both Microsoft and Epson are doing this at more-or-less the same time is disconcerting, making me think Epson (who no longer makes or supports these older 6-color printers) is illegally colluding with both Microsoft and Apple to disable our perfectly good printers, and force us to buy the latest pricy Epson models and really, really, expensive 8-color ink cartridges.

    I will now attempt to configure the settings so the annoying Epson driver “upgrade” is blocked on both the Mac and PC printers and cross my fingers that I can end this annoying nightmare. Thank you for your advice!

  3. MadK9 said on June 20, 2021 at 9:55 am
    Reply

    Easy and simple way to get rid of that annoying installation sounds every time my pc boots!
    Even if everything is working fine on my pc, a sound of driver installation is always present at every boot… and as long I cannot give device manager a path to the proper driver I’m forced to apply this method!
    Thanks Martin!

  4. mquck56 said on September 16, 2020 at 4:27 pm
    Reply

    W10 (18363.1016 Enterprise) is still trying to install old intel uhd 620 drivers. I’ve tried all 4 different hardware ID’s associated with it and somehow windows still decides it wants to try and install old outdated drivers. I ended up just blocking the driver update with the wushowhide utility.

  5. Vasant Bhide said on May 25, 2020 at 2:23 pm
    Reply

    Hello,

    Somehow, I do not see the “Device Installation” folder in “Computer Configuration > Administrative Templates > System”, in the group policy editor. Any thoughts ?

  6. Ann Bodi said on September 3, 2019 at 10:25 pm
    Reply

    Any ideas of how to do this for those without group-policy, like “Home edition of windows 10”.

    1. Vasant Bhide said on May 25, 2020 at 2:40 pm
      Reply

      Hi,

      Try “mmc gpedit.msc” in the “Run” window (“Window Key + “R”) or, try this link: https://www.itechtics.com/easily-enable-group-policy-editor-gpedit-msc-in-windows-10-home-edition/ (found this on google after searching for “install gpedit.msc windows 10 home”)

      1. Cemre said on June 11, 2023 at 6:31 pm
        Reply

        Thank both of you very much, I finally solved my problem.

  7. Alexander said on April 18, 2019 at 12:19 am
    Reply

    But I have not found policy to prevent driver uninstall.
    It says: I want to change this driver. Kill the old driver. Then: ops, I can not install drivers for this device, it is forbidden by policy, sorry.

  8. Jonatas said on November 4, 2018 at 2:57 am
    Reply

    That was been very useful, thanks alot!

  9. Alexander said on July 23, 2018 at 5:46 pm
    Reply

    Is there way to prevent uninstalling this selected and installed driver? Windows notices there is a “better driver”, uninstalls my driver, then applies this policy and does not install any driver.
    Logitech camera, I need generic video driver.

  10. Rishi Shetty said on July 15, 2018 at 1:52 pm
    Reply

    Thank you very much the solution worked for disabling the built in keyboard of my laptop.
    I had to disable it because it would type random characters

  11. Massimo said on December 28, 2017 at 9:35 am
    Reply

    hi
    is it possible somehow (i’m confused how policy editor do exactly the opposite of what i need) prevent installation of any USB mass storage device except any of the devices listed somehow somewhere?
    it will be usefull for example to prevent the use of any USB sticks but a certain kind of a certain supplier we known to be safe.

    Thank you

  12. Miskkie said on June 6, 2017 at 4:18 pm
    Reply

    I have a Vaio laptop for secondary use where the gfx is a little wonky and every single windows update ends up in permanently booting to a black screen. Have to have updates disabled and then manually update every 6months or something and have to fix it via safe mode/uninstall driver and works till next time I update. FFS Microsoft can’t just let us actually easily select “don’t update drivers for this part”.

  13. George said on June 4, 2017 at 11:01 pm
    Reply

    This is a good and useful tip, a pity MS made this senseless usability downgrade from previous Windows editions.

    You should note that if you set the policy back to “Disabled” or “Not Configured”, all of your device ID entries will be instantly gone and you’ll have to enter them again. How cool is that?

  14. buffer said on June 4, 2017 at 10:30 pm
    Reply

    Cool. Bookmarked

  15. Steven Abeyta said on June 4, 2017 at 4:24 am
    Reply

    Thank you for this. I’ve had trouble with WIndows 10 for weeks now. After installing a recent update I have internet and video playback issues. For now I changed my wifi connection to “metered” to prevent any updates from installing, but with these steps I can get the updates that won’t screw up performance.

  16. Fena said on June 4, 2017 at 3:27 am
    Reply

    A few years ago there was an update for my USB3 adapter & I thought it would improve so let it install. This crashed my computer & would no longer boot. That was the last time I allow any driver updates.

    My macrium backup saved the day. Up & running in 20 minutes. I love macrium & it’s free.

  17. 420 said on June 3, 2017 at 9:16 pm
    Reply

    Yeah except until windows 10, windows was never used to directly make revenue from its own user base. That is the difference, before windows 10, windows was used to make revenue from selling windows.

  18. P said on June 3, 2017 at 3:08 pm
    Reply

    Windows 10, not your operating system anymore.

    1. Corky said on June 3, 2017 at 5:07 pm
      Reply

      Technically speaking Windows has never been customers operating system as we only ever licensed it from Microsoft.

      1. www.com said on June 6, 2017 at 11:54 am
        Reply

        Yeah, but who believes in “technicals”. It’s all about CONTROL now, or lack thereof…

  19. Jeff said on June 3, 2017 at 3:03 pm
    Reply

    So much pain and torture to avoid automatic driver install – something you could easily do from Windows 95 to 8.1. Just ignore Windows 10 until the MS CEO is changed again for incurring losses on the More Personal Computing division.

  20. Richard Allen said on June 3, 2017 at 2:06 pm
    Reply

    Why didn’t I know that you can ‘block the installation of drivers for specific devices’ with the Group Policy Editor? Jeez! Thank You Sir!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.