Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:


gulitegulite Member Posts: 1

I am trying to install a per-user service via driver INF. I set ServiceType to 0x60. But I faced error when installing it as below. I am wondering why configuring the servicetype to SERVICE_USER_SHARE_PROCESS needs privileges. And how can I solve this problem? Any comment is appreciated.

Description = %TestSvc.SVCDESC%
DisplayName = %TestSvc.SVCNAME%
ServiceType = 0x00000060 ; SERVICE_USER_SHARE_PROCESS
ServiceBinary = "%13%\TestService.exe"

inf: {Add Service: TestSvc}
inf: Start Type = 3
inf: Service Type = 96
inf: Error Control = 1
inf: Image Path = %SystemRoot%\System32\DriverStore\FileRepository\drv.inf_amd64_0e3b1bd7fcb0f8af\TestService.exe
inf: Display Name = Test Service
inf: Description = Test Service
inf: Created new service 'TestSvc'.
!!! inf: Failed to update service required privileges. Error = 0x00000057
inf: {Add Service: exit(0x00000057)}
inf: {Configure Driver: exit(0x00000057)}
!!! sto: Failed to configure driver package. Error = 0x00000057
sto: {Configure Driver Package: exit(0x00000057)}
dvi: {Configure Device - exit(0x00000057)} 14:55:30.577
dvi: {Core Device Install - exit(0x00000057)} 14:55:30.577

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 12 September 2022 Live, Online
Internals & Software Drivers 23 October 2022 Live, Online
Kernel Debugging 14 November 2022 Live, Online
Developing Minifilters 5 December 2022 Live, Online