Issues with running applications with Admin Privilege

1nfected

New member
Local time
3:38 AM
Messages
11
I am having issues with running certain apps with admin privilege.
I have installed Notepad++ which i use for my .js files.
Now here's what's happening:
When im editing a file which is located in the programfiles folder, it wouldn't allow me to save it. I can only save it if i close the app, give it admin privilege(right click->compatibility->check run as admin).
This is fine with me. But if i do that, another issue pops up. I am then not able to open files in notepad++ via the context menu. neither can i drag drop the file onto notepad++. ( i get an error: Error in CreateProcess (740) )

I also have a similar issue with chrome(7.0.517.24).
If i set it to run as admin, i can't drag and drop files onto chrome!
If i uncheck the 'run as admin' option, it works. I am able to drop files onto chrome as usual.


I dont' know what could be causing this. I know it's UAC related, but i can't understand why would apps have problem opening files when they are running in 'admin mode'!
 

My Computer

Computer Manufacturer/Model Number
Assembled
OS
Windows 7 Enterprise x64
CPU
AMD 64 3000+
Motherboard
MSI RS480
Memory
2GB
Monitor(s) Displays
DELL 17"
Hard Drives
1 x Seagate Barracuda 160GB
2 x WD Caviar Green 1TB
See if you are a standard or administrator user.

I doubt it's UAC related. Most likely due to permission rights of user, or file or folder. By running the program as admin and saving the file, it probably affects the file rights.
 

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
I am the Administrator. It's the a/c that i created when installing 7.

However, here's what i did, which got it working for me.
I took ownership of the files that i wanted to modify in programfiles folder.
(right click - properties - security - advanced - owner - edit).
Now notepad++ is able to save the file.
 

My Computer

Computer Manufacturer/Model Number
Assembled
OS
Windows 7 Enterprise x64
CPU
AMD 64 3000+
Motherboard
MSI RS480
Memory
2GB
Monitor(s) Displays
DELL 17"
Hard Drives
1 x Seagate Barracuda 160GB
2 x WD Caviar Green 1TB
Excellent. Glad you got it resolved. So it was a rights issue.
 

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
Yea, a part of it is solved.

But i still don't understand why cant apps open files when they are run with admin privileges.
I even tried the same with Opera. Once given admin privileges, it can't open files when drag n dropped onto it!
 

My Computer

Computer Manufacturer/Model Number
Assembled
OS
Windows 7 Enterprise x64
CPU
AMD 64 3000+
Motherboard
MSI RS480
Memory
2GB
Monitor(s) Displays
DELL 17"
Hard Drives
1 x Seagate Barracuda 160GB
2 x WD Caviar Green 1TB
You cannot drag files onto applications running as Admin because Explorer is not running as Admin. An application with a lower integrity (Standard user) level cannot talk to an application with a higher integrity level (Admin user). You either have to open the files though the applications "Open" menu, or do not edit the file when it is in a protected directory (Program Files).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
So any solution to this other than using the 'Open' menu of the particular app?
Would giving explorer admin previleges do any good? Even if it does, is it advisable?
Infact, is it advisable to give ANY app admin previleges?
 

My Computer

Computer Manufacturer/Model Number
Assembled
OS
Windows 7 Enterprise x64
CPU
AMD 64 3000+
Motherboard
MSI RS480
Memory
2GB
Monitor(s) Displays
DELL 17"
Hard Drives
1 x Seagate Barracuda 160GB
2 x WD Caviar Green 1TB
Would giving explorer admin previleges do any good? Even if it does, is it advisable?

Not advisable.

Infact, is it advisable to give ANY app admin previleges?

Only when its required. Giving an application Admin privileges gives it power over your whole computer, this should be avoided especially for anything that is connected to the internet.

But for me the best solution is to never work in system locations like "Program Files" either move them to your desktop for quick edits or create a repository in a user owned location (Your User folder, for example) for your work. Then if need be using junctions or symlink the files in Program Files from your repository.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
Thanks for the explanation logicearth.
I tried givin explorer.exe admin right in the mean while, but didn't succeed.

Anyways, i've moved the files to a diff location, so no worries.
 

My Computer

Computer Manufacturer/Model Number
Assembled
OS
Windows 7 Enterprise x64
CPU
AMD 64 3000+
Motherboard
MSI RS480
Memory
2GB
Monitor(s) Displays
DELL 17"
Hard Drives
1 x Seagate Barracuda 160GB
2 x WD Caviar Green 1TB
Back
Top