Run Access 2021 as a Windows Service with AlwaysUp

How to Run Microsoft Access 2021 as a Windows Service with AlwaysUp

Automatically start your Access application (*.ACCDB/MDB/ACCDE/MDE) when your computer reboots — no need to stay logged in

Access 2021 is Microsoft's popular, pseudo-relational database platform.

Even though Access was built for normal desktop use, the application features a sophisticated automation layer that can drive its internal components in the background, without direct user interaction. Note, however:

Microsoft cautions against running any program in its Office suite as a Windows Service.

Having said that though, the most notable problems arise when running in the LocalSystem account — which has not been configured to run Access. And AlwaysUp can get around many of those issues.

Nevertheless, please be sure to thoroughly test your setup to ensure that Access can do everything you expect when it's running as a service with AlwaysUp.

To install Access 2021 as a service with AlwaysUp:

  1. Install and configure Access 2021, if necessary.

    Ensure that Access can open your database file and that everything works as you expect.

    For this tutorial we'll use this basic payroll system, which is freely available and works well with Access 2021:

    Payroll System Access Database

  2. Download and install AlwaysUp, if necessary.

  3. Start AlwaysUp.

  4. Select Application > Add to open the Add Application window:

    Add Application

  5. On the General tab:

    • In the Application field, enter the full path to the Access executable, MSACCESS.EXE. If you installed Office 2021 in the default location, this is:

      C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE

    • In the Arguments field, enter the full path to your Access database file (*.ACCDB/MDB/ACCDE/MDE). Be sure to enclose the path to your file in quotes if it contains a space!

      Note that Access supports several command line switches and you can add those as parameters here as necessary. For example, you can open the database for exclusive access by adding "/excl" to the arguments.

    • In the Start the application field, select Automatically, but shortly after the computer boots. That tells AlwaysUp to start Access about 2-3 minutes after your computer boots — after important services are running.

    • And in the Name field, enter the name that you will call the application in AlwaysUp. We have used Access 2021 but you can specify almost anything you like.

    Access 2021 Windows Service: General Tab

  6. Click over to the Logon tab and enter the username and password of the Windows account in which you installed and configured Office/Access — probably the account you're logged in to right now.

    Access must run in the correct Windows account so that it can find your settings!

    Don't enter your Office 365 account information here. Enter the account for your computer:

    Access 2021 Windows Service: Logon Tab

  7. Next, move to the Startup tab.

    We recommend checking the Stop all copies of the application running on this computer box and the two boxes below it. Those options will ensure that another copy of Access running in your Windows account won't prevent the instance launched by AlwaysUp from starting properly.

    Access 2021 Windows Service: Startup Tab

  8. Click the Save button. In a couple of seconds, an application called Access 2021 will show up in the AlwaysUp window. It won't be running yet though:

    Access 2021 Windows Service: Created

  9. To start your application, choose Application > Start "Access 2021". In a few seconds, the state should transition to "Running" and MSACCESS.EXE will be working away in the background (in the isolated Session 0):

    Access 2021 Windows Service: Running

    If you wish to see Access on your desktop — perhaps to troubleshoot an issue — choose Application > Restart "Access 2021" in this session from the menu. After a few seconds, Access will open as normal.

  10. That's it! Next time your computer boots, your Access 2021 database application will start up immediately, before anyone logs on.

    We encourage you to edit the entry in AlwaysUp and check out the many other settings available. For example, send an email whenever Access crashes or stops, add a delay if Access must wait for other applications to start at boot, or boost the priority to give the database more CPU time.



Access 2021 not working properly as a Windows Service?

  • Consult the AlwaysUp Troubleshooter — our online tool that can help you resolve the most common problems encountered when running an application as a Windows Service.

  • From AlwaysUp, select Application > Report Activity > Today to bring up an HTML report detailing the interaction between AlwaysUp and Access. The AlwaysUp Event Log Messages page explains the messages that may appear.

  • Browse the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.5 New!

8.0 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!