Uninstall Windows Seafile Server

We have a bad installation of seafile server and are trying to uninstall it but the uninstallation fails by saying some files cannot be deleted. I have tried all methods.