• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 995
  • Last Modified:

Windows Service Access Denied to Path

I am trying to test an update to a Windows Service and I need for it to read a file on my local drive e.g. C:\testfolder\Schema

I have done everything I can think of to grant rights to this folder for everyone and I continue to get this error.  Error Message -- Access to the path C:\testfolder\Schema.  The service is running as LocalSystem.  My login has Administrator rights.  

Does anyone know what could be wrong.

thanks in advance.
1 Solution
Adam RayCommented:
Have you gone through the "advanced" file permissions of the file, parent folders(s) and root of C:\? Checking specifically for inheritance, "applies onto" settings, and "deny access" permissions?

You can always take ownership of the top level folder, and apply to all children/objects so you don't have to check everything under C:\testfolder individually.
käµfm³d 👽Commented:
Is that a file or a directory? Files in Windows normally have extensions.
sherbug1015Author Commented:
I have gone through the "advanced" settings and have taken ownership of the top level folder.  Still getting an access denied.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now