I have windows 2008 R2 x64. It was hard at first to copy whole MS Codecs but I succeeded by comparing using "GraphEdit", but this Microsoft Encoder is still not allowing me to register though I tried many tricks and still not succeeding.
With Administrative privileges at command prompt:
Exported all Registry Settinngs related to MPEG-2 Encoder from win7 and then import @Win2008R2 .
After I import .reg files , then MS MPEG-2 Encoder appears at "GraphEdit" @Win2008R2 but still registering msmspeg2enc.dll is saying that this file was loaded but failed to call RegDLLServer also the system is not using the dll file.
Can you please help me because I tried to download the file that you attached in this thread but this archive is corrupted.
Can you please attach it again because this file "mpeg2enc.7z" is corrupted.
There is no need to run Regsvr32 msmpeg2enc.dll
Just copy files as you did and apply attached registry file.
By the way here is original install.cmd from Ascii
echo Microsoft MPEG-2 Encoder installer for Windows Server 2008 R2
echo By AsciiWolf - http://asciiwolf.com/
echo [+] Press any key to start the installation...
echo [+] Installing Microsoft MPEG-2 Encoder...
xcopy /E /I /Y "files\x64" "%SystemRoot%\System32">nul
xcopy /E /I /Y "files\x86" "%SystemRoot%\SysWOW64">nul
echo [+] Registering Microsoft MPEG-2 Encoder...
reg import files\mpeg2enc.reg>nul 2>nul
if %errorlevel% NEQ 0 goto error
echo [+] Microsoft MPEG-2 Encoder installed successfully!
echo [-] Installation failed! Are you running the installation as Administrator?
echo [+] Press any key to exit the installer...
There is no Regsvr32 msmpeg2enc.dll command line in there.