@echo off
del /f /q "%ALLUSERSPROFILE%\Application Data\GoodSync\license.dat"
reg delete HKCR\CLSID\{004B49B7-11B9-5058-AA22-08DD0A3ADC4B} /f /reg:64
reg delete HKCR\CLSID\{DD0822AA-3A0A-4BDC-B749-4B00B9115850} /f /reg:64
reg delete HKCR\Wow6432Node\CLSID\{004B49B7-11B9-5058-AA22-08DD0A3ADC4B} /f /reg:64
reg delete HKCR\Wow6432Node\CLSID\{DD0822AA-3A0A-4BDC-B749-4B00B9115850} /f /reg:64
reg delete HKU\.DEFAULT\Software\Classes\CLSID\{004B49B7-11B9-5058-AA22-08DD0A3ADC4B} /f /reg:64
reg delete HKU\.DEFAULT\Software\Classes\CLSID\{DD0822AA-3A0A-4BDC-B749-4B00B9115850} /f /reg:64
net stop GsServer
if not errorlevel 1 net start GsServer