Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Access Denied

14 Jul 2011   #1

Window 7 Professional 64 bit
Access Denied

When any USER ( logged IN with any user Account) installed our setup file using option "Installed Only for Me", executable has been installed in C:\Program Files (x86), with one text file say "".

Installer sets USER_DIR and TEMP path in this text file and we usually read "" file, when user used to run our application. We keep related user data over USER_DIR and we keep LOGS over TEMP path.

The issue is when our program is going to read "" it has "Access Denied" and our program would not get right path to download user related data i.e. over USER_DIR.

How can we read "" logged IN with any user Account because user has no privilege to access file in C:\Program Files (x86) ? Please suggest me what is the standard criteria in such cases ?

My System SpecsSystem Spec

14 Jul 2011   #2

Windows 8.1 Pro (x64)

Don't store anything in "Program Files" when the user does "Install only for me" The "AppData" folder exists for this reason.
My System SpecsSystem Spec
14 Jul 2011   #3

Window 7 Professional 64 bit

Thanks for the reply. Can you suggest where else we can allow to install executable other then "Program Files" ? Setup files always used to installed software executable in "Program Files" this is standard follow by all setup files. If user has no privilege to access "Program Files" in windows 7 then where we allow to installed executable ? Do we need to restrict user that he/she has no privilege? What standard criteria that has been followed by all vendors ?
My System SpecsSystem Spec

14 Jul 2011   #4

Windows 8.1 Pro (x64)

You can install and run software any where the user has permissions to do so.
My System SpecsSystem Spec

 Access Denied

Thread Tools

Similar help and support threads for2: Access Denied
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED General Discussion
Access is denied - WHY ?? General Discussion
Import Pictures to NAS "Access Denied" Error Though User Has Access Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied) Network & Sharing
"Access denied:" How to overcome denied access to a folder General Discussion
Regarding access denied BSOD Help and Support
Access Denied Browsers & Mail

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:59 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33