The Core Technologies Blog

Professional Software for Windows Services / 24×7 Operation


3 Amazing, Obscure (and Free) Windows Utilities We Use Every Day

Free Windows Utilities

Like you, the majority of our work day is spent in front of a computer.

Indeed, most of the time you will find us wrestling with popular Windows applications — like Microsoft Word, Google Chrome and Acrobat Reader. But there are a few lesser-known programs that we have grown to depend on as well.

Here are three of the best free tools we use all the time — and can heartily recommend:

1. FileMenu Tools: Turbocharge your right-click menu with common file operations

Many of our daily tasks revolve around files. We’re constantly opening documents, copying images and composing command lines that require file paths.

For those operations, Lopesoft’s FileMenu Tools has been a godsend.

This Windows Explorer extension includes over 35 file operations that you can add to Explorer’s right-click menu:

Configure FileMenu Tools

Our favorites include:

  1. Copy Path: Copies the full path to the selected file(s) into the Windows clipboard. Saves time when we have to open the file in another application or add it to a command line. Just paste and go!

  2. Command Line From Here: Launches the command prompt window, already set to the current folder. Much faster than running CMD and CD’ing.

  3. Open with Notepad: Automatically send a file to Notepad, instead of having to start Notepad, click File > Open and browse to the file.

FileMenu Tools is integrated with Windows File Explorer and is very easy to use. Here you can see us copying the full path of the Dropbox executable (C:\Program Files (x86)\Dropbox\Client\Dropbox.exe) to the Windows clipboard — with just a couple of clicks:

FileMenu Tools: Copy Path

We use the free version of FileMenu Tools but you can purchase the full package to unlock advanced features.

2. AbstractSpoon ToDoList: Increase productivity by tracking & organizing important tasks

For our day-to-day planning — and to make sure that we don’t forget our brilliant but ambitious ideas — we turn to AbstractSpoon’s ToDoList.

AbstractSpoon ToDoList

This attractive Windows application uses a time-tested tree structure to organize your body of work. You start with one or more top level goals and break them down into actionable steps.

Each step/task can have over 20 properties that provide relevant context, including “priority”, “due date”, “percent complete” and “cost”.

ToDoList helps us keep track of:

  • Topics for upcoming blog articles

  • What to put in each new release (and when to make it available)

  • Standard email templates, that we can copy & paste into Gmail

  • Useful but difficult-to-remember commands for managing our UNIX servers

  • And much more!

And to top it off, ToDoList is actively maintained by a passionate and engaged developer. You will not be disappointed by his responsiveness and attention to detail.

3. Pure Text: Easily paste simple text from the clipboard

I really hate it when I copy text from one application, paste it into another and it comes over with all its formatting. Most times I just want the simple text — with zero decoration.

To get my desired result, I would perform the following dance:

  1. Start Notepad

  2. Paste into Notepad (to produce plain text)

  3. Select all the text

  4. Copy the text

  5. Paste the plain text into my target application

Easy to do but definitely a waste of time.

Enter PureText, a ridiculously simple program that strips all formatting from the clipboard so that we can paste plain text in a single keystroke. What a lifesaver!

PureText runs as an icon in the task tray area. You assign it a “hotkey” and whenever that key is pressed, it will paste plain text. Here you can see that we have assigned Ctrl-Shift-V (which is close to Ctrl-V, the key combination that performs a “regular” paste):

PureText Options

Once you have installed PureText, it will be difficult to use a computer without it. It’s one of the first apps we install on a new PC.

So those are three Windows utilities that make a difference in our day-to-day. Download, install and enjoy!

What free applications do you recommend?

We would love to hear your advice and opinions! Please let us know in the comments section.

Posted in Software | Tagged , , , , | Leave a comment

Q&A: What do “Automatic (Trigger Start)” and “Manual (Trigger Start)” mean for Windows Services?

Trigger Start Service
  When I look in Services.msc, some of the Windows Services have a startup type of “Automatic (Trigger Start)” and “Manual (Trigger Start)”. What do those mean?

— Liam

Hi Liam. Those trigger start types are indeed mysterious. And the Services application makes no attempt to explain what they are.

For example, even though the phrase “Trigger Start” appears in the “Startup type” column in the list of services, that designation is absent when you dig into an individual service.

Here we see the User Manager service showing a startup type of “Automatic (Trigger Start)” in the list but simply “Automatic” in the same field in the service’s properties window:

User Manager Service Trigger Start

Baffling, to say the least.

Let’s break down each of the start type names into their two components, to understand what the Services application is trying to communicate.

What do “Automatic” and “Manual” mean?

The first component tells Windows what to do with the service when the computer boots.

Automatic says “start this service when the computer boots”.

Manual means “don’t start the service at boot; it may be started at some other time”.

There are other startup types too but those will be explained in a future article.

What does the “Trigger Start” part mean?

While the first component focuses on what happens at boot, the “Trigger Start” wording indicates if the service can be started or stopped by various operating system events.

