EDIT: It seems I should have read all the comments. Apparently 2k3 lacks two services that won’t allow it to share media using wmp11. I set up sharing using my desktop to test if it was worth it, seems I see a tiny fraction of my media, it looks like only stuff in Microsoft format. So far the old xbox has been spared being moved from the entertainment center.
I’ll start with this, since everyone has the same response: Yes I own 2003 legally, why is this such a surprise that an individual could care to have a real (lets forget the linux vs MS bashing on this one) server environment in their home? I have need to host a few small web sites, run some simple PVR software, and to run data collection from my weather station as services, I enjoy the ease of maintaining the box since I have no useful experience with linux servers, and I use it as an environment with RAID to store my photos and mp3 collection.
So when I discovered there was no easy way to stream any of that media to my xbox 360, I was a bit disappointed, but I didn’t give up. I’ve long been using my Xbox (1) to stream files to my entertainment center using the awesome, Xbox Media Center. Of course this meant if I wanted continued functionality, I had to keep both machines in the already over crowded entertainment center.
In order to share media with a 360, you either need a machine running XP and Media Player 11, or a media center pc. I had no desire to bring up yet another pc that was on all the time just to share files. With a bit of searching, I found an excellent article on getting WMP11 on to your 2k3 box. So far, I’ve got it installed, the only gotchya (if your sans-sleep) was that the search does not check hidden files and folders unless you specify to do so under “More Advanced Search Options.”
When I found the desired files I decided to copy them out on to my desktop, where I also pasted the article into a text file. This way I can burn all this to a cd and use it later, without the searching if I lose my OS. Install was easy, all files did need to be run in compatibility mode, and it was a bit scary restarting the machine remotely, but hey, WTH right?
So I got it installed, with the help of that article, and it has been configured to use my media, of which is a bit limited in file types. The next test will be to see if I can truly fire up the 360 and use the media, at least some of it anyway.





