Program installed in Program Files requires elevation?

nigelmercier

New member
Member
Local time
8:54 PM
Messages
78
I have a program that wanted to install in a document folder :mad:

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 Computer

Computer Manufacturer/Model Number
Homebrew
OS
Windows 7 Professional x64
CPU
Intel Core i5-2500K @ 3.3GHz
Motherboard
Fatal1ty P67 Professional
Memory
8GB
Graphics Card(s)
Zotac ZONE GeForce GT 240 1GB [ZT-20404-20L]
Sound Card
On board
Monitor(s) Displays
2x Samsung SyncMaster 203B
Screen Resolution
1400 x 1050
Case
CoolerMaster Elite
Cooling
Zalman
Keyboard
Microsoft Natural Wireless Ergonomic 7000
Mouse
Microsoft Natural Wireless Laser 7000

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
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 Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 Computer

Computer Manufacturer/Model Number
Homebrew
OS
Windows 7 Professional x64
CPU
Intel Core i5-2500K @ 3.3GHz
Motherboard
Fatal1ty P67 Professional
Memory
8GB
Graphics Card(s)
Zotac ZONE GeForce GT 240 1GB [ZT-20404-20L]
Sound Card
On board
Monitor(s) Displays
2x Samsung SyncMaster 203B
Screen Resolution
1400 x 1050
Case
CoolerMaster Elite
Cooling
Zalman
Keyboard
Microsoft Natural Wireless Ergonomic 7000
Mouse
Microsoft Natural Wireless Laser 7000

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
Windows 7 Professional x64
CPU
Intel Core i5-2500K @ 3.3GHz
Motherboard
Fatal1ty P67 Professional
Memory
8GB
Graphics Card(s)
Zotac ZONE GeForce GT 240 1GB [ZT-20404-20L]
Sound Card
On board
Monitor(s) Displays
2x Samsung SyncMaster 203B
Screen Resolution
1400 x 1050
Case
CoolerMaster Elite
Cooling
Zalman
Keyboard
Microsoft Natural Wireless Ergonomic 7000
Mouse
Microsoft Natural Wireless Laser 7000
Back
Top