Uninstalling SQL Clone
Published 09 January 2017
If you have installed any previous version of SQL Clone, here's the process to ensure it's fully removed:
- Remove all clones within the application, and delete the folder "clones" under the SQL Server data folder
- Remove all images within the application, and deleting any files left on disk
- Uninstall all SQL Clone agents and the SQL Clone server
- Remove SQL Clone certificates:
- On the SQL Clone Server machine, open an elevated command prompt and run:
netsh http delete sslcert ipport=0.0.0.0:14146
- Using the Windows Certificates snap-in, they are under Local Computer > Personal > Certificates and called
- On the server machine: "SQL Clone Server Agent Certificate"
- On any agent machines: “SQL Clone Agent”
- On the SQL Clone Server machine, open an elevated command prompt and run:
- Drop the SQL Clone Configuration database created by the server to hold all its configuration (called 'SqlClone_Config' by default)
- Remove the "settings.json" file under "%allusersprofile%\Red Gate\SQL Clone Agent" folder
- Reboot the machine
- Ensure that there are no services called "SQL Clone Server" or "SQL Clone Agent"
- Delete any agent installer exes you had downloaded - they will not work with any other installation and could cause confusion