Hello,

We have a windows application which needs to update the files through the
autoupgrade process on start. Application is installed under "Program Files"
directory.
Now when a restricted user runs the application, the update of the files
fails as Restricted user doesn't have access to "Program Files" folder.

First of all if anyone has had similar problems, any suggestions, pointers
to overcome the restricted user access to programFile folder issue???

We thought of a solution to create a windows service to be installed by the
administrator which will be running all the time and which does the upgrade
of the files upon notification from the application through a custom command.
But same problem persists for the restricted user running the application.
Inspite of windows service running as an administrator it cannot create or
update files under "ProgramFiles" folder because the restricted user is
logged in.

Any help will be highly appreciated.

Regards
Vinay Kant

RE: Restricted User running Windows App accessing "ProgramFiles" folde by cPetru

cPetru
Thu Mar 02 09:25:59 CST 2006

Sugestion (might not work)
During install / setup, could you create a new administrator account
(possible, since you can said about administrative rights (for installing the
webservices)), and use that account to access the filders / files in "program
files"?

Or: during setup, add access rights to the folders you need and for all
users allowed to run the application.

"Vinay Kant" wrote:

> Hello,
>
> We have a windows application which needs to update the files through the
> autoupgrade process on start. Application is installed under "Program Files"
> directory.
> Now when a restricted user runs the application, the update of the files
> fails as Restricted user doesn't have access to "Program Files" folder.
>
> First of all if anyone has had similar problems, any suggestions, pointers
> to overcome the restricted user access to programFile folder issue???
>
> We thought of a solution to create a windows service to be installed by the
> administrator which will be running all the time and which does the upgrade
> of the files upon notification from the application through a custom command.
> But same problem persists for the restricted user running the application.
> Inspite of windows service running as an administrator it cannot create or
> update files under "ProgramFiles" folder because the restricted user is
> logged in.
>
> Any help will be highly appreciated.
>
> Regards
> Vinay Kant