How to manually uninstall ApexSQL Recover server-side components

Applies to
ApexSQL Recover

Summary
This article explains how to manually uninstall the server-side components when it is not possible to utilize ApexSQL Recover (un)installer or when server-side components need to be uninstalled from the passive cluster node.

Description

  1. Connect to SQL server with administrator account
  2. Execute the following SQL script:

    IF EXISTS (
    		SELECT *
    		FROM master.dbo.sysobjects
    		WHERE NAME = 'xp_ApexSqlRecover2008'
    		)
    	EXEC master.dbo.sp_dropextendedproc 'xp_ApexSqlRecover2008'
    
    IF EXISTS (
    		SELECT *
    		FROM master.dbo.sysobjects
    		WHERE NAME = 'xp_ApexSqlRecover'
    		)
    	EXEC master.dbo.sp_dropextendedproc 'xp_ApexSqlRecover'
    
    DBCC ApexSqlRecover2008Xprocs(FREE)
    
    DBCC ApexSqlRecoverXprocs(FREE)
    
  3. Uninstall the server helper driver by executing the following command in the command prompt:

    “C:\ProgramData\ApexSQL\ApexSQLRecover\<Instance_Name>\Binn\ApexSqlRecoverServerHelper.exe” /unload

  4. Delete the following extended procedure file from the folder “c:\Program Files\Microsoft SQL Server\<MSSQL.SQL.Server>\MSSQL\Binn\”:

    ApexSqlRecoverXprocs.dll

  5. Delete the server-side recovery components folder

    C:\ProgramData\ApexSQL\ApexSQLRecover\<Instance_Name>

    Downloads

    Please download the script(s) associated with this article on our GitHub repository.

    Please contact us for any problems or questions with the scripts.