Set Permissions to Enable Service Control In Ouvvi

To allow Ouvvi to start and stop the service from the Ouvvi Web UI you need to adjust the Security Descriptor (ACL) on the Service to allow your user account to control the service.

Services

To enable the Service Control mini-menu you will need to get the name of your Ouvvi Processing Windows Service from the Windows Service Control Manager (services.msc) and update the Ouvvi System Setting Service Name to match the name of your service.

Get the Name of the Service from the Service Properties Dialog.

Service Properties

Copy this name exactly into the Ouvvi Service Name system setting.

Ouvvi System Settings

Next use the SC.exe program to retrieve and set the ACL on this service for example (your ACL will be different so do not copy the values in this example).

sc sdshow "Ouvvi Processing Service (Test)"

Returns the current ACL for the Service

D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPLOCRRC;;;LS)(A;;CCSWWPLORC;;;LS)

You then need to add a section that allows your windows account to control the service, for example the added section below grants Builtin-Users (BU) rights to control the service.

sc sdset "Ouvvi Processing Service (Test)" D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)(A;;CCLCSWRPLOCRRC;;;LS)(A;;CCSWWPLORC;;;LS)(A;;CCDCLCSWRPWPDTLOCRSDRC;;;BU)

Resources:
http://deploywindows.info/2013/10/17/how-to-build-a-sddl-string-and-set-service-permissions/ and https://msdn.microsoft.com/en-us/library/aa379602(v=vs.85).


Can't find the answers you're looking for? Contact our support team and we'll personally get back to you as quickly as we can.