• Services with a random 5 digit code attached ??

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Services with a random 5 digit code attached ??

    Author
    Topic
    #2295922

    Maybe normal (and perhaps they were always there), but I recently noticed that I have many Services with a random 5 digit code attached to the service name (_xxxxx) in the name. Like “DevicesFlow_6b3c0”. See the attached screen snip for more.

    Is this normal or if not what gives? Thanks.

    Viewing 8 reply threads
    Author
    Replies
    • #2295926

      the _nnnna indicate Per-user services

      Per-user services are services that are created when a user signs into Windows or Windows Server and are stopped and deleted when that user signs out. These services run in the security context of the user account – this provides better resource management than the previous approach of running these kinds of services in Explorer, associated with a preconfigured account, or as tasks.

    • #2295927

      Thanks.  That quote is above my pay grade as is the stuff in the link you provided.  It seems that the _xxxxx services are duplicates (attachment) and not needed in my one-user case.  So how can I avoid these extra services to be created and started?

      Quote: “These services run in the security context of the user account – this provides better resource management than the previous approach…”

      Perhaps I’m chasing shadows here and should just leave it alone to allow W10 to do its thing!

    • #2295945

      It seems that the _xxxxx services are duplicates (attachment) and not needed in my one-user case. So how can I avoid these extra services to be created and started?

      It’s a good question which others may also be interested in so I’ll tell you… It’s eminently do-able (so far) but not straightforward.

      The only way I know to stop the duplicated services is to disable the parent service… but, obviously, you need to be aware of any side-effects.

      I’ll give you an example and reasoning. I use Virtual Machines (VMs) for test purposes. The VMs (i.e. guest OS) run within a host device that has 32GB RAM. To make the VMs run as efficiently as possible – especially when I’m running 2 or more concurrently – I disable all unnecessary services, particularly those set to start automatically.

      (I also just delete the nonsense services like Retail Demo Service. [Seriously, Microsoft? You included this in EVERY single Win 10 release for the last ~5 years? Are you nuts?])

      I don’t use mail, contacts, calendar or any other built-in MS app on either host or VMs… so, for example, I don’t need the Sync Host service at all, even though it’s set to run automatically (with delayed start). This service is designated ‘per user’ so has an underscore and a random 5 or 6 character string appended to its service name.

      per-user-service01

      I can stop the service… but if I try to disable it within the ‘Services’ GUI then I see an error – ‘The parameter is incorrect’.

      per-user-service02

      This is Microsoft telling me it knows best, irrespective of my own wishes. So, what do I do?

      I open the Registry Editor (using the Run as administrator option) and navigate to   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OneSyncSvc.

      (OneSyncSvc is the *real* name of the service… Sync Host is just the *display name*.)

      There I can see both the parent and ‘per user’ service entries.

      per-user-service03

      In the parent service entry I change the Dword value for Start from 2 (i.e. automatically, with delay) to 4 (i.e. disabled) then I close the Registry Editor and restart the device (so the registry is re-read in its entirety).

      Result: The new ‘per user’ Sync Host service is now disabled… because its parent service is disabled… and the child ‘per user’ service cannot be spawned differently to its parent.

      per-user-service04

      Hope this helps…

      1 user thanked author for this post.
      • #2295956

        “It’s a good question which others may also be interested in so I’ll tell you… It’s eminently do-able (so far) but not straightforward.”

        Thanks Rick.  I need time to go over your reply-suggestions, but at least I know the way forward should I wish to do something about it.

        And thanks Alex for making me aware of per-user services.

      • #2295980

        (I also just delete the nonsense services like Retail Demo Service. [Seriously, Microsoft? You included this in EVERY single Win 10 release for the last ~5 years? Are you nuts?])

        It gets automatically removed after half an hour or one week:

        Remove retail demo components

        For devices with more than 32GB of storage, the components are automatically removed 7 days after the customer completes OOBE.

        For devices with 32GB of storage or less, by default, the components are automatically removed 30 minutes after the customer completes OOBE.

        Customize the Retail Demo Experience (RDX)

        • #2296001

          I did a further check… on a VM running since 2017… and the Retail Demo Service is still there:

          retail_demo_service01

    • #2295958

      Thanks Rick. I need time to go over your reply-suggestions, but at least I know the way forward should I wish to do something about it.

      No problem. I meant to write up the results of my ‘playing around’ with ‘per user’ services some time ago but… time got in the way. Your question prompted me to return to it so… thank you too… and to @Alex5723.

    • #2295993

      (I also just delete the nonsense services like Retail Demo Service. [Seriously, Microsoft? You included this in EVERY single Win 10 release for the last ~5 years? Are you nuts?])

      It gets automatically removed after half an hour or one week:

      Remove retail demo components

      For devices with more than 32GB of storage, the components are automatically removed 7 days after the customer completes OOBE.

      For devices with 32GB of storage or less, by default, the components are automatically removed 30 minutes after the customer completes OOBE.

      Customize the Retail Demo Experience (RDX)

      Sorry but I’m going to have to query the veracity of that statement.

      Here’s a screenshot of a Win 10 1909 instance provisioned May 2020 with 50GB storage, as reported by the PS query:

      gcim Win32_OperatingSystem | select Version, InstallDate, OSArchitecture

      And, below, is the Services console showing that the Retail Demo Service is still there 4 months on… so, not removed at all.

      retail_demo_service

    • #2296011

      just leave it alone to allow W10 to do its thing!

    • #2296016

      just leave it alone to allow W10 to do its thing!

      Thanks.  For a normal “deadly”, probably a reasonable thing to do.  At any rate, once I have moved up from 1809 (current) to 2004 I’ll see what things look like.  First thing first.

      A little bit off topic, but my “Retail Demo Service” is still there (not running, manual) after using W10-Pro 1809 since 05/2019.  Frankly, never thought about this one.

    • #2296018

      A little bit off topic, but my “Retail Demo Service” is still there (not running, manual) after using W10-Pro 1809 since 05/2019. Frankly, never thought about this one.

      It’s a trivial service… (but one that I normally delete… and its artefacts).

      • #2296264

        It’s a trivial service… (but one that I normally delete… and its artefacts).

        I have it disabled but have no idea how to ‘delete’ it entirely.

        🍻

        Just because you don't know where you are going doesn't mean any road will get you there.
    • #2638365

      Duplicated services in Windows 10 or 11 is malware planted on your computers by hacker! This malware is located in root of OS Windows.

      EVERYBLODY KNOWS !

      It is in registry and reinstalation Windows on formatted disk not works !!
      It is permanently in system. No way Geek Squad can fix it.

    Viewing 8 reply threads
    Reply To: Services with a random 5 digit code attached ??

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: