diff --git a/installer/resources/set_config_dir_for_nt_service.bat b/installer/resources/set_config_dir_for_nt_service.bat
index b55052e7e0fb440c876947f4e2b0ad68207b9eba..f13919cf5d616742d6bd38fb5a319e239bde659a 100644
--- a/installer/resources/set_config_dir_for_nt_service.bat
+++ b/installer/resources/set_config_dir_for_nt_service.bat
@@ -6,7 +6,7 @@ set _WRAPPER_CONF="%_REALPATH%wrapper.config"
 cd /d %~dp0
 if "%1"=="uninstall" (
     FINDSTR /I /v "^wrapper.java.additional.5=-Di2p.dir.config=" %_WRAPPER_CONF% >> %_WRAPPER_CONF%.new
-    move %_WRAPPER_CONF%.new %_WRAPPER_CONF%
+    move %_WRAPPER_CONF%.new %_WRAPPER_CONF% >nul
     goto end
 ) else (
     FINDSTR /I "^wrapper.java.additional.5=-Di2p.dir.config=" %_WRAPPER_CONF%