通過閃電下載工具從msdn I tell you下載的windows2019 en版本
光盤下載地址:https://msdn.itellyou.cn/
閃電下載工具:http://bbs.xiaokanba.com/
加載到虛擬光驅d:
下載地址:ed2k://|file|en_windows_server_2019_x64_dvd_4cb967d8.iso|4843268096|91EF33D18517C2711517A84F14463072|/
看到光盤加載成功
光驅.net需要的組件所在的路徑
d:\sources\sxs


安裝media的組件環境

windows server2019下相關的bat腳本 C:\Users\Administrator\wwwroot\convert.chinasoft.com\bash auto.bat @echo off cd /d %~dp0 echo 1 >Temp.txt exit automonitor.bat @echo off cd /d %~dp0 setlocal enabledelayedexpansion for /f %%a in (Temp.txt) do ( set value=%%a if "!value!"=="1" ( call autorun.bat echo 0 >Temp.txt ) ) exit autorun.bat @echo off cd /d %~dp0 :: start taskkill /F /IM OnlineServiceDispatcher.exe start taskkill /F /IM OnlineConvertService.exe start taskkill /F /IM GetMediaInfo.exe start taskkill /F /IM CmdConverter.exe start taskkill /F /IM ffmpeg.exe start taskkill /F /IM OnlineServiceMonitor.exe :: ping 127.1 -n 5 >nul 2>nu :: xcopy C:\Users\Administrator\wwwroot\convert.chinasoft.com\AppPack_N\* C:\Users\Administrator\wwwroot\convert.chinasoft.com.exe\* /s /e /y /d :: start C:\Users\Administrator\wwwroot\convert.chinasoft.com.exe\OnlineServiceDispatcher.exe if "%errorlevel%"=="0" (echo "OnlineServiceDispatcher.exe is start.") start C:\Users\Administrator\wwwroot\convert.chinasoft.com.exe\OnlineConvertService.exe if "%errorlevel%"=="0" (echo "OnlineConvertService.exe is start.") start C:\Users\Administrator\wwwroot\convert.chinasoft.com.exe\OnlineServiceMonitor.exe if "%errorlevel%"=="0" (echo "OnlineServiceMonitor.exe is start.")

