Disabling User Services ?

kosmo

Member
Messages
82
Reaction score
27
To disable any service in W10 I've been starting my reg editor as Trusted Installer and then simply importing reg files with this format:

Code:
;; Update Orchestrator Service for Windows        was 2 > 4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc]
"Start"=dword:00000004

This works 100% of the time for any system service that i've tried. Including services that are protected. But when I use the exact same process on user services - making sure I have the correct 5 character code for the existing session - I have a 100% failure rate. The reg editor merges them without complaint but when I reboot and they're all running again.

What's the deal with user services and how do I get around it?
 
Those are called "Per-User" services (link), which have an underscore before a random set of numbers at the end of their name, and the number changes for every user that logs in and out. To modify per-user services, just alter the core service (without numbers), and then the per-user services will mirror that once they get generated on a new login. In that support link there's also a way to prevent the creation of per-user services. In other words, if you disable the core service then all per-user services will generate in a disabled state, but to prevent their creation requires another tweak.
 
Last edited:
Thanks, once again, for coming to my rescue. I've solved my problem and the solution was quite unexpected. The answer was in your comments:
To modify per-user services, just alter the core service (without numbers), and then the per-user services will mirror that once they get generated on a new login.

This is easier to explain with an example. Let's say I want to disable "Bluetooth Support Service", both the system service and the corresponding user service. But what I was overlooking and what the linked M$ only mentions in passing is that there's three services involved here:
  • Bluetooth Support Service (system service)
  • Bluetooth User Support Service (base user service for ALL users)
  • Bluetooth User Support Service_xxxxx (service just for me)

And i've been attempting to disable my user service (as well as the "system" service) but that doesn't work. What's necessary is to tell the base user service (1) not to create any individual user services and then ((2) disable the base user service. And you can completely forget about your specific user service - it just disappears.

Using our Bluetooth example again:

Code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BluetoothUserService]
"Start"=dword:00000004    (disables service)
"UserServiceFlags"=dword:0000000    (prevents generation of any (BT) user services)

I've roadtested this and it works.
 
Back
Top