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
Ashish Pancholi

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 "init.property".

Installer sets USER_DIR and TEMP path in this text file and we usually read "init.property" 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 "init.property" 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 "init.property" 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
logicearth

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
Ashish Pancholi

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
logicearth

Windows 8.1 Pro (x64)
 
 

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

 Access Denied




Thread Tools





Similar help and support threads
Thread Forum
CD/DVD ROM Access is Denied
Hello Everyone.. Here We Go .. I am Running Windows Server 2008 R2 .. I had Windows Server 2003 and i upgrade it to 2008 R2 .. after alot of work .. i found i have a problem with all clients .. All Clients Running on Windows 7 Ultimate 32-Bit they can't access them CD/DVD ROM .. not even by a...
Hardware & Devices
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
Access is denied - WHY ??
How can I open folders like Documents and Settings ? I get "Access is denied" although my account is not a limited one. I would like the freedom of opening whatever folder I want to. :(
General Discussion
Import Pictures to NAS "Access Denied" Error Though User Has Access
Hi, All. I've got an interesting situation that I'm hoping can be resolved. I built a server using FreeNAS 8.2 to store family pictures, videos, music, and Windows backups. In my home we have Windows 7 Home Premium 64bit and Windows 7 Professional 64bit. The server is setup with 3 Windows (CIFS)...
Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion

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 18:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App