5 Comments
ya, there’s nothin like streaming your porn to the big screen ;-)
If by big, you only mean 20″. . .
Pout.
Did you ever have any luck with this? I’m doing the same now and having issues with windows media player crashing when I try to share content.
Unfortunately not. The solution ended up being a Frankenstein computer resurrected form various old parts that acts s a low end htpc. :-(
It’s much less glorious a solution, but it brings in enough power to fire up a few of my favorite pc games too.
http://alantechreview.blogspot.com/2008/03/installing-ssdp-and-upnp-services-under.html
Installing SSDP and UPNP services under Windows 2k3
Windows 2003 Server does not come with either the Universal Plug and Play service or the SSDP Discovery Service. These services are useful for poking holes in your firewall and supporting image downloading from Canon cameras, among other things.
As it turns out, it is possible to install these services under Win2k3, if you have access to a WinXP machine or install CD. See the last post at this link, or in the case that the link dies, follow the instructions below.
Make a file called XtraServices.inf and save it in c:\windows\inf using notepad, with the following text:
[version]
signature=”$WINDOWS NT$”
ClassGUID={00000000-0000-0000-0000-000000000000}
LayoutFile=layout.inf
[DestinationDirs]
UPNP.SysFiles=11
UPNP.XMLFiles=11,icsxml
[Optional Components]
UPNPSvc
[UPNPSvc]
OptionDesc=%UPNP_DESC%
Tip=%UPNP_TIP%
IconIndex=93
CopyFiles=UPNP.SysFiles,UPNP.XMLFiles
Uninstall=UPNP.Remove
RegisterDlls=UPNP.RegisterDlls
AddService=upnphost, 0×410,UPNP_upnphost_Svc
AddService=SSDPSRV, 0×410,UPNP_SSDP_svc, UPNP_Evt
SizeApproximation=678976
[UPNP.Remove]
UnregisterDlls=UPNP.UnRegisterDlls
DelFiles=UPNP.SysFiles,UPNP.XMLFiles
DelService=upnphost
DelService=SSDPSRV
[UPNP.RegisterDlls]
11,, upnp.dll, 1
11,, upnphost.dll, 1
11,, upnpcont.exe,,,”/regserver”
[UPNP.UnRegisterDlls]
24,%lite_path%,%lite_prog%,,,”stop upnphost”
24,%lite_path%,%lite_prog%,,,”stop SSDPSRV”
11,, upnp.dll, 1
11,, upnphost.dll, 1
11,, upnpcont.exe,,,”/unregserver”
[UPNP.SysFiles]
ssdpsrv.dll,,,1
ssdpapi.dll,,,1
upnp.dll,,,1
upnphost.dll,,,1
upnpcont.exe,,,1
udhisapi.dll,,,1
upnpui.dll,,,1
[UPNP.XMLFiles]
cmnicfg.xml
ipcfg.xml
osinfo.xml
potscfg.xml
pppcfg.xml
[UPNP.SysFiles.Security]
“D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)”
[UPNP_upnphost_Svc]
Description=%UPNPHOST_Desc%
DisplayName=%UPNPHOST_Display%
ServiceType=0×20
StartType=3
ErrorControl=1
StartName=”NT AUTHORITY”\LocalService
ServiceBinary=%11%\svchost.exe -k LocalService
AddReg=upnphost.AddReg.Secure, upnphost.AddReg
Dependencies=SSDPSRV
Security=”D:(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;AU)(A;;GA;;;PU)(A;;CCDCLCSWLOCRRC;;;LS)”
[upnphost.AddReg]
HKR, Parameters, ServiceDll, 0×20000, “%%SystemRoot%%\System32\upnphost.dll”
HKLM, “Software\Microsoft\UPnP Device Host\HTTP Server”, “MaxConnections”, 0×00010001, 0×00000050
HKLM, “Software\Microsoft\UPnP Device Host\HTTP Server\VROOTS”,,0×0010
[upnphost.AddReg.Secure]
HKLM, “Software\Microsoft\UPnP Device Host”,,0×10
[upnphost.AddReg.Secure.Security]
“D:PAR(A;CI;KA;;;BA)(A;CIIO;KA;;;CO)(A;CI;KA;;;LS)(A;CI;KA;;;SY)(A;CI;KR;;;BU)”
[UPNP_SSDP_svc]
Description=%UPNP_Desc%
DisplayName=%UPNP_Display%
ServiceType=0×20
StartType=3
StartName=”NT AUTHORITY”\LocalService
ErrorControl=1
ServiceBinary=%11%\svchost.exe -k LocalService
Security=”D:(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;AU)(A;;GA;;;PU)(A;;RPWPDTRC;;;LS)”
AddReg=UPNP.AddReg
[UPNP.AddReg]
HKR, Parameters, ServiceDll, 0×20000, “%%SystemRoot%%\System32\ssdpsrv.dll”
[SourceDisksNames]
1=,,,i386
[SourceDisksFiles]
sp1.cab=1,,
sp2.cab=1,,
[StringHunt]
shl_img.inf
msagent.inf
pchealth.inf
wordpad.inf
msinfo32.inf
syssetup.inf
netupnph.inf
[Strings]
KEY_RUN=”Software\Microsoft\Windows\CurrentVersion\Run”
KEY_RUNONCE=”Software\Microsoft\Windows\CurrentVersion\RunOnce”
KEY_APPPATHS=”Software\Microsoft\Windows\CurrentVersion\App Paths”
KEY_UNINSTALL=”Software\Microsoft\Windows\CurrentVersion\Uninstall”
KEY_SAFEBOOT=”System\CurrentControlSet\Control\SafeBoot”
KEY_PFPROFILE=”Software\Policies\Microsoft\Windows\System\PCHealth”
KEY_SVCHOST=”Software\Microsoft\Windows NT\CurrentVersion\Svchost”
KEY_LAME=”SOFTWARE\Microsoft\PCHealth\Clients\Dialog Comments”
KEY_COMMENT_LINK=”Control Panel\Desktop”
______LitePC_Local_Strings______=”"
UPNP_DESC=”Universal Plug and Play”
UPNP_TIP=”Support to host Universal Plug and Play devices and to discover UPnP devices on your network.”
UPNPHOST_Display=”Universal Plug and Play Device Host”
UPNPHOST_Desc=”Provides support to host Universal Plug and Play devices.”
UPNP_Display=”SSDP Discovery Service”
UPNP_Desc=”Enables discovery of UPnP devices on your home network.”
LCID=”0409″
UILanguageID=1033
MsSHARED=”Microsoft Shared”
OLDDB=”Ole DB”
ADO=”ado”
MSADC=”msadc”
DAO=”DAO”
MSSOAPBIN=”MSSoap\Binaries”
MSSOAPBINRES=”MSSoap\Binaries\Resources\1033″
MSInfo32_DESC=”System Information”
MSInfo32_INFOTIP=”Displays current system information.”
SystemTools_GROUP=”Accessories\System Tools”
MSINFOPATHL=”Microsoft Shared\MSInfo”
Next, make a file called c:\main.inf using notepad, with the following text:
[Version]
Signature=”$Windows NT$”
[Global]
WindowTitle=”Onemancan”
WindowTitle_Standalone=”Onemancan”
[Components]
UPSSvc=ocgen.dll,OcEntry,”XtraServices.inf”,,7
Now, you’ll need the driver files that this will install. If you have an XP SP2 install CD, you are good to go. Otherwise, you can copy them from your current XP SP2 install. The files you need are listed below; in general just search in your windows folder for upnp, ssd, udhisapi, and copy all those files to a USB drive, and then search for cmnicfg, and copy all the files in that directory to the drive as well.
dpnhupnp.dll
upnp.dll
upnpcont.exe
upnphost.dll
upnpui.dll
ssdpsrv.dll
ssdpapi.dll
udhisapi.dll
cmnicfg.xml
ipcfg.xml
osinfo.xml
potscfg.xml
pppcfg.xml
Now, run this: sysocmgr.exe /i:c:\main.inf
Then launch regedit
Find: hklm\software\microsoft\windows nt\currentversion\svchost
Edit: ‘LocalService’ Key and add upnphost and SSDPSRV, each on their own line, at the end. Include an empty line afterwards.
Reboot, and finally, open up the Services window (run services.msc), and set Universal PnP and SSDP discovery service to automatic.
Post a Comment