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: Program installed in Program Files requires elevation?

09 Jun 2013   #1
nigelmercier

Windows 7 Professional x64
 
 
Program installed in Program Files requires elevation?

I have a program that wanted to install in a document folder

I have installed it in Program Files, but it requires elevation or it produces errors when running. I know I can tick the Run As ... box in the shortcut, but is there a better way, such as taking ownership of the install folder?


My System SpecsSystem Spec
.
09 Jun 2013   #2
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

You could try using this tutorial to see if it helps with this program.
Elevated Program Shortcut - Create for Standard User
My System SpecsSystem Spec
09 Jun 2013   #3
Alejandro85

Windows 7 Ultimate x64
 
 

My guess is that you used a portable version of the program instead of a "normal" one.
If so, it's normal that you're getting such errors. Portables often are made to write settings/data to the program folder, together with the main exe. Since users have read/write access to documents folders, it runs ok there, but normally users have read-only access to program files, so it may be failing when writing its stuff there.

The best solution I can think of is to figure out why and what it's being written and instruct the program to go to a document folder/appdata for those instead.
A less elegant and more insecure solution would be to grant all users read/write permission to the folder where the program sits, so it can write at will there whatever it needs.
My System SpecsSystem Spec
.

10 Jun 2013   #4
nigelmercier

Windows 7 Professional x64
 
 

Thanks for the replies. The problem with relying on elevation is that it doesn't work when the program is launched by opening a file. It's actually a C compiler, so this happens a lot!

It's not a portable program; I guess the developers just decided it was easier to install in a document folder, rather than mess around with UAC etc.

I will try setting the R/W properties for the install folder.
My System SpecsSystem Spec
11 Jun 2013   #5
nigelmercier

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by nigelmercier View Post
I will try setting the R/W properties for the install folder.
Seems to have worked, thanks for the replies.
My System SpecsSystem Spec
Reply

 Program installed in Program Files requires elevation?




Thread Tools




Similar help and support threads
Thread Forum
remove admin elevation for program
Hey everyone, I have a program that requires admin approval to run. However, I would like this program to be used by a power user account, instead of an admin account. I cannot have the admin elevation asking to elevate w/ password every time, as I may not be available when the user attempts...
Software
Can't run installed program within Program Files (x86)
Am not sure if this is the right place to ask for this problem, let me know. I gave a try to the Setup Project of VStudio 2008 to create and distribute an x86 installer of a program I develop in win7. After installing, uninstalling and executing over and over some of the features of my...
Software
Prevent UAC elevation for a program requesting it
Hi, just found a problem with UAC and programs unnecessarily requesting elevation. When any program shows an UAC prompt, and I DO NOT want to elevate it, but run anyway (as my current user instead of switching to an admin account), how can I do? Entering my admin user/passwords elevates it and...
Software
Error Msg:-Program requires that Microsoft Windows Script be installed
Hi, I've got a CAD program called 3D Canvas 7 - I've used it in the past but recently when I try to run the program it refuses to start and I get the error message:- 3D Canvas requires that Microsoft Windows Script be installed As far as I can see Windows Script is installed as part of...
General Discussion
Program Files (x86) & Program Files Installed On Another Drive
Hi have have a new PC running Win7 Home Premium 64bit. I have 2 drives: 1 x 120GB SSD (running the OS) (C Drive) 1 x 1TB HDD (D Drive) The SSD is running the OS and a couple of main programs which i use quite often (ie. Office 2010, Antivirus, etc). The HDD i want to use to install and...
General Discussion
Allow installed program to rename files under Program Files (x86)
Hi, I have a program installed under "C:\Program Files (x86)\CompanyName\SWName". When the program runs it's supposed to copy some files, say FROM "C:\Program Files (x86)\CompanyName\SWName\Drivers\*.abc TO "C:\Program Files (x86)\CompanyName\SWName\Drivers\*.xyz The program works on...
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 05:30.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App