diff --git a/tools/test/releasetest/releasetest.bat b/tools/test/releasetest/releasetest.bat
index 631f6c5d..8ac81fd5 100644
--- a/tools/test/releasetest/releasetest.bat
+++ b/tools/test/releasetest/releasetest.bat
@@ -34,7 +34,6 @@ if "%MAKE%" == "" (
   echo;
   echo nmake.exe not found.
   call :CleanUp
-  pause
   exit /B 1
 )
 
@@ -42,7 +41,13 @@ if "%QMAKE%" == "" (
   echo;
   echo qmake.exe command not found.
   call :CleanUp
-  pause
+  exit /B 1
+)
+
+if "%CMAKE%" == "" (
+  echo;
+  echo cmake.exe command not found.
+  call :CleanUp
   exit /B 1
 )
 
@@ -60,7 +65,6 @@ if "%SQLITE%" == "" (
   echo;
   echo sqlite.exe command not found.
   call :CleanUp
-  pause
   exit /B 1
 )
 "%SQLITE%" %DBFILE% < create_blog_table.sql
@@ -69,10 +73,10 @@ cd %APPDIR%
 echo n | tspawn s blog
 tspawn w foo
 
-@REM :: Set ExecutionPolicy
+:: Set ExecutionPolicy
 @REM for %%I in (tadpoled.exe) do if exist %%~$path:I set TADPOLED=%%~$path:I
 @REM for %%I in (tadpole.exe) do if exist %%~$path:I set TADPOLE=%%~$path:I
-@REM powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
+powershell -Command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force"
 @REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess1 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLED%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" >nul 2>&1
 @REM powershell -command "New-NetFirewallRule -DisplayName MyAppAccess2 -Direction Inbound -Action Allow -Profile Public,Private -Program '%TADPOLE%' -Protocol TCP -LocalPort %PORT% -RemoteAddress 127.0.0.1" >nul 2>&1
 
@@ -206,6 +210,7 @@ if not "%RESCODE%"=="200" (
   exit /B 1
 )
 echo HTTP request success "%URL%"
+
 exit /B 0
 
 ::