System error 5 has occurred. Access is denied. #80
-
Hello! I run 3 Bedrock servers and struggle with the time it takes to update and maintain them. I found this project and it looks amazing! But I am unfortunately not a tech wizard and I ran into an issue. I did some googling to figure out my problem but can't, so I figured I'd post here. As I understand it, the BedrockService can run automatically with Windows if it is installed as a service. I tried following the quickstart instructions and when I try to start the service in Admin command prompt, I get the error... "System error 5 has occurred. Access is denied." I'm confused because I think the files have the correct permissions and I am signed in as an Admin, using the Admin cmd prompt. Any ideas? Edit: I am running this on an up to date Windows 10 computer. Also, I can run the service .exe manually and it works. I've been able to set up my 3 servers in BedrockManager and they run perfectly. I'd just like to set it up as a Windows service so it automatically runs when the server starts, unless this isn't a feature and I'm misunderstanding. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
My apologies on not getting back to this sooner, I got carried away and forgot. Anyways, what path are you running the service out of? If its a protected folder such as "C:\Users\YourUsername\BMS", this would be a result. The problem is when running as a service, the user it runs under is "LocalService". It would seem that possibly for security reasons, LocalService is denied access to this path. Try moving it to a folder outside user or system folders, and get back to me! |
Beta Was this translation helpful? Give feedback.
My apologies on not getting back to this sooner, I got carried away and forgot. Anyways, what path are you running the service out of? If its a protected folder such as "C:\Users\YourUsername\BMS", this would be a result. The problem is when running as a service, the user it runs under is "LocalService". It would seem that possibly for security reasons, LocalService is denied access to this path. Try moving it to a folder outside user or system folders, and get back to me!