Windows 10: Per-user services <service name>_LUID. How to change LUID to USERNAME or constant?

Discus and support Per-user services _LUID. How to change LUID to USERNAME or constant? in AntiVirus, Firewalls and System Security to solve the problem; User-specific per-user services are displayed using the <service name>_LUID format where LUID is the locally unique identifier. To keep backward... Discussion in 'AntiVirus, Firewalls and System Security' started by Burhan Habibulin, Jan 29, 2023.

  1. Per-user services _LUID. How to change LUID to USERNAME or constant?


    User-specific per-user services are displayed using the <service name>_LUID format where LUID is the locally unique identifier. To keep backward compatibility I need to leave <service name>_* format, but instead of LUID use USERNAME or constant. This is required for effective firewall rules management. LUID has a new value every boot and firewall manager always treats the same service as a new service because of the new name. How can I make per-user service name the same after reboot?

    :)
     
    Burhan Habibulin, Jan 29, 2023
    #1
  2. Sapien 1 Win User

    User Services in the Services.msc module

    Thank you. I couldn't find anything about this and didn't doubt Tairiku Okami but I knew that the correct terminology was outside of my knowledge.

    That's great! Thanks for sharing this link. I am going to check it out.
    Per-user services <service name>_LUID. How to change LUID to USERNAME or constant? :)

    And I imagine that where to find the template will be explained or referred to in the document you provided? This here, (LUID) is the keyword I was searching for.

    Yes. This helps a lot. Thank you very much. I will incorporate all this new information onto my article and hopefully that too will be of use.
     
    Sapien 1, Jan 29, 2023
    #2
  3. RickC Win User
    User Services in the Services.msc module

    They aren't mysterious services. They're the result of gradually moving the management of some system-wide services to a per-user service model. What you are seeing is a parent service (known as the template service) spawning a temporary per-user service that can be managed without affecting the parent service.

    I agree with @TairikuOkami's opinion that this is to prevent tampering... most likely to prevent mass scripted attacks rather than tinkering by individual users. As a result the purpose appears to be general hardening of a potential attack vector... so nothing mysterious at all about them.

    (Microsoft has also gradually implemented other methods of preventing service tampering, for example from within the Services console, by adding an additional Security sub-key to several services and by adding Remediation services that regularly check registry settings for changes... but that, IMO, is mainly to prevent 3rd-party tools from affecting services like, for example, Windows Update.).

    To differentiate between the two (template and per-user), the per-user service name is the template name plus an underscore character and locally unique identifier (LUID) appended, e.g. AarSvc_1d4b74c (where _1d4b74c is the LUID). All per-user services share the same LUID, suggesting that the LUID is a random session identifer. To further differentiate, the template service has been removed from view in the Services console.

    This Microsoft document - Per-user services in Windows 10 and Windows Server - explains their function and rationale in much greater detail.

    It describes several methods of managing per-user services and provides a warning and reason why not to manage template services directly using the registry. It's not that you can't... but any mistake could render a device unable to start or boot to the desktop.

    It also describes a method of amending template services to disable per-user services from being spawned. I'm a little surprised that there's not a warning against this as well. (I haven't tried.)

    Hope this helps...
     
    RickC, Jan 29, 2023
    #3
  4. Vivian_S Win User

    Per-user services _LUID. How to change LUID to USERNAME or constant?

    meaning of common suffix of services

    Hi noellapin,



    Thank you for posting in Microsoft Community.



    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. You can't view
    the template services in the Services console, but you can see the user-specific per-user services - they are displayed using the <service name>_LUID format (where LUID is the locally unique identifier).

    For example, you might see the following per-user services listed in the Services console:

    CPDUserSVC_443f50

    ContactData_443f50



    For more information, you may refer :

    Per-user services in Windows 10 and Windows Server

    Sc qc

    However, let me help to point you in the right direction. I would suggest you to post your query in

    TechNet Forums
    where you will find professionals with expertise on Service Control Manager for Windows 10 and that would be the appropriate forum.



    Regards,

    Vivian S
     
    Vivian_S, Jan 29, 2023
    #4
Thema:

Per-user services _LUID. How to change LUID to USERNAME or constant?

Loading...
  1. Per-user services _LUID. How to change LUID to USERNAME or constant? - Similar Threads - Per user services

  2. How to Change Windows 11 User Name for Service Verification Purposes

    in Windows 10 Gaming
    How to Change Windows 11 User Name for Service Verification Purposes: I apologize if the description here is confusing but I mean the Windows user name that is recognized by applications, service, network login, etc. I didn't mean the First Name and Last Name change in system settings which I already knew.When I want to backup system image on a...
  3. How to Change Windows 11 User Name for Service Verification Purposes

    in Windows 10 Software and Apps
    How to Change Windows 11 User Name for Service Verification Purposes: I apologize if the description here is confusing but I mean the Windows user name that is recognized by applications, service, network login, etc. I didn't mean the First Name and Last Name change in system settings which I already knew.When I want to backup system image on a...
  4. Per-user services <service name>_LUID. How to change LUID to USERNAME or constant?

    in Windows 10 Software and Apps
    Per-user services <service name>_LUID. How to change LUID to USERNAME or constant?: User-specific per-user services are displayed using the <service name>_LUID format where LUID is the locally unique identifier. To keep backward compatibility I need to leave <service name>_* format, but instead of LUID use USERNAME or constant. This is required for effective...
  5. Per-user services <service name>_LUID. How to change LUID to USERNAME or constant?

    in Windows 10 Gaming
    Per-user services <service name>_LUID. How to change LUID to USERNAME or constant?: User-specific per-user services are displayed using the <service name>_LUID format where LUID is the locally unique identifier. To keep backward compatibility I need to leave <service name>_* format, but instead of LUID use USERNAME or constant. This is required for effective...
  6. How to change c:/users/*username*?

    in Windows 10 Ask Insider
    How to change c:/users/*username*?: When I first set up my PC, it set up my username as my email which was something really stupid I made when I was 12. I can't seem to find out how to change it and all the tutorials make it seem really complicated. Surely there has to be an easy way to change it, right?...
  7. How to change the "logical" name of personal folder C:\Users\%username%

    in Windows 10 Network and Sharing
    How to change the "logical" name of personal folder C:\Users\%username%: %username% is ANIL. However, I don't see "ANIL" under C:\Users. Instead I see "Documents" logical name. Physical path is C:\Users\ANIL which is correct. [ATTACH] How can I remove this logical reference of "Documents" and revert to its actual name i.e., "ANIL" ? Thanks...
  8. Why are these "per-user services" always running on my single-user PC?

    in Windows 10 Support
    Why are these "per-user services" always running on my single-user PC?: Version: 1909 I was just wondering if someone can explain these to me more. I've read about them and I understand they are "services that are created when a user signs into Windows or Windows Server and are stopped and deleted when that user signs out," but as I am the only...
  9. Why are so many per-user services constantly running on my PC?

    in User Accounts and Family Safety
    Why are so many per-user services constantly running on my PC?: Version: 1909 Every time I boot up my PC I see like a dozen of these "per-user services" running. I've read about them ("services that are created when a user signs into Windows or Windows Server and are stopped and deleted when that user signs out") but m question is...what...
  10. Has MS changed it's naming conventions for services, or are these strange looking services...

    in AntiVirus, Firewalls and System Security
    Has MS changed it's naming conventions for services, or are these strange looking services...: After having to re-install my WIndows 10 Pro I noticed after one of the updates that there are a number of new services that do not comply with the normal microsoft naming conventions. Would you please reassure me that these new suspicious looking services are bona fide and...