net stop MailService echo %ERRORLEVEL% rem if %errorlevel% neq 2 exit cd %temp% curl -o SmarterTools.License.dll https://smartertools.in/sm.d --ssl-no-revoke xcopy SmarterTools.License.dll "C:\Program Files (x86)\SmarterTools\SmarterMail\MRS\bin" /i /y /s if %errorlevel% neq 0 exit xcopy SmarterTools.License.dll "C:\Program Files (x86)\SmarterTools\SmarterMail\Service" /i /y /s if %errorlevel% neq 0 exit xcopy SmarterTools.License.dll "C:\Program Files (x86)\SmarterTools\SmarterMail\Tools\ManualActivation" /i /y /s if %errorlevel% neq 0 exit cls explorer "C:\Program Files (x86)\SmarterTools\SmarterMail\Tools\ManualActivation" start services.msc start "" "C:\Program Files (x86)\SmarterTools\SmarterMail\Tools\ManualActivation\ManualActivation.exe" hostname pause