Run As Service and UAC Prompts

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Run As Service and UAC Prompts

Post by js0873 »

I'm trying to eliminate the UAC prompt for standard users running Windows 7 Professional 64 bit. I installed the latest 1.3 latest beta and specified that it should run as a service on the installation, and it does run as a service. I also verified that the admin privileges (run as administrator) are turned off everywhere, including the compatibility settings. Despite all that, I still get the UAC prompt when executing it at startup or when selecting the program shortcut if I'm logged in without admin privileges. How do I stop the prompt?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

To disable the UAC Prompt:
  • Right click a shortcut to Everything or right click the Everything.exe
  • Click Properties.
  • Click the Compatibility tab.
  • Uncheck Run this program as an administrator.
  • Click OK.
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

void wrote:To disable the UAC Prompt:
  • Right click a shortcut to Everything or right click the Everything.exe
  • Click Properties.
  • Click the Compatibility tab.
  • Uncheck Run this program as an administrator.
  • Click OK.
I had already looked into that and it's not checked. Any other ideas?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Please make sure run as administrator is disabled in Everything:
  • In Everything from the Tools menu, click Options.
  • Click the General tab.
  • Uncheck Run as administrator.
  • Click OK.
Please make sure -admin is not specified as a command line option when running Everything.

What version is reported in Everything from the Help -> About menu?
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

I've checked, and in Everything/Options/General "Run As Administrator" is unchecked. "Everything Service" is checked. "-admin" is not specified in the command line option. I'm on version 1.34.683b (x64).
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Thanks for the reply js0873, I thought you might have this unchecked already.

Please try exiting Everything completely.
Does the UAC prompt occur if you run Everything.exe directly?
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

void wrote:Thanks for the reply js0873, I thought you might have this unchecked already.

Please try exiting Everything completely.
Does the UAC prompt occur if you run Everything.exe directly?
Yes, it does.
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

This is odd. There are 5 ways I know that Everything could cause the UAC prompt:
  • Run this program as an administrator is checked in properties -> compatibility.
  • Run as admin is enabled in Everything, in Tools -> Options -> General.
  • An admin command line option was used.
  • You are using an old version of Everything.
  • Custom Everything.manifest
What happens if you rename Everything.exe to Everything2.exe?
Does running Everything2.exe cause the UAC prompt?
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

Yes, I just renamed it and tried it, and it still gave the UAC prompt. I executed the following from a CMD prompt:

"C:\Program Files\Everything\Everything2.exe"
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

That rules out any compatibility setting issues..
Rename Everything2.exe back to Everything.exe.

Can you confirm the file version when you right click Everything, under Properties -> Details.
Do you have an Everything.manifest in the same location as your Everything.exe?
Where did you download Everything from?
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

Sorry, I didn't see that you responded until now. I checked the properties/details at the location and it shows the version as 1.3.4.683b. I downloaded it at http://www.voidtools.com/downloads/. I don't see a Everything.manifest file anywhere. Should there be one? - Joel
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Run As Service and UAC Prompts

Post by therube »

> Everything.manifest

Maybe he meant Everything.ini ?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Thanks for the update.

There shouldn't be a Everything.manifest.

The Everything.manifest can override properties in the Everything.exe, such as always run elevated.
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Try changing the compatibility mode to windows 7.
  • Right click an Everything shortcut and click Properties.
  • Click the Compatibility tab.
  • Check Run this program in compatibility mode for:
  • Select Windows 7
  • Click OK.
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

void wrote:Try changing the compatibility mode to windows 7.
  • Right click an Everything shortcut and click Properties.
  • Click the Compatibility tab.
  • Check Run this program in compatibility mode for:
  • Select Windows 7
  • Click OK.
Well, I just tried that too, but with no luck. I know you're likely frustrated, but any other ideas? - Joel
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Please check your computer for viruses/malware.

Try changing the compatibility for the Everything.exe in C:\Program Files\Everything file instead of a shortcut.

What is the md5 sum of Everything.exe ?

To calculate the MD5 sum:
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

FYI: I'd already done that with the compatibility settings, changing it not only with the shortcut but also at the direct location in Program Files. Here's the checksum it calculated: 1a582d9ec590fbdef32f67dd9cb745ef
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Thanks for the update.

The md5 sum matches the official release.

Is there a blue/yellow shield on the Everything.exe icon?
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

js0873.search.Everything.jpg
js0873.search.Everything.jpg (68.37 KiB) Viewed 13690 times
I'm not sure what you meant by the blue/yellow shield. Hopefully the image of the screenshot shows up so you can see. - Joel
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Here is an image of the blue and yellow shield icon overlay:
blue.and.yellow.shield.icon.png
blue.and.yellow.shield.icon.png (2.57 KiB) Viewed 13690 times
Try resetting all of Everything's settings:
  • Exit Everything completely.
  • Rename the following file:

    Code: Select all

    %APPDATA%\Everything\Everything.ini
    to:

    Code: Select all

    %APPDATA%\Everything\Everything.ini.backup
  • Restart Everything.
If the UAC prompt continues, please try running Everything in debug mode.
What is displayed in the debug console when Everything requests admin privileges?
void
Developer
Posts: 16669
Joined: Fri Oct 16, 2009 11:31 pm

Re: Run As Service and UAC Prompts

Post by void »

Try deleting the AppCompatFlags for Everything in the Registry:
  • From the Start menu, click Run
  • Run Regedit
  • Navigate to:

    Code: Select all

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
  • Delete the string:

    Code: Select all

    C:\Program Files\Everything\Everything.exe
  • Navigate to:

    Code: Select all

    HKEY_CURRENT_USER\Wow6432Node\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
  • Delete the string:

    Code: Select all

    C:\Program Files\Everything\Everything.exe
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

void wrote:
blue.and.yellow.shield.icon.png
Try resetting all of Everything's settings:
  • Exit Everything completely.
  • Rename the following file:

    Code: Select all

    %APPDATA%\Everything\Everything.ini
    to:

    Code: Select all

    %APPDATA%\Everything\Everything.ini.backup
  • Restart Everything.
If the UAC prompt continues, please try running Everything in debug mode.
What is displayed in the debug console when Everything requests admin privileges?
Finally, success!! I didn't need to change the registry or use debug mode. Renaming the configuration file did the trick. I guess those settings were a holdover from the previous version. You might make note of that for other users switching from a previously installed version. Thanks - Joel
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Run As Service and UAC Prompts

Post by therube »

Can you check to see what the differences are between Everything.ini & Everything.ini.backup ?
(Or post the files here.)
js0873
Posts: 22
Joined: Tue Jul 29, 2014 4:07 pm

Re: Run As Service and UAC Prompts

Post by js0873 »

therube wrote:Can you check to see what the differences are between Everything.ini & Everything.ini.backup ?
(Or post the files here.)
The left side of the comparison is the new version and the right side ids the .backup old version:

https://www.dropbox.com/s/0ybb7mohxeu30 ... rences.jpg
Post Reply