Redstone BDA Patch to enable HDHR in WMC

Discussion of getting WMC to work on Windows 10 (unsupported)
Post Reply
User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

Redstone BDA Patch to enable HDHR in WMC

#1

Post by Crash2009 » Sat Jul 30, 2016 2:58 pm

Basically we have a couple reports that HDHR tuners are not discovered in several of the Insider Preview Builds such as 14396 Apparently this was first reported months ago.

http://forums.mydigitallife.info/thread ... ost1254747

Here are the contents of the Readme file included with ServerBDA.

Code: Select all

**********************************************************************************
 Server BDA Readme
**********************************************************************************

Authors
-------

Marphy
http://marcowuen.wordpress.com/2012/08/13/solved-adding-bda-hardware-support-to-windows-server-2008-r2


This is based on the great bdaforserver batch files written by:

limpwhizkid
http://forum.team-mediaportal.com/threads/how-to-install-mediaportal-on-windows-2008-r2-x64-only.81774



Important notice
----------------

The serverbda batch files are provided "as is" and for free. They are tested and
found to be working fine. THE USE IS ON YOUR OWN RISK! No responsibility can be
taken for damage or data loss of your system.



Introduction
------------

There is no BDA support (Broadcast Driver Architecture) on Windows Server 2008 R2.
So if you want to use BDA based hardware (i.e. DVB TV cards) on your server it is
neccessary to add BDA harware support manually.
Otherwise software such as DVBViewer, DVBViewer Recording Service or MediaPortal
won't recognize any of your DVB devices.

With this command line based setup you can easily add BDA support to your server
with a few clicks. It is compatible to Windows Server 2008 R2 in any language.



Step-by-step
------------

Unpack the "serverbda.zip" to any location you want to, i.e. your desktop. You can
also unpack the file directly to a network share on your server.

The BDA setup is done in two steps:

1) Grab BDA files from a Windows 7 x64 system.
2) Install BDA support on your Windows Server 2008 R2 with help of the files from
   step 1.


Step 1 is done by running the win7_grabfiles.bat on a Windows 7 x64 system.
Right click on the file, choose "Run with administrative privileges" and follow
the instructions. This will copy some files from your Windows 7 system into
"serverbda\files".


Step 2 is to run server_bdasetup.bat on your Windows Server 2008 R2. Right click
on the file, choose "Run with administrative privileges" and follow the
instructions. Please make sure that there is the "files" folder from step 1 as the
setup will copy this files to your server.

Don't bother if some few files cannot be copied as these may are already existing
on your server system. They remain in the "files" folder and usually can be
removed later.

After the setup is finished, you should agree to automatically reboot the system.

Now the setup is complete and you will be able to use BDA hardware. Usually it is
not even neccessary to reinstall software such as DVBViewer or MediaPortal.


If the batch files were helpful or if you are encountering problems, I would be
glad to receive your feedback! Just leave a comment on my blog.



Version history
---------------

V1.0 - 08/13/2012
	Initial release.


Patching OS files is over my peg rate.

Any one familiar with this process, that might be willing to try?

Our WMC friends over in Europe, are unable to test this without a live connection to our DRM Scheme.

https://www.dropbox.com/s/vrvv6yhbwer1xkj/serverbda.zip

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#2

Post by Crash2009 » Sat Jul 30, 2016 4:30 pm

bump

glugglug

Posts: 391
Joined: Thu Jun 09, 2011 1:34 am
Location:

HTPC Specs: Show details

#3

Post by glugglug » Sat Jul 30, 2016 5:11 pm

Hopefully it's a PBDA patch. BDA is used by XP MCE. PBDA adds the DRM support.

soapdishbandit

Posts: 99
Joined: Sun Mar 30, 2014 10:06 pm
Location: Derby, CT

HTPC Specs: Show details

#4

Post by soapdishbandit » Sat Jul 30, 2016 5:12 pm

