none
High CPU usage on svchost.exe (DsmSvc) up to 2h after OS deployment of Windows 10 Anniversary Update 1607

    Question

  • I'm running a test deployments of the Windows 10 Anniversary Update 1607 image and having problem with the svchost.exe CPU  consumption (100%) for two hours after the deployment. All the latest patches is installed on the image.

    I have tried to stop and disabling the Windows Update service but the problem seems to be something else. I have deployed two different computer models with the same problem.

    When I look at the Threads in the process with Process Explorer I see that it's DsmSvc (Device Setup Manager) that are consuming CPU.

    Any ideas? 

    Tuesday, August 16, 2016 9:36 AM

Answers

  • We have now solved this.

    After many hours of troubleshooting we discovered that it was our proxy (Cisco WSA Web Security Appliance) that was triggering the problem. We created exclusion lists for all the many Microsoft URLs that is in use by Windows Update and Windows Store.

    This is new behavior for this Windows 10 version 1607.

    • Marked as answer by Name Yourself Friday, August 19, 2016 7:35 AM
    Friday, August 19, 2016 7:35 AM

All replies

  • So this is a CM12 forums, is there a reason why you posted here verse the Window 10 forum? Should a moderator move this post for you?

    Garth Jones

    Blog: http://www.enhansoft.com/blog Old Blog: http://smsug.ca/blogs/garth_jones/default.aspx

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    Tuesday, August 16, 2016 11:36 AM
  • So this is a CM12 forums, is there a reason why you posted here verse the Window 10 forum? Should a moderator move this post for you?

    Garth Jones

    Blog: http://www.enhansoft.com/blog Old Blog: http://smsug.ca/blogs/garth_jones/default.aspx

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    It is deployed with CM12 and you find the best knowledge here.
    Tuesday, August 16, 2016 11:41 AM
  • It is deployed with CM12 and you find the best knowledge here.

    So you will likely not get much of an answer here and even if someone does know about the issue no one here can fix it for you. 

    I would wait for one of the moderators to move this post to Windows 10 forum, where you can get someone to help fix this for you.


    Garth Jones

    Blog: http://www.enhansoft.com/blog Old Blog: http://smsug.ca/blogs/garth_jones/default.aspx

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    Tuesday, August 16, 2016 12:59 PM
  • It is deployed with CM12 and you find the best knowledge here.

    So you will likely not get much of an answer here and even if someone does know about the issue no one here can fix it for you. 

    I would wait for one of the moderators to move this post to Windows 10 forum, where you can get someone to help fix this for you.


    Garth Jones

    Blog: http://www.enhansoft.com/blog Old Blog: http://smsug.ca/blogs/garth_jones/default.aspx

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    I think this a observation that is relevant for all who works with Windows 10 Enterprise deployments.

    I suspect that this is a bug in the new Windows 10 1607. We already have a Windows 10 1511 deployment running since November and haven't had this problem on computers running 1511.

    This is one of all the problems that I have noticed with 1607.

    Update on the troubleshooting:
    I added some commandlines in the end of the OSD that disables the "Device Setup Manager" and "Windows Update" service. The result is as expected. No problem with the svchost CPU consumption. Of course that is just troubleshooting and not a solution. But I suspect something is still messed up with the Windows Update after KB3176495 (Cumulative update for Windows 10 Version 1607: August 9).

    Tuesday, August 16, 2016 1:52 PM
  • We have now solved this.

    After many hours of troubleshooting we discovered that it was our proxy (Cisco WSA Web Security Appliance) that was triggering the problem. We created exclusion lists for all the many Microsoft URLs that is in use by Windows Update and Windows Store.

    This is new behavior for this Windows 10 version 1607.

    • Marked as answer by Name Yourself Friday, August 19, 2016 7:35 AM
    Friday, August 19, 2016 7:35 AM
  • We're seeing the same behavior with 1607, where DsmSvc within svchost.exe will consume 100% cpu time both during and after the task sequence.  In some cases the task sequence would actually abort because it didn't have enough resources to finish installing applications in our task sequence.  We didn't have this problem with 1511.

    We believe the CPU usage is because DsmSvc is attempting to query device metadata online, and in our case the URL that it's querying is actually blocked by our upstream service provider.  We're not in a position to get it unblocked.  Yay government.  The URL affected is http://dmd.metaservices.microsoft.com/dms/metadata.svc

    Our workaround is to add the following two registry strings to the WIM file (not in the task sequence since that's already impacted).  This prevents querying the metadata service and Windows Update for any drivers online, and we can confirm that our CPU usage has dropped to normal levels both during the task sequence and after it completes.

    • Key = HKLM\Software\Policies\Microsoft\Windows\Device Metadata
    • Type = REG_DWORD
    • Value = PreventDeviceMetadataFromNetwork
    • Data = 1

    • Key = HKLM\Software\Policies\Microsoft\Windows\DriverSearching
    • Type = REG_DWORD
    • Value = DriverServerSelection
    • Data = 1


    Do it right.

    Tuesday, September 27, 2016 5:02 AM
  • Yeah, NO! Sorry that does not work for me ether! All Windows support does is tell you to reimage your PC! I am having the same problem on only 1 of 2 sister PC's Device Setup Manager will not Stop! is using CPU Resources!  I can keep it from loading in MSCONFIG and turn Device Setup Manager OFF!  This is not a fix, Also: If I boot in Safe mode it does not run! Of course! Because none of window's services are running in safe mode that affect Device Setup Manger!!! These are the kinds of things that Microsoft support had me try and then just tolled me to rebuild the PC! That's a cop-Out!  I can not do this as it would take a very long time to reload the hundreds of applications I have in these PC's  And then to have to re-register them its just crazy! Something simple is causing this! I want to fix it and know what it is that caused it so that I can let others know would be much more helpful! I am working on this in my spare time and I will find it! Or I well disable Device Setup Manager until a problem comes up for that! I have run the PC for 3 weeks now with it disabled and am having NO problems?   I have an out side driver updater and all drivers are current and have checked that with a windows driver updates and confirmed it, Everything is running normal and good as long as Device Setup manager is disabled.  If anyone has any info on this please reply in this forum or windows or any forum as I read most of them, Thank you.. 
    Saturday, March 18, 2017 8:01 PM