VMware Horizon Community
janasrs
Enthusiast
Enthusiast

Export data from c:\ProgramData to %appdata% fails

I have a an application that stores user data in a subdirectory of c:\ProgramData. I've created a personalization config that attempts to export settings at logoff and import them back at logon - storing them in a folder in %appdata% so I can use DirectFlex to save it with the user profile. The user doesn't have security rights to one of the folders that must be exported. When the XCOPY command is executed in the config, it results in an "access denied" and no further files/subdirectories are copied.

When I logon with an administrator account, the XCOPY command works as intended - copying all directories and files - so it seems that if the export can succeed if run with a high privilege.?

Any suggestions on how I can achieve this?

Reply
0 Kudos
2 Replies
sjesse
Leadership
Leadership

Go to where the app is(parent image, appstack, or something similar) and and give the users read write access to that folder. I've had to do that with stuff in program files and it seems to work great.

Reply
0 Kudos
janasrs
Enthusiast
Enthusiast

Thanks! I was going to try that this evening.

Reply
0 Kudos