Fix QuickBooks Desktop Error 12157

Dec 30, 2025

Admin |

Estimated Read Time : 5 MIN

Struggling with QuickBooks Desktop Error 12157? You have landed on the right page. Let us first have some understanding of the error. The error 12157 of QuickBooks is a payroll update error that could occur due to various reasons, including corrupt or damaged files, incorrect date and time settings in your system.  

Date and Time

In addition to this, sometimes users forget to update their QuickBooks application or have an unstable internet connection. In this blog, we will cover everything from A to Z as per the standard solutions. However, depending on your system settings, QuickBooks versions, and third-party applications, the solution may differ.  

Common causes behind the QuickBooks Error Code 12157

There are multiple reasons that are the causes behind the error, and they could vary:

  • Windows firewall or third-party application interference.
  • The security certificate may not be valid.
  • System date and time.
  • Incorrect installation of QuickBooks, or use of an Outdated QuickBooks application.
  • Unstable Internet Connectivity.
  • Damaged or corrupt files

Learn to fix the QuickBooks Desktop Error 12157

Solution 1: Check and adjust the system date and time on your PC 

  • On your desktop, right-click on the system clock and click on Adjust Date/Time.
  • Click on Change date and time and select the specific current date and time.
  • Click OK two times.
  • Close and relaunch your QuickBooks Desktop application.
  • Re-run the update of QuickBooks Desktop.

Solution 2:  Check your Internet Connection Settings

  • Select Internet Connection Setup from the Help menu.
  • Choose Use my computer’s Internet connection settings to establish a connection when this application accesses the Internet.
  • Click on Next and choose Advanced Connection Settings.
  • Choose Restore Advanced Settings on the Advanced tab.
  • Click on OK and Done.
  • Update your QuickBooks Desktop again.

Solution 3: Internet security or personal firewall application settings

There have been instances when it was found that internet security or firewall settings were interfering with the QuickBooks updates.
Check and confirm the configuration of your Internet security and personal firewall software settings. Enable ports 80 and 443, and you would get access to the following files:

  • AutoBackupExe.exe
  • Dbmlsync.exe
  • DBManagerExe.exe
  • FileManagement.exe
  • FileMovementExe.exe
  • IntuitSyncManager.exe
  • QBCFMonitorService.exe
  • QBDBMgr.exe
  • QBDBMgrN.exe
  • QBGDSPlugin.exe
  • QBLaunch.exe
  • QBServerUtilityMgr.exe
  • QBW32.exe
  • QuickBooksMessaging.exe

Configuring Windows Firewall Settings

Windows Firewall is a must and a basic requirement for the smooth functioning of QuickBooks. 

  • In the search field, type “Firewall”.
  • Open the “Windows Firewall” and then click on “Settings”.
  • To create inbound and outbound rules, click on “Advanced Settings”.
Windows firewall
  • For Creating Inbound rules:
    • Right-click on Inbound rules and choose “New Rule”. 
    • In the drop-down menu, click on “Program > Next”.
    • Choose “This Program Path” and browseQuickBooks executable file, such as qbw32.exe or QBDBMgrN.exe” 
    • Select the file and click “Next”.
    • Select and continue with the “Allow the connection” and make sure all profiles are checked.
Click on Allow the Connection
  • Then, click “Next” and name the rule with format QBFirewallException_qbw32.exe. 
  • Click on “Finish”.
  • To create an outbound rule: Follow the same steps mentioned above and just click on “Outbound Rules” this time.  
  • Add Port Exceptions:
    • The first step is to right-click on Inbound or Outbound Rules.  
    • Now choose “New Rule” and click on “Port and then Next
Add Port Exceptions
  • Select the “TCP” section and enter the port numbers aligned with the QuickBooks version you are using. It could be 56728, 55378, or 8019
Quickbooks Clean Install Utility
  • If you are using QuickBooks 2020 or a later version, you need to use the “Dynamic Port” along with 8019. Follow the further on-screen instructions and finally click on “Allow the connection”. 
  • Follow the same steps for other QuickBooks executable files and ports. Now, you can restart the PC.

Get your dynamic port number

  • Click on Next after you enter the port number.
  • Click on Allow the connection and hit Next.
  • Again, click on Next when prompted and ensure that all profiles are marked as checked. 
  • Now, create a new rule and give it a name in the format QBPorts(Year).
  • Once you are done, click on Finish

Solution 4: Update QuickBooks Desktop to the latest release

Step 1: Download the update again

Get Payroll Updates
  • Close and relaunch QuickBooks to install the update again

Step 2: End task on the following processes

  • Firstly, close the QuickBooks applications
  • Open the Task Manager by right-clicking on the taskbar
  • Close and relaunch QuickBooks and reinstall the update.
  • Check and select the QuickBooks background processes and click on End task for each of the following:  
    • QBW32.exe or QBW.exe
    • QBCFMonitorService.exe
    • qbupdate.exe
    • QBDBMgr.exe or QBDBMgrN.exe
    • QBMapi32.exe
End all the QB processes from Task Manager
  • Give a right-click on the QuickBooks shortcut and click on Run as administrator.
  • Re-run the update.

Check and confirm if the QuickBooks Desktop Error Code 12157

Conclusion

We hope that you get the QuickBooks Desktop error 12157. We tried our best to provide you with enough standard fixes. We would also like to inform you that sometimes a QuickBooks error requires advanced technical solutions instead of standard fixes. For more information, reach out to our quickbooksupport representative at Call Us : +1(866)500-0076

Frequently Asked Questions

What is the QuickBooks Error 12157?

QuickBooks error code 12157 is an issue that comes from the payroll update. It could be due to a poor internet connection, incorrect system date or time settings, Windows firewall, or a third-party security application issue. 

What are the common causes behind the QB error 12157?

Over time, it has been recognized that the reason could vary:

  • Windows firewall or third-party application interference.
  • The security certificate may not be valid.
  • System date and time.
  • Incorrect installation of QuickBooks, use of an Outdated QuickBooks application.
  • Unstable Internet Connectivity.
  • Damaged or corrupt files

How can I fix the QuickBooks error code 12157 quickly?

There are various standard fixes that you could apply to resolve the error 12157. You can restart your PC or check and correct your system’s date or time, or temporarily disable your antivirus/firewall.

About The Author

Lana Creston

Lana Creston is an experienced technical and accounting writer with a total of 9 years of experience. She currently works on QuickBooks accounting and technical guides at QuickBookSupportNet. Lana has a passion for reading and writing about various technical topics, especially exploring new accounting methods and software, while continuously expanding her expertise in the ever-evolving field of finance and technology.

Quick, clear, and hassle-free QuickBooks assistance.

Get a Free Consultation with Our QB Tax Experts
Connnect with Our Certified QuickBooks Professionals - Dial Tollfree: +1(866)500-0076