I got it figured out, the service was running as local system and my nas had not given permissions to the system, just my user, so i just had to change the logon on the service properties. thank you for your response.
I cannot get blueiris to record, when running as a windows service. i just get clip write error on all cameras, if i switch it back to normal, it records just fine. it just uses way too much cpu and recordings lag when ran normally. any help please?