Uninstalling CAKM for Microsoft SQL Server EKM Provider
In case you need to uninstall the CAKM for Microsoft SQL Server EKM Provider, the InstallShield wizard also provides this capability. If the wizard detects that the provider has already been installed, it allows you to remove the current installation.
Before you uninstall the provider, perform the following steps:
Unencrypt the database using the following command:
Run the following query to check the encryption status of the database:
Drop the database encryption key using the following command:
Drop the credential using the following steps:
Use alternate login.
Delete the credential from SQL Server.
Delete the login from SQL Server
Delete the asymmetric key from the provider.
Drop the CAKM for Microsoft SQL Server EKM provider.
To uninstall the CAKM for Microsoft SQL Server EKM provider silently
, execute the following command:
To uninstall the provider using GUI:
Double-click the setup executable to launch the InstallShield Wizard. The wizard detects the current installation.
Click Next to access the Program Maintenance screen.
Select Remove and then click Next.
Click Remove.
After the files are uninstalled, click Finish to complete the process.
Moreover, you can also uninstall the provider from the Control Panel.