Crash2009 wrote:bump
Hoping someone has that ability. Otherwise, may need to revert back to Win 7 :( :( :(

As of now, everything is running perfect on win 10 pro 10586.164.

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#5

Post by Crash2009 » Sat Jul 30, 2016 6:37 pm

Here is the original LimpWizKid Post. http://forum.team-mediaportal.com/threa ... nly.81774/

in one of the later, Page 22, posts, he suggests grabbing the files from Win8 X64, I wonder if it would grab the correct files from Win10 X64

Marphy's Blog. https://marcowuen.wordpress.com/2012/08 ... r-2008-r2/

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#6

Post by Crash2009 » Sat Jul 30, 2016 8:34 pm

Apparently, according to T-S, It's easy as pie! The way he explains it, I think my 5 year old could do it. Rename a bunch of OS files to OSfiles.old and copy the new files from the grabber in serverBDA. Just like playing Battleships when we were kids. Find the right file and its Game Over!

https://www.xyplorer.com

"There is nothing to patch, get the files included in the package from a 10586 build, and replace the same files in the 14393 installation."

"If you don't want to mess with batches and script just use a 3rd party filemanager like xyexplorer, launch it from the testright prompt, so you can replace/rename any system files w/o having to mess with permissions and ownerships."

"Replace the files one by one and see if it solves the problem"

"Boring but easy."

T-S

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#7

Post by Crash2009 » Sun Jul 31, 2016 8:15 pm

Here are the files from a Working 10586.0

https://mega.nz/#!KtE3XRAB!rPk94rpmH2Pm ... BiSAqQJd7Q

Do not use Download Manager Use download with browser
Attachments
ServerBda003.jpg
ServerBda002.jpg
ServerBda001.jpg

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#8

Post by Crash2009 » Mon Aug 01, 2016 12:50 am

Here is the list of files that ServerBDA collects from 10586's System32 and SysWOW64
Attachments
ServerBda004.jpg

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#9

Post by Crash2009 » Mon Aug 01, 2016 3:02 pm

So, I opened Win7_GrabFiles.bat with Notepad++

It appears that Win7_GrabFiles.bat could be easily adjusted to grab more files than the 17 it is programmed to grab (actually 34 if you count both folders)

Code: Select all

@echo off
set self=%~d0%~p0

echo.
echo Welcome to the BDA file grabber for Windows 7 x64!
echo --------------------------------------------------
echo.
echo This batch file does only work with administrative privileges!
echo.
echo Batch file location is:
echo %self%
echo.
echo Please cancel if it is incorrect or if you don't have write permissions.
echo.
echo.
echo Press any key to continue.
pause >nul
echo.
echo.
echo Please enter your system locale and press enter.
echo It must be the same as on your Windows Server 2008 R2.
echo.
echo Examples: en-US, de-DE
echo.
set /P loc=

echo.
echo Grabbing files...
echo.

set dst32=%self%files\System32
set dst64=%self%files\SysWOW64

md "%dst32%"
md "%dst32%\%loc%"
md "%dst64%"
md "%dst64%\%loc%"

copy %systemroot%\System32\bdaplgin.ax "%dst32%"
copy %systemroot%\System32\kstvtune.ax "%dst32%"
copy %systemroot%\System32\ksxbar.ax "%dst32%"
copy %systemroot%\System32\Mpeg2Data.ax "%dst32%"
copy %systemroot%\System32\mpg2splt.ax "%dst32%"
copy %systemroot%\System32\MSDvbNP.ax "%dst32%"
copy %systemroot%\System32\MSNP.ax "%dst32%"
copy %systemroot%\System32\MSVidCtl.dll "%dst32%"
copy %systemroot%\System32\%loc%\MSVidCtl.dll.mui "%dst32%\%loc%"
copy %systemroot%\System32\%loc%\kstvtune.ax.mui "%dst32%\%loc%"
copy %systemroot%\System32\%loc%\kswdmcap.ax.mui "%dst32%\%loc%"
copy %systemroot%\System32\%loc%\ksxbar.ax.mui "%dst32%\%loc%"
copy %systemroot%\System32\psisdecd.dll "%dst32%"
copy %systemroot%\System32\psisrndr.ax "%dst32%"
copy %systemroot%\System32\VBICodec.ax "%dst32%"
copy %systemroot%\System32\vbisurf.ax "%dst32%"
copy %systemroot%\System32\WSTPager.ax "%dst32%"

copy %systemroot%\SysWOW64\bdaplgin.ax "%dst64%"
copy %systemroot%\SysWOW64\kstvtune.ax "%dst64%"
copy %systemroot%\SysWOW64\ksxbar.ax "%dst64%"
copy %systemroot%\SysWOW64\Mpeg2Data.ax "%dst64%"
copy %systemroot%\SysWOW64\mpg2splt.ax "%dst64%"
copy %systemroot%\SysWOW64\MSDvbNP.ax "%dst64%"
copy %systemroot%\SysWOW64\MSNP.ax "%dst64%"
copy %systemroot%\SysWOW64\MSVidCtl.dll "%dst64%"
copy %systemroot%\SysWOW64\%loc%\MSVidCtl.dll.mui "%dst64%\%loc%"
copy %systemroot%\SysWOW64\%loc%\kstvtune.ax.mui "%dst64%\%loc%"
copy %systemroot%\SysWOW64\%loc%\kswdmcap.ax.mui "%dst64%\%loc%"
copy %systemroot%\SysWOW64\%loc%\ksxbar.ax.mui "%dst64%\%loc%"
copy %systemroot%\SysWOW64\psisdecd.dll "%dst64%"
copy %systemroot%\SysWOW64\psisrndr.ax "%dst64%"
copy %systemroot%\SysWOW64\VBICodec.ax "%dst64%"
copy %systemroot%\SysWOW64\vbisurf.ax "%dst64%"
copy %systemroot%\SysWOW64\WSTPager.ax "%dst64%"

echo.
echo Finished!
echo If you see any errors above, the locale entered may was incorrect.
echo.
pause
I guess the question is "What other files are needed?"

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#10

Post by Crash2009 » Mon Aug 01, 2016 3:46 pm

Here are 2 files that someone else suggested might be needed.
Attachments
ServerBda005.jpg

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#11

Post by Crash2009 » Mon Aug 01, 2016 8:38 pm

Any file can be added to the list...blackbox, drmmgrtn, and drm2clt were added to 10586_grabfiles

System32

Code: Select all

 Directory of c:\ServerBDA\files\System32

08/01/2016  03:33 PM    <DIR>          .
08/01/2016  03:33 PM    <DIR>          ..
10/30/2015  03:19 AM           100,352 bdaplgin.ax
10/30/2015  03:19 AM           796,672 blackbox.dll
10/30/2015  03:19 AM           336,384 drmmgrtn.dll
10/30/2015  03:19 AM         1,054,912 drmv2clt.dll
08/01/2016  03:33 PM    <DIR>          en-US
10/30/2015  03:19 AM           107,008 kstvtune.ax
10/30/2015  03:19 AM            70,144 ksxbar.ax
10/30/2015  03:19 AM           107,008 Mpeg2Data.ax
10/30/2015  03:18 AM           270,848 mpg2splt.ax
10/30/2015  03:19 AM            87,040 MSDvbNP.ax
10/30/2015  03:19 AM           270,336 MSNP.ax
10/30/2015  03:19 AM         3,549,184 MSVidCtl.dll
10/30/2015  03:19 AM           611,840 psisdecd.dll
10/30/2015  03:19 AM           109,568 psisrndr.ax
10/30/2015  03:19 AM           167,936 VBICodec.ax
10/30/2015  03:19 AM            49,664 vbisurf.ax
10/30/2015  03:19 AM            99,840 WSTPager.ax
              16 File(s)      7,788,736 bytes
               3 Dir(s)  398,687,539,200 bytes free
SysWOW64

Code: Select all

 Directory of c:\ServerBDA\files\SysWOW64

08/01/2016  03:33 PM    <DIR>          .
08/01/2016  03:33 PM    <DIR>          ..
10/30/2015  03:19 AM            78,336 bdaplgin.ax
10/30/2015  03:19 AM           640,512 blackbox.dll
10/30/2015  03:19 AM           285,696 drmmgrtn.dll
10/30/2015  03:19 AM           901,824 drmv2clt.dll
08/01/2016  03:33 PM    <DIR>          en-US
10/30/2015  03:19 AM            94,208 kstvtune.ax
10/30/2015  03:19 AM            57,856 ksxbar.ax
10/30/2015  03:19 AM            82,944 Mpeg2Data.ax
10/30/2015  03:18 AM           221,696 mpg2splt.ax
10/30/2015  03:19 AM            72,192 MSDvbNP.ax
10/30/2015  03:19 AM           218,624 MSNP.ax
10/30/2015  03:19 AM         2,362,880 MSVidCtl.dll
10/30/2015  03:19 AM           499,200 psisdecd.dll
10/30/2015  03:19 AM            87,552 psisrndr.ax
10/30/2015  03:19 AM           132,608 VBICodec.ax
10/30/2015  03:19 AM            41,472 vbisurf.ax
10/30/2015  03:19 AM            79,872 WSTPager.ax
              16 File(s)      5,857,472 bytes
               3 Dir(s)  398,681,223,168 bytes free

c:\ServerBDA\files\SysWOW64>
Attachments
ServerBda007.jpg

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#12

Post by Crash2009 » Sun Aug 07, 2016 5:04 pm

As an alternative or in addition to ServerBDA, it is strongly suggested to try....This

Finally got an answer to "What additional files might be required"

http://forums.mydigitallife.info/thread ... ost1261011

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#13

Post by Crash2009 » Tue Nov 21, 2017 7:16 am

bump

jachin99

Posts: 1293
Joined: Wed Feb 24, 2016 3:36 pm
Location:

HTPC Specs: Show details

#14

Post by jachin99 » Fri Dec 22, 2017 3:09 pm

I'm about to start trying to transplant some kind of PVR onto WHS 2011, and I'm debating between WMC and a media portal service. Whatever program I choose will act as a PVR server for Emby, and I'm wondering if some of the work I'll have to do ties in with what your attempting here. I haven't even reached the point where I've started to ask questions yet but If there is some way I can help push this along or test it then I'm here to do so. From a high level perspective I'm thinking I just need to

1. Add BDA support that is compatable with Cablecard (No DRM on my cable that i know of)
2. Install whatever PVR software is needed to act as a server for media portal.

If I can help out let me know and if not thats ok too.

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#15

Post by Crash2009 » Fri Dec 22, 2017 5:36 pm

WMC in whs 2011 has already been done.

I'll dig up the link for you over at mdl

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#16

Post by garyan2 » Fri Dec 22, 2017 5:57 pm

jachin99 wrote:I'm about to start trying to transplant some kind of PVR onto WHS 2011, and I'm debating between WMC and a media portal service. Whatever program I choose will act as a PVR server for Emby, and I'm wondering if some of the work I'll have to do ties in with what your attempting here. I haven't even reached the point where I've started to ask questions yet but If there is some way I can help push this along or test it then I'm here to do so. From a high level perspective I'm thinking I just need to

1. Add BDA support that is compatable with Cablecard (No DRM on my cable that i know of)
2. Install whatever PVR software is needed to act as a server for media portal.

If I can help out let me know and if not thats ok too.
I'm using WMC on WHS 2011. Works like a dream with MMC, ServerWMC, and emby.

https://forums.mydigitallife.net/thread ... tp4.65614/
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

jachin99

Posts: 1293
Joined: Wed Feb 24, 2016 3:36 pm
Location:

HTPC Specs: Show details

#17

Post by jachin99 » Sun Dec 24, 2017 2:42 am

Would this require me to create custom WHS install media and reinstall the OS or is there some way to add wmc to an existing installation

User avatar
Crash2009

Posts: 4357
Joined: Thu May 17, 2012 12:38 am
Location: Ann Arbor, Michigan

HTPC Specs: Show details

#18

Post by Crash2009 » Sun Dec 24, 2017 2:54 pm

The instructions look pretty clear to me.

Start with step 1

jachin99

Posts: 1293
Joined: Wed Feb 24, 2016 3:36 pm
Location:

HTPC Specs: Show details

#19

Post by jachin99 » Thu Jan 04, 2018 3:13 am

Are there any known ways to get around the issue of having a broken dashboard in WHS 2011 with WMC installed via the package extractor/policy editor? It looks like I'll be moving on to tinkering around with the holy grail part 2 over on MDL but the package to install hyper-V has a dead download link. Does anyone here have it, and does this also effect the dashboard in WHS 2011? AS a last resort I can run WMC in Virtual Box on WHS but I'm not sure if I can remote into it VB on WHS and watch live TV fullscreen with multiple sessions.

jachin99

Posts: 1293
Joined: Wed Feb 24, 2016 3:36 pm
Location:

HTPC Specs: Show details

#20

Post by jachin99 » Mon Jan 08, 2018 4:42 pm

In the end my solution was to install hyper-v on WHS 2011, and run a Win 7 VM. That way I got to keep my dashboard, and have WMC. My original thought was to use WMC in combination with a plugin for WHS 2011 called Remoteapp, which let you run programs installed locally on WHS 2011 from client computers BUT you have to publish these programs from the dashboard so i had to ditch native WMC in WHS 2011. it is actually still there just without the policy edit neccessary to turn WMC "On". Anyway thats not why I posted. I found this as well but haven't had a chance to look at it. This is supposed to offer a bat script that patches bda support onto WS 2012. I'm not sure if this is the same script that is out there for 2008 or what but it might be worth a look for some. https://knowledge.zomers.eu/dvblogic/Pa ... -2012.aspx

Post Reply