484 links
265 private links
  • When 140 characters is not enough!
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • thumbnail
    Per-user services | Microsoft Learn

    Learn about per-user services, how to change the template service startup type, and manage per-user services through group policy and security templates.

    Per-user services in Windows

    When a user signs in to Windows, the OS creates per-user services. When the user signs out, these services are stopped and deleted. They run in the security context of the user account instead of a built-in security principal. This behavior provides better resource management than the previous approach of running these services associated with a preconfigured account or as tasks.

    Windows creates these per-user services based on templates defined in the registry. If you need to manage or control behaviors of these services, you can adjust the template. For example, you can set a template service's startup type to Disabled. In this example, Windows creates the per-user service in a stopped and disabled state.

    Use the information in this article to understand per-user services, configure user service templates, and manage per-user services through group policy and security templates.

    List of per-user services

    The following table lists per-user services in the current version of Windows. Other versions of Windows 10/11 might not have the same services available.

    Before you reconfigure any of these services, review this information to understand the implications. For example, if you disable the per-user service, there might be dependent apps that don't work correctly.

    Display name Service name Default start type Dependencies Description
    Agent Activation Runtime AarSvc Manual Runtime for activating conversational agent applications.
    Bluetooth User Support Service BluetoothUserService Manual Supports proper functionality of Bluetooth features relevant to each user session.
    OneCore Capture Service CaptureService Manual Enables optional screen capture functionality for applications that call screen capture APIs of the Windows.Graphics.Capture namespace.
    Clipboard User Service cbdhsvc Automated (Delayed Start) Windows uses this user service for clipboard scenarios. For example, clipboard history or sync across devices. For more information, see Clipboard in Windows.
    Cloud Backup and Restore Service CloudBackupRestoreSvc Manual Monitors the system for changes in application and setting states. When required, this service does cloud backup and restore operations.
    Connected Devices Platform User Service CDPUserSvc Automatic Network Connection Broker ; Remote Procedure Call (RPC) ; TCP/IP Protocol Driver This service allows the user to connect, manage, and control connected devices. These connected devices include mobile, Xbox, HoloLens, or smart/IoT devices. For one specific example, see Share things with nearby devices in Windows.
    Consent UX User Service ConsentUxUserSvc Manual Allows the system to request user consent to allow apps to access sensitive resources and information such as the device's location.
    Contact Data PimIndexMaintenanceSvc Manual UnistoreSvc Indexes contact data for fast contact searching. If you stop or disable this service, contacts might be missing from your search results.
    Credential Enrollment Manager CredentialEnrollmentManagerUserSvc Manual This service supports the secure storage and retrieval of user credentials. For example, tokens for web sites, remote desktop connections, or other apps.
    Device Association Broker DeviceAssociationBrokerSvc Manual DevicePicker ; Shell Pairing UX Supports in-app pairing and access checks for new device scenarios.
    Device Picker DevicePickerUserSvc Manual Windows uses this user service to manage Miracast, Digital Living Network Alliance (DLNA), and Discovery and Launch (DIAL) experiences.
    Devices Flow DevicesFlowUserSvc Manual Allows the Connect user interface and Settings app to connect and pair with WiFi displays and Bluetooth devices.
    Game DVR and Broadcast User Service BcastDVRUserService Manual Windows uses this user service for game recordings and live broadcasts.
    Messaging Service MessagingService Manual This service supports text messaging and related functionality.
    Now Playing Session Manager NPSMSvc Manual The now playing session manager (NPSM) service manages media sessions running on the device.
    Plan 9 Redirector Service P9RdrService Manual Enables trigger-starting plan9 file servers, which are supported by Windows Subsystem for Linux. For more information, see Plan 9 from Bell Labs.
    Pen Service PenService Manual When you press the tail button on a pen input device, this service responds to those actions. It can launch applications or take another action that you customize in Settings. For more information, see user documentation on How to use your Surface Pen or hardware developer documentation on Pen devices.
    Print Workflow PrintWorkflowUserSvc Manual Provides support for Print Workflow applications. If you turn off this service, some printing functions might not work successfully.
    Sync Host OneSyncSvc Automated (Delayed Start) This service synchronizes mail, contacts, calendar, and other user data. When this service is stopped, mail and other applications dependent on this functionality don't work properly.
    UDK User Service UdkUserSvc Manual Windows uses this service to coordinate between shell experiences.
    User Data Access UserDataSvc Manual UnistoreSvc Provides apps access to structured user data, including contact info, calendars, messages, and other content. If you stop or disable this service, apps that use this data might not work correctly.
    User Data Storage UnistoreSvc Manual Handles storage of structured user data, including contact info, calendars, messages, and other content. If you stop or disable this service, apps that use this data might not work correctly.
    Web Threat Defense User Service webthreatdefusersvc Automatic This service helps protect your computer by warning the user when unauthorized entities attempt to gain access to their credentials.
    Windows Push Notifications User Service WpnUserService Automatic This service hosts the Windows push notification services (WNS) platform, which provides support for local and push notifications. Supported notifications are tile, toast, and raw.

    View per-user services

    You can't view the user service templates outside of the Windows Registry, but you can see the user-specific per-user services. Windows displays these services with the following format: <service name>_LUID where <service name> is the display name of the user service and LUID is a locally unique identifier for the user context.

    For example, you might see the following per-user service names:

    Contact Data_443f50
    Sync Host_443f50
    User Data Access_443f50
    User Data Storage_443f50

    Note: The display name and the service name for all per-user services include the same LUID suffix.

    How to disable per-user services

    The templates for user services aren't displayed in the Services console (services.msc). To disable a per-user service, you need to directly edit the registry, either with group policy or a scripted solution. The templates are located in the registry at

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

    Note: When you disable a per-user service, Windows still creates it when the user signs in, but in a stopped and disabled state. When the user signs out, Windows removes the per-user service.

    You can't manage all of the per-user service templates using normal group policy management methods. Because the per-user services aren't displayed in the Services management console, they're also not displayed in the group policy services policy editor.

    Additionally, there are four user services that you can't manage with a security template:

    • PimIndexMaintenanceSvc
    • UnistoreSvc
    • UserDataSvc
    • WpnUserService

    With these restrictions, you can use the following methods to manage per-user service templates:

    • A combination of a security template and a script, or group policy preferences registry policy.
    • Group policy preferences for all of the services.
    • A script for all of the services.

    Use a script to manage per-user services

    You can create a script to change the startup type for the per-user services. Then use group policy or another management solution such as Microsoft Configuration Manager to deploy the script to targeted devices.

    Example 1: Use the Set-Service PowerShell cmdlet

    The following sample script uses the Set-Service PowerShell cmdlet to configure the PimIndexMaintenanceSvc service start type to disabled:
    PowerShell

    Set-Service -Name PimIndexMaintenanceSvc -StartupType Disabled

    Example 2: Use the sc.exe config command line

    The following sample script uses sc.exe config to configure the PimIndexMaintenanceSvc service start type to disabled:
    Windows Command Prompt

    sc.exe configure PimIndexMaintenanceSvc start= disabled

    Note: The space after = is intentional.

    Managing user service templates with the Windows Registry

    If you can't use group policy preferences to manage the per-user services, you can edit the Windows Registry. To disable a user service template, change the startup type for each service to 4, which is Disabled.

    Caution: Don't directly edit the registry unless there's no other alternative. The Registry Editor or Windows don't validate these manual modifications to the registry. Incorrect values can be stored, which can result in unrecoverable errors in the system. When possible, instead of editing the registry directly, use group policy or other supported Windows tools to accomplish these tasks. If you must edit the registry, use extreme caution.

    Example 1: Use the reg.exe command line command to edit the registry

    1 As an administrator, run cmd.exe to open a Windows command prompt.
    2 The following example includes multiple commands that disable the specified Windows services by changing their Start value in the Windows Registry to 4:

    Windows Command Prompt 
    
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\CDPUserSvc /v Start /t REG_DWORD /d 4 /f
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\OneSyncSvc /v Start /t REG_DWORD /d 4 /f
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc /v Start /t REG_DWORD /d 4 /f
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\UnistoreSvc /v Start /t REG_DWORD /d 4 /f
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\UserDataSvc /v Start /t REG_DWORD /d 4 /f
    REG.EXE ADD HKLM\System\CurrentControlSet\Services\WpnUserService /v Start /t REG_DWORD /d 4 /f

    Example 2: Use the Registry Editor user interface to edit the registry

    1 As an administrator, run regedit.exe to open the Registry Editor.
    2 Browse to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services and then select the user service template. For example, CDPSvc.
    3 In the list of values, open the Start value.
    4 Change the Value data to 4.

    Example 3: Prevent the creation of per-user services

    You can prevent Windows from creating a per-user service when a user signs on.
    In the same service template node of the registry, set UserServiceFlags to 0.

    July 18, 2025 at 11:16:18 GMT+2 * - permalink -
    QRCode
    - https://learn.microsoft.com/en-us/windows/application-management/per-user-services-in-windows
    Microsoft Windows Services
Links per page: 20 50 100
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation