Third party utilities, anti-virus and firewall issues with Sage 50
Description
Cause
Resolution

AVG and Avast

AVG / Avast Internet Security (free and paid versions)

  • The latest versions of AVG and Avast has added Protected Folders turned on by default
  • If you get the error message "Sage50Accounting.exe is trying to change or delete the file *.* in your documents folder", click Allow app
  • If the Allow app request doesn’t show up in AVG, click
    • the Menu drop down
    • Settings gear wheel
    • General
    • Blocked & Allowed apps
    • Remove Sage 50 from the List of blocked apps
    • Add C:\\Program Files (x86)\Sage 50 (version)\Sage50Accounting.exe to the List of allowed apps
    • Click the Full protection tab, Ransomware protection, uncheck Database files and Document files under File types

AVG settings. How to add allowed application.

If you're unable to install Sage 50

  • Uninstall the 2 ODBC connectors
  • Run the Microsoft Fixit tool to uninstall Sage 50 from the registry. Ensure you select the version with the proper registry key by hovering your mouse over it and clicking Next
    Microsoft Fixit Tool. Sage 50 Accounting Registration key.
  • Go to Windows Explorer, C:\Program Files (x86)
  • Delete the Sage 50 Accounting 202x folder
  • Delete the Winsim folder
    • if you can't delete the Winsim folder, Uninstall The Connection Manager 
    • Reboot the computer
    • Try deleting the folder again

Temporarily uninstall AVG or Avast

  • After uninstalling, go into the C:\\ and delete the hidden $AVG folder for AVG or $AV_ASW folder for Avast
  • Run the Sage 50 installer again
  • If Sage 50 prompted you to install when you closed the software, you'll find the installed in C:\Users\Public\Documents\Sage Software\Simply Accounting\Download. If you downloaded the installer from the knowledgebase, then either locate and run the installer again, or download and run the installer again
  • Install Sage 50 Accounting
  • After the install is complete, reenable or reinstall AVG / Avast

PC Tuneup

  • AVG security products sometimes come bundled with AVG PC Tuneup
  • This add-on application sometimes moves Sage 50 components to the Recycle Bin
  • Discontinue usage or contact AVG to allow exceptions of the Sage 50 processes and the Sage 50 data folders location
  • Open the Recycle Bin and restore any files located in an SAJ folder
  • If you've deleted files in the Recycle Bin, locate and restore the most current backup of your company file

AVG PC Tuneup settings.

Tuneup Utilities 2014

  • The older version of AVG PC Tuneup was called Tuneup Utilities
  • This program will delete Sage 50 backup files that have a similar name or delete the duplicate files in compressed / non compressed folders

AVG PC Tuneup Settings. Restore failed due to files removed.

  • Remove it from your system or contact AVG to configure properly

Avast

Avast Cleanup

Avast Cleanup Wakeup message.

  • Remove from your system or contact Avast to configure properly

Bitdefender

  • Some versions of Bitdefender have a Safe Files protection feature

Bitdefender settings. Protected folders settings.

 

 

Bitdefender settings. Files to add for protection at boot.

 

  • Click View Features, Safe Files, Protected Folders and Remove the Documents and Public Documents folder from the list
  • Store your important data files in a new folder in the C:\\ drive instead
  • See bitdefender.com/support
  • Videotron Maximum Security Service is an alternative name for Bitdefender Total Security

Trend Micro

  • Some versions of Trend Micro security have their own firewall or a firewall booster that doesn’t overtake the standard Windows firewall

Trend Micro settings. Security and TuneUp Controls.

    • Uncheck the "Activate the Firewall Booster..." or contact Trend Micro to allow exceptions 

 

Windows Defender

  • You can't remove ransom-ware protection for Controlled Folders. You'll need to turn off the Controlled Folders option
  • If you don't want the Windows Defender Controlled folder access feature, you can turn it off by following these steps
  • To use the Controlled Folders option, you’ll need to allow the Sage 50 processes manually to exclude Sage 50 executable files
  • In Windows 10, search for and click
    • Virus & threat protection
    • Virus & threat protection settings
    • scroll down to Manage Controlled folder access
    • Allow an app through Controlled folder access
    • Click Add an allowed app

Windows Defender Settings. How to add an allowed application.

  • Add these files on the list
  • Note: MySQL 5.0.38 is for Version 2008-2013. MySQL 5.6.10 is for Version 2014-2017, MySQL 5.7.18 for Version 2018
    C:\Program Files (x86)\Sage 50 Accountant Edition\Sage50Accounting.exe
    C:\Program Files (x86)\winsim\ConnectionManager\SimplyConnectionManager.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.0.38\mysql\mysql.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.0.38\mysql\mysqld-nt.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.6.10\mysql\mysqladmin.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.6.10\mysql\mysqld.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.7.18\mysql\mysqlcheck.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.7.18\mysql\mysqld.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.7.18\mysql\mysqladmin.exe
    C:\Program Files (x86)\winsim\TransactionManager20XX – CDN\Sage_SA.TransactionManager.exe
    C:\Program Files (x86)\Sage 50 [version]\dbverifier\Sage_SA_DBVerifier.exe
    C:\Program Files (x86)\Sage 50 [version]\LogSubmitter\Sage_SA_ErrorLogSubmitter.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_dbutil.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_Policy.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_update.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_webhelp.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_upload.exe
    C:\Program Files (x86)\Sage 50 [version]\SageUpgrader.exe
    C:\Program Files (x86)\Sage 50 [version]\Sage_SA_custrep.exe
    C:\Program Files (x86)\Sage 50 [version]\TST\Sage_SA_TST.exe
    C:\Program Files (x86)\winsim\ConnectionManager\Simply.SystemTrayIcon.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.0.38\mysql\mysql.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.0.38\mysql\mysqldump.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.6.10\mysql\mysql.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.6.10\mysql\mysqldump.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.7.18\mysql\mysql.exe
    C:\Program Files (x86)\winsim\ConnectionManager\MySqlBinary\5.7.18\mysql\mysqldump.exe

Microsoft Fix it Tool

https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

 

Steps to duplicate
Related Solutions

Which processes and ports do I need to allow through my firewall 
I renamed the SAI file or SAJ folder and the file won’t open any longer
"Bad key file" or "Key file not found" when opening Sage 50 data File