Pages

Saturday, March 8, 2014

Access denied when starting a Windows service (error 5)

When installing a Windows service, sometimes we can install it but cannot run it. One of the problem I found access denied. It may be caused by the folder that used to install the service does not have a permission to access the folder. Then, we need to check that NETWORK SERVICE account is allowed to access that folder because the Windows service using this account to execute services.