Uninstalling Bp Premier completely requires you to:

  1. Remove the Bp Premier program.
  2. Delete any remaining registry entries.
  3. Remove the \Program Files\Best Practice Software folder.
  4. Stop Bp-related Windows Services.
  5. Uninstall the SQL database.
  6. Delete the SQL instance folder.

Bp Premier uninstallation will require administrator permissions to remove software and configure Windows components. Before starting any of the instructions below, log in to the server computer as a Windows Administrator, or have your IT support carry out the installation. If you have Windows User Access Control or SmartScreen enabled, Windows will prompt for confirmation to proceed for some instructions.

IMPORTANT  If you are using a live version of Bp Premier and are uninstalling the server, always perform a backup of the Bp Premier database and test a restore before uninstalling the database. See Back up and restore Bp Premier for more information.

Confirm your version of MSSQL and record the server data path

  1. Log in to Bp Premier on the server that you are about uninstall.
  2. Select Help > About > System info from the main screen.
  3. Record the Server data path (the folder will be manually deleted later).
  4. SQL Server data path

  5. Scroll to the bottom of the list to where it says SQL Server Version, and record the value. An example of how the value may look is 15.0.2000.5 RTM Express Edition (64-bit).
  6. Version number

    Named version


    SQL Server 2008 R2


    SQL Server 2012


    SQL Server 2014


    SQL Server 2016


    SQL Server 2017


    SQL Server 2019

  7. Close Bp Premier.

Uninstall Bp Premier

Follow the instructions below to uninstall a Bp Premier client or server.

Remove the Bp Premier program

  1. On the computer on which you are uninstalling Bp Premier, close Bp Premier and any windows and applications you have open.
  2. Open Windows Add and Remove Programs. The path will depend on the version of Windows, but is available from StartControl Panel.
  3. Select Bp Premier in the list and click Uninstall.
  4. NOTE  The following example shows how to uninstall Bp Premier from Add and Remove Programs in Windows 10. The process is similar, but the screens may be different to your version of Windows. If you need help uninstalling the program, your IT support can assist.

    Uninstall Bp Premier

  5. A User Access Control popup may request confirmation that you want to remove the software. Click Yes. The Windows Installation uninstall program will appear.
  6. Installation Uninstall program

  7. Leave Automatic selected and click Next. Click Finish in the next screen. Windows will remove the major components of Bp Premier and exit the uninstaller.

Delete registry entries

  1. Open the Windows command prompt or Run dialog, type 'regedit', and press Enter. Or search for 'registry editor' in the Windows search bar. The Windows Registry Editor will appear.
  2. Delete the following folders:

    • HKEY_CURRENT_USER \ Software \ Best Practice Software
    • HKEY_CURRENT_USER \ Software \ Wow6432node \ Best Practice Software (if computer is 64-bit)
    • HKEY_LOCAL_MACHINE \ Software \ Best Practice Software (if computer is 32-bit)
    • HKEY_LOCAL_MACHINE \ Software \ Wow6432node \ Best Practice Software (if computer is 64-bit)

    To delete a folder, expand the tree until the folder is visible, right-click, and select Delete.

    Delete registry key

  3. Close the registry editor.

Remove the Best Practice Software folder

  1. In a Windows file explorer, browse to C:\Program Files.
  2. Right-click the folder Best Practice Software and select Delete. A message will display: ‘Are you sure you want to move this folder to the Recycle Bin?' Click Yes.
  3. NOTE  On the later versions of BP Premier, this folder is deleted with the uninstall. If this folder does not exist, you can move on to uninstalling the database.

    Windows may alert that files in the folder you are trying to delete are still in use. If so, you must stop some services before you can delete the folder.

    Stop services

  4. Go to Start or AppsControl PanelAdministrative ToolsServices to open the Services window. The exact path will depend on your version of Windows.
  5. Right-click on the following services and select Stop:
    • Best Practice NPS Service
    • Best Practice Service
    • Best Practice Messaging Service
    • Best Health App Receiving Service
    • eRx Standard Adapter Service
    • eRx Standard Adapter Store and Forward Service

    Stop service

  6. Close the services screen.
  7. Repeat steps 1-2 to delete the Best Practice Software folder.

If you find the services will not stop, restart the PC and repeat steps 1-2.

