question

47451047 avatar image
0 Votes"
47451047 asked CandyLuo-MSFT answered

Per-user services

Hello. I see dynamic services.
CaptureService_2f53ce4
CaptureService_523de
ConsentUxUserSvc_2f53ce4
DevicePickerUserSvc_2f53ce4

I make UserServiceFlags 0 registry ( https://docs.microsoft.com/en-us/windows/application-management/per-user-services-in-windows )


But it did not help. How can I disable their creation?

windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CandyLuo-MSFT avatar image
0 Votes"
CandyLuo-MSFT answered

Hi ,

What's the OS version of your windows server? Beginning with Windows 10, version 1709 and Windows Server, version 1709, you can prevent the per-user service from being created by setting UserServiceFlags to 0 under the same service configuration in the registry. Make sure your OS version is Windows Server version 1709 or newer.

I make UserServiceFlags 0 registry

Where did you make UserServiceFlags 0 registry? In Per-user service template: ConsentUxUserSvc or Per-user service instance: ConsentUxUserSvc_2f53ce4? After modify the registry key, did you restart the machine?

In my lab, I modify the value of UserServiceFlags to 0 in ConsentUxUserSvc and CaptureService path and restart the machine.

98251-2.jpg

After restart, ConsentUxUserSvc_53cbd and CaptureService_53cbd will not be created in service manager.

98138-image.png

Best Regards,
Candy


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



2.jpg (130.3 KiB)
image.png (79.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.