Run Windows Services only when you want them to with Service Trigger Editor

Ashwin
Oct 16, 2019
Updated • Oct 17, 2019
Software, Windows software
|
8

Windows Services are core components of the operating system that are used to power Windows features and used by programs.

Third-parties may add services of their own to Windows and these may be set to autostart with the system. While that is necessary at times for the program to run, it may also cause issues such as increased memory usage.

Run Windows Services only you want them to with Service Trigger Editor

You can use the built-in Services.msc tool to disable services from auto-starting, by either disabling them or setting them to start manually. What if you had more control over this? This is where Service Trigger Editor can be helpful.

It is a freeware tool that you can use to view or modify the triggers that start or end a Window Service. Instead of services running all the time, they will only run when you want them to.

Service Trigger Editor

Service Trigger Editor example

Service Trigger Editor has a very simple GUI with a menubar, toolbar, statusbar, and two panes. The Services pane lists all services that are available on the system.

Each service is listed with its name, description, status (running or stopped), and the number of triggers that are associated with it. The status is also indicated by a green circle (active) while a blue circle indicates that it contains a trigger.

Selecting a service displays its corresponding trigger in the trigger pane.You can hide services which don't have a trigger from the View menu. The toolbar and status bar can be hidden from view and you can right-click on any trigger to start or stop it.

You can create a new trigger by clicking on the Add Trigger button or from the Trigger menu. You can set a trigger to start and stop based on specific conditions. Here are a few examples:

  1. A computer joins a domain or leaves one
  2. A firewall port is opened or closed, etc.
  3. A machine policy or user policy changes.
  4. The first IP address becomes available or unavailable.
  5. A Specific device arrives. (when you plugin a hard drive, sound device, etc).
  6. A packet/request arrives on a network protocol.

Set the trigger to start or stop when the condition is met and click on Save to apply it. You can get the the GUID of a device from Windows' Device Manager (Properties > Details > Class Guid).

Let's take a look at an example

I want to start the Print Spooler service when I plug in my HP X705W USB 3.0 flash drive (let's pretend it contains documents that I wish to print). So, I will select Print Spooler and choose to add a trigger. Now I select the "Specific device arrives" as the trigger condition and enter the value I got from device manager as the string and click on save. That's easy, isn't it?

Tip: A service can have multiple triggers.

Custom triggers (not recommended for average users)

You can set your own trigger condition but it's not going to be an easy task. Custom triggers can be set for the following

  1. A custom event occurs.
  2. A custom system state change occurs.

To do this, you'll need the Event provider's GUID and the values for custom string, binary, level or keyword.

The tools menu can be used to access Windows' Event Viewer, Services, Computer Management and Task Manager.

Service Trigger Editor is free but not open source. It requires no installation. The program is compatible with Windows 7 and above, and also supports Windows Server 2008 and newer.

Summary
software image
Author Rating
1star1star1star1stargray
4 based on 5 votes
Software Name
Service Trigger Editor
Operating System
Windows
Software Category
System
Price
Free
Landing Page
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Anonymous said on October 17, 2019 at 9:41 am
    Reply

    “Run Windows Services only you want them to with Service Trigger Editor”

    Ghacks, you’re going downhill fast. So sad.

    1. Dave said on October 20, 2019 at 8:03 am
      Reply

      Care to explain why?

      1. Anonymous said on October 23, 2019 at 7:30 pm
        Reply

        apparently the readers do too, lol.

  2. ULBoom said on October 17, 2019 at 2:25 am
    Reply

    Before you “untrigger” a service, understand what turning off the service or it’s triggers affects. Both triggers and services can affect multiple functions.

    Many services have names that aren’t descriptive of everything they do. Some have unhelpful descriptions identical to their names!

    Definitely a learning curve, keep a log of changes and only make one or a few at a time so mistakes (e.g., lack of network connectivity) can be easily reversed.

  3. popcorn said on October 16, 2019 at 5:33 pm
    Reply

    I wonder if gHacks can do an article on a change to windows services. Windows now appends some type of ID on certain services. Its been back ported to older versions of Windows 10 as well. Example: BluetoothUserService_2dd13, MessagingService_2dd13. It makes it harder to create scripts to disable unneeded/privacy centric services for multiple PCs.

  4. madrid said on October 16, 2019 at 2:45 pm
    Reply

    no need

  5. Anonymous said on October 16, 2019 at 9:40 am
    Reply

    *when*

  6. Anonymous said on October 16, 2019 at 9:28 am
    Reply

    Thank you for the tip! Looks usefull!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.