Uninstall the database

These instructions describe how to completely uninstall an Express edition of MSSQL. If your practice uses a full edition of MSSQL, Best Practice Software recommend consulting your IT support or database administrator to uninstall the full edition database. Check the MSSQL version you recorded in Confirm your version of MSSQL and record the server data path to see whether you have the express or full version.

IMPORTANT  Alwaysback up the Bp Premier database on Production or live sites before uninstalling the database. See Back up and restore Bp Premier for more information.

The MSSQL uninstall wizard may appear slightly different, depending on the version of MSSQL that was installed and your version of Windows. The instructions below describe how to uninstall SQL Express 2017 on Windows 10. The process below can be followed for any supported version of MSSQL.

If you need to uninstall an older version of MSSQL, instructions for removing SQL Server 2008 R2 are available from the version Indigo knowledge base.

IMPORTANT  The instructions in this section assume that only Bp Premier uses MSSQL installed on the Bp Premier server, and will completely remove all MSSQL functionality. If you have other applications installed on the Bp Premier server computer that use MSSQL, do not remove any MSSQL shared features in step XX, and only remove the BPSINSTANCE database. Best Practice Software recommend consulting your IT support or database administrator if you need to uninstall the Bp Premier database in a shared environment.

MSSQL will need to be uninstalled on both workstation (client) and server machines.

Uninstall MSSQL 2017 on Windows 10

Uninstall the BPSINSTANCE database

  1. From the Windows desktop, search for 'Control panel' in the bottom left search box. Open the Control panel app. If you cannot see this option, you may not have permission to access the control panel.
  2. Select Uninstall a program

  3. Select Uninstall a program. The Programs and features screen will appear.
  4. Right-click your database version and select Uninstall or change

  5. Right-click the entry for your version of MSSQL and select Uninstall/Change.
  6. If Windows prompts to confirm you want to proceed, click Yes. The SQL Server 2017 screen will appear with options.
  7. Click Remove to begin uninstallation

  8. Click Remove. The MSSQL uninstall wizard will open at the Select instance panel.
  9. SQL Uninstall Wizard select instance

  10. Select 'BPSINSTANCE' from Instance to remove features from dropdown. If BPSINSTANCE is one of many instances available to remove, remember this for the next step. Click Next.
  11. Remove instance and features

  12. Tick Database Engine Services under BPSINSTANCE.
  13. If other database instances were available in step 10, leave all options under Shared Features unticked. This will leave any shared features available to the remaining database instances.

    If BPSINSTANCE was the only selection, tick the Shared Features options also to remove these features.

  14. Click Next. The uninstall wizard will process rules to determine if removal is permitted.
  15. Process Feature rules

  16. If there are no blockers, the wizard may move automatically on to the Ready to Remove panel. Otherwise, click Next.
  17. Remove database

  18. Click Remove. The uninstall wizard will remove the Bp Premier database instance. The Complete screen will be displayed when the removal process has completed.
  19. SQL Uninstallation complete

  20. Click Close to finish.

Delete the database instance folder

  1. Using Windows file explorer, browse to the 'Microsoft SQL Server' folder of the database path that was recorded in Confirm your version of MSSQL and record the server data path.
  2. For example, if the database path is:

    C:\Program Files\Microsoft Sql Server\MSSQL14.Bpsinstance\MSSQL\Data\

    browse to the folder C:\Program Files\Microsoft SQL Server.

    Delete SQL Instance folder

  3. Right-click the folder and select Delete. In the example above, the folder 'MSSQL14.BPSINSTANCE' is being deleted.
  4. If Windows prevents you from deleting any files in the subfolder, you may not have permission to delete the files, or a service may still be running. Stop all SQL services or log in as a Windows administrator.
  5. In the Services window, check if the service SQL Server (BPSINTANCE) exists. If this service is still running, you have not fully deleted the MSSQL database.

Restart your computer to finalise the uninstall process.

Bp Premier uninstallation is complete.


For advice on troubleshooting installation and uninstallation issues, see Troubleshoot installation.

If you receive the error ‘Install.log cannot be found’ while trying to install the software, this usually means that a previous Bp Premier installation did not complete successfully. Follow the instructions in this section to completely remove all components of a previous installation, and retry the installation.

Last updated 6 August 2020