Vista Service Security question


New member
Aug 29, 2008
Programming Experience

Hopefully someone will be able to answer this...

We have developed an application for our business that that will run on either a machine on a W2003 domain or any of the home user flavours of windows that are available and still supported by Microsoft. User could be using a company laptop not on the domain or their own laptop/pc which has never joined our domain.

It is a service that reads the users own directory (\Documents and Settings\{username} or \Users\{username}) and uploads all changed files in the directory structure to a storage server cluster. Our problem is that when the transfer is initiated by the user using our normal transfer application the system works fine; when we let the Service perform the upload (as a timed event) it fails because the Local System account does not have access to certain directories within the User directory structure. We see a message that says "C:\Users\{username}\Templates Access Denied." within the application.

Has anyone seen a similar problem and if so, what did you do to resolve it? As we understand things, the local System account should have Local Administrative rights and therefore should be able to read all directories.

Latest posts

Top Bottom