Others

Fix Microsoft Access Runtime Process Not Closing on Windows 11

Camila MilosovichCamila Milosovich Oct 28, 2026 869 views

Question details

The MSACCESS process fails to terminate completely and remains active in the Task Manager after closing a database application on Windows 11.

How to Fix Microsoft Access Runtime Process Not Closing on Windows 11
Product
Microsoft Access 2010 Runtime
Device & OS
Windows 11
Scenario
A user closes an Access 2010 Runtime application that contains VBA code or simple forms, expecting the background process to end.
Observed behavior
The application window closes properly, but the MSACCESS process continues running in the Task Manager. This prevents external applications that use WaitForSingleObject from proceeding, causing system hangs.
Before you start

Ensure you have access to the original source database (.accdb or .mdb) to modify the VBA code before compiling and distributing the updated application to runtime users.

Solution 1Recommended

Replace DoCmd.Quit with Application.Quit in VBA

Modifying the termination command in the database's VBA code ensures the Access application completely closes its background process.

Earlier versions of Microsoft Access, including Access 2010 Runtime, sometimes experience issues where the process remains active after shutdown on newer operating systems like Windows 11. Changing the quit method in your code explicitly instructs the application object to terminate.

1
Open Database in Design Mode

Launch the full version of Microsoft Access and open the source database file containing your forms and VBA code.

2
Locate Termination Code

Open the form used to exit the application in Design View, right-click the exit button, and select 'Build Event' to view the associated VBA code.

3
Update the Quit Command

Search the module for 'DoCmd.Quit' and replace it with 'Application.Quit'. Save the VBA module.

4
Compile and Test

Compile the database and test it on a Windows 11 machine to verify that the MSACCESS process disappears from the Task Manager upon closing.

Replace DoCmd.Quit with Application.Quit in VBA
Process Verified: Using Application.Quit forces the Access application object to release its system resources properly.
Free Microsoft Office alternative

Experience a Seamless and Lightweight Office Alternative

While WPS Office does not offer a direct database alternative to Microsoft Access, it provides a powerful, free, and highly compatible suite for your Word, Excel, and PowerPoint documents. If you are experiencing persistent issues with legacy Microsoft Office software on modern operating systems like Windows 11, WPS Office offers a stable and lightweight modern workspace.

Fully compatible with Microsoft Excel, Word, and PowerPoint formatsLightweight architecture ensures fast startup and smooth operation on Windows 11Familiar tabbed interface allows for an easy transitionFree to use for everyday document creation and editing
QA img-9

Frequently Asked Questions

Why does Access 2010 Runtime behave differently on Windows 11 compared to Windows 10?

Windows 11 introduces new process management and security protocols that can affect how legacy 32-bit and 64-bit applications, like Access 2010 Runtime, handle termination signals. This can cause commands like DoCmd.Quit to fail to terminate the background process completely.

Will clicking the 'X' button or 'File > Exit' properly close the MSACCESS process?

In some environments, clicking the 'X' or 'File > Exit' closes the graphical user interface but leaves the MSACCESS process running in the background. Adding a dedicated exit button programmed with 'Application.Quit' is a reliable workaround.

What does WaitForSingleObject do and why is it causing a hang?

WaitForSingleObject is a Windows API function used by external applications to pause their execution until a specific process (like MSACCESS) fully closes. If the Access process gets stuck in the Task Manager, the waiting application will hang indefinitely.