As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Remove below configuration from setenv.bat file inside "alfresco-community\tomcat\bin" path of alfresco installation.
Few of the things from below configuration will be needed for running image magick and other things.But by removing it you will be able to start server using catalina.bat file in in windows server.
For making other things run , still need to figure out the solution
set JAVA_OPTS=++JvmOptions="-XX:+DisableExplicitGC" ++JvmOptions="-XX:+UseConcMarkSweepGC" ++JvmOptions="-XX:+UseParNewGC" ++JvmOptions="-XX:ReservedCodeCacheSize=128m" ++JvmOptions="-Dalfresco.home=C:\alfresco-community" --JvmMs 512 --JvmMx 8133rem ##### IMAGEMAGICK ENV #####set JAVA_OPTS=%JAVA_OPTS% --Environment "PATH='C:\alfresco-community\alfresco-pdf-renderer;C:\alfresco-community\imagemagick;C:\alfresco-community\java\bin;C:\alfresco-community/postgresql/bin;C:\alfresco-community/common\bin;%PATH%'#MAGICK_HOME=C:\ALFRES~1\IMAGEM~1#MAGICK_CODER_MODULE_PATH=C:\ALFRES~1\IMAGEM~1\modules\coders#MAGICK_CONFIGURE_PATH=C:\ALFRES~1\IMAGEM~1#"