Posted onDecember 5, 2022 (Revised January 7, 2023)
I’m testing your AlwaysUp with Dropbox. So far everything works great except for one case. When I delete a file from Dropbox.com online, it’s not removed from my hard drive. The file just stays in the local folder.
I’m a bit confused because new files I add on the computer show up online quickly (and vice versa). It’s only deleting that’s not working.
Have you ever seen this before?
— Wendy McIntosh
Hi Wendy. Thanks for trying AlwaysUp!
Yes, I think we have seen that before. It’s very likely that Dropbox is stuck trying to get your attention.
Dropbox is probably waiting for input from you
Obviously, Dropbox is a regular Windows desktop application. As such, it expects to be able to interact with you as it copies your files to and from the cloud.
And you’ve probably encountered one or more desktop notifications as Dropbox moves files around. For example, this informative alert appeared after we uploaded one of our favorite recipes to the cloud:
Notifications like those can be helpful, but you may not see them when Dropbox is running with AlwaysUp. In fact, you won’t even see the Dropbox tray icon or any windows from Dropbox on your desktop. That’s because Dropbox is working “invisibly” in the background — on the isolated Session 0 desktop where all Windows Services operate.
In any case, your inability to see simple notifications like the one above shouldn’t pose any problems. That’s because Dropbox will automatically create and destroy those alerts without you ever setting eyes on them. And even though you may be less informed, Dropbox will continue to synchronize your files as expected.
However, the story is different for prompts that need you to take action before proceeding. They patiently wait for you to do something, even though you have no idea that they exist!
Unfortunately Dropbox may show one of those prompts when you remove a file online. And that may be holding up the action. Let’s see if that’s the case.
Start Dropbox normally and look for a “Delete file” prompt
To check if Dropbox is trying to get your attention:
Stop Dropbox in AlwaysUp
Start Dropbox normally, without AlwaysUp.
Dropbox should now be running on your desktop.
Do you see this prompt on your screen?
As the window says, Dropbox is confirming that the file you removed online should be deleted from all devices. And, most importantly, Dropbox will not remove the file from your PC until you click the “Delete everywhere” button. It’s stuck, waiting for your approval.
Be sure to check the “Don’t ask me this again” option
As you can expect, dismissing the window will allow Dropbox to proceed and remove your file.
But before you dismiss the window, please check the Don’t ask me this again box:
Checking that box will ensure that you’re never interrupted by that window again. And that’s exactly what you want/need as Dropbox runs invisibly in the background with AlwaysUp.
Spot any other problems?
And while you’re here, please have a look around. Is Dropbox reporting any warnings or failures? Click its tray icon to find out.
If you do notice a problem, please do your best to resolve it before returning to AlwaysUp. As you can imagine, if Dropbox doesn’t work on its own, it won’t magically work under AlwaysUp either.
It means that Microsoft will stop issuing fixes and important security updates for Windows 8.1. And without those timely improvements, the operating system will gradually become more vulnerable to viruses, ransomware and bad actors looking to exploit outdated software.
What should I do if I’m still running Windows 8.1?
You should look to get off 8.1 as soon as possible — especially if you’re operating in a commercial setting. Best to upgrade to Windows 10 or Windows 11. This article discusses ways to upgrade to Windows 10 for free (though no one in our company has tried it).
If upgrading isn’t an option, then you should seriously consider disconnecting your machine from the Internet. Hackers won’t be able to break into your computer if they can’t reach it.
Will your software still support Windows 8.1?
Our development team start phasing out support for Windows 8.1 in February 2023.
The next release of AlwaysUp — due in April 2023 — will eliminate functionality and code specific to Windows 8.1. If you wish to remain on the outdated operating system, then AlwaysUp 14.0 is the last version you can use.
Similarly, the next release of Service Protector will drop support for Windows 8.1. That should be out in Q2 2023.
Our free software will travel the same trajectory, though at a slower, ad-hoc pace. Indeed, those with infrequent releases may remain compatible with 8.1 for months or even years. Please get in touch you need to know about a specific product.
I recently bought a license for AlwaysUp. I used it to install several scripts as Windows Services.
Most of my scripts run one time per day, and those are fine. But I have others that must run every 30 minutes — between 8:00 AM and 7:00 PM, Monday to Friday. How do I get my scripts to work like that in AlwaysUp?
— Jasaf
Hi Jasaf.
There are a couple of steps you should take run your scripts exactly when you want to.
1. Configure AlwaysUp to run your script every 30 minutes
By default, AlwaysUp runs your script 24/7, launching it at boot and quickly restarting it whenever it stops. But that’s clearly not what you want.
To run your script every 30 minutes, on the hour and half-hour:
Edit your script in AlwaysUp
Switch to the Restart tab. These settings determine what AlwaysUp does after your script exits.
Since you don’t want to restart your script immediately after it completes, select the Not immediately option.
Choose On the next hour and half-hour.
Check Minimize event logging as the application stops & restarts. That option tells AlwaysUp that frequent stops and starts are normal and shouldn’t cause panic. 🙂
Save your changes.
At this point, you should test your AlwaysUp entry and confirm that it behaves correctly. Once started, the script should run at the top and the bottom of the hour.
For example, we set up a batch file service as above. After an initial run, the state switched to “Waiting”. And clicking the clock icon showed AlwaysUp holding off until 3:30 for the next run (as expected):
2. Use Service Scheduler to control when your AlwaysUp service runs
So your script is now set to run every half-hour. Great! However, AlwaysUp will run it all day, every day — weekends included.
To make sure that your script runs only Monday through Friday between 8 AM and 7 PM:
Configure the Add Service Task window to start your AlwaysUp-created service every weekday at 8 AM. The window should look like this:
Note that the name of the service will be whatever you called your script in AlwaysUp, plus the “(managed by AlwaysUpService)” suffix. For example, our AlwaysUp entry is named “Process Folder Script” so the corresponding service is called “Process Folder Script (managed by AlwaysUpService)”. And that’s what we selected in the screenshot above.
Click Save to create the new service task.
Finally, create another service task that stops the same service every weekday at 7 PM:
You should end up with a couple of tasks in Service Scheduler:
And that’s it. Going forward, AlwaysUp will run your script every 30 minutes, but only on weekdays between 8 AM and 7 PM.
This new release focuses on making AlwaysUp the best tool for running multiple applications as Windows Services. Here are some of the highlights.
Significant performance improvements when running many applications
Our development team rolled up their sleeves to review the code base and tune key internal components to improve efficiency. Expensive operations — like scanning the desktop for application crash windows — were optimized by caching frequent lookups and selecting lightweight Win32 API functions when possible.
The details are very technical so we won’t get into them here, but it was a major exercise that resulted in a huge performance boost.
And our in-house analysis indicates that customers running several programs with AlwaysUp will reap the most benefits. Specifically, tests on a Windows Server 2022 computer show that AlwaysUp 14 reduces CPU load by:
1 to 5% when managing a single application as a Windows Service
10 to 20% when 5 programs are installed as services
Up to 45% when AlwaysUp is running more than 25 applications.
We also benchmarked a few extreme scenarios to see how the new code performs. In one such test, we were happy to see that CPU load remained relatively low even after we overloaded our computer with more than 100 services:
Please don’t try that at home!
The Application Advisor helps you install Emby Server and Java WAR files
Do you want to start the popular Emby Media Server as soon as your computer boots?
Or are you deploying a Java WAR package to run 24/7 inside your organization?
If so, you’ll be happy to know that both Emby and Java WAR applications can be added to AlwaysUp in a few clicks!
Indeed, with the easy to use Application Advisor, you won’t need to mess with command line parameters or obscure options. That’s because the Advisor understands how applications and services work. As such, it will handle all complexity and quickly produce a Windows Service with the best/recommended settings.
For example, to setup Emby, all you need to enter is the password for your Windows account. The Application Advisor does everything else:
AlwaysUp is fully compatible with Windows 10 & 11 22H2
As usual, Microsoft continues to issue twice-yearly updates to its Windows operating systems.
Windows 10 22H2 began rolling out to customers on October 18. However, as a member of the Windows Insider program, we’ve been playing with that version since August.
Similarly, Windows 11 22H2 started rolling out in September. And like Windows 10 22H2, we’ve been evaluating it for over a month now.
Our assessment? AlwaysUp continues to work flawlessly with both operating systems. In some sense, that is to be expected as Microsoft has left the Windows Services layer untouched.
Other fixes & improvements
We’ve added support for services that don’t return a valid description (e.g. McpManagementService) on Windows 10 and Windows 11.
AlwaysUp now tolerates Active Directory slowness when creating a new Windows Service. In previous versions, service creation might time out when validating the Windows account with the Active Directory server.
In rare circumstances, handling Windows event logs with millions of records would result in hangs and slowdowns. Our team reworked the code to efficiency read records from massive event logs.
AlwaysUp 14 preserves the desktop’s visual styles/themes when launching the application in the current session. No more “strange looking” window borders!
As usual, please review the release notes for the full list of features, fixes and improvements included in AlwaysUp version 14.
Upgrading to AlwaysUp 14
If you purchased AlwaysUp version 13 (after October 2021), you can upgrade to version 14 for free. Simply download and install “over the top” to preserve your existing applications and all settings. Your registration code will continue to work as well.
If you bought AlwaysUp version 12 or earlier (before October 2021), you will need to upgrade to use version 14. Consequently, please purchase upgrades here — at a 50% discount.
Posted onOctober 23, 2022 (Revised January 7, 2023)
I’m using AlwaysUp to install Dropbox as a service. Is it possible to run more than one Dropbox instance simultaneously, each from a different user profile?
I realize in general this is a “Not A Good Thing to do”, but my desire is to mirror several users’ files to a central computer to simplify backup, so the Dropbox folders wouldn’t be shared or modified externally, just locally synced.
— Brian
Hi Brian. That’s a great question! Let’s roll up our sleeves and find out how Dropbox works with AlwaysUp.
AlwaysUp supports many instances of any program — including Dropbox
AlwaysUp doesn’t place any restrictions on the number of accounts/instances of an application you can run.
For example, you can install several copies of Notepad as a service with AlwaysUp and encounter zero problems when running. You’ll just have a lot of Notepad processes. 🙂
As a result, all problems you encounter come from the application you are running as a service — not from AlwaysUp.
So the question we really need to answer is: “Under what conditions can I use Dropbox with multiple accounts?”
We’ll perform a few tests to find out. But first, let’s review the concept of a “session”, which will be important as we investigate Dropbox.
A quick review of Sessions and Session 0
When you log into Windows, you are assigned a session. You can think of a session as the interactive desktop hosting all the applications you start and use.
In fact, a session is a foundational component of Windows. Here are a few key facts about sessions:
A session is a dynamic construct. Windows creates a new session when you log on; it destroys that session when you log off.
Each session is assigned a unique non-negative identifier (ID) and it’s common to identify a session by that number. For example, the session with ID 5 is called “Session 5”.
Every application running on your PC must reside in a session. And when a session closes (i.e. when you log off), Windows terminates all applications running in that session.
Session 0 (i.e. the session with ID 0) is the only session automatically created when the computer boots — before anyone logs on. As such, Session 0 is always available on your PC. However, because of security restrictions, you can no longer access Session 0.
Windows Services — and any applications that must run independently of a user — operate in Session 0.
AlwaysUp starts Dropbox in Session 0 when your computer boots
Sessions are important because each instance of Dropbox runs in a session.
Preparing to test Dropbox
For our tests, we worked with two users — Mike Jones and Hazel Smith. Each has their own Dropbox account online.
We created desktop accounts for Mike and Hazel on our Windows 11 PC and installed Dropbox version 157.4.4808 in each account. Afterwards, we logged in as each user and confirmed that the Dropbox desktop app was connected to their cloud account and synchronizing files as expected.
Finally, we installed Dropbox as a Windows Service with AlwaysUp to automatically sync Mike’s files even when he’s not logged on. In fact, here you can see Mike’s file synchronization running happily in Session 0:
With that foundation in place, we ran a few experiments to answer three basic questions.
Question #1: Can Mike also start Dropbox on his desktop?
As mentioned, Mike has Dropbox working well. He has also set up Dropbox to run as a Windows Service with AlwaysUp. As a result, file synchronization will start as soon as the PC boots — before Mike logs in.
In this scenario, Mike logged into his computer. Windows created Session 2 for him. Mike opened AlwaysUp and confirmed that Dropbox was already running (in Session 0).
Next, Mike double-clicked the Dropbox icon to launch the program on his desktop. But it didn’t work. Dropbox did not start and no tray icon appeared.
Instead, Dropbox seemed to acknowledge what Mike was trying to do by opening his Dropbox folder in File Explorer:
But no new copy of Dropbox started on Mike’s desktop.
Dropbox prevented Mike from starting a second copy in Session 2 because he already had a copy of the program running in Session 0.
Answer: No
Since Mike is already running Dropbox with AlwaysUp, he cannot start another copy on his desktop. Based on this experience, it seems that that Dropbox will only run a single copy of itself for any given user — across all sessions.
Question #2: Can Hazel run Dropbox on her desktop?
So Mike’s Dropbox running in Session 0 prevents him from starting a second copy. But will it also block Hazel?
To find out, Hazel logged in to the PC and double-clicked the Dropbox icon to launch the program on her desktop.
After a few seconds, the familiar tray icon () appeared. Hazel proceeded to copy files to and from her Dropbox folder and all were synchronized. Dropbox worked completely normally.
Indeed, here you can see the Dropbox.exe processes running in Session 0 (for Mike) and Session 3 (for Hazel):
Answer: Yes
Hazel can start Dropbox on her desktop, even though Mike’s copy is running in Session 0. Apparently running many copies of Dropbox is fine if they are for different users in different sessions.
Question #3: Can Hazel run her Dropbox in Session 0 with AlwaysUp too?
Recall that Mike’s Dropbox starts at boot with AlwaysUp. Will Hazel be able to start Dropbox in Session 0 too, to synchronize her files 24/7 like Mike?
To find out, we set up a second Dropbox entry in AlwaysUp. This time, we entered Hazel’s account on the Logon tab, to indicate that Dropbox should work on her behalf. You can see both Mike’s and Hazel’s entries here:
As pictured, Mike’s Dropbox was already running. We started Hazel’s entry and in a few seconds it transitioned to the “Running” state too:
To validate that both Dropbox instances are working properly for Mike and Hazel, we copied files to the local folders and up to the cloud. The files were quickly synchronized in all cases — for both accounts.
Answer: Yes
Both Mike and Hazel can run Dropbox in Session 0 with AlwaysUp.
As the results above show, there are situations when you can run several copies of Dropbox and times when you cannot. Hopefully there is enough flexibility for you to design a system that works for you and your company.
A word of caution
Please realize that the Dropbox team may change how its program works at any time. For example, while a couple of instances work in Session 0 today, we don’t recall that scenario working in earlier versions of the software.