Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Fix: CDPUserSvc Has Stopped Working in Windows 10 / Windows Server 2016

June 26, 2018 Windows 10Windows Server 2016

Fix: CDPUserSvc Has Stopped Working in Windows 10 / Windows Server 2016

After the installation of latest security updates on Windows 10 / Windows Server 2016, users began to complain about persistent failures of the CDPUserSvc service. In this post we’ll look at what the CDPUserSvc service is, why it periodically terminates unexpectedly, how to fix this problem and whether it is possible to disable this service in Windows 10 / Windows Server 2016.

Service CDPUserSvc first appeared in Windows 10, and from the very beginning it causes users a lot of questions and creates a number of problems.

Contents:
  • Error: CDPUserSvc_xxxxx Has Stopped Working
  • What is the CDPUserSvc Service?
  • CDPUserSvc Isolation
  • How to Disable CDPUserSvc Service

Error: CDPUserSvc_xxxxx Has Stopped Working

Quite recently some Windows 10 / Windows Server 2016 users have started to complain about the following error that appeared at Windows startup, shutdown or even every few minutes:

CDPUserSvc_xxxxx has stopped working. A problem caused the program to stop working correctly. Close the program.

CDPUserSvc_xxxxx has stopped working.

In the application log, the error like this constantly appears:

Faulting application name: svchost.exe_CDPUserSvc_12cff5, version: 10.0.14393.0, time stamp: 0x57899b1c
Faulting module name: cdp.dll, version: 10.0.14393.1715, time stamp: 0x59b0d38c
Exception code: 0xc0000005
Fault offset: 0x0000000000193cf5
Faulting process id: 0x4484
Faulting application start time: 0x01d35ebff3f9a7f5
Faulting application path: C:\WINDOWS\system32\svchost.exe
Faulting module path: c:\windows\system32\cdp.dll
Report Id: f7159168-5104-440e-34c1-6b42ed6649ee
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: svchost.exe_CDPUserSvc_12cff5

On Windows 10 computers, some users reported this error after the installation of Anniversary Update (1607) or Fall Creators Update (1709). In this case, you should try to start the CDPUserSvc service in an isolated process or completely disable it (see below).

In most cases, this bug is caused by the November update KB4048953 update for Windows Server 2016 and Windows 10.

If you have this update installed, to get rid of the problem, it’s enough to correctly uninstall the KB4048953 update (wusa.exe /uninstall /kb:4048953) or wait for the next cumulative update package, in which the bug should be fixed.

What is the CDPUserSvc Service?

CDPUserSvc means Connected Devices Platform User Service. The full name of the service is dynamic and consists of the string CDPUserSvc_ and 5 randomly generated characters (in my example, it is CDPUserSvc_65bd2).

In different Windows 10 builds, CDPUserSvc has a different startup type:

  • In Windows 10 1507 – manual startup;
  • In 1511 the service is disabled;
  • In 1607, 1703, 1709, 1803 – start type Automatic.

sc query| find "CDPUser"
sc query CDPUserSvc_65bd2

sc query CDPUserSvc_65bd2

The service is started in the svchost process: svchost.exe -k UnistackSvcGroup

The executable is %WinDir%\System32\CDPSvc.dll

It is interesting that if you open the console with the list of services (Services.msc) and find CDPUserSvc, you’ll see that there is the following text in the description:

“Failed to read description. error code 15100”

CDPUserSvc Failed to read description. error code 15100

It is not clear why it happens.

I couldn’t find any official information from Microsoft about this service. If you analyze the CDPUserSvc connections, you can find that this service regularly connects to Microsoft and OneDrive servers and sends some data over HTTPS. Let’s see what the processes run in UnistackSvcGroup look like. To do it run Process Explorer, open svchost.exe properties and look at them.

Five services are running in this process (please, note that all of them contain the same 5-character identifier as CDPUserSvc):

  • CDPUserSvc_xxxxx
  • OneSyncSvc_xxxxx – is responsible for synchronization of mail, contacts, calendar and other user data;
  • PimIndexMaintenanceSvc_xxxxx – is the contact indexing service for faster search;
  • UnistoreSvc_xxxxx – stores structured user data (contacts, calendar, mail);
  • UserDataSvc_xxxxx – provides access to the structured user data.

UnistackSvcGroup threads

It is likely that CDPUserSvc is also responsible for synchronization of user data with MSFT servers. (Is it the telemetry? Do you really need it?) So CDPUserSvc may be disabled without any harm to your OS (of course, if you are not using native Windows 10 contacts, mail and calendar apps).

CDPUserSvc Isolation

Another solution that should fix the problem of constant CDPUserSvc_xxxxx service crash is running it in an isolated mode. To do it, run this command in the elevated command prompt:

sc config cdpusersvc type= own

[SC] ChangeServiceConfig SUCCESS

cdpusersvc run in isolated mode

After that CDPuserSvc will start in its own svchost.exe process. Check if the problem of CDPuserSvc failure persists. If it does, try to disable the service.

How to Disable CDPUserSvc Service

If you stop CDPUserSvc_6b511 manually and set it to Disabled in the Service Management (services.msc), it some time it will resume again (under another name).

Note. It is interesting that if you remove this service from the registry, in some time it appears again under another name. The system tries to prevent deleting this service. (It seems, Microsoft applies the best practices of virus developers 😉 .)

You can disable the launch of this service in the registry. To do it, change the value of the Start parameter from 2 (Automatic startup) to 4 (Disabled) in the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CDPUserSvc.

CDPUserSvc disable service autostart

Or run these commands:

sc config CDPUserSvc start= disabled
reg add "HKLM\SYSTEM\CurrentControlSet\Services\CDPUserSvc /v "Start" /t REG_DWORD /d "4" /f

1 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Check Who Reset the Password of a User in Active Directory
next post
Complete List of Windows Update Error Codes

Related Reading

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Enable Internet Explorer (IE) Compatibility Mode in Microsoft...

January 27, 2023

How to Disable or Uninstall Internet Explorer (IE)...

January 26, 2023

How to Delete Old User Profiles in Windows?

January 25, 2023

1 comment

PP March 8, 2020 - 11:02 am

Well, in my version, after the February 2020 update, I can not disable or change the value to disabled as the service responds with: Invalid parameter value, and I ‘m running this as an Admin of course..

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023
  • Adding Trusted Root Certificates on Linux

    January 9, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to increase KMS current count (count is insufficient)
  • How to Disable UAC Prompt for Specific Applications in Windows 10?
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Managing Printers from the Command Prompt in Windows 10 / 8.1
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top