Printers,  Windows Tips

Speed up a printer install “device setup in progress” in Windows 10

device setup in progress

When installing a new printer at work, I have had issues with the new printer not appearing in Control Panel – “Devices and Printers”.

If the PC is behind a proxy server (Common in business/corp/edu) and does not have direct web access then it can take a few minutes for the printer to appear or may not appear at all.

I discovered Windows is trying to download the correct icon for the particular printer.

As of September and November 2019 Microsoft have had issues with the metadata server. This means Windows cannot contact the metadata server and download the correct icon, therefore the printer is stuck on “Device setup in progress”.

If you change a registry setting it will prevent the icon lookup to the MS metadata server and the printer will appear instantly.

Need a fast & reliable VPN provider that works in China and countries where internet access is restricted? ExpressVPN now has over 3k servers in 160 locations spanning 94 countries. Need support with your VPN? No problem! ExpressVPN has 24/7 live chat support. It isn't the cheapest VPN provider however it is the best.

Solution:

  1. Use regedit.exe to edit the registry
  2. Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata
  3. Edit the key named PreventDeviceMetadataFromNetwork
  4. Change the value from 0 to 1
  5. A restart may be required

An alternate solution (If you don’t want to touch the registry):

  1. Right click on the start button and click on run (or Windows Key + R). Type in Rundll32.exe %SystemRoot%\System32\newdev.dll,DeviceInternetSettingUi

Group Policy Solution:

Enable the group policy item under Computer/Policies/Administrative Templates/System/Device Installation/Prevent device metadata retrieval from the Internet.

Tech Details:

This registry entry:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Metadata\DeviceMetaDataServiceURL

Has a value of: 
http://go.microsoft.com/fwlink/?LinkID=252669&clcid=0x409

The MS URL (above) redirects to:
https://devicemetadataservice.trafficmanager.net/dms/metadata.svc

By opening Event Viewer, under Application and Services Logs, Microsoft, Windows, DeviceSetupManager you may see notifications such as:

"A connection to the Windows Metadata and Internet Services (WMIS) could not be reached.

or 

"Metadata staging failed, result=0x8007000D for container '{00000000-0000-0000-FFFF-FFFFFFFFFFFF}'"

September 2019 Update:

13/Sept/2019 – This page has been receiving a lot of hits and this possibly could be due to the Microsoft metadata server not working.

In this case the fix will help everyone with adding new printer issues and not just those users who use a proxy server at work.

The issue has been reported on Reddit (here, here and here) and other sites.

18/Sept/2019 – It appears MS have fixed the metadata server and I hear reports installing printers is not causing the “device setup in progress” issue.

November 2019 Update:

4/Nov/2019 – This page is receiving a lot of traffic again. It appears there could be an issue with the MS metadata server again. See posts here and here.

The fix described above should fix your issue while the MS metadata server has issues.

See an example of the traffic spike.

7/Nov/2019 – MS have provided an update regarding the MS metadata server, however it appears to still have issues.

Extra Info:

I have written a couple of articles which explain how to:

How to set printing preferences via command line in Windows

How to set the default printer via command line in Windows

How to add and remove a printer via Powershell in Windows

Please comment below or post at the TSF FORUMS if this solution has helped you or not?

Did our article help you? Here are some ways you can help us.

Have a look at our IT Tech Tool Kit List, need ideas on what to buy? I have listed my top 30 tools here.

Buy me a coffeeBuy me a coffee

Rating: 5.0/5. From 22 votes.
Please wait...

8 Comments

  • martin ebell

    This did help.

    Rating: 3.0/5. From 2 votes.
    Please wait...
    • TSF Admin

      Thanks for the feedback, Martin. Greatly appreciated. Did this help at work or home?

      Rating: 4.5/5. From 2 votes.
      Please wait...
  • eltrkbrd

    I’m not behind a proxy (internal LAN connecting to NAT Router/Cable Modem).

    Windows 10 Pro x64 v1903 (build 18362.356) – Windows update broke my printer installation capabilities.

    Drivers are built in for Brother 7020 Printer (USB laser multifunction).

    The printer would show installed under “devices and printers” under but stuck on the “device setup in progress”.

    The same problem occurred on a clean install of Windows 10 on another computer.

    The registry hack you mentioned worked perfectly on both systems after a reboot.

    On one computer it was necessary to remove the device and allow it to reinstall after the registry hack.

    This wasn’t an issue before, apparently Windows update broke certain functionality with legacy printers.

    Thanks!

    Rating: 5.0/5. From 3 votes.
    Please wait...
    • TSF Webmaster

      Thanks for the feedback. Great to hear the reg hack worked!

      Rating: 3.0/5. From 1 vote.
      Please wait...
  • User Vulgaris

    Device metadata service is broken for me in Latvia too. In the last days adding printer hangs it. Registry hack works. But if you actually need that metadata then you are out of luck.

    Rating: 5.0/5. From 1 vote.
    Please wait...
  • outdated or unsafe TLS security settings

    https://devicemetadataservice.trafficmanager.net/dms/metadata.svc

    Can’t connect securely to this page

    This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.

    Your TLS security settings aren’t set to the defaults, which could also be causing this error.

    So if you’re blocking outdated or unsafe TLS for PCI compliance that’s not gonna work.

    Thanks for the registry fix.

    Rating: 1.0/5. From 1 vote.
    Please wait...
  • Ima Nonymous

    THANK YOU so much! The reg hack fixed the “setup in progress” issue.

    Rating: 5.0/5. From 2 votes.
    Please wait...
  • Mike Sayers

    YESSS!!! On our domain we were having this everywhere. Setting group policy Computer/Policies/Administrative Templates/System/Device Installation/Prevent device metadata retrieval… to Enabled solved it! Thank You! grumble mumble microsoft

    Rating: 5.0/5. From 1 vote.
    Please wait...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.