Running as administrator and opening files.

Found a bug in "Everything"? report it here
Post Reply
jrussell
Posts: 5
Joined: Thu Oct 30, 2014 11:38 pm

Running as administrator and opening files.

Post by jrussell »

Hi, if Everything is ran as administrator, for example to index NTFS volumes without using the service, opening files resulting from a search leads to programs being ran with admin privileges as well.

I don't know how things are launched from within Everything, but already launching an application using a non elevated token from an elevated process is tricky (you'd need to acquire a non elevated token from another process and use that to launch the program). I can send you some C code to do that if you wish, although I use it to launch programs so it may not be useful in this case.
void
Developer
Posts: 16746
Joined: Fri Oct 16, 2009 11:31 pm

Re: Running as administrator and opening files.

Post by void »

I will consider running apps as non elevated from an admin Everything.

I would recommend using the Everything service if you do not want apps to run as admin.
jrussell
Posts: 5
Joined: Thu Oct 30, 2014 11:38 pm

Re: Running as administrator and opening files.

Post by jrussell »

Indeed, I always use the service, it is one less UAC window to see to the very least.

Yesterday I was experimenting with running as admin due to the port issue I'm having and after realizing it I decided to report it just in case.
Post Reply