Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got an application that stores .ini config files in the C:\users\%USERNAME%\WINDOWS\ folder. This application works well in a Windows 2003 XenApp farm, but in a Windows 2008 R2 XenApp farm, users can't get access to that folder, causing the application to error out. The domain administrator does have access to its folder, and the application works just fine. I even tried RDP-ing into the box with various users and had the same response. I attached logs from Process Monitor:

5:36:20.6834338 PM app.exe CreateFile C:\Users\USER\WINDOWS\AppConfig.ini NAME NOT FOUND DOMAIN\USER

5:36:20.6836186 PM app.exe CreateFile C:\Windows\AppConfig.ini NAME NOT FOUND DOMAIN\USER

5:36:20.6837367 PM app.exe CreateFile C:\Users\USER\WINDOWS\AppConfig.ini NAME NOT FOUND DOMAIN\USER

5:43:13.2747538 PM app.exe CreateFile C:\Users\administrator.DOMAIN\WINDOWS AppConfig.ini SUCCESS DOMAIN\administrator

5:43:13.2747739 PM app.exe QueryBasicInformationFile C:\Users\administrator.DOMAIN\WINDOWS\AppConfig.ini SUCCESS DOMAIN\administrator

Again all this works fine in Windows 2003, with no additional permissions. But in Windows 2003, I get denied from writing to that folder.

Does anyone know how to give access to the folder?

share|improve this question
And you can't fix the application so it writes to a standard location like %APPDATA%? –  Michael Hampton Aug 24 '12 at 1:29
@MichaelHampton Probably not. Think about that for a second... if the guys who coded (or designed or speced, etc.) the app weren't retarded baboons, they might have adhered to a standard or two. However, since they clearly are retarded baboons, what do you think the odds of them allowing you configure their app are, instead of, say, hardcoding every $%&@ing value? –  HopelessN00b Aug 24 '12 at 1:34
@NeerPatel What am I missing here? To give the users access to that folder, you set the ACL to allow them access. Set the permissions to propagate to child objects and apply to all subfolders and files... does that not work for some reason? –  HopelessN00b Aug 24 '12 at 1:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.