File > Exit & Stop Service

Have a suggestion for "Everything"? Please post it here.
Post Reply
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

File > Exit & Stop Service

Post by raccoon »

Dear void: Can we get a file and tray menu option for Exit & Stop Service below the normal Exit menu item?

You can choose to make these options dynamically visible/enabled only when the service is actually running.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: File > Exit & Stop Service

Post by void »

I'll consider an option to show Start/Stop Everything Service in the tray icon context menu.
or, under the main Tools menus.

Thank you for your suggestion.


Can I ask, why are you stopping the Everything Service?

Note: Administrative privileges are required to start/stop the Everything Service.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: File > Exit & Stop Service

Post by raccoon »

I'm stopping the service when I drop new alpha builds, since that's the advised practice for upgrading.

I estimate it's also good practice if running Everything on somebody else's computer from a thumb drive, before I leave that workstation.

Is terminating the Everything service process from Task Manager / Process Explorer the same as going to Services > Everything > Stop?

Can't Everything signal its service process to stop without a UAC prompt or Administrator password?

I can see you not wanting an average user to stop the Everything service if Everything is being used on a user kiosk / workstation.

Should we add a Kiosk panel to the Everything options UI, with all the various user access controls in Everything, including password access to Tools > Options?

Am I taking us down a rabbit hole? :)
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: File > Exit & Stop Service

Post by void »

I'm stopping the service when I drop new alpha builds, since that's the advised practice for upgrading.
Using the installer would make this easier.

Otherwise, consider disabling the Everything Service and exiting Everything:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Uncheck Everything Service.
  • Click OK.
  • From the File menu, click Exit.
  • Replace your Everything.exe
  • Restart Everything
  • Accept the prompt to install the Everything Service. (it might take up to a minute to show)

I estimate it's also good practice if running Everything on somebody else's computer from a thumb drive, before I leave that workstation.
I recommend uninstalling the Everything Service.
Just stopping the Everything service would keep it installed.
On the next boot the Everything Service would be started.


Is terminating the Everything service process from Task Manager / Process Explorer the same as going to Services > Everything > Stop?
Yes, the Everything Service is stateless, so it is safe to terminate it from the Task Manager.
However, you would need an admin Task Manager to be able to terminate the Everything Service process.


Can't Everything signal its service process to stop without a UAC prompt or Administrator password?
Yes, it would be possible to have Everything send a command to exit the Everything Service.
Admin would only be required to restart the Everything Service.


Should we add a Kiosk panel to the Everything options UI, with all the various user access controls in Everything, including password access to Tools > Options?
Yes, it might be needed.
I'll look into this more when I add GPO support. (GPO support is planned for Everything 1.5)
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: File > Exit & Stop Service

Post by raccoon »

Maybe an "Exit & Stop Service" option should also automatically uninstall the service, since Everything will automatically install the service again the next time the user runs Everything (and chooses Start Service). Seems fitting and predictable, and doesn't leave any lingering garbage in Window's auto runs if a portable install is removed from the system, or a test install folder is deleted from the hard drive.
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: File > Exit & Stop Service

Post by void »

Everything considers itself running as portable when "store settings and data in %APPDATA%\Everything" is disabled.

When "store settings and data in %APPDATA%\Everything" is disabled, I will consider showing an Exit and uninstall Everything Service menu option.

Thank you for the suggestion.
Post Reply