For example, some services are configured to start when a USB drive is inserted. Other services may stop when your computer signs out of a domain or leaves the network.

Services that respond to these events are using windows service triggers — a powerful feature designed to conserve your computer’s precious resources. Service triggers were introduced in Windows 7 and Server 2008 R2.

And here is the point of this journey into triggers: A service that has at least one trigger will show up with the “Trigger Start” designation in the Services application.

(Note that the treatment of triggers in the Services application stops there. Despite indicating when a service contains a trigger, triggers cannot be changed in the Services application. You must use the SC command line utility or our free Service Trigger Editor GUI to add or remove triggers from a service.)

Putting it all together…

In summary:

Automatic (Trigger Start) means:

This service will start automatically at boot. It may also start or stop in response to specific operating system events.

Manual (Trigger Start) means:

This service will NOT start automatically at boot. It may start or stop in response to specific operating system events.

Hope this makes sense! Please be sure to get in touch if you have any other questions about the wonderful world of Windows Services.

Posted in Windows Services | Tagged , , , , | 11 Comments

Essential Windows Services: Remote Procedure Call (RPC) / RpcSs

Windows Remote Procedure Call (RPC) Service

What is the RPC Windows Service?

The Remote Procedure Call (RPC) service supports communication between Windows applications.

Specifically, the service implements the RPC protocol — a low-level form of inter-process communication where a client process can make requests of a server process. Microsoft’s foundational COM and DCOM technologies are built on top of RPC.

The service’s name is RpcSs and it runs inside the shared services host process, svchost.exe:

RPC Windows Service

Should I stop the RPC service?

The answer is no — you should definitely not stop the service. It is far too important.

Indeed, if you examine the list of services that depend on the RPC service for smooth operation — by running the SC ENUMDEPEND command — you will notice that there are a whopping 103 services that need RpcSs on Windows Server 2019!

RPC Windows Service Dependencies

If the RPC service stops, those 103 would have to stop as well — surely crippling your computer.

In their guidance on disabling system services on Windows Server 2016, Microsoft “strongly recommends that you have the RPCSS service running”. However that is a huge understatement. The service is absolutely vital for Windows to run.

Why are all the options for the RPC service grayed out?

If you examine the service’s screenshot, you will notice that the Stop and Pause buttons are disabled — indicating that the service cannot be interrupted.

Furthermore, the account running the service cannot be changed on the Log On tab:

RPC Windows Service Log On tab

You can adjust the recovery settings but not much else.

By limiting changes, Microsoft is clearly shouting: Do not update the RPC service!

Questions? Problems?

If you would like to know more about the Windows RPC service, or you have a specific problem, please feel free to get in touch. We will do our best to help you!

Posted in Windows Services | Tagged , , , | 8 Comments

How to Fix the “OpenGL” Problem when Running Dropbox as a Windows Service

What’s the problem with Dropbox?

As we wrote about last week, Dropbox version 81.4.195 often fails to run as a background Windows Service. The telltale sign that Dropbox is in trouble is this wordy alert, which appears in Session 0:

Dropbox OpenGL Error

Dropbox stops dead in its tracks — without synchronizing a single file!

So how do I fix it?

Follow these steps to fix the problem:

  1. Start a Windows command prompt as an Administrator (an elevated command prompt)

  2. Run this command:

    SETX QT_OPENGL software

    SETX QT_OPENGL software
  3. Close the command prompt.

Afterwards, restart Dropbox as a service. The OpenGL prompt should be gone — a relic of an unpleasant past.

Huge thanks go to Dropbox forum user Wilson7777, who alerted the community of this remedy. His original solution is here.

Why does the fix work?

The explanation is a bit technical, but here goes…

Dropbox uses Qt — a popular cross-platform development framework.

In turn, Qt requires OpenGL — a cross-platform API for rendering 2D and 3D vector graphics.

So when you run Dropbox, both Qt and OpenGL will be started.

But for some unknown reason, when Dropbox is started as a Windows Service in Session 0, Qt and OpenGL fail to initialize. That failure causes Dropbox to throw up the “Failed to create OpenGL context for format QSurfaceFormat” error, which suggests that there is a problem with the computer’s graphics card/hardware.

Fortunately there is a way to instruct Qt: “Instead of using the computer’s graphics hardware for OpenGL, use software libraries”. Setting the QT_OPENGL environment variable to “software” is the way to do that.

And with the change to use software instead of hardware, Qt, OpenGL and Dropbox all start properly.

Note that when you ran the SETX command in step 2, it added the QT_OPENGL value to your environment. You can see it listed in your environment variables (available from the Control Panel):

QT_OPENGL environment variable

Will this fix work for future versions of Dropbox?

We certainly hope so! But like you, we’re not sure what magic the next automatic update of Dropbox will bring…

Posted in Dropbox | Tagged , , , , , | 17 Comments

Dropbox Version 81.4.195 (September 18, 2019) Not Working With AlwaysUp For Some Customers

Dropbox is experiencing issues

