The Core Technologies Blog

Professional Software for Windows Services / 24×7 Operation


Trouble running Google Drive 1.9 with AlwaysUp on Windows XP & Server 2003

Over the past couple of years, several of our customers have been using AlwaysUp to run Google Drive as a Windows Service. But this past week, two customers, one on Windows XP and another running Windows Server 2003, reported that AlwaysUp was suddenly failing to start Google Drive, despite having run flawlessly for weeks. Very mysterious!

We downloaded the latest release of Google Drive (version 1.9.4536.8202, from April 29 2013) and had no trouble reproducing the issue on one of our Server 2003 machines. Just like our customers reported, Google Drive would run for a few seconds before dying. And with no error popup, no log file, and no other hint of what went wrong, we were left completely in the dark. (Note to the folks at Google – please improve your error reporting!)

So with 1.9 not cooperating, we decided to take the previous version (1.8.4357.4863, circa May 16 2013) for a test drive. A quick uninstall and install later, we had Google Drive running normally, with no problems whatsoever. It seems that the bug foiling AlwaysUp had been introduced in version 1.9 in the past month.

However this riveting story doesn’t end with a simple recommendation to stick with Google Drive 1.8. After running for a day, our installation suddenly failed again, because version 1.9 was back! Yes, thanks to an automatic update at 2:50 AM, we were back to square one.

Thus in addition to rolling back to version 1.8, we also recommend disabling Google’s automatic updates. Google employs a confusing mix of services and tasks to manage updates, but the two scheduled tasks seem to do the honors for Google Drive. Disable them to prevent automatic updates and keep the stable 1.8 release synchronizing files happily on your PC:

So to summarize, if you are having trouble running Google Drive 1.9 as a Windows Service with AlwaysUp on Windows XP or Server 2003:

  • Uninstall version 1.9
  • Install version 1.8
  • Disable Google’s automatic updates

Please get in touch if you have any questions!

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

Working with Interactive Services? Switch to Session 0 whenever you like!

If you have a Windows Service that displays GUI elements in the isolated Session 0, then you know how frustrating it can be to work with Microsoft’s Interactive Services Detection Dialog. It pops up constantly, screaming for attention on the task bar, yet when you dismiss it by clicking on the “Ask me later” button, it goes away and is nowhere to be found when you actually need it. Very annoying!

After hours of irritation, we decided to do something about it. Our new (and completely free) Switch To Session 0 utility resides quietly in the task tray and quickly transports you to Session 0 when you double click it. And even better, it can help you banish the Interactive Services Detection Dialog forever (well, almost).


Switch to Session 0 from a Taskbar Tray Icon

Click here to find out more about Switch To Session 0. As always, feedback is appreciated.

Posted in Switch To Session 0 | Tagged , , , | 1 Comment

Video: Start Dropbox whenever your PC boots

For our customers using Dropbox, the helpful folks at HowTech have created a step by step video tutorial showing how easy it is to download and install AlwaysUp, then use it to setup Dropbox as a Windows Service:

You can find our own guide to configuring Dropbox and AlwaysUp here.

Posted in AlwaysUp | Tagged , , | Leave a comment

AlwaysUp 8.5: Run in Session at Boot, Switch To Session 0, and more

After months of testing, Version 8.5 of AlwaysUp, our award-winning application that runs any application as a Windows Service, is now available for download. It is a free upgrade for customers who purchased version 7 or 8 (after February 2010) while users of earlier versions can upgrade at a 50% discount.

Here are some of the most notable advancements:

Improved support for starting applications on your desktop

Since the introduction of Windows Vista in 2007, Session 0 Isolation has prevented Windows Service applications from showing their windows and tray icons on the “normal” desktop. AlwaysUp has consistently provided tools to work around that restriction (such as the “Start in session” commands) and now we have another arrow in the quiver.

In works like this: Instead of starting your application on the isolated Session 0, the only session available when your PC boots, AlwaysUp will automatically log in a designated user and start your application in the user’s newly created session. When you later log on as that user you will see your application running normally on the desktop.

Select Tools > Autologon to configure this easy-to-use feature:

Read more about Autologon on page 47 of the AlwaysUp User’s Manual.

Conveniently Switch to Session 0 from the toolbar

Viewing Session 0 is now even easier. Just click on the new toolbar button to see your applications.

Several bug fixes & minor enhancements

Support for Windows Server 2012 and Windows 8 has been strengthened, a bug when registering on machines without a C drive has been resolved, and network shares containing spaces are now handled properly.

The AlwaysUp Version History page documents the full list of changes.

Enjoy!

Posted in AlwaysUp | Tagged , | Leave a comment

Service Protector Version 4.0 Released

The latest version of Service Protector, our set-it-and-forget it application that keeps your important Windows Services running 24/7, is now available for download. It is a free upgrade for customers who purchased version 3 (November 2011 – March 2013) while version 1 and 2 users can upgrade at 50% of the regular price.

Key changes include:

Support for multiple scheduled stops

Instead of restarting your service once per day, you can now restart it as often as you like. Specify the times at the bottom of the Monitor tab:

Schedule when to Stop your Windows Service

Complex services now have more time to stop gracefully

Previous versions of Service Protector wait about 30 seconds for a service to stop gracefully before resorting to more (gasp) harsh methods. While that duration worked for most services, some (like Microsoft Exchange) need more time. We ended up making the wait time configurable, defaulting to a conservative 1 minute. The Extras tab houses the new setting:

Gracefully Restart your Windows Service

Improved handling of rogue services

A couple of our customers reported a scenario where their service was in the stopped state but the underlying executable was stuck in memory, thus preventing a clean restart.
This new version includes code to detect and resolve those insidious failures.

Several bug fixes & minor enhancements

For example, licensing on virtual machines has been improved and a bug when registering on machines without a C drive has been resolved.

The Service Protector Version History page documents the full list of changes.

Enjoy! And as always, feedback is appreciated.

Posted in Service Protector | Tagged , | Leave a comment