drcursor / OculusScripts

Useful scripts for Oculus Rift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible solution to running as local admin

TheFiZi opened this issue · comments

commented

I didn't want to have to click past the UAC every time (or disable the UAC) I wanted to start/stop the service with these scripts so I found a possible solution.

Download and install this in a administrative PowerShell: http://get-carbon.org/about_Carbon_Installation.html

From an administrative PowerShell run this command:
Grant-ServicePermission -Name OVRService -Identity "<YOUR USERNAME>" -Start -Stop

Now your account can start/stop the Oculus service with out the UAC getting in the way.