The most recent release of Dropbox — Stable Build 81.4.195, posted the morning of September 18 — may not work properly as a Windows Service with AlwaysUp.

We are actively investigating. So far, the problem appears to be related to Session 0 — the background desktop hosting Windows Services.

When Dropbox starts in Session 0, some customers report that this error prompt stops the action:

Dropbox OpenGL Error

If OK is pressed, Dropbox simply exits — without synchronizing any files.

Is there a workaround?

Yes. Please see the update from 9/25 (below) for a potential workaround. To date, it has worked for several customers.

Dropbox says to make sure that your display drivers are up to date. This has resolved the problem for some customers. Please let Dropbox know if it doesn’t work for you.

Beyond that, there are a couple other workarounds but neither is a long term solution.

If you start Dropbox in the current session (by selecting Start “Dropbox” in this session from the Application menu), Dropbox will start and your files will be synchronized. However, once you log off, Dropbox will return to Session 0 and it will cease to function again.

Another option is to run Dropbox outside of AlwaysUp, normally on your desktop. Of course, you will have to remain logged in, which is less than ideal.

Please check in the “Updates” section below for additional workarounds as they are developed.

When will this be fixed?

We’re not sure when Dropbox will fix the problem.

They seem to create new desktop client builds regularly so we have our fingers crossed that they deliver a resolution very soon.

Please let Dropbox know that you are affected

We encourage you to “nudge” the Dropbox team into action by:

The more we speak up, the better the chance of a quick fix.

We need your help!

First, can you let us know if you are experiencing trouble with the latest Dropbox? Please be sure to answer the following questions:

  • What version of Windows are you running?

  • Do you see the “OpenGL” error message when you switch to Session 0? That operation is available from the Tools menu in AlwaysUp.

  • Is your computer a virtual machine? If so, what is the host? (VirtualBox, Hyper-V, VMWare, etc.)

Second, can we access your system remotely to troubleshoot? We have been unable to reproduce the problem on our systems, and that has been an obstacle to us developing a solution/workaround.

Your help will be appreciated!

Updates

September 18 @ 5:38 PM Pacific: Eric Sakariasen from Connetic has come up with a clever workaround:

  I found a way to work around this issue, at least in my environment,

We have Dropbox running with separate creds (a service account) I go to the cached installer for 81.4.195, in my case its:

C:\Program Files (x86)\Dropbox\Update\Download\{CC46080E-4C33-4981-859A-BBA2F780F31E}\81.4.195

I deny all access to the executable via NTFS permissions for that account. Then install the older 80.4.127 over the top of the current install (it kills the running version automagically). This seems to break the ability for the updater to do its magic so it will skip this version.

We can only hope the next version is up and running with a fix, if not, rinse and repeat.

This has worked for at least 3 of our customers running Dropbox.

September 18 @ 9:20 PM Pacific: So far we have thoroughly tested Dropbox version version 81.4.195 running in Session 0 on the following operating systems:

  • Windows Server 2019
  • Windows Server 2012 R2
  • Windows 10 (Build 1903)

None have exhibited the problem.

Here is the basic test we perform using two computers linked to the same Dropbox account:

  1. Copy a new file into machine’s A’s Dropbox folder
  2. Check that the file shows up on dropbox.com
  3. Check that the file shows up in machine B’s Dropbox folder

We will continue to test other versions of Windows over the next few days.

September 19 @ 6:15 AM Pacific: The Dropbox support team suggests that the problem may be with old display drivers.

Perform the steps outlined in this post to make sure that your PC is up-to-date.

September 19 @ 10 PM Pacific: Dropbox posted Beta Build 82.3.133 earlier today.

We’re not sure if it fixes the problems running in Session 0 (Dropbox doesn’t post a changelog) but it may be worth a shot. Please try it let us know if it works for you or not.

September 25 @ 10:30 PM Pacific: Dropbox forum user Wilson7777 has proposed a workaround:

  For those scratching their heads trying to resolve this OpenGL issue running the latest version of Dropbox + AlwaysUp I have successfully resolved this issue by following these steps:

1. In the Windows start menu enter the search term “environment variables” and select “Edit the system environment variables”

2. In the dialog that comes up click “Environment Variables” then click “New” in the system variables section.

3. In the dialog that comes up enter variable name = ‘QT_OPENGL’ (without the quotes) and variable value = ‘software’ (without the quotes)

Click “OK” then “OK” then “OK” to close the system properties dialogue.

Restart Dropbox within AlwaysUp and you should find the OpenGL issues are resolved if you view through session 0 and Dropbox will be synchronising your files fine.

Please try it and let us know if it works for you!

September 26 @ 7:30 AM Pacific: Customer Seth Ruppert from IMT has reported that the 9/25 fix has resolved the issue on his installations.

And other reports of success are trickling in, so setting the QT_OPENGL system environment variable to software seems to be working!

September 27 @ 12:30 AM Pacific: The fix from 9/25 is working well so we have documented our recommended workaround in this post. Enjoy!

Posted in AlwaysUp | Tagged , , , , | 11 Comments