ok, that seems to have done the trick. But when I close that command prompt, it no longer works. Is it possible to enable it in the background somehow?
Otherwise another set of logs, and the time the 500 error happened, so we know exactly where we're looking.
Alternatively might be something like firewall/antivirus, or the user has installed to a directory that the 'localsystem' account doesn't have access to (so has access when run manually as themselves, but not when running as a service), or permissions have been changed on something causing effectively the same.
I found this in another post and it worked for me. Have to update the NPVR folder to NextPVR. I also had to disable the NextPVR Service in Services as that was preventing the server from running correctly. Not sure what the issue was but working now.
For me I created a hidden scheduled task that flagged to run at system startup and to run whether the user is logged on or not, works great.
As an example this will create the simple task from an admin command prompt
No that came from an old obsolete instruction I wrote before there was a v5 service or installer. You really shouldn't have used that as you are now responsible for manually updating to new versions since NPVRSetup won't work properly.
If you had followed sub's instruction to change the user I suspect that would have worked schtasks does not run as local system.