Thanks for reply.
At first, I suspected that the files may be is use by other applications. But by further analysis, the application not even list the files in the specified folder.
I tried to provide access for those folder to my application's logon user and it works.
I think that the SeRestorePrivilege is to get write permission on the specified folders/files. However, I will try that also.
Any other solution experts?
Main Topics
Browse All Topics





by: Gideon7Posted on 2009-03-07 at 16:22:00ID: 23827325
ERROR_ACCESS_DENIED can be triggered if another process has the file open, regardless of your privilege level. The only workaround is to create a volume snapshot using VSS (which of course doesn't exist on W2K).
Try also enabling SeRestorePrivilege.