I can copy files to the C:\Program Files (x86)\...  ...but only with the administrator account.
This file is a configuration file like App.Config, but with a different name, and  I want to put it into the application path's sub folder.
The scenario is like following.
- Put the initial configuration file in the \Cfg\org.cfg 
- When start application program,myApp.exe, check if configuration file exists in the application path. 
- If it doesn't exist, copy org.cfg to the myApp.exe.config and load it. 
I tried DirectoryInfo.SetAccessControl() but following error occur as well.
"Attempted to perform an unauthorized operation"
